View Full Version : How can i...
ForgotenDynasty
08-21-2008, 10:21 PM
How can i use templates on a non vb page.
Like i want to beable to use a PHP includes for my header on a file one directory up from my vbulletin
Lynne
08-21-2008, 10:24 PM
How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc. (https://vborg.vbsupport.ru/showthread.php?t=98009)
ForgotenDynasty
08-21-2008, 11:07 PM
yeah but neither one of those work one directory up
and i want to call JUST the header because im putting it on top of my Wordpress
Lynne
08-21-2008, 11:28 PM
Sure they do. Just do a chdir to the forums:
chdir ('/path/to/your/forums');
require_once('./global.php');
etc....
ForgotenDynasty
08-22-2008, 12:15 AM
Sure they do. Just do a chdir to the forums:
chdir ('/path/to/your/forums');
require_once('./global.php');
etc....
well i got a file called head.php to work with it in my homepage
but i can't get it to include in to my wordpress header i always get an error.
Lynne
08-22-2008, 02:50 AM
I know nothing about wordpress, but I have pages one directory above my vb forums and they use templates and look like regular vb pages. I did them by using those tutorials I linked to. But, as I said, I can offer no help at all with your wordpress issues.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.