The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
my biggest google earning are in navbar and in header template view on all forum
but i have one forum that google not allowed, and i want google adsense to show on all forums except one i also want to show after 1st post and affter last post on every page except one forum? i will pay to someone do that for me adsense after second and last post but with option to chose in which forum to display |
#2
|
|||
|
|||
![]()
bro u can use only 3 sets suppose if u have puted 3 in header this will now show addz in inside posts of as 1 and last post
and 99% posibility ur site will be got banned by google |
#3
|
||||
|
||||
![]()
edit the templates that contain the adsense code and add an if condition, probably the easiest way to do,
Code:
<if condition="$forum[forumid] == X"> <else /> place adsense code here </if> |
#4
|
||||
|
||||
![]() Quote:
do u know how can i instead of X enter forum ID to only show to this forum example: i want to show adsense only to forum ID 88, not to other forums, in other forums i want to put something else. its easier instead X put just one ID then to put all others ID from rest forum category ( i have 100 forum categorys ![]() ![]() ![]() |
#5
|
||||
|
||||
![]()
If the forum ID 88 is the one where you don't want to have google ads in, then replace X with it and place the coder where Sean told you.
Basically, yes... X is the forumid that won't have ads. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|