PDA

View Full Version : Variable for Group Permissions?


nicksource
03-07-2009, 06:01 AM
I remember when working with CMPS v2 there was variables for the group of the users session. Allowing me to write some scripts for group specific members.

What are they again?

For example:

if($group==1){
echo "show this";
}else{
echo "No permission";
}

Brian
03-07-2009, 10:12 AM
Are you thinking of vB's is_member_of() function perhaps?