How to make an undercover Admin

From PunBB Resource Wiki

Jump to: navigation, search

For a single user

if($pun_user['id'] == <user Id>)
$pun_user['g_id'] = PUN_ADMIN;


User will have admin powers but will not show up as admin in userlist.

For a whole group

if($pun_user['g_id'] == <group id>)
$pun_user['g_id'] = PUN_ADMIN;


Users in this group now will have admin powers but will not show up as admin in userlist.


--Mark 17:01, 13 July 2006 (GMT)

--Elbekko 17:13, 13 July 2006 (GMT)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox