How to make an undercover Admin
From PunBB Resource Wiki
[edit]
For a single user
- Open common.php
- After $pun_user is declared, Add
if($pun_user['id'] == <user Id>) $pun_user['g_id'] = PUN_ADMIN;
- Change <user Id> to the user Id that you want to be Admin.
User will have admin powers but will not show up as admin in userlist.
[edit]
For a whole group
- Make a new group. Make sure you know it's id, you'll need it.
- Open common.php
- After $pun_user is declared, Add
if($pun_user['g_id'] == <group id>) $pun_user['g_id'] = PUN_ADMIN;
- Change <group id> to the group id you remembered in step #1
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)

