PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.


Login to move these ads to the bottom of the page

#1 2005-10-03 06:37:47

CodeXP
Member
Registered: 2005-02-27
Posts: 18

Spam Protection MOD 1.1

Code:

##
##
##        Mod title:  Spam Protection MOD
##
##      Mod version:  1.1
##   Works on PunBB:  1.2, 1.2.8
##     Release date:  2005-10-03
##           Author:  Öyvind A. Sörensen (codexp@tasarinan.com)
##
##      Description:  Add SPAM (trough spamhaus.org) protection to your
##                    forum! Block those f**kers from your site completely! ;)
##                    Now with admin plugins to configure several new
##                    options, like permanent blocking, which files to protect,
##                    "trusted" users, check frequency + more!
##
##   Affected files:  include/functions.php
##                    include/common.php
##
##       Affects DB:  Yes (adds a new table) + 2 new values to your
##                    config table
##
##            Notes:  This MOD will add spam protection to your forum.
##                    It will check the visitors IP against the SBL/XBL
##                    records at http://www.spamhaus.org
##                    The script will also block the use of most open
##                    proxies.
##                    If a record is returned, it will block the visitor
##                    from the scripts you specify. The results for that
##                    IP will be stored in the database for 1 hour (by default)
##                    before it's checked again. The reason for this is that
##                    the list is only updated once each hours, and also
##                    to prevent unnecessary slowdown to your forum.
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Download here

Offline

 

#2 2005-10-03 20:58:52

bentwookie
Member
Registered: 2005-06-14
Posts: 10

Re: Spam Protection MOD 1.1

Sounds like a great idea!
I'm going to try installing it now as i fear SPAM will be a major issue on the board i'm about to launch.

Good work in getting this together! All things anti-Spam are a God send.

Cheers.

Offline

 

#3 2005-10-14 17:11:12

tamlyn
New member
Registered: 2005-10-14
Posts: 9

Re: Spam Protection MOD 1.1

Very easy to install. I just looked up the IPs I previously banned due to spam and they are all listed in spamhaus.org so it's looking promising. Thanks CodeXP!

Offline

 

#4 2005-11-12 23:51:43

Glass Casket
Member
Registered: 2005-11-12
Posts: 13

Re: Spam Protection MOD 1.1

Will this work on the newest version? .10

Offline

 

#5 2005-11-16 07:18:20

CodeXP
Member
Registered: 2005-02-27
Posts: 18

Re: Spam Protection MOD 1.1

Glass Casket wrote:

Will this work on the newest version? .10

Yes, there should be no problems running it on that version smile

Offline

 

#6 2006-04-12 06:25:47

tamlyn
New member
Registered: 2005-10-14
Posts: 9

Re: Spam Protection MOD 1.1

I installed this mod last year and it worked fantastically until a few weeks ago. Now I'm getting several spams a day. Guest posting is allowed which doesn't help but I just wonder why it used to work and now doesn't. I haven't changed anything that I can think of...

btw I'm not sure if i'm running v1.0 or v1.1 of this mod - how to I check and what changed?

Offline

 

#7 2007-05-12 07:48:44

Hemen
Member
Registered: 2007-01-27
Posts: 36

Re: Spam Protection MOD 1.1

A problem! When i go to adminstration,SPAM Protect Settings
, Press verify to check the integrity of the SPAM Protection Mod and then click verify. It stays: ./include/functions.php: Failed integrity check, or start/end pointer was not found. This could be happening because of one, or more, of the following reasons:

You haven't installed the SPAM Protection Mod correctly
You have modified the code in ./include/functions.php
Safe operation of this mod can not be guaranteed.
Plz help me! smile

Offline

 

#8 2007-05-19 08:42:02

MindlessOath
Member
Registered: 2007-04-24
Posts: 61

Re: Spam Protection MOD 1.1

anyone else having issues - i wanted to install this but its looking older now. already 2k7 and new version of punbb i think that spamhous has changed since then too. any updates?

Offline

 

#9 2007-05-25 15:37:06

MindlessOath
Member
Registered: 2007-04-24
Posts: 61

Re: Spam Protection MOD 1.1

just askin again.  if no one answers i will pass on this script. i have punbb 1.2.15 and want to know if this script still works cause its date is pritty old now.

Offline

 

#10 2007-05-26 10:21:23

Smartys
Member
Registered: 2005-03-17
Posts: 332
Website

Re: Spam Protection MOD 1.1

There's no reason to think it won't, if you run into any issues installing it we can help you though


Free PunBB Hosting - lots of mods, easy to customize

Offline

 

#11 2007-05-28 11:41:03

Snoopotic
New member
Registered: 2007-05-28
Posts: 2

Re: Spam Protection MOD 1.1

Hi.
Im sorry I cant post the error I got when havin it installed, because I suddenly removed that mod after seeing it. But maybe someone can check if it still appears:
Register a new user and after being registered on index in the footer appears an error. maybe it also was on reigster.php when entered the wrong code (theres a mod for it,too) oder having emailregistration enabled.

Can someone confirm that?

Offline

 

#12 2007-10-03 20:33:32

theUg
Member
From: Dubna, Russia/Boise, Idaho, US
Registered: 2007-03-31
Posts: 10
Website

Re: Spam Protection MOD 1.1

Doesn’t seem to work, unless I fail to recognize the way it is supposed to work. I keep getting spam registrations and posts daily, and I tried both default sbl-xbl.spamhaus.org, and new cumulative zen.spamhaus.org that they recommend now.


Not only do I not know the answer
I don’t even know what the question is

Offline

 

#13 2007-10-04 00:59:32

MattF
Member
From: South Yorkshire, England
Registered: 2007-03-16
Posts: 430

Re: Spam Protection MOD 1.1

As far as I know, (haven't used this specific mod myself), if the client I.P is listed in the RBL, the registration page is denied them. However, it does need for them to be in the spamhaus database for them to be blocked. It's a living thing, so they may just not be in there yet. big_smile Btw, don't use the Zen list for the lookup. It's intention is completely different, and you will end up blocking legitimate users if you use it for a web app. Use the sbl-xbl.

Offline

 

#14 2007-11-05 06:22:20

theUg
Member
From: Dubna, Russia/Boise, Idaho, US
Registered: 2007-03-31
Posts: 10
Website

Re: Spam Protection MOD 1.1

Still cannot figure it out. I can’t even be sure it works at all. I thought I’ve seen somewhere how to make a test post that will check that, but I couldn’t find it any more.

And I still get spam registrations and spam posts, and no reports if anything (or anyone) was denied to post.

If this doesn’t work, what would be the best anti-spam plugin (bar captchas, forbidden word lists, and Akismet). I wonder if there’s anything like Raven’s Antispam for WP, which checks if user has JS turned on, and if it don’t (like most of the spam-bots), it shows the captcha.


Not only do I not know the answer
I don’t even know what the question is

Offline

 

#15 2007-11-05 12:33:02

seesaw
Member
Registered: 2007-04-27
Posts: 169

Re: Spam Protection MOD 1.1

This very simple anti-spambot mod seems popular smile
Punres posting here:
http://www.punres.org/viewtopic.php?id=3439

Good discussion with some handy modifications on punbb.org too:
http://punbb.org/forums/viewtopic.php?id=16076

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.