![]() |
advertising for a user group
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 |
No need for a script, just wrap the ad code in an if statement.
|
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 |
Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Show this to user group 1, 2, and 3</vb:if> |
thanks a lot for your help
just a small question, or should I put my script? before or after this code thanks again |
Your code has to go in between the if statement. e.g.
HTML Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)"> . |
Quote:
|
if you wanted to exclude a UG
PHP Code:
|
Quote:
|
All times are GMT. The time now is 10:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|