PDA

View Full Version : Administrative and Maintenance Tools - Display ban message for Infractions


Freddie Bingham
17 Aug 2006, 22:51
Here is the first modification I've done for the Infraction system. Figure it best to release them here and allow you to test them out. This is potential code to go into 3.6.1

This will display a ban message for users that have been banned via infractions. Banned via infractions means that they have an infraction group that is set as a banned group. I'll post other modifications that I make if they are not too involved.

Neal-UK
17 Aug 2006, 23:58
Will they also show up in the Banned Users list in the Admin CP? Would be great if they also got added to coventry automatically too so you don't have to delete all their posts.

Freddie Bingham
18 Aug 2006, 00:02
No, I haven't got to that section yet and I doubt I would post those changes.

cavyspirit
18 Aug 2006, 01:09
It would be nice to have this for any usergroup they get moved into.

"You have been demoted due to..."

or

"You have been caged due to..." (our site is about cages).

With the message configurable by user group.

Our demoted user groups place a member on moderation prior to banning them. We do this more often than banning.

Thanks.

Snake
19 Aug 2006, 11:11
Thanks!

flamewalker
19 Aug 2006, 19:06
Thanks! I was wishing there was a way to do something like this... simple enough :)

tuanvic
20 Aug 2006, 03:53
do u have some screenshot for this mod thanks

Zelos
25 Aug 2006, 18:49
Smart idea for a mod, though I have one question. If someone gets a warning that expires in a month, but he's banned because of it, will the ban error tell him he that the ban expires in a month?

chinch
25 Aug 2006, 21:50
i followed the instructions but got this error when testing the account that is now banned/suspended....any ideas?

Could not find phrase 'nopermission_banned_infractions'

craiovaforum
26 Aug 2006, 01:09
i followed the instructions but got this error when testing the account that is now banned/suspended....any ideas?

Could not find phrase 'nopermission_banned_infractions'

that happened to me too. you need to select the "Front-end Error Messages" type when you create the phrase, not the default GLOBAL.
I think this should be added in the install guide file.

chinch
28 Aug 2006, 14:58
thanks... working now :)

hopefully the install instructions can be updated :)

Freddie Bingham
28 Aug 2006, 15:26
:shrug: It says to add an error message and "Error Messages" is where error messages go.

chinch
30 Aug 2006, 05:42
not to nitpick, but if you search alphabetically you don't see "ERROR MESSAGES" in the dropbox. There are dozens and dozens of choices, and why guess?

change the instructions or not... that is up to you. i thank you for the mod but please realize two of us posting in this thread (12 posts) made this mistake.

craiovaforum
03 Sep 2006, 10:39
is there any way that you guys would consider to move the users to an usergroup not only to evaluate the permissions?

Because, for example, I have a special forum witch only banned users can view and post and the permissions are set to no for reg users. When an user is banned the permissions for that usergroup are set to yes (view, posting, etc.) but if an user is banned after receving multiple warnings the avaluations of permissions gives out the NO permission result witch is not a valid solution for me because I want banned users to see that forum...

craiovaforum
09 Sep 2006, 14:57
any news on this? ^^^

Zelos
15 Sep 2006, 06:21
Is this mod still nessesary with 3.6.1?

bigmonay2k
15 Sep 2006, 13:44
screenshot please??

Freddie Bingham
15 Sep 2006, 13:57
Is this mod still nessesary with 3.6.1?No..

Borden
10 Oct 2007, 16:41
i followed the instructions but got this error when testing the account that is now banned/suspended....any ideas?

Could not find phrase 'nopermission_banned_infractions'

I couldn't either find 'nopermission_banned_infractions'. Can someone tell me where it is?