Results 1 to 4 of 4

showing adds to all logged in users not in x secondary group

This is a discussion on showing adds to all logged in users not in x secondary group within the Off-Topic & Chit Chat forums, part of the Focus on Members category; I have all my donating users in a seconday user group 17 I am trying to setup where all logged ...

  1. #1
    Senior Member
    Real Name
    chance
    Join Date
    Aug 2006
    Posts
    260
    Liked
    2 times

    showing adds to all logged in users not in x secondary group

    I have all my donating users in a seconday user group 17
    I am trying to setup where all logged in users get my small google ads except for people in the additional user group 17. Not sure whats going on here because the following is not working for me.


    <if condition="$post['membergroupids'] != 17">

  2. #2
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    4,012
    Liked
    13 times
    Unless something's changed since I tried that a while ago, usergroup membership conditionals only work on Primary Usergroups.

  3. #3
    Senior Member
    Real Name
    chance
    Join Date
    Aug 2006
    Posts
    260
    Liked
    2 times
    yea i can get the primary to work, and i see where people say that the membergroupids is whats used for addittional users,.

    I was howping someone else has maybe been down this road.

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    This should work so long as 17 isn't a primary group either.

    try:
    Code:
    <if condition="is_member_of($bbuserinfo, 17)">
    <-- no ads -->
    <else />
    <!-- ads -->
    </if>

Similar Threads

  1. Users getting logged out
    By DreyerMedia in forum Troubleshooting
    Replies: 42
    Last Post: 11-18-2009, 03:34 PM
  2. users getting logged out
    By jcb in forum General Discussion
    Replies: 1
    Last Post: 06-24-2007, 07:02 PM
  3. Users getting logged out
    By ChurchMedia in forum Bug Reporting
    Replies: 2
    Last Post: 09-14-2006, 05:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •