Page 1 of 1

Using variables outside of integramod folder

PostPosted: Thu Mar 15, 2007 11:55 pm
Author: Frost
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Advanced Knowledge
Board URL: http://www.black-fusion.com/forum

PHP Version:
MySQL Version:


What was done before the problem appeared?
N/A


What was done to try to solve the problem?
N/A



De.scription and Message

Hey Helter I was wondering if you know wether or not you can use integramod's language variables on a file in your root, not in the forum folder

My set up would be like

public_html/index.html <- File that needs to use them

public_html/forum/index.php Where IntegraMOD is

So basically I was just wanting to include things from integramod onto this page. Some things I was curious about..

Time/Date
Users Online
Recent Topics

Stuff like that, since this is html/css I don't think i could use {l_whosonline} etc, would I have to make an includes file for the language file?

I've never messed with trying this from outside of the folder before.. any ideas?

Re: Using variables outside of integramod folder

PostPosted: Fri Mar 16, 2007 8:15 am
Author: Helter
I believe to use a tag like this, you would need a corrasponding php file stating the includes

{l_whosonline} is a lang reference, but there is also refernce to it in index.php
youll notice you cannot use it outside index_body.tpl

Re: Using variables outside of integramod folder

PostPosted: Fri Mar 16, 2007 9:17 pm
Author: Frost
So did that mean that it's impossible, or were you telling me to do research on including a php file because that's how it's done? <img>