Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Apr 2012, 14:35
addamroy addamroy is offline
 
Join Date: Sep 2010
Let users change usergroup to not see ads

Hello, I was curious if this is possible in vbulletin, for some reason I thought it was standard that there was an option somewhere that let users request to join certain usergroups.

Basically what I want to do is simply, let our paid members turn ads on or off. The only way I can think that this is possible, have a new usergroup with the same permissions as the original usergroup except that usergroup is excluded from the advertising.

Is this possible someway somehow? Or is there another way?
Reply With Quote
  #2  
Old 16 Apr 2012, 00:25
Iain M's Avatar
Iain M Iain M is offline
 
Join Date: Jul 2005
Real name: Iain
Yeah, you'll need to create a new usergroup and then in your template of where you want the ads shown put this:

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

X, Y, Z should be the usergroup id's that you don't want to show ads to.
__________________
If I've helped you, click the little icon at the top right of this post =]
Reply With Quote
  #3  
Old 16 Apr 2012, 01:03
addamroy addamroy is offline
 
Join Date: Sep 2010
Thanks. Unfortunately not quite what I'm looking for though.

I want a way for users in a certain usergroup to have the option of turning ads on/off. I figured the easiest way to do this would be to create an additional usergroup like you said, but then somehow have the the usergroup change in some form of automated fashion.
Reply With Quote
  #4  
Old 16 Apr 2012, 01:12
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
This isn't ideal but - instead of a special usergroup you could create a custom profile field that allows users to choose whether to see ads or not, then in the template check both the usergroup and the value of that field. But of course all users will see that custom field, so you'd have to do something like put in the description that it only works for users of group X (or whatever).
Reply With Quote
  #5  
Old 16 Apr 2012, 13:48
addamroy addamroy is offline
 
Join Date: Sep 2010
Thanks for the advice kh99 I like that.

I just sometimes wish I was fluent with PHP and code in general so I could do that lol.

Sounds like a good modification, maybe I shall submit a modification request.
Reply With Quote
  #6  
Old 16 Apr 2012, 14:00
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You don't need any php to do that, assuming you can put conditions in the template to control when the ads show. You just need to create a custom profile field, like maybe a radio button field with 2 options Yes and No, then in the template:


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


You would need to change the X (in red above) to the actual field number of the profile field you create.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Usergroup Users banned by Moderators go into. N9ne vBulletin 2.x Full Releases 3 01 Sep 2002 14:05



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 16:53.

Layout Options | Width: Wide Color: