XF 2.1 How can the banned users list only show temporary banned?

Feanor

Active member
I'm not sure if this is a result of importing from vBulletin, but the banned users list is unusable because it's filled with thousands of permanent bans and the temporary ones are mixed in. Almost always when a mod/admin wants to see who's banned it's a temporary ban because these are the members who will be back on the forum. Permanent bans are used for things like spammers and really bad members that will never be back. vBulletin would separate the banned users with the temporary ones on top, making them possible to see. XF doesn't seem to even allow you to sort the list by date end.
 
This addon does many things including displaying separate tabs for permanent and temporary bans:


easy-ban-banned-users.webp
 
Last edited:
@Feanor Did you get any help on this?
This is easy to do...
/admin.php?users/list&criteria[is_temporary_banned]=1&order=register_date

Not temporary banned...
/admin.php?users/list&criteria[is_banned]=1&order=register_date

I have this linked in:
/admin.php?navigation/add

Only Admins can see this links...
1604304422817.webp
 
Last edited:
This is easy to do...
/admin.php?users/list&criteria[is_temporary_banned]=1&order=register_date

Not temporary banned...
/admin.php?users/list&criteria[is_banned]=1&order=register_date

I have this linked in:
/admin.php?navigation/add

Only Admins can see this links...
View attachment 238842
This doesn't work.

1. It displays all banned users, permanent and temporary.

2. It displays them in the AdminCP, not in the front end, which is far less convenient and not accessible to moderators.
 
Top Bottom