Moderator: Integra Moderator
// ############ Edit below ############
// #
$display_not_day_userlist = 0; // change to 1 here if you also want the list of the users who didn't visit to be displayed
$users_list_delay = 24; // change here to the number of hours wanted for the list
// #
// ############ Edit above ############
$sql = "SELECT user_id, username, user_allow_viewonline, user_level, user_session_time
FROM ".USERS_TABLE."
WHERE user_id > 0
ORDER BY IF(user_level=1,3,user_level) DESC, username ASC";
// ############ Edit below ############
$display_not_day_userlist = 0; // change to 1 here if you also want the list of the users who didn't visit to be displayed
$users_list_delay = 24; // change here to the number of hours wanted for the list
$time_min = time() - ($users_list_delay * 3600);
// ############ Edit above ############
$sql = "SELECT user_id, username, user_allow_viewonline, user_level, user_session_time
FROM ".USERS_TABLE."
WHERE user_id > 0 "
. ($display_not_day_userlist ? '' : ("AND user_session_time >= " . $time_min)) .
" ORDER BY IF(user_level=1,3,user_level) DESC, username ASC";
"MWE_001" wrote:I got pruned tooGlad you all got it sorted out. You guys have a great site and it would be a shame to see it down all the time. Happy posting to all your mastiff owner members!
Registered users: App360MonitorBot, Bing [Bot], Google [Bot]