PDA

View Full Version : If condition for member that is NOT in the listed groups


vBNinja
02-17-2012, 02:57 AM
Hello,

I want an if condition to show if a member is NOT a member of the listed groups


all i found is:

<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">


Can someone please provide with the if statement for when a member IS NOT a member of the listed groups

Thank You

kh99
02-17-2012, 03:12 AM
You just need a ! before is_member_of, like:

<vb:if condition="!is_member_of($bbuserinfo, 1,2,3)">

vBNinja
02-17-2012, 04:48 AM
Lol i was actually about to use that but thought it was too easy to work lol

Thank you for confirming it :)