The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Cannot add banner code
Trying to add the following banner code:
<?php if (@include('/usr/local/www/data-dist/zoopet/banners/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('', 0, '', '', '0', $phpAds_context); echo $phpAds_raw['html']; } ?> ...to the header section. I get the following problem: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /usr/local/www/data-dist/zoopet/forum/includes/adminfunctions_template.php(3055) : eval()'d code on line 19 |
#2
|
||||
|
||||
Quote:
2. you are already in a php file, theres no need for <?php ?> 3. place that code into the phpinclude_start template, minus the <?php and ?> and it should be ok. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|