Logged-in User List

Need help with the Administration of your Joomla! 2.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 104
Joined: Thu Mar 17, 2011 12:38 am

Logged-in User List

Post by jimbrooking » Thu May 30, 2013 4:06 pm

I noticed that the list of logged-in users on the Admin control panel shows the number of users, but in no particular order. The heading says "Last <n> Logged-in Users", but the last activity time stamp is not informative. I added the line

Code: Select all

$query->order('s.time DESC');
after line 34 in /administrator/modules/mod_logged/helper.php, which causes the list to be sorted by reverse order of last-activity. This provides me with a better picture of my site's activity, so am passing it along in case anyone else is interested. If the ordering is not specified as above, I have no idea what the order really is, and suspect it isn't the "Last <n>" at all.

Ideally I'd love to see sort options in the parameters for the module, as I really hate to mess with the Joomla core.


Return to “Administration Joomla! 2.5”