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'));

Login

Who's Online

721 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 721


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits