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 11762 Dec 4, 2008, 7:50 AM
Thread Re: [Andy] Working out if someone is an "admin" ?
gotze 11485 Dec 6, 2008, 12:59 PM
Thread Re: [gotze] Working out if someone is an "admin" ?
Andy 11497 Dec 7, 2008, 12:22 AM
Thread Re: [Andy] Working out if someone is an "admin" ?
Wychwood 11470 Dec 8, 2008, 2:28 AM
Post Re: [Wychwood] Working out if someone is an "admin" ?
Andy 11417 Dec 8, 2008, 2:44 AM
Thread Re: [Wychwood] Working out if someone is an "admin" ?
brewt 11431 Dec 8, 2008, 11:27 AM
Thread Re: [brewt] Working out if someone is an "admin" ?
Andy 11408 Dec 8, 2008, 11:42 PM
Thread Re: [Andy] Working out if someone is an "admin" ?
carminejg3 10862 Apr 15, 2009, 12:55 PM
Post Re: [carminejg3] Working out if someone is an "admin" ?
Andy 10776 Apr 16, 2009, 12:50 AM