PDA

View Full Version : Allow only certain members to view


vietfancy
11-29-2009, 08:55 PM
On the same page... I want to allowed certain members to view the certain code.

is there any if condition for userid?

I know this is if condition for usergroup
<vb:if condition="is_member_of($bbuserinfo, x,y,z)">
// something
</vb:if>

BBR-APBT
11-29-2009, 10:03 PM
Try this


<vb:if condition="$bbuserinfo[userid] == X">
// Stuff Here
</vb:if>