vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Word Censor enabled/disabled by user in 3.6.10? (https://vborg.vbsupport.ru/showthread.php?t=194790)

SFertitta72 10-28-2008 10:54 AM

Word Censor enabled/disabled by user in 3.6.10?
 
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:
Quote:

Your such a jerk!
It is not stored in the database, or the cache, that way. It is actually stored as:

Quote:

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

Quote:

Originally Posted by Videx (Post 1654899)
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 [DATE]1225274832[/DATE] at [TIME]1225274832[/TIME] ---------------

Quote:

Originally Posted by King Kovifor (Post 1654981)
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

Quote:

Originally Posted by Videx (Post 1655301)
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.


All times are GMT. The time now is 04:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00993 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete