Author |
Message |
AsciiSector Board Member
Joined: 09 Dec 2008
Posts: 30 Location: Copenhagen, Denmark
|
Posted: Fri Jun 12, 2009 5:53 pm Post subject: "Banned" text or image for banned members? |
|
|
I've sadly just had to issue my first ban on my board. However, I'd like it if it actually said "Banned" under the member's name now, so other members can see that he's been banned. I can of course just give him a special rank called "Banned", but I've also installed the Temporary Ban mod, and I'd probably forget to remove this special rank, so I'd rather that the board automatically added "Banned" under the name of banned users, so it wouldn't do that anymore when their ban has expired.
I get the feeling it's a simple mod, but I can't figure out how to check whether or not a user is banned and how to add the "Banned" text under the user's name. |
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Sat Jun 13, 2009 2:31 am Post subject: Re: "Banned" text or image for banned members? |
|
|
A special rank is assigned manually to individual users so if you only assign that special rank to users you ban forever there's no problem. _________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
AsciiSector Board Member
Joined: 09 Dec 2008
Posts: 30 Location: Copenhagen, Denmark
|
Posted: Sat Jun 13, 2009 5:23 am Post subject: Re: "Banned" text or image for banned members? |
|
|
Well, the problem is with the temporary bans. I'll likely forget to remove the rank, or it won't be removed immediately when the ban expires. That's why it would be easier if the code would just check when generating the viewtopic file if a user is banned - and if he is, then add "Banned" below his name. That way I won't have to assign special ranks and remember to remove them. |
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Sat Jun 13, 2009 7:46 am Post subject: Re: "Banned" text or image for banned members? |
|
|
I understand what you are looking for,
But, this particular user has been banned forever, isnīt it? So you donīt have to worry about his special Banned rank.
Another option is to make a special topic in which you go placing the (temporary) banned users plus the reason for their (temporary) ban and it's duration. That way your other users will know what and why is happening to those banned users. _________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
AsciiSector Board Member
Joined: 09 Dec 2008
Posts: 30 Location: Copenhagen, Denmark
|
Posted: Sat Jun 13, 2009 8:13 am Post subject: Re: "Banned" text or image for banned members? |
|
|
There are some users that are on the verge of a temporary ban and I just want to avoid having to move banned users around and assigning special ranks and stuff. It seems so simple to just have "Banned" written underneath a banned users name that I'm wondering why it isn't that way per default on phpbb boards? |
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Sat Jun 13, 2009 9:10 am Post subject: Re: "Banned" text or image for banned members? |
|
|
Look what I found on the good old phpbb forum archive MOD Request forum, Automatic Banned Rank. Have a look at it, it seems to be exactly what you want. _________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
AsciiSector Board Member
Joined: 09 Dec 2008
Posts: 30 Location: Copenhagen, Denmark
|
Posted: Sat Jun 13, 2009 9:31 am Post subject: Re: "Banned" text or image for banned members? |
|
|
It certainly does! Excellent! Thanks for the find! |
|
Back to top |
|
|
|