How would I display a piece of information in the postbit only if the user VIEWING the page is logged in and in the supermoderator or admin user group?
--------------- Added [DATE]1407644438[/DATE] at [TIME]1407644438[/TIME] ---------------
Actually, I think I got it... but this could probably be cleaned up... I'm also not 100% sure membergroupids is an array? This is vb5.1.2
<vb:if condition="in_array($bbuserinfo[usergroupid], array(5,6,16))">
<vb:if condition="in_array($userInfo['membergroupids'], array(14,15))">
<span style="color:red;font-weight:bold;">Display Stuff Here</span><br>
</vb:if>
</vb:if>
--------------- Added [DATE]1407645650[/DATE] at [TIME]1407645650[/TIME] ---------------
And one more update... userinfo['membergroupids'] shows up as a string when I do a debugvardump. How do I check to see if it contains the group ID? vBulletin doesn't allow you to search in a string according to
http://bit.ly/1uBdO1U