The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I remove adsense specific forums?
Hello
I am using Advertising Integration: Google AdSense with vbulletin Version 3.8.1. How to remove ads from from specific forum. Please help with step by step Thank you in advance. |
#2
|
||||
|
||||
You need to wrap ad code in this:
HTML Code:
<if condition="!in_array($GLOBALS[forumid], array(1,2,3,4))>
Ad code goes between this and </if> (don't forget to end if condition). You need to wrap all your ad code with same if condition. |
#3
|
|||
|
|||
Quote:
Hi thank you for the reply. Where I need to go add this code? Can you tell me step by step please. |
#4
|
|||
|
|||
Unfortunately, Alan probably isnt using vbulletin 3.8.1 or that mod, so it would be hard for anyone to tell you exactly where to place the code to work on your site.
In the options for that program, edit the location where you placed the google code, then add the code that Alan gave you. <if condition="!in_array($GLOBALS[forumid], array(1,2,3,4))> GOOGLE CODE </if> Change the forum id's to what you need them. |
#5
|
||||
|
||||
I'm guessing the OP is actually using the built in google adsense system with vBulletin?
https://www.vbulletin.com/docs/html/...google_adsense |
#6
|
|||
|
|||
Quote:
yes very correct my google adsense buit with vbulletin I don't no where the cods are located .. |
#7
|
||||
|
||||
Well, I don't know in which exact templates it is, I'm now with vB4. You should look in which templates it is stored, in vB4 it is in ads templates (it is separate template group).
|
#8
|
|||
|
|||
Thank you..
|
#9
|
||||
|
||||
Are there not options in your forum manager for when you want to show ads or not?
I figured vbulletin's own adsenses mod would have usergroup and forum permission options. |
#10
|
|||
|
|||
How to remove ads from specific thread I can't find the code any one help me please.
--------------- Added [DATE]1524423396[/DATE] at [TIME]1524423396[/TIME] --------------- Quote:
NO I don't see option I disable ads fr4om admincp but my ads still running ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|