XMB Forum Software

[Resolved] Members visited today (All members instead of visible ones)

Wizard2014 - 11-26-2014 at 11:19 PM


We are looking for a way to change the "Members who have visited today" to reflect all members instead of just the visible ones.

Thank you.

lottos - 11-27-2014 at 08:36 AM

In the index.php file, look for

$query = $db->query("SELECT username, status FROM ".X_PREFIX."members WHERE lastvisit >= '$datecut' AND invisible!=1 ORDER BY lastvisit DESC");

and change it to

$query = $db->query("SELECT username, status FROM ".X_PREFIX."members WHERE lastvisit >= '$datecut' ORDER BY lastvisit DESC");

Wizard2014 - 11-28-2014 at 06:53 AM

Worked perfectly. Thank you!

lottos - 11-28-2014 at 07:35 AM

Quote: Originally posted by Wizard2014  
Worked perfectly. Thank you!

You're very welcome.