![]() |
php file help
Hello i have a php file that needs to show
header content here footer navbar the file is located in /folder1/ which is outside of vbulletin root i want the page not to load a template, i ust need to include all my customer code within it. |
You might want to look at this article (if you haven't already): https://vborg.vbsupport.ru/showthread.php?t=228112 . You say you don't want to use a template, but it might be easiest to make a template that includes the vb header and footer (or copy one of the "top level" vb templates and remove everything between the header and footer), then put something like {vb:raw content} in the middle. Then in your custom script, make all your output a string and set $content to that string, then register theat to the template when rendering it. You could use ob_start()/ob_end_clean() if you wanted. Something like this:
Code:
<?php |
All times are GMT. The time now is 02:44 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:
|