vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Replacement Words In Posts (https://vborg.vbsupport.ru/showthread.php?t=149118)

harmor19 06-06-2007 10:00 PM

Replacement Words In Posts
 
A few members were asking for a better censor system when it came to replacing bad words with good words.

This hack will replace any word you specify even if the word in question is typed with random uppercase and lowercase letters.
It still can be circumvented but I guess that's why you have moderators.


Installing
Download the product XML. Go into to your ACP --> Plugins & Products --> Manage Products click "[Add/Import Product]". Browse to product-ah_word_replace.xml and click "Import".

Settings
ACP --> vBulletin Options --> Censorship Options
There should be two new options titled "Word Replacements (Find)" and "Word Replacements (Replace)".

gtsch 06-07-2007 09:18 AM

what about replacement variables?

harmor19 06-07-2007 09:21 AM

I'll explain how it works.
Let's say you had these words for "Word Replacements (Find)".
suck|bad|whatsup

Now for "Word Replacements (Replace)"
stink|good|hello
================================================== ===

This message "whatsup you suck bad"
Will now be "hello you stink good".

harmor19 06-07-2007 09:22 AM

Quote:

Originally Posted by gtsch (Post 1263075)
what about replacement variables?

Replacement variables replace a word no matter where it is. This hack only replaces words in the posts.

Luky 06-07-2007 09:55 AM

This is working or not? It seems you are asking how tog et it to work, not releasing.. so im confused.

harmor19 06-07-2007 10:00 AM

Quote:

Originally Posted by Luky (Post 1263099)
This is working or not? It seems you are asking how tog et it to work, not releasing.. so im confused.

It's working. I just need help wording the descriptions in the vBulletin Options.

deezelpope 06-07-2007 10:03 AM

<i>I think it looks fine as it is...it's pretty self-explanatory, IMO.</i>

Charlie98902 06-07-2007 11:43 AM

Thanks harmor19

*******Clicks Installed******

Will there be one to not sensor globally? Like specify where this can and can't work later?

Hornstar 06-07-2007 11:45 AM

Arr cooool ^^ so i can change the swear word 'fu**' to 'beep' so if they type this: get fu**ed it will say: get beeped

Is that correct. and i can make as many as i like?

That means this also has seo benefits ^^

If someone types in slang or abbreviations, then this will be able to expand that to full, and will benefit your site ^^

Great work.

Sofia 06-07-2007 02:48 PM

Thanks a lot, harmor :)

But, i have vb 3.6.5 and your hack doesn't work :(

When i put the bad words in a post, the good words don"t replace the bad words. And in vbulletin options, i've separated words by "|", as you say.

Any idea ?


All times are GMT. The time now is 11:33 PM.

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.01195 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete