Quote:
Originally Posted by da prez
how can i add permissions to a custom block ?
i want to have a custom box that only certain usergroups can see.
the custom block like it is, is viewable by all.
thanks for a sweeeeeet hack.
|
HTML Code:
<if condition="is_member_of($bbuserinfo, X)">
html for the block goes here
</if>
Making sure you can X to the group you want to be able to see it. For more than one group do is_member_of($bbuserinfo, X) AND is_member_of($bbuserinfo, Y) (etc).