The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
i really should know enough php by now to figure this out but i cant
![]() i want to add additional non vb pages to my forum - and i want them to include the standard forum header and footer so that it fits into the rest of the forum easily - for example - adding a rules page, partners page etc does anyone have a standard php file that i can modify to do this - i would really appreciate it ![]() ![]() |
#2
|
|||
|
|||
![]()
Yeha me to
![]() |
#3
|
||||
|
||||
![]()
i actually had the code for this before too which is annoying me even more - lol
![]() |
#4
|
|||
|
|||
![]()
well not a PHP page but maybe this can help u?
https://vborg.vbsupport.ru/showthrea...threadid=43940 |
#5
|
|||
|
|||
![]()
easiest would be to set up 2 pages...
header.php and footer.php in header.php set up a sql select statement to pull the header template info same deal on footer.. the in your non vb pages, set up includes at top and bottom for each. bing bang boom its done |
#6
|
||||
|
||||
![]()
i know how to use includes but how would you pull the templates to the header and footer?
|
#7
|
||||
|
||||
![]() |
#8
|
||||
|
||||
![]()
Also if you want to call a template into the header you call the template right before the phpinclude template is called in global.php
![]() Regards - miSt |
#9
|
||||
|
||||
![]()
mist - your a legend
many thanks ![]() |
#10
|
||||
|
||||
![]()
Your Welcome
![]() - miSt |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|