![]() |
Custom pages
Hey
can anyone PLEASE PLEASE PLEASE PLEASE tell me how can i make custom pages for vbulletin 3.5 Like make another .php page with the theme[template] showing...the header and the footer...just like any other pages...and be able to add PHP code in tht new page..i really really need this Thanks |
<a href="https://vborg.vbsupport.ru/showpost.php?p=787726&postcount=2" target="_blank">https://vborg.vbsupport.ru/showp...26&postcount=2</a>
|
hi
thanks but that tutorial only tells u how to add TEXT into the custom page i have a php code that i want to add to my custom page...can anyone help me with it |
You'll have to use plug-ins. Create a custom page and call for the variable in that custom page. For example...
$variable Now create a plug-in that calls for the php file and defines the variable. You can do this with the following script. Be sure to set it to global_start. ob_start(); include('hyperlink_to_the_php_file'); $variable = ob_get_contents(); ob_end_clean(); That's how I've done it. |
That doesn't make much sense :)
If you are coding your own, custom files anyway you can directly enter whatever PHP Code you want/need. |
Quote:
|
cant you follow the directions in this thread https://vborg.vbsupport.ru/showthread.php?t=98009 and just add in your php code in the template?
|
I tried but the PHP wont work in the template file..HTMl works but PHP wont work..
|
:( been askin this for like 3 months..
|
anyoneee gosh
there are so many coders here and not 1 can help me out |
come on i really need this :(
|
If you want to make a new page, create a new PHP file with the following content and work from there:
PHP Code:
|
All times are GMT. The time now is 09:53 AM. |
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:
|