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

Printable Version  
Author:

[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: 357
Registered: 6-3-2002
Location: Competitions Australia: https://www.lottos.com.au/
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");




Largest list of competitions online!
View user's profile Visit user's homepage 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: 357
Registered: 6-3-2002
Location: Competitions Australia: https://www.lottos.com.au/
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.




Largest list of competitions online!
View user's profile Visit user's homepage View All Posts By User

  Go To Top

Powered by XMB 1.9.11 (Debug Mode)
Forum Script Software by XMB © 2001-2019 The XMB Group
[Queries: 16] [PHP: 45.9% - SQL: 54.1%]
Funded with thanks to competitions website.