PDA

View Full Version : Enable/Disable profanity filter by usergroup


zoom6
01-31-2014, 12:25 AM
I am looking to be able to have the profanity filter enabled site wide for all users EXCEPT for users in a certain usergroup. Does anyone know of a mod that will achieve this?

ozzy47
01-31-2014, 12:53 AM
Give me a bit, I can throw one together.

zoom6
01-31-2014, 01:06 AM
Give me a bit, I can throw one together.

That would be great! You'd make members of a certain usergroup very happy. If it matters on your end, we are running v3.8.

ForceHSS
01-31-2014, 01:07 AM
Good idea, would use it myself.

ozzy47
01-31-2014, 01:35 AM
The way I have it visioned is this. ( but do remember, this will only work on new posts, as any old posts that are censored are replaced in the database by the censor. )

You can set usergroups to be excluded.
You can set forums to be excluded from the censor.

There will be another setting, that you can turn on or off, that would allow you to only allow the selected usergroups to be excluded from the censor in the forums you choose.

So you could use it like this:
Selected usergroups can post censored words anywhere and all usergroups can post censored words in the forums you choose.
OR
Only the selected usergroups can post censored words in the forums you choose.

I should be able to release this tomorrow, once I get it all together. I will release one for vB3.6 vB3.7 vB3.8 and vB4

CharlieDelta
01-31-2014, 01:49 PM
Ozzy this is a great idea!

Will it be possible to have this work in conjunction with VB's stock censor or will it have to be disabled? Because the stock will censor other areas such as Blogs.

ozzy47
01-31-2014, 03:17 PM
It will utilize the stock censor, not anything new.

zoom6
02-02-2014, 02:49 PM
My thought was not to have people be able to post censored words and have it show publicly. Instead, I was thinking certain usergroups could view the censored words while other usergroups see the filter.

ozzy47
02-02-2014, 10:29 PM
That is not what you asked in the OP, it may be doable, but would require much more time, and may just use up alot of resources.

Simon Lloyd
02-03-2014, 06:13 PM
Perhaps you could ask the creator of this https://vborg.vbsupport.ru/showthread.php?t=253026 to do it for vb3 then all you have to do is add a conditional as to who can turn the filter on and off, you'd need the filter set to on for all members by default first though :)