MyBB Community Forums
sort by usergroup memberlist - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: sort by usergroup memberlist (/thread-229896.html)



sort by usergroup memberlist - Meow Purrdock - 2020-10-22

I saw a few threads years back about this, but wondered if there had been any update to allow the memberlist sorting option to include usergroups? Either a dropdown option within the sort by menu or like with the usernames, a selection area for input to only show users with specific usergroups? This area:

[attachment=43392]

EDIT: looked around more, still found nothing so have been pecking at a code for it myself. If there's an existing one though...by all means link. Otherwise, i'll just continue trying to tweak something myself.


RE: sort by usergroup memberlist - Michael2014 - 2020-10-25

Man, just have a dev build you a plugin, it is that easy.


RE: sort by usergroup memberlist - Meow Purrdock - 2020-10-26

Not a useful answer.

I have worked out how to sort by usergroup myself, but I am struggling with custom profile fields. I have seen the advanced search thread that shows how to add them there, but is doesn't cover the main memberlist.php. So, say i wanted to only show users who had the fidx which is exactly 'value1'?

I'm going to have another look about today and see if i can work it out myself but not sure.

EDIT: I just found this thread and it looks useful for custom fields.
https://community.mybb.com/thread-229488.html

I'm going to play about with it and see if it will work for what i was looking for. Just wanted to add it here for onlookers.