News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Spam Black List

Started by Kakao, October 06, 2006, 12:32:38 AM

Previous topic - Next topic

Kakao

Link to Mod
Rate this Mod

Mod written by Clodoaldo Pinto Neto AKA Kakao

* * * * * * * * * * * * * * * * * * * * * * *
UNINSTALL PREVIOUS VERSION BEFORE UPGRADING !!!
* * * * * * * * * * * * * * * * * * * * * * *

This mod prevents the posting of topics or personal messages containing black listed urls. It uses the Wikipedia black list and a user created custom black list.

After installing check with your host provider if it uses a HTTP Proxy for external connections and if so enter it in Admin -> Features and Options -> Basic Features.

If the Mod does not catch spam URLs look for the wikipedia_black_list.txt file in /attachments. If it is empty (0 bytes) then you have connection problems. Recheck the HTTP Proxy address and wait for one hour to try again.

CUSTOM BLACK LIST
A custom black list can be created.
Create a file named custom_black_list.txt in the attachments directory.
Each line on that file is a regular expression to be blocked. Do not forget to escape the dots otherwise many posts will be blocked and your forum can become unusable. If you don't understand why and don't want to learn basic regular expression usage then do not create a custom black list.
Sample file:

intblog\.org # this will block the whole domain
subdomain\.domain\.tld # this will block only the subdomain

My custom black list can be found here:
http://codepoint.net/attachments/custom_black_list.txt

History:

version 0.2.0 2007-03-22
- it is possible to create a custom black list

version 0.1.1 2006-09-04
- fixed the regular expression too large error

version 0.1.0 2006-09-01
- added option in Admin -> Features and Options -> Basic Features to enter the http proxy address

version 0.0.3 2006-08-30
- reverted to online download this time using curl

version 0.0.2 2006-08-29
- removed the black list online download.
- added the prerequisite of a cron job setup.

version 0.0.1 2006-08-28

Greek

It sounds good and I have installed it without problem, but how it works?
I mean how can I add my own black listed URL's?
I don't see such option.

Kakao

It works by checking if the posted message contains any of the black listed terms in attachments/wikipedia_black_list.txt

As of this version there is no option to create your own black list.

Greek

There is no such text file in attachments.

Kakao

Have a topic been posted after the mod was installed?

Does the Apache user have writing right in that directory?

Greek

Νο Ι didn't make any post after installation.
Something else.. Can I add my own links in wikipedia_black_list.txt manually?

Kakao

The text file will be downloaded during the first post.

If you add your own entries they will be deleted in the next black list update.

Greek


[tiktaktok]

The mod file has a CRC error. Leading to a white page - deleting the mod from /packages fix this.
http://savegaia.de [nofollow]

Kakao

I downloaded the mod and tested it with:

$ gzip -t SpamBlackList_0.1.1.tar.gz

There was no errors.

How did you test it? Where did you download it from? From the mod page?:
http://mods.simplemachines.org/index.php?mod=467

Did you try to download it again?

[tiktaktok]

Quote from: Kakao on December 18, 2006, 05:35:04 PM
I downloaded the mod and tested it with:

$ gzip -t SpamBlackList_0.1.1.tar.gz

There was no errors.

How did you test it? Where did you download it from? From the mod page?:
http://mods.simplemachines.org/index.php?mod=467

Did you try to download it again?
Yes i just tried it again, winrar tells me CRC error and file is corrupt.
Maybe this isnt windoze compatible?
http://savegaia.de [nofollow]

Kakao

I just downloaded it in Windows and tested with Winrar and there was no errors.

mrselnombre

it works fine for me, thanks a lot. We don't often get hit by spam, but it will be nice to keep it out altogether.
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

Hadrian

#13
I getting this message every time i try to install this mod.

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."  i am only new at this so please forgive if its something silly on my part.   

Version Information:
Forum version: SMF 1.0.10
Current SMF version: SMF 1.1.1

http://activity4life.com/forum

Kakao

This mod will only work with the 1.1.1 version while yours is 1.0.10

Hadrian

well i thought it would turn out to be something silly on my part LOL  :)


Hadrian

is there a perfered rute to upgradeing and will it upset the css files?

Kakao

I'm far from the best person to answer that. I'm not a SMF hacker. You will have much better guidance asking it in the proper forum.

Hadrian

#18
thank you for for all your help  :) i will thry them now

xsharewarex

I have installed the mod successfully. I would like to know how do I add my own customized URL's that I want to blacklist?


Regards
XsharewareX

Advertisement: