I want to display something on the MEMBERINFO template based on the member being viewed, rather than the viewer, based on usergroup.
For example, set up a usergroup #50
Can someone tell me the correct syntax, or if this isn't doable?
- - - Updated - - -
Derp. Needed 2 more minutes of searching. Delete, please.
Used:
For example, set up a usergroup #50
PHP Code:
<vb:if condition="is_member_of($post, 50)">
<a href="{vb:raw prepared.homepage}">{vb:rawphrase home_page}</a>
</vb:if>
- - - Updated - - -
Derp. Needed 2 more minutes of searching. Delete, please.
Used:
PHP Code:
<vb:if condition="in_array($userinfo[usergroupid],array(50))">