Announcement

Collapse
No announcement yet.

Looking to hide 'What's Going On' from specific usergroup

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

  • Looking to hide 'What's Going On' from specific usergroup

    How would I hide the Whats Going On box from a specific usergroup instead of having to use
    <if condition="is_member_of($bbuserinfo, 2,3,6)"> with specific usergroups to include. How could I exclude specific ones?

    Thanks.

  • #2
    I guess <if condition="!is_member_of($bbuserinfo, 12)"> </if> will hide what's between the <if></if>'s to usergroup 12

    Comment


    • #3
      Yes, that is correct. A ! does the opposite, so instead of is_member_of using !is_member_of means is not member of.
      Kerry-Anne :)

      Twitter Blog

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

      Comment


      • #4
        Thanks Kerry-Anne!

        Comment


        • #5
          Originally posted by MikesSite View Post
          I guess <if condition="!is_member_of($bbuserinfo, 12)"> </if> will hide what's between the <if></if>'s to usergroup 12
          thank you for this code

          Comment


          • #6
            No problem, glad it helped!

            Comment

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