vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=323577

Prevent Threads with Certain Titles
by givememyleg
05 Oct 2016 10:52

Hello,

I have vb4.2.2 installed and after some updates, most of our spam is under control. We require captcha and do not allow urls for users with under 3 posts and that prevents a lot of spam bots.

However, the bots are getting around this by pasting the url in the thread title like this:

Title: http://theirdumbspamsite.com/some-page/
Post: garbage spam

Is there anyway to block new threads, or queue them for moderation, if they contain "http://" or something similar in the thread title? No normal users use "http://" in the thread titles, 100% of the time it's spam.

Thanks

MarkFL 05 Oct 2016 18:37

Create a plugin hooked at "newpost_process" with the following Plugin PHP Code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

What this does is if "http://" is embedded in the thread title, the content of the post will be erased, and the user will be told their post is too short. :)

--------------- Added 05 Oct 2016 at 20:10 ---------------

A more complete solution can be found here:

Block Censored Words in Posts by BOP5 VB4

This product will allow you to check post titles/content for additionally censored words/strings. You can specifiy which forums in which it is active too. :)

givememyleg 11 Oct 2016 15:23

Quote:

Originally Posted by MarkFL (Post 2576633)
Create a plugin hooked at "newpost_process" with the following Plugin PHP Code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

What this does is if "http://" is embedded in the thread title, the content of the post will be erased, and the user will be told their post is too short. :)

--------------- Added 05 Oct 2016 at 20:10 ---------------

A more complete solution can be found here:

Block Censored Words in Posts by BOP5 VB4

This product will allow you to check post titles/content for additionally censored words/strings. You can specifiy which forums in which it is active too. :)

thanks for your reply, but i've never created a plugin so your post is a bit over my head.

i tried the BOP5 plugin, but it censors both thread titles and posts since it uses the vB built in censorship list, and therefore doesn't work to just censor titles.

Stratis 11 Oct 2016 15:29

http://www.vbulletin.com/docs/html/add_plugin


All times are GMT. The time now is 00:05.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.