Board Thread:Script Suggestions/@comment-1251315-20150718113009

Hi

Not looking for people to code this script (if it's even possible, I would probably do it on my own). I'm wondering if it would be allowed within ToU to create a script that would allow an admin to add users to a list that effectively bans them from posting in specific forum boards.

I suspect this would be against ToU so I would have to ask Staff for an opinion on this one as well, but would such a script be useful to anyone? Sometimes I find that a full-on wiki block for disruptive behaviour in a single board seems a bit unnecessary, especially if they're a good contributor elsewhere, so a script that just blocks them from posting new threads and replies in a board they're listed as being blocked from posting in would be useful.

If such a script was allowed, can anyone give an idea as to how it would work? I suspect that a double array would be needed to hold the content. For example, a variable that is an array, within the array you have a username and the board, which would be checked on the board and boardthread namespaces: if there's a match, then the actual board content would be replaced with a notice, such as "You have been banned from contributing in this forum section for the following reason: reasonhere. If you do not understand why you are receiving this notice, please contact a moderator or administrator for assistance."

Eg: var data = { username1: [ board: boardname, reason: reason ],  username2: [ board: boardname, reason: reason ], }; Where username1 and username2 are people's usernames, and which would be repeated. You could possibly even array the board variable so that a user could be listed for several boards.

An example usage: var data = { SuperSajuuk: [ board: Script Suggestions, reason: Inappropriate script suggestions and abusive behaviour to editors ], }; Advice needed, although I suspect the script wouldn't be allowed for tou. It'd be a nice feature though. Thanks! 