Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 10-28-2008, 10:54 AM
SFertitta72 SFertitta72 is offline
 
Join Date: Mar 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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:
Reply With Quote
  #2  
Old 10-28-2008, 11:26 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never seen a mod like that. But what would be the point? You either censor language or you don't.
Reply With Quote
  #3  
Old 10-29-2008, 12:52 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 10-29-2008, 09:06 AM
SFertitta72 SFertitta72 is offline
 
Join Date: Mar 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
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 View Post
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.
Reply With Quote
  #5  
Old 10-29-2008, 01:39 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 10-30-2008, 10:07 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:28 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.03575 seconds
  • Memory Usage 2,199KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete