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

Reply
 
Thread Tools
Prevent Spam Posts Details »»
Prevent Spam Posts
Version: 1.00, by Adrian Schneider Adrian Schneider is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.3 Rating:
Released: 11-13-2006 Last Update: 11-13-2006 Installs: 600
Uses Plugins
 
No support by the author.

Description
This will allow you to automatically scan new posts from new members for common spam keywords. If any are found, the post/thread will be sent to the moderation queue to prevent their spam from having any affect. If your filter is very strict, and a regular user happens to trigger it, no harm is done because your moderators can just approve the post.

Options
  • Maximum Posts - this will only scan posts posted by users who have this many (or less) posts. Usually spammers only post 1-5 times!
  • Keywords - a list of keywords (or any strings) to be searched. Remember it doesn't match a whole word, so a keyword of "[url" will block the user from posting any links. This is NOT case sensitive!
3.5 Users:
A 3.5x version XML file is also included.

Download Now

File Type: zip Prevent Spam.zip (2.7 KB, 3569 views)

Show Your Support

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

Comments
  #72  
Old 12-18-2006, 11:59 AM
tobybird's Avatar
tobybird tobybird is offline
 
Join Date: Jul 2006
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just noticed a couple things this morning...

1. For some odd reason a message popped into the moderation queue because it contained a thread smilie/post icon.

2. All members with 10 or fewer posts as determined with this hack are seeing a Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(360) : eval()'d code on line 166 message as they are redirected.

eta: Just as an fyi... I did disable all other hacks I have running to be certain the message was being caused by this mod and it seems to be.
Reply With Quote
  #73  
Old 12-21-2006, 09:22 AM
AntonyF AntonyF is offline
 
Join Date: Jul 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AntonyF View Post
Hi there. Excellent hack, just what we wanted. However I installed it and ran into a problem. Everyone on the board couldn't post attachments; it said they were over quota even though we don't set quota. Very odd. I turned this mod off, then they could attach again. Any ideas? We're on 3.6.4, I know this mod is for 3.6.3 and perhaps that's the problem? Thanks.
Don't worry about this now. I went for an alternative, and that works sweet.
Reply With Quote
  #74  
Old 12-22-2006, 05:58 AM
Maerten Maerten is offline
 
Join Date: Nov 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I'm not a specialist in vBulletin but with this plugin members cannot see there own post that's being moderated and they will try to post the message again. This is a time consuming work for the moderators. I'm not sure if there's an other solution for this but I changed the plugin so that showthread displays a member own posts even if there posts are being moderated. Other members down't see there posts.
Is there an other (standard) solution for this? Is anyone interested in my solution?
Reply With Quote
  #75  
Old 12-23-2006, 08:31 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tobybird View Post
Just noticed a couple things this morning...

1. For some odd reason a message popped into the moderation queue because it contained a thread smilie/post icon.

2. All members with 10 or fewer posts as determined with this hack are seeing a Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(360) : eval()'d code on line 166 message as they are redirected.

eta: Just as an fyi... I did disable all other hacks I have running to be certain the message was being caused by this mod and it seems to be.
Hi,

1) should depend on your filtering... AFAIK I haven't had any problems with smilies yet.

2) If you want me to help debug that I'll need AdminCP access (w/ plugin permission) to your board. PM if interested.

Quote:
Originally Posted by Maerten View Post
Hi, I'm not a specialist in vBulletin but with this plugin members cannot see there own post that's being moderated and they will try to post the message again. This is a time consuming work for the moderators. I'm not sure if there's an other solution for this but I changed the plugin so that showthread displays a member own posts even if there posts are being moderated. Other members down't see there posts.
Is there an other (standard) solution for this? Is anyone interested in my solution?
This is a standard vBulletin feature, so I would suggest any alternatives to them - all my code does is trigger what already exists.


BTW, I took a quick stab at the edit moderation... the feature doesn't even exist in vBulletin so it would be a pain. How many of you actually have spammers get around the initial post/thread creation and are editing posts? Nobody has done it on my board yet so it's not an immediate concern for me.
Reply With Quote
  #76  
Old 12-23-2006, 10:16 AM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SirAdrian View Post

1) should depend on your filtering... AFAIK I haven't had any problems with smilies yet.

I had it a few times with smileys but i rather a smiley set it off then see spam on my site.
Reply With Quote
  #77  
Old 12-28-2006, 09:05 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did some testing with the empty delimiter problem, and it seems that it is caused when the search string (needle) is empty. So this would happen if your keyword list isn't separated properly.

ex: using 2 spaces instead of 1

Anyway, if you are having this problem check your keyword listing, and if you can't find anything obvious post it here for me to look at.
Reply With Quote
  #78  
Old 12-29-2006, 02:41 AM
sportsoutlaw sportsoutlaw is offline
 
Join Date: Nov 2004
Location: Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tobybird View Post
2. All members with 10 or fewer posts as determined with this hack are seeing a Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(360) : eval()'d code on line 166 message as they are redirected.
I ran into this on a new forum a little while ago. In addition to this, you will get a note saying "an error has occured" on quick replies using ajax.

After reading this thread, I verified that it was in fact due to having two spaces between one of the words in my filter. Removed the extra space and the problem was gone.

I don't know if this can be done or not, but is there a way to make it where a word is added "per line" instead of the "one space" between them? Really easy to get two spaces in between these words, and unless you are testing with a user account that has less than the number of posts required, you may never know it. I wasn't seeing this issue from my admin account.
Reply With Quote
  #79  
Old 12-29-2006, 08:38 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit the plugin that uses the explode function, and change the first parameter to "\n" instead of ' '.
Reply With Quote
  #80  
Old 01-04-2007, 01:49 PM
RobinPriestley RobinPriestley is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this, I installed it and it works great.

The only problem is, I registered a test user to try it with, and it caught my spam. However now if I try and post with that user I get this message:

Unable to add cookies, header already sent.
File: /homepages/25/d169220611/htdocs/forum/includes/class_core.php
Line: 3023

any clues what it means.

Cheers,

Robin
Reply With Quote
  #81  
Old 01-06-2007, 06:30 PM
hennanra hennanra is offline
 
Join Date: Nov 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SirAdrian View Post
Scanning the title is possible, so I'll add that to the next version. Banning or auto-deleting the post isn't really what this is about, and will be problematic when you get false positives (though that depends on your keywords).
I would really really appreciate this mod for the title too. My main concern is it is only a matter of time until spammers realise that they can put URL or spam words in title, they only want somewhere to stick this and any box where they can enter information serves this purpose. Arguably even the user name e.g.:

User: www.visitmysite.com
Title: Legitimate text
Post: Legitimate Text

Effectively, for this mod to be spam proof, I feel all 3 components would need to be protected. One other thing that would be amazing (sry - I am really not requesting, just suggesting of something that will improve) is if you can moderate users based on names as an extension of this.

I have many users setting up accounts with swear words and the like as usernames and this appears in the "most recent joiners" list at the bottom and looks very bad - I am sure you can use your imagination to think of the types of names that appear there :-).

The biggest part of this is perception, this is the best hack out there by far and I have installed, I feel a few more mods will prevent even a whiff of spam getting through and hopefully consign spammers to getting a real job!.

NB, I also experienced the delimiter and unable to add cookies errors when we did a clean install of vBulletin. We had to install this several times, can't remember how my developer got working in the end.

Kind Regards (and thanks for the best mod on this forum),
Raheel
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 12:45 AM.


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.15020 seconds
  • Memory Usage 2,349KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete