Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 12 Mar 2011, 20:42
iHatton iHatton is offline
 
Join Date: Oct 2008
Hide Ads from multiple usergroups

Hello,

When adding advertisements, I have the option to only 'show the adverts to users who belong to this group...'

How do I add multiple usergroups to that? For example, I can only show the advertisements to registered users, how do I show them to registered users, users awaiting moderation AND unregistered users? And hide the advertisements for the rest of the groups, such as moderators, administrators and VIP?

Thanks.
__________________
New website coming soon!
Reply With Quote
  #2  
Old 13 Mar 2011, 15:48
wpeloquin wpeloquin is offline
 
Join Date: May 2006
you could make a duplicate ad for each usergroup, but depending on how many usergroups you want to do, that could become tedious.
Reply With Quote
  #3  
Old 14 Mar 2011, 03:25
Xtrigit's Avatar
Xtrigit Xtrigit is offline
 
Join Date: Jan 2010
Conditionals, my friend, conditionals.

<vb:if condition="is_member_of($bbuserinfo, 1,2,30)">This ad will be shown to usergroups 1(guests), 2(registered users), 30(additional UG)</vb:if>
__________________
Have been very sick...
Reply With Quote
  #4  
Old 14 Mar 2011, 22:01
wpeloquin wpeloquin is offline
 
Join Date: May 2006
Thumbs up

I believe he is talking about using the built in ad management in the admincp. But yes, that would be another way of doing it! Place it directly into the template location you want using a conditional.
Attached Images
File Type: png managead.png (35.6 KB, 50 views)
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 13:22.

Layout Options | Width: Wide Color: