The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
thanks i tried this but getting the old error if i place this code in showthread template.
Code:
<if condition="THIS_SCRIPT != 'register' AND $threadinfo[forumid] != 6"> my google ad code here </if> i am using the conditional so that i can enable my software section where my users share software with each other and google ads wouldn't appear in Software section in this way , I wouldn't break the google dcma and have the software section on my forum too. thanks waiting for reply --------------- Added [DATE]1298972595[/DATE] at [TIME]1298972595[/TIME] --------------- Thanks i have found out its place in ad_navbar_below template and its working fine. However, i have also found out that when i add like forum restriction Code:
<if condition="THIS_SCRIPT != 'register' AND $GLOBALS[forumid] != 6,51,58,69,75,97,95,100,52"> google ads </if> Code:
The following error occurred when attempting to evaluate this template: Parse error: syntax error, unexpected ',' in /home/forums/public_html/includes/adminfunctions_template.php(3772) : eval()'d code on line 1 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. any help please waiting for reply |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|