vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Block Censored Words in Posts by BOP5 VB4 (https://vborg.vbsupport.ru/showthread.php?t=255546)

BirdOPrey5 12-19-2010 10:00 PM

Block Censored Words in Posts by BOP5 VB4
 
1 Attachment(s)
By BirdOPrey5 / Qapla.com

Version 1.3

For people who don't want to see censored text (******) in their posts this mod will prevent a user from even submitting a new post or thread that has any word that would be censored. They will be forced to change it or it simply won't post. (Now works on post edits as well.)

You can demo this by trying post in the Testing Forum at Qapla.com. You can try posting the "F" word or other major curse words which are censored here.

Options included to limit checking on thread titles or only post bodies, or both. Also option to use on specific forums instead of all forums on your site.

Works on all vBulletin versions out there, VB 3.6.x through 4.2.x and will work on 4.3.x I'm sure as well.

I'd like to thank kh99 for helping me find the right hook to use on this mod.


Please Mark As Installed if you use this. :)
Donations Always Appreciated. :up:

English - Downloaad Zip File - V 1.3

COL NIL SATIS 12-20-2010 05:13 PM

tagged

Boofo 12-20-2010 05:19 PM

Does this work for the quick reply (ajax) or do you have to refresh the page first?

BirdOPrey5 12-20-2010 05:39 PM

Works in quick reply too... if quick reply is used through when you "go back" to fix your message I see Chrome will erase your original message, where was from advanced reply or new thread your original message will still be there. I haven't tested other browsers.

Dr.osamA 12-21-2010 09:53 AM

1 Attachment(s)
5 stars

installed

translated to Arabic
plzz be nice and add the XML Arabic file to 1st orignal post

thank you

ProFifaLeagues 12-21-2010 11:22 AM

Nice mod will be handy for us in the next week or two with some planned changes we are making on our forum.
Thanks

BirdOPrey5 12-21-2010 11:45 AM

Quote:

Originally Posted by Dr.osamA (Post 2137153)
5 stars

installed

translated to Arabic
plzz be nice and add the XML Arabic file to 1st orignal post

thank you

Thank you for the translation. Added to first post. :up:

Quote:

Originally Posted by rammieone (Post 2137167)
Nice mod will be handy for us in the next week or two with some planned changes we are making on our forum.
Thanks

You're welcome. :)

jgt58 12-21-2010 10:21 PM

this is great for elitestangs.com , were family oriented mustang club!

BirdOPrey5 12-22-2010 11:48 AM

Updated to version 1.1.

Added a new option, "Additional Block Words" where you can block words not on your regular censor.

This was based on a user's suggestion for the VB 3.8 version of this mod.

leitel 01-01-2011 06:43 PM

Any chance you can make an option so that the post/thread is flagged for moderation?

BirdOPrey5 01-01-2011 07:22 PM

Quote:

Originally Posted by leitel (Post 2142410)
Any chance you can make an option so that the post/thread is flagged for moderation?

That would really be a different mod...
I've used this one: https://vborg.vbsupport.ru/showthread.php?t=129390 (and I believe it will work in VB4) to do that very thing...

Add words you want to trigger moderation for, set the post count to very high, like 999999 and it will auto moderate any posts from any users using any words you specify, except moderators of course.

Kat-2 05-20-2011 10:46 PM

Does this mod allow for users to turn it off/on?

BirdOPrey5 05-20-2011 11:42 PM

Quote:

Originally Posted by Kat-2 (Post 2198169)
Does this mod allow for users to turn it off/on?

No... that would kind of defeat the purpose of the mod.

Kat-2 05-21-2011 01:43 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2198183)
No... that would kind of defeat the purpose of the mod.



Well no, not really. Some people (me) prefer not to see the bad language, and some do prefer to see it. I would like to have the choice. :)

HMBeaty 05-21-2011 01:46 AM

Quote:

Originally Posted by Kat-2 (Post 2198227)
Well no, not really. Some people (me) prefer not to see the bad language, and some do prefer to see it. I would like to have the choice. :)

Then you probably want this mod:

https://vborg.vbsupport.ru/showthread.php?t=253026

Kat-2 05-21-2011 01:53 AM

Quote:

Originally Posted by HMBeaty (Post 2198229)


Thanks. I do have that mod, and it is not working properly. Even if a poster chooses to not have the filter on, it still filters the words.
That was why I came looking for another mod.

BirdOPrey5 05-21-2011 02:04 AM

Quote:

Originally Posted by Kat-2 (Post 2198227)
Well no, not really. Some people (me) prefer not to see the bad language, and some do prefer to see it. I would like to have the choice. :)

This doesn't filter words already in a post- this prevents someone from submitting a new post with bad words.

If you let a user shut it off then everyone would see the bad words they posted.

Kat-2 05-21-2011 03:49 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2198232)
This doesn't filter words already in a post- this prevents someone from submitting a new post with bad words.

If you let a user shut it off then everyone would see the bad words they posted.


I understand. Thank you. I am looking for one that will allow individuals to choose whether they want to see the bad words.
The other mod that is supposed to allow for that does not work properly for my forum. :)

BayLee2 06-09-2011 09:12 AM

Does this block pms too or only threads? I'm looking for a way to block words of my choice from threads only so that users can pm things if they decide to. Can I add words of my choice to this?

Thanks.

BirdOPrey5 06-09-2011 11:36 AM

It only blocks in posts and threads. Yes you can add your own words.

BayLee2 06-09-2011 09:07 PM

I installed this on 4.1.3 and found that if a member posts it says not to use the censored word. If they submit a post without a censored word then click on edit post, they can then add the word to the post without the censor kicking in and blocking it.

Charlie98902 06-09-2011 10:27 PM

Thanks for this only tagged for now most likely will install in the next few days. Some may want this as they provide specific software support and may not want other (competitors) mentioned.

Does this work as well via PM's? Would be a nice addition.

BirdOPrey5 06-10-2011 12:01 AM

At this time the mod doesn't block edits or work in PMs. I will consider adding these features in a future release.

Charlie98902 07-06-2011 09:24 PM

Thanks BOP5. As soon as it does PM's and over on posts I seen users can post then edit and it seems to allow bad words? Well I thought I recalled seeing a user state that in this thread.

BirdOPrey5 07-06-2011 11:35 PM

It doesn't censor PMs.

At this time it won't block edits.

kether1 07-07-2011 04:12 AM

Looks like another great modification, Joe. I am tagging this to install and test. Very cool. Thank you.

Kether

kether1 07-08-2011 04:25 PM

Tested and installed! :)

Question: Is there a way to make this not use my censored words list and just use the words I add into the space you provide in the settings?

Rational: If someone posts a message with the 'F' word, I would like the generic replacement of the "****" rather than asking the member to go back and remove the censored word. On the other hand, there are some words/URLs I want to block and notify the member to go back and correct the post before it is allowed to be posted.


Thanks,
Kether

BirdOPrey5 07-08-2011 05:04 PM

Quote:

Originally Posted by kether1 (Post 2218217)
Tested and installed! :)

Question: Is there a way to make this not use my censored words list and just use the words I add into the space you provide in the settings?

Rational: If someone posts a message with the 'F' word, I would like the generic replacement of the "****" rather than asking the member to go back and remove the censored word. On the other hand, there are some words/URLs I want to block and notify the member to go back and correct the post before it is allowed to be posted.


Thanks,
Kether


I understand what you are saying but it would require almost a complete rewrite of the mod for it to work like that. The censored word list is fundamental to how this is currently coded.

kether1 07-08-2011 05:31 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2218243)
I understand what you are saying but it would require almost a complete rewrite of the mod for it to work like that. The censored word list is fundamental to how this is currently coded.

I understand, Joe, and appreciate the quick response. Thanks for your consideration anyway.

Kind regards,
Kether.

DNCL 07-28-2011 12:16 AM

Hello dear BirdOPrey5, does this mod work well with the CKEditor in 4.1.4 or 4.1.5? if not can you upgrade it please so i can upgrade my 4.13 forum. :)

BirdOPrey5 07-28-2011 11:58 AM

Quote:

Originally Posted by DNCL (Post 2225835)
Hello dear BirdOPrey5, does this mod work well with the CKEditor in 4.1.4 or 4.1.5? if not can you upgrade it please so i can upgrade my 4.13 forum. :)

I can confirm it works fine on 4.1.4.

Trangalleiro 09-16-2011 09:19 PM

Hi, thanks for the Hack BirdOPrey5 is working for me perfectly in Vb 4.1.5.
Although I would like if you could in a future version that will work only with the titles of the thread and/or messages, this is only a comment.

Sorry for my English I'm using Google translator.

Greetings.

BirdOPrey5 09-16-2011 10:35 PM

Quote:

Originally Posted by Trangalleiro (Post 2246945)
Hi, thanks for the Hack BirdOPrey5 is working for me perfectly in Vb 4.1.5.
Although I would like if you could in a future version that will work only with the titles of the thread and/or messages, this is only a comment.

Sorry for my English I'm using Google translator.

Greetings.

Thank you for the suggestion. I will try to include it in a future version.

makjustin 04-12-2012 06:19 AM

Thanks so much
installed and it works!!

BirdOPrey5 04-12-2012 10:49 AM

Quote:

Originally Posted by makjustin (Post 2319312)
Thanks so much
installed and it works!!

Thanks. Please click the "Mark as Installed" link on the right side in the top post.:)

Bundschuh 06-01-2012 10:59 AM

Hi there,

two things:

1. I'd find it quite nice if it shows the user all bad words he entered in the message.
Is it possible to implement this?

2. Further the mod doesn't seem to check edit functions because editing a post with bad words is possible.

Greetings
Bundschuh

BirdOPrey5 06-01-2012 05:51 PM

Hello,

Unfortunately no, as it works now it cannot show the specific word(s) that caused the block.

The block om edits is something that will likely be in the next update.

Disco_Stu 06-12-2012 02:23 AM

Works well on 4.2PL1

Thanks! Marking as installed

masterross 06-20-2012 04:38 PM

Great help mate!

You could add one addition code in editpost_update_start to prevent already posted censored words from been edited.

Regards!

BirdOPrey5 06-24-2012 07:28 PM

Quote:

Originally Posted by masterross (Post 2341494)
Great help mate!

You could add one addition code in editpost_update_start to prevent already posted censored words from been edited.

Regards!

Sorry for the long delay.

I have just updated this mod to version 1.3- it now works on post edits. It also has options to work only on thread titles or only in post bodies, or both.

:up:


All times are GMT. The time now is 06:07 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.01378 seconds
  • Memory Usage 1,828KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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