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 04-11-2015 07:24 PM

This mod does't stop words in posts from being censored. That was never the intent. What it does is prevent users from physically posting a thread if a word that would be censored is detected.

blue7 04-11-2015 07:37 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2542868)
This mod does't stop words in posts from being censored. That was never the intent. What it does is prevent users from physically posting a thread if a word that would be censored is detected.

I dont want this mod stop censore words in posts, i just want this mod dont censore words in post. I need this mod only for titles, i dont want it interfere to posts.

BirdOPrey5 04-12-2015 10:30 PM

This mod doesn't change where words get censored. They get censored everywhere because that is how vBulletin censor works. This mod doesn't change how the vBulletin built in censor works.

blue7 04-13-2015 08:45 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2542946)
This mod doesn't change where words get censored. They get censored everywhere because that is how vBulletin censor works. This mod doesn't change how the vBulletin built in censor works.

I didnt censore those words in vBulletin censore system (settings). Your mod censore those words. When i disable it censore gone, when i enable it censore is back.

If you are thinking that those words already in the list of censore words (vBulletin built in censore system), no they are not there. I really didnt added them to in vBulletin built in censore settings. I only added those words to your mod and it censore posts...

BirdOPrey5 04-13-2015 01:29 PM

I understand now. The mod is designed to work by just adding those words to the censored list. I'll need to relook at how the mod works. I'll post an update if I get it working that words in post won't be censored in the scenario you describe.

blue7 04-13-2015 01:51 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2542981)
I understand now. The mod is designed to work by just adding those words to the censored list. I'll need to relook at how the mod works. I'll post an update if I get it working that words in post won't be censored in the scenario you describe.

I'll be waiting for your update, thank you very much.

givememyleg 10-11-2016 01:04 PM

I too am hoping to just block words in post titles, not censor them in the post. Was an update ever released for that?

MarkFL 10-11-2016 02:51 PM

The product has separate settings for titles and posts. :)

givememyleg 10-11-2016 06:31 PM

Quote:

Originally Posted by MarkFL (Post 2576831)
The product has separate settings for titles and posts. :)

you are correct, but it still censors everything the same. in other words, if i want to prevent a new thread from being created that uses "http" in the thread title, that works. but it also then adds "http" to the list of censored words meaning it censors/removes any instance of "http" within the post content. i only want it to search titles and ignore everything in the post content.

....if that makes sense.

MarkFL 10-11-2016 06:45 PM

Yes, and I apologize for not realizing that checking titles only still leads to censorship in the post content. :)

postcd 01-02-2017 03:38 PM

Hello,

HELP please, i am using this mod (v.1.3) at vB 4.2.x

But it does not block threads with my block phrase "Sell Cvv"

These are my "Additional Block Words": http://pastebin.com/sxLCpBEq
A screenshot of the plugin configuration: https://snag.gy/y8prKf.jpg
"Block in all forums" is set to Yes

You see i have "Sell Cvv" there, but still there are spammers who create threads where their post contain that phrase (same letter case).

What to check please so it is blocked?
Or is there any alternative plugin for this purpose?

BirdOPrey5 01-02-2017 06:17 PM

You can't block words with spaces, even by using the curly braces, it just doesn't work like that.

{Sell Cvv} blocks literally "{Sell" and "Cvv}" in theory.

postcd 02-20-2017 09:21 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2451801)
Capital, lowercase, doesn't matter, you can't post it.

so i assume it does not matter if i enter lower or uper case letters in blocked words list ("Additional Block Words")...

but i have this in my block words: word1 Cvv word3
But someone still posted new topic where was CVV2 mentioned in the post text.

And i assume i can not use : , . - ?

As an admin i am not blocked by submitting new topic with block word in the post content.

This is content of my "Additional Block Words" text area: http://pastebin.com/A6kaSM9V

PS: it might be useful improvement if one can block phrases, not just words.

clauz 04-03-2017 10:19 AM

Hello,

I have installed this mod, very useful thank you.
Anyway, my problem is that even if I only enable it just for thread TITLE, it also censor the words in messages...

I guess it is not such a good idea to work with the native vBulletin censor option.

See bellow my settings:

https://vborg.vbsupport.ru/external/2017/04/5.jpg

clauz 04-06-2017 05:11 AM

Mark as uninstalled.

All the words I have put there to not be used in the topic title are censored from all posts.
Even if I choosed "only title". And "Check Posts?" -NO.

Very dissapointed in this mod.

clauz 04-26-2017 06:17 AM

I guess it is only me speaking here.
This mod is not longer supported... :cool:

BirdOPrey5 04-27-2017 11:37 AM

Yes it is unsupported. Sorry about that. Please stop posting about it unless you have something relevant/useful to say.

clauz 05-10-2017 10:14 AM

And it is not relevant that this mod is not working as it is supposed to work??
If I enable "only title" why is censored also posts?

You are right... my post is not useful for you but is relevant for users who want to install this.

And don't understand me wrong, I really appreciate your work and I wanted to use this mod, it was just an observation.

Drakie 05-24-2017 08:23 AM

Works fine with vBulletin 4.2.5 and PHP Version 5.6.30.

Thanks a lot!

NOCTURNES 11-08-2017 12:55 PM

Wonderful mod, im making use of it right now, my community really needs this. Installed!

gsk8 09-27-2018 03:47 AM

Hey there! Thanks so much for making this - badly needed :)

Unfortunately it's not working. I triple checked my censored words. I'm using 4.2.5.

All of the words are in curlys with like this {'Bad'}

So when someone type Bad in the title or post, it still goes through :(

If I remove the curly brackets it works.

The problem is that I run a forum where many athletes are mentioned. For instance "Slutskaya". But if I put in slut without the curly brackets and quotes, guess what happens :)

gsk8 09-27-2018 03:51 AM

I also noted that when the post is being typed, there is no way to "edit". So someone might type a whole paragraph only to get the next page saying:

Quote:

A censored word was detected. Please do not use censored words in your posts..

gsk8 09-27-2018 04:01 AM

Ok. I think I got it. The secret was to take out the quote. This seems to work well! Thanks!

gsk8 09-27-2018 04:16 AM

Nope still having problems. I clicked on "NO" to Block in ALL forums. Then I selected/highlighted the ones I want to use this feature for. The only thing it did was show up **** instead of a message.

BirdOPrey5 09-27-2018 02:37 PM

I haven't looked at the code for this in a long time but if I recall correctly it did not support the use of the {brackets} like regular word censor did.

gsk8 10-02-2018 12:37 AM

So I currently have some words in my default censor account in "{}". Do I remove all these words and put them on your list? I want to be sure that when I put the word "Jap" as censored, it doesn't affect "Japan", hence, the reason for using the brackets :)

BirdOPrey5 10-02-2018 10:11 AM

I would say the mod is unfortunately not compatible with that kind of usage. Sorry.

kether1 11-21-2019 04:14 AM

Hey Joe, is this mod available for vb5?

Thanks!
K

sv1cec 01-04-2020 12:08 PM

Joe, I know that this is way to old a mod, and I really do not expect you to provide any support for it, but I have tried to modify the error message (phrase blockpostbop5) in order to show the censored message and the non-censored one, so that a member can see which is the foul word he used. For some reason, if I change:

standard_error($vbphrase['blockpostbop5']);

to:

standard_error($vbphrase['blockpostbop5'], $censoredpost);

for example, and I add {1} in the phrase, I get a %1$s instead of the censored post.

Any ideas would be greatly appreciated!

BirdOPrey5 01-04-2020 02:22 PM

Hey... Don't even have a VB4 forum to test this on anymore but let's try something.

If you make the line:

standard_error($vbphrase['blockpostbop5'], "test");

Do you get test to replace the {1} in the phrase?

If yes then the problem is with $censoredpost

If not then there is another issue, perhaps more is needed for vbphrase() function.

sv1cec 01-04-2020 03:38 PM

Nope, it still shows %1$s.

Maybe the fact that the phrase is not a Front-End error message phrase, has something to do with that? I am not sure about which kind of phrases support replaceable parameters! Or perhaps the standard_error function has an issue?

BirdOPrey5 01-04-2020 04:16 PM

Usually when I need to find out how a vbulletin function works I search the source code for:
function functioname

Such as

function vbdate

And it has ALWAYS worked. But this time I can't seem to find any function setup of the vbphrase function. No idea why but that would be where to start looking.

sv1cec 01-05-2020 09:02 AM

That's because vbphrase is not a function. It's a variable.

In any case, I figured out a way to solve the problem. Instead of :

standard_error($vbphrase['blockpostbop5']);

I used:

$errormessage=construct_phrase($vbphrase['blockpostbop5'], $non_censored, $censored);
standard_error($errormessage);

Of course, I have edited your phrase accordingly and added {1} and {2} for the two parameters.

Joe, many thanks for your help, appreciated!


All times are GMT. The time now is 06:18 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.01217 seconds
  • Memory Usage 1,809KB
  • 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
  • (6)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
  • (33)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