1
nayeem
admin user
  • 2004/6/28 14:17

  • nayeem

  • Just popping in

  • Posts: 44

  • Since: 2004/1/3 1


how can we find out if the logged in user is admin or not from a XOOPS module page?

is there a variable we can check?

thanks

nayeem

2
tl
Re: admin user
  • 2004/6/28 14:20

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


When you click the userid in Whois Online, you will see his/her status.

3
Mithrandir
Re: admin user

$isAdminOfThisModule = $xoopsUser->isAdmin($xoopsModule->getVar('mid'));