Log in

View Full Version : Word Censor enabled/disabled by user in 3.6.10?


SFertitta72
10-28-2008, 10:54 AM
Is there a way to have users toggle the word censor on or off via the user cp for VB 3.6.10? I have been looking through the mods and have not been able to find what I am looking for.

Thanks in advance. :up:

Videx
10-28-2008, 11:26 PM
I've never seen a mod like that. But what would be the point? You either censor language or you don't.

King Kovifor
10-29-2008, 12:52 AM
This type of modification would require a lot of 'overhead' within the code. The way the word censor works is that it scans posts for words. Say I censor the word 'jerk'. A user tries to post this:
Your such a jerk!

It is not stored in the database, or the cache, that way. It is actually stored as:

Your such a ****!

Now, if I wanted to allow users to turn this feature on / off, it would have to store both copies of the message. Thus doubling the size of both your cache and your database.

SFertitta72
10-29-2008, 09:06 AM
I've never seen a mod like that. But what would be the point? You either censor language or you don't.

Well, word censoring is a touchy subject in the paintball community. Some sites do it, some dont. The ones that dont do not like to have links back to sites without a filter. If I was able to use the filter for non-registered users, it would be beneficial.

There is a major PB forum that has this ability. I suspected it was something custom, but I figured I would ask around regarding it.

:) :up:

--------------- Added 1225274832 at 1225274832 ---------------

This type of modification would require a lot of 'overhead' within the code. The way the word censor works is that it scans posts for words. Say I censor the word 'jerk'. A user tries to post this:


It is not stored in the database, or the cache, that way. It is actually stored as:



Now, if I wanted to allow users to turn this feature on / off, it would have to store both copies of the message. Thus doubling the size of both your cache and your database.


Wow, way too much effort and trouble to do this. Thank you for the information.

Videx
10-29-2008, 01:39 PM
Ah, but you didn't ask for a usergroup-specific word filter. You asked for the particularly odd ability for individual users to switch their own filter on and off. As if they might want to post a bad word today, but not tomorrow.

But as you're discovering, I don't think the vb filter works this way at all. It works when text is posted, not when it's viewed.

King Kovifor
10-30-2008, 10:07 PM
Ah, but you didn't ask for a usergroup-specific word filter. You asked for the particularly odd ability for individual users to switch their own filter on and off. As if they might want to post a bad word today, but not tomorrow.

But as you're discovering, I don't think the vb filter works this way at all. It works when text is posted, not when it's viewed.

Regardless of how you want it - per user or per usergroup - you would still be required to store two different versions.