Using variables outside of integramod folder

Support for IntegraMOD 141

Moderator: Integra Moderator

Using variables outside of integramod folder

PostAuthor: Frost » Thu Mar 15, 2007 11:55 pm

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?
Last edited by Frost on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 2:04 am
Cash on hand: 0.00
Location: Photoshop CS3

Re: Using variables outside of integramod folder

PostAuthor: Helter » Fri Mar 16, 2007 8:15 am

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
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Using variables outside of integramod folder

PostAuthor: Frost » Fri Mar 16, 2007 9:17 pm

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>
Last edited by Frost on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 2:04 am
Cash on hand: 0.00
Location: Photoshop CS3


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]