[3.3][DEV] Inactive User & Banned User Rank

Extensions and snippets for phpBB 3.3.X
Maintained and supported by the extension author
Forum rules
Everybody can post their extensions and snippets here
The only rule is that the authors support the extensions thy post

[3.3][DEV] Inactive User & Banned User Rank

Post by Anișor »

Extension Name: Inactive User & Banned User Rank
Author: Anișor

Extension Description: Assigns a custom rank title to users that are inactive, banned or temporarily banned.
Extension Version: 1.0.0-dev

Requirements: >=7.1.3, phpBB >=3.3.0,<4.0.0@dev

Features:
  • Removes user's current rank image & rank title
  • Assigns a new rank title based on user's current status: banned, temporarily banned, inactive for x months
Screenshots::
Screenshot at Apr 03 22-15-59.png
Screenshot at Apr 03 22-15-49.png
Screenshot at Apr 03 22-15-21.png
Demo URL: N/A
Demo Username: N/A
Demo Password: N/A

Extension Download: https://github.com/criminus/iubur
You do not have the required permissions to view the files attached to this post.

[3.3][DEV] Inactive User & Banned User Rank

Post by Stoker »

Inactive as in user who hasnt activated their account, or deactivated by admin?

[3.3][DEV] Inactive User & Banned User Rank

Post by flumsi »

Hello everyone

I just needed this extension because we had, and unfortunately still have, some really rude forum users.
It's a great extension for the overview, but unfortunately I have a display error.

I have made the following changes in the forum, especially in the memberlist.php, for some time now:

Original:

Code: Select all

$default_key = 'c';
$sort_key = $request->variable('sk', $default_key);
$sort_dir = $request->variable('sd', 'a');
Change to:

Code: Select all

$default_key = 'm';
$sort_key = $request->variable('sk', $default_key);
$sort_dir = $request->variable('sd', 'a');
The member list in the forum is displayed from top to bottom, starting with the administrators, followed by the moderators.

All users I have banned or suspended are displayed at the top of the member list, even before the admins and moderators.

Unfortunately, I haven't found anything that will move the suspended/banned users to the END of the member list and display them there.

Can you help me with this?

[3.3][DEV] Inactive User & Banned User Rank

Post by Stoker »

This is my memberlist: memberlist.php?mode=&sk=c&sd=d#memberlist
a banned profile: memberlist.php?mode=viewprofile&u=6318

Can all be achieved with Ban Hammer 1.1.0 https://github.com/rmcgirr83/ban-hammer

[3.3][DEV] Inactive User & Banned User Rank

Post by flumsi »

Hello everyone

This extension 'Ban Hammer' looks really nice and seems to work perfectly with 3.3.1.5. Thanks for the tip.
I was able to test it out and use it with 10 registered members right away. I never thought we, as a small forum, would need such extensions. :thumb: