The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
It there any ways to add google ads (or whatever that google ad thing its) to only show to guests/non-logged in people?
|
|
#2
|
|||
|
|||
|
If you're editing a template or using the ad manager, you can surround your code with a conditional, like:
Code:
<vb:if condition="!$show['member']"> Only guests can see this </vb:if> |
| Благодарность от: | ||
| CAG CheechDogg | ||
|
#3
|
||||
|
||||
|
do i put that code above and below the ad code?
|
|
#4
|
||||
|
||||
|
Put your code inside the conditional ...replace all the red with your own ...
Code:
<vb:if condition="!$show['member']"> This here would be your code or template, replace this with yours... </vb:if> |
|
#5
|
||||
|
||||
|
its cool. i found an option in the vb cp advertising bit to only allow unregistered to see it. thanks
|
![]() |
|
|