The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Advertising to guests only
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
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|