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

Re: [Wychwood] Working out if someone is an "admin" ?

Quote Reply
Re: [Wychwood] Working out if someone is an "admin" ? In reply to
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
Subject Author Views Date
Thread Working out if someone is an "admin" ? Andy 11690 Dec 4, 2008, 7:50 AM
Thread Re: [Andy] Working out if someone is an "admin" ?
gotze 11414 Dec 6, 2008, 12:59 PM
Thread Re: [gotze] Working out if someone is an "admin" ?
Andy 11426 Dec 7, 2008, 12:22 AM
Thread Re: [Andy] Working out if someone is an "admin" ?
Wychwood 11398 Dec 8, 2008, 2:28 AM
Post Re: [Wychwood] Working out if someone is an "admin" ?
Andy 11346 Dec 8, 2008, 2:44 AM
Thread Re: [Wychwood] Working out if someone is an "admin" ?
brewt 11359 Dec 8, 2008, 11:27 AM
Thread Re: [brewt] Working out if someone is an "admin" ?
Andy 11337 Dec 8, 2008, 11:42 PM
Thread Re: [Andy] Working out if someone is an "admin" ?
carminejg3 10791 Apr 15, 2009, 12:55 PM
Post Re: [carminejg3] Working out if someone is an "admin" ?
Andy 10705 Apr 16, 2009, 12:50 AM