Home : Products : Gossamer Forum : Development, Plugins and Globals :

Products: Gossamer Forum: Development, Plugins and Globals: Re: [Wychwood] Working out if someone is an "admin" ?: Edit Log

Here is the list of edits for this post
Re: [Wychwood] Working out if someone is an "admin" ?
If you're checking the current user, then use:

Code:
use GForum qw/:user/;
if ($USER->{user_status} == ADMINISTRATOR) {

Adrian

Last edited by:

brewt: Dec 8, 2008, 11:28 AM

Edit Log: