Order usernames chronologically

Luxus

Well-known member
Hi,

I think currently usernames in the sidebar are ordered by last activity, yes? Is it possible to order them chronologically (A first, Z last) by username?
 
You will have to edit some code in Model/Session.php
In function getSessionActivityQuickList(), line 55
change
'order' => 'view_date'
to
'order' => 'username'
 
Wow, thank you very much. Too bad I have to edit a core file because this will be overwritten by an update.
(CMS, Core Modification System, anyone? :P)
 
Works for me.

Before:
Before.webp

After:
After.webp

Different users, but they're clearly alphabetical after the add-on is installed.

You need to upload the contents of the upload folder to the root of your XF installation, then install in the Admin CP using the provided XML file.
 
Well, all that I can tell is that I applied the change in Syndol's post and it's working in the side bar only. According to your thumbnail it should also affect the recent activity and online page, but for me it didn't.
 
Top Bottom