![]() |
Message only certian usergroups can see?
Hello,
I have advertisements on my VB that only certain usergroups can see. Is there a code out there that I can use which will put text behind the ads, so when a certain usergroup has the ability to not see the ads they see the message instead? Much thanks! :D |
If you're using <if> conditionals to show ads you can use <else> to show alternate data to people not seeing the ads...
<if condition == "your condition"> AD HTML <else /> Alternate Info </if> |
Hi, thanks for the message!
Right now I am using the code "$google_adsense_for_search" to list the ad via product. where would I put that into the condition? I just thought of something... I heard hiding text is a bad idea (google doesn't like it) or is that pertaining to something else? |
Quote:
Code:
<if condition == "your condition"> |
Quote:
Also when I copied that code I got this message Quote:
|
Sorry I thought you knew what condition you wanted already... you need something like this:
Code:
<if condition = "is_member_of($bbuserinfo, 5,6,7)"> |
Thanks a lot! Works beautifully :)
|
All times are GMT. The time now is 11:38 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:
|