Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 09 Aug 2009, 03:00
colochris colochris is offline
 
Join Date: May 2006
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
Reply With Quote
  #2  
Old 09 Aug 2009, 03:02
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
It is very possible, just use a template conditional like this one...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #3  
Old 10 Aug 2009, 03:27
colochris colochris is offline
 
Join Date: May 2006
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
Reply With Quote
  #4  
Old 10 Aug 2009, 03:34
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
You would use this code to show for the usergroups you want to show it to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Or you could use this for the usergroups that you DON'T want to show it to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #5  
Old 14 Jan 2010, 23:09
zombietom's Avatar
zombietom zombietom is offline
 
Join Date: May 2008
Real name: Tom
Thanks ..this is very helpful and i was looking for this coding.
__________________
My Sites
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:39.

Layout Options | Width: Wide Color: