![]() |
making variables work outside of the forum directory?
Ive got a custom index.php file created using an article to make a custom vB page. This index file resides outside of the forums directory, but will be the main index for my site.
I have it working to the point that it loads the style and everything else, but I added the whats going on box, and birthdays and stuff to this custom index, but none of the variables work. so it simply says Most users ever online was , at . $recordusers, $recordtime, and $recorddate aren't being parsed, or the information isn't there. one last thing, with the custom index file, since it isn't showing forums or anything, do I need template hooks from FORUMHOME or can they be removed? --------------- Added [DATE]1284851679[/DATE] at [TIME]1284851679[/TIME] --------------- I've looked everywhere I can think of, I don't know what I need to change to get those variables to show up on a page that is outside of the forums directory. everything else seems to be working. --------------- Added [DATE]1284918581[/DATE] at [TIME]1284918581[/TIME] --------------- Cleared this one up. Looking in the index.php file for vBulletin I just copied the code to my custom page and now it works great. Actually thanks to this method I've gotten quite a few things tied into a main site index page. |
All times are GMT. The time now is 03:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|