Topic: Hide a admin from online list
I wish hide a admin from the online list (not from the user list).
I have found this modification by Gary13579 at http://punbb.org/forums/viewtopic.php?id=5353
Open index.php
#
#find line 179
#
if ($cur_user_online['user_id'] > 0)#replace with (switch the letter x with the id of your account. the first account made has an id of 2)
if ($cur_user_online['user_id'] > 0 && $cur_user_online['user_id'] != x)#save and upload
#open userlist.php
#delete line 66 ( <option value="<?php echo PUN_ADMIN ?>"<?php if ($show_group == PUN_ADMIN) echo ' selected' ?>><?php echo $lang_common['Administrator'] ?></option> )#save/upload
It does not work any more with PunBB 1.2.12
I tried to change it but I did not succeed.
Anybody could look at code?
Thanks