PDA

View Full Version : Admins invisible to other admins?


Sue
08-07-2002, 06:07 PM
Is it possible to do this?

Xenon
08-07-2002, 06:25 PM
Nice avatar Sue ;)

find this in your index.php:
$loggedins=$DB_site->query("SELECT DISTINCT session.userid,username,invisible,usergroupid
FROM session
LEFT JOIN user ON (user.userid=session.userid)
WHERE session.userid>0 AND session.lastactivity>$datecut
ORDER BY invisible ASC, username ASC");
if ($loggedin=$DB_site->fetch_array($loggedins)) {
$numberregistered++;
if ($loggedin['invisible']==0 or $bbuserinfo['usergroupid']==6) {


replace it with:$loggedins=$DB_site->query("SELECT DISTINCT session.userid,username,invisible,usergroupid
FROM session
LEFT JOIN user ON (user.userid=session.userid)
WHERE session.userid>0 AND session.lastactivity>$datecut
ORDER BY invisible ASC, username ASC");
if ($loggedin=$DB_site->fetch_array($loggedins)) {
$numberregistered++;
if (($loggedin['invisible']==0 or $bbuserinfo['usergroupid']==6) and $loggedin['usergroupid']!=6) {

Sue
08-07-2002, 06:26 PM
you rock! thanks! and thanks for the compliment! :D