Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Change members list group order
Avatar
LeoS
Member
Free Members
sp_UserOfflineSmall Offline
Apr 26, 2014 - 2:46 am

I've been looking at this post for clues on how to change the display order of the groups in the members list:

https://simple-press.com/suppo.....rs-groups/

When I pass the group id's in the desired order (comma seperated) in the id option, the order changes all right, but in a rather random way, also splitting up the users and the groups in multiple groups.

What am I doing wrong?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 26, 2014 - 5:29 am

Well passing the user group IDs is not intended to alter or have an effect on the order user groups are displayed. This will normally be by user group ID. But running some tests here I don't see any splitting of groups or randomness to this. And remember that iof you are looking at things logged in as an admin then you will see them all regardless (which may not be desirable but is the way ot currently is).

So can you give me any more detail of what you mean by this 'splitting up of the users' etc?

andy-signature.png
YELLOW
SWORDFISH
Avatar
LeoS
Member
Free Members
sp_UserOfflineSmall Offline
Apr 26, 2014 - 5:42 am

Say I have a group called Managers (ID=1) and a group called Support (ID=2) and say I order them as described above in the order 2,1.

What I get is something like:

Group Support
Supportuser1
Supportuser3

Group Managers
Manager1
Manager2

Group Support
Supportuser2

etc..

I reckon changing the group ID's in the database is not a good idea?

Anyway, I arrived at an acceptable order by changing asc to desc

Thanks!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 26, 2014 - 6:29 am

Well - I am glad you have it nearer to what you would like but I am afraid I am still unable to replicate that behaviour.

I will run some more tests with a bigger data selection.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10120
Posts: 79607