Announcement

Collapse
No announcement yet.

Stupid question: if condition

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

  • [Forum] Stupid question: if condition

    What exactly does this do?
    <vb:if condition="!is_member_of($bbuserinfo, 9, 10)">


    does it only show it for group id 9, and 10, or does it exclude group 9 and 10?
    Last edited by CSS59; Sun 22nd Jan '12, 8:35am.
    http://webdirectoryforums.com - Web Directory Forums - Coming soon!
    http://linkageplus.com - PR5

  • #2
    It excludes group 9 and 10, because of the '!' in front of it.

    Comment


    • #3
      Originally posted by klh View Post
      It excludes group 9 and 10, because of the '!' in front of it.
      Thanks a ton!

      So to do the opposite, remove the '!' ?
      http://webdirectoryforums.com - Web Directory Forums - Coming soon!
      http://linkageplus.com - PR5

      Comment


      • #4
        Yes, if you remove the '!' it will show only for groups 9 and 10.

        Comment

        Related Topics

        Collapse

        • shining
          Social Groups Permissions
          by shining
          Hi there,

          DonĀ“t know if our settings are wrong so maybe someone can help me out.

          When a group is set to:

          Type of Group: with invitation
          Privacy: Only Groupmembers...
          Tue 28th Mar '17, 2:49am
        • TheBish
          Groups Question
          by TheBish
          Sorry as this may be simple and I may not have had enough coffee....

          How to I restrict Groups to only those who have joined. For example, I do not want those who are not Members of a Group...
          Mon 13th Feb '17, 8:55am
        Working...
        X