The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP Include for ad system
I'm running into some problems including a banner rotation script on a forum.
If I put the advertisement code directly into the header template I get this error Quote:
Thanks |
#2
|
|||
|
|||
The error probably means that you forgot a quote somewhere. Impossible to help more without seeing the actual code.
|
#3
|
|||
|
|||
This is the code to include the ad
PHP Code:
|
#4
|
||||
|
||||
Try this instead:
PHP Code:
|
#5
|
|||
|
|||
Thanks Andrew, unfortunately it didn't work. It's the same error as before.
|
#6
|
||||
|
||||
Wow - I can't believe two of us missed this:
Quote:
PHP Code:
HTML Code:
<if condition="$phpAdsVerify">$phpAds_raw['html']</if> |
#7
|
|||
|
|||
Thank you for the above! I have now finally got my banner working!
|
#8
|
||||
|
||||
Quote:
Code:
The following error occurred when attempting to evaluate this template: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/infitech/public_html/forums/includes/adminfunctions_template.php(3593) : eval()'d code on line 6 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|