XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: [Resolved] Members visited today (All members instead of visible ones)
Wizard2014
New Poster
**




Posts: 2
Registered: 11-26-2014
Member Is Offline


[*] posted on 11-26-2014 at 11:19 PM
[Resolved] Members visited today (All members instead of visible ones)


Hello,

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.
View user's profile View All Posts By User
lottos
Administrator
********




Posts: 477
Registered: 6-3-2002
Member Is Offline

Mood: pass me a TimTam

[*] posted on 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");



View user's profile View All Posts By User
Wizard2014
New Poster
**




Posts: 2
Registered: 11-26-2014
Member Is Offline


[*] posted on 11-28-2014 at 06:53 AM


Worked perfectly. Thank you!
View user's profile View All Posts By User
lottos
Administrator
********




Posts: 477
Registered: 6-3-2002
Member Is Offline

Mood: pass me a TimTam

[*] posted on 11-28-2014 at 07:35 AM


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


You're very welcome.



View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2024 The XMB Group
[Queries: 16] [PHP: 15.5% - SQL: 84.5%]