Topic: Problems for Mod Hide User with extern.php
Mod Hide User 1.1 works fine but there but its usefulness is reduced to nonexistence with extern.php: Names of the hidden members are shown with extern.php?action=online_full
Regards
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Problems for Mod Hide User with extern.php
Mod Hide User 1.1 works fine but there but its usefulness is reduced to nonexistence with extern.php: Names of the hidden members are shown with extern.php?action=online_full
Regards
Moved to Modifications
Oh crap, forgot all about extern.php
I'll update later to include number of hidden users but for now:
In extern.php find
$result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());
while ($pun_user_online = $db->fetch_assoc($result))
{
if ($pun_user_online['user_id'] > 1)
Replace with
$result = $db->query('SELECT user_id, ident, show_online FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());
while ($pun_user_online = $db->fetch_assoc($result))
{
if ($pun_user_online['user_id'] > 1 && $pun_user_online['show_online'] != 0)
Thx soonotes
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Problems for Mod Hide User with extern.php
Powered by PunBB, supported by Informer Technologies, Inc.