The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remove adsense from a certain forum
I guess its possible using if tag, can anyone help me I want to remove ads from certain forum.
|
#2
|
||||
|
||||
Code:
<if condition="$foruminfo['forumid'] == X">CODE</if> |
#3
|
|||
|
|||
Not working bro, ad is not displayed anywhere using that method.
I wanna remove ad from 235-237 forum What I did was Quote:
|
#4
|
||||
|
||||
For multiple forums, you need to use this code.
Code:
<if condition="!in_array($foruminfo['forumid'], array(235, 236, 237))">CODE</if> |
#5
|
|||
|
|||
Thanks working now.
but it kinda mess the template.. can u help me with it? |
#6
|
||||
|
||||
How did it mess the template? Most likely, you have put the code in a place where you haven't intended to.
|
#7
|
|||
|
|||
Hi,
The current release of vBulletin (3.8.2) includes 'adsense' in the showthread template which displays ads in the first post of each thread. Can the method described in this thread be extended to remove adsense from the showthread template of specific forums? I want ads to display in the first post of a thread for some forums, but not others. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|