The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I tried to add this under the navbar but I keep gettin an error
Code:
<?php
if (@include(getenv('DOCUMENT_ROOT').'/adver/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 0, '', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
The following error occurred when attempting to evaluate the template 'headinclude': Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/tuslic/public_html/board/includes/adminfunctions_template.php(3596) : eval()'d code on line 45 This is likely caused by a malformed conditional statement. how would i add the ad under the navbar? |
|
#2
|
|||
|
|||
|
Quote:
also ..... you cannot run raw php code in a vBulletin template (not by default) .... the "@" has a special meaning and should not be used normally |
|
#3
|
|||
|
|||
|
thanks alot for the help, so what would you reccomend i do?
bumper |
|
#4
|
|||
|
|||
|
is there any mods i can get for advertising that don't require a lot of manual file editing?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|