![]() |
PHP page with my VB forum style
I want to add some pages to my forum for my VIP members, these pages need to be in php and I want to add the nav and footer etc etc from my forum style so it looks the same as the forum.
Please could some one help me in telling me what I would need to add to the php file page to do this :confused: I have tried but just got confused :( Thank you |
Okay,
create a new php file (i named it mp3.php) contain the following: PHP Code:
change in the above code the $navbits[$parent] and also the name of the template which named above "mp3". upload the file to the forum folder. create a new template in any style and place in it : HTML Code:
$stylevar[htmldoctype] call the php file www.yoursite.com/fourm/mp3.php and enjoy :cool: |
wow thanks, and thanks for your time I will give this a go now :D
|
You can also add to your file after
Code:
// ####################################################################### Code:
// Check for permission |
wow thanks I was going to add that to the template but this seems better, thank you :D
ooops sorry I need to add a include in php to the page this is why I wanted to do the page in php, but as we are using this template Code:
$stylevar[htmldoctype] :confused: sorry |
You can use the output of the php in the template. From example, in the index.php file which controls forumhome there are php variables defined for
Code:
$onlineusers Code:
// ####################################################################### Code:
$navbits = array(); |
:( I am lost, I amnot that great at php, all I know how to do is place html in php and include lol sorry
is there no way that i can add all this in the php code some how, so that it doesnt use a template but styles etc etc like: Code:
$stylevar[htmldoctype] I cant do all the vars in php and stuff I have never been any good at them bits :( |
in that case, you best bet is probably to create a modification request giving details of exactly what you want it to do and see if someone can make it for you.
|
ok thank you for your time :)
|
All times are GMT. The time now is 02:47 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:
|