The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello
I would like to know if there is a script or an add so that advertisements will be displayed for a group of users and not displayed for another group thank you in advance |
|
#2
|
|||
|
|||
|
No need for a script, just wrap the ad code in an if statement.
|
|
#3
|
|||
|
|||
|
Quote:
that's why a need help ,i don't know to make the code with statement if ,can you help me to do it please ? thank you very match |
|
#4
|
|||
|
|||
|
Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Show this to user group 1, 2, and 3</vb:if> |
|
#5
|
|||
|
|||
|
thanks a lot for your help
just a small question, or should I put my script? before or after this code thanks again |
|
#6
|
||||
|
||||
|
Your code has to go in between the if statement. e.g.
HTML Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)"> Your ad code here </vb:if> . |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
|||
|
|||
|
if you wanted to exclude a UG
PHP Code:
|
|
#9
|
|||
|
|||
|
thanks a lot scottkoz20:up:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|