Announcement

Collapse
No announcement yet.

Usergroup Conditional (If NOT a member of)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Usergroup Conditional (If NOT a member of)

    I know I can do a conditional for If member = x etc, but how do I make a conditional for If NOT member of.

    Any ideas?


  • #2
    Try this, I'm not sure if this is correct or not, I haven't tested it. I KNOW it's something similar if that isn't correct.
    HTML Code:
    <if condition="!is_member_of($bbuserinfo, X, Y, Z)"></if>
    "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!!"
    "When doors close, tear down the walls. Never give up!"

    Comment


    • #3
      Thanks, that worked although it the code I have is slightly different.
      Code:
      <if condition="!is_member_of($vbulletin->userinfo, x, y)">do this</if>
      .

      Should I just use $bbuserinfo?

      Comment


      • #4
        both are correct and are the equivilents of each other
        Kerry-Anne :)

        Twitter Blog

        www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X