hello, i'm using vb4 but i need an adsense mod that will allow me to exclude some forums from displaying google ads. i had somethin like this long ago but can't find it anymore. please help.
which adsense mod?
Collapse
X
-
erm..........i'm not sure i get what you mean. i just dont want to show google ads in one particular forum. which ad template are you talking about?You could always edit the ad templates to not show the ad in a particular forum? See here for a list of conditionals:
http://www.vbulletinsetup.com/466-vb...nals-list.htmlComment
-
Whichever you have ads in, you can edit the template and then wrap a conditional around it.
<vb:if condition="$GLOBALS['forumid'] != x"> ad code here </vb:if>Comment
-
Comment
-
Where exactly do you want to place the ad? If you start off by using the Ad Manager, this will give you graphic representation of where these are then you can add the code to the relevant template.Comment
-
no. i don't want google ads to show in one particular forum. cause it's against google policies. so i want to show it everywhere else but this one forum that talks about sex.Comment
-
<vb:if condition="$GLOBALS['forumid'] != x"> ad code here </vb:if>
replace the X with the forum ID you don't want the code to show in..Comment
Related Topics
Collapse
-
by JimMMWe have just signed up and been approved for Adsense ads. So far so good, but the ad modules we've placed on pages in desired locations using Site Builder in ver 5.3.4 don't seem to have any affect. It...
-
Channel: vBulletin 5 Tutorials
Tue 22 May '18, 2:44pm -
-
by MrCriticalRxHello , i need know how to use adsense in the forum , pls help
-
Channel: Support Issues & Questions
Wed 22 Jun '16, 10:21am -
Comment