Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Censor List Replacing Details »»
Censor List Replacing
Version: 1.2, by alexgeek alexgeek is offline
Developer Last Online: Sep 2008 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.8 Rating:
Released: 12-23-2007 Last Update: 12-23-2007 Installs: 44
Uses Plugins
Re-useable Code Translations  
No support by the author.

My first product! This product will take a list of words and replace the first with the second in an easy to manage way.
This can be enabled and disabled and whilst disabled all words changed will reverse back to the original.
Also, whilst editing posts the original words will still be there as they are replaced at runtime.

This should be very simple to install just import the XML file and add words to your list via the admincp.

Howto add words to be replaced.
If you wanted to replace cat with dog and fish with spoon it would look like this:
cat,dog;fish,spoon

Enjoy guys and please mark as installed!

Updated
- You can now show users that can moderate the word that has been replaced.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Protonus

Comments
  #12  
Old 12-24-2007, 01:14 AM
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Location: UK
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bflat5 View Post
Too cool! I came here specifically to see if I could find something just like this and it was the first post here!

Installed and works. Seems to be a lag in the way it works though. When you post a message it shows the words you want changed, but a page refresh shows the words you want them changed to. Not a big deal though.
Glad I could help! This is my first mod so it won't be perfect.
I'll have a see on how I can improve that then!
Reply With Quote
  #13  
Old 12-24-2007, 03:53 AM
Bflat5 Bflat5 is offline
 
Join Date: May 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job on your first mod. I have always wondered why this wasn't the way the word censor work anyway.

Thanks again.
Reply With Quote
  #14  
Old 12-24-2007, 08:35 AM
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Location: UK
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome, thanks for the kind words
Reply With Quote
  #15  
Old 12-24-2007, 09:52 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, if this will work on links, then that will be awesome! Thanks.

Just wondering tho, how heavy is this hack on the server? (on a very large and busy site)
Reply With Quote
  #16  
Old 12-24-2007, 09:54 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bflat5 View Post
Good job on your first mod. I have always wondered why this wasn't the way the word censor work anyway.

Thanks again.
Because it is a censor. To replace words with a different word with only default vBulletin, you should use Replacement variables.
Reply With Quote
  #17  
Old 12-24-2007, 10:18 AM
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Location: UK
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
Because it is a censor. To replace words with a different word with only default vBulletin, you should use Replacement variables.
I created this as a faster method than replacement variables (They take ages to put up multiple replacements).
Reply With Quote
  #18  
Old 12-26-2007, 07:34 PM
cheech47's Avatar
cheech47 cheech47 is offline
 
Join Date: Oct 2006
Location: In Hell
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where in the admincp do you edit the list, looked under censorship options but cant see where im meant to edit the lists

Cheers
Reply With Quote
  #19  
Old 12-27-2007, 09:50 PM
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Location: UK
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Should be towards the bottom of the options list, "Censor Replacement List".
Reply With Quote
  #20  
Old 01-06-2008, 12:59 AM
s3nt3nc3d s3nt3nc3d is offline
 
Join Date: Oct 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will be installing this later tonight on my test forum...was just curious, is it possible to replace multiple words when used together? I'd like to use this for replacing racial slurs and such.

For example:

"porch" and "monkey" alone are two harmless words and do not need replaced, however, I would like to replace "porch monkey" with something that won't spark a huge fight.

Thanks! If this works out well, I think it'll be a very popular mod.
Reply With Quote
  #21  
Old 01-08-2008, 05:06 AM
bp323 bp323 is offline
 
Join Date: May 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

attempted install & failed to have it work... the original replacement variables still overrode my input.
Reply With Quote
Reply


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:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04901 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete