The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How
Hi. I know how to include a php file in a template in the forum.....
In which template should I include a php file to see it right after the <body> tag in CMS I have copied a perfectly working plug-in I am using as header of my forums. (included php file) I named it includedCMSHeader attached it to global_start went to the vbcms_page template added that after the body tag, as you see here Code:
{vb:raw headinclude_bottom} </head> <body style="text-align:{vb:stylevar left}"> {vb:raw includedCMSheader} {vb:raw header} {vb:raw navbar} {vb:raw toolbar} <div class="vbcms_content"> {vb:raw layout} </div> {vb:raw footer} </body> </html> any advice ? I don't need to be walked through step by step....... just point me in the right direction |
#2
|
|||
|
|||
can you post the plugin code you are using and the location the plugin is execuuting at?
|
#3
|
|||
|
|||
the plugin code is a simple include php like
Code:
ob_start(); include('path/to/this/file/myfile.php'); $includedphp = ob_get_contents(); ob_end_clean(); |
#4
|
|||
|
|||
the vbulletin script is way too expensive for the support you get.....
--------------- Added [DATE]1295384006[/DATE] at [TIME]1295384006[/TIME] --------------- I paid not less than 400 euros for my 2 vb licences...... I can't get support on which template to use to add my site header on that CMS. am only looking for a piece of information..... vbulletin.com tells you this is modification of the code, so no support........ go see vbulletin.org you come to vbulletin.org, and you don't get help Where should I go ? --------------- Added [DATE]1295384160[/DATE] at [TIME]1295384160[/TIME] --------------- Quote:
Code:
ob_start(); include('/var/www/vhosts/mysite.com/httpdocs/php/includes/body02.inc.php'); $includedCMSheader = ob_get_contents(); ob_end_clean(); vB_Template::preRegister('header',array('includedCMSheader' => $includedCMSheader)); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|