Quote:
Originally Posted by ezurick
Installed and GREAT mod! I got a question...
I want to allow only a certain usergroup to use this... I call "Privleged Members" which is usergroupid=9. And I only want that usergroup to see the download link in the navbar... Is there way to put an if statement in there so only they see the link? Thanks...
|
Use this:
HTML Code:
<if condition="is_member_of($bbuseruserinfo, 9)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>
For multiple usergroups:
HTML Code:
<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>