![]() |
Users display
Hello,
I tried to look everything in here and found no answer to this : Is there a way to selectively change the result of the $activeusers array ? i.e., on the whats going on box, i want it to appear sorted by name, position AdminA, AdminB, ModA, Modb, UserA, UserB and so on... Could this be done ? |
The query to grab the users is around line 444 of index.php. You may be able to hook into the forumhome_loggedinuser_query location with a plugin and add a GROUP BY addition to the query. I haven't used that much in queries, so I'm not real familiar with it.
|
I see it now, just before // memory saving.
Unfortunately i do not know how to do such a thing... Could someone else give a hand? |
Play with it on a test site. Like I said, you can probably use GROUP BY - MySQL Tutorial - Group By
Something like: PHP Code:
|
I did search but found nothing.
In any case, i will try and make some changes myself then post the result here, ok ? Just let me read and try. KK |
All times are GMT. The time now is 08:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|