![]() |
Advertisements disappear with usergroup
Hello,
In order to make some money for web hosting, I am curious if there is a way to disable advertisements for a usergroup. So say I have a site supporter usergroup, if a user is a member of that group all of the advertisements disappear. Not even sure if this is possible. Thanks Chris |
It is very possible, just use a template conditional like this one...
HTML Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if> |
So say for the advertisements in the default vbulletin template, would I enter your code, and then my banner coding in say the navbar_below advertisement template?
Then that would make it where it would show up for certain usergroups and not others? Or where do you recommend? Thanks Chris |
You would use this code to show for the usergroups you want to show it to
HTML Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"> HTML Code:
<if condition="!is_member_of($vbulletin->userinfo, 1, 2, 3)"> |
Thanks ..this is very helpful and i was looking for this coding. :)
|
All times are GMT. The time now is 11:47 PM. |
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:
|