[26/01/07] Anti-Spam: Only Active Members Can Post URLs

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply

Rating:

Excellent!
38
76%
Very Good
5
10%
Good
4
8%
Fair
2
4%
Poor
1
2%
 
Total votes: 50

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29224
Joined: Sat Aug 16, 2003 7:36 am

[26/01/07] Anti-Spam: Only Active Members Can Post URLs

Post by Extensions Robot »

MOD Name: Anti-Spam: Only Active Members Can Post URLs
Author: calamus77
MOD Description: Members must be registered for at least X days and have more than Y posts (configurable on the admin config page) before they can post URLs. Guest user can never post URLs

MOD Version: 1.0.0 (Updated 01/26/07)
Tested on phpBB Version: 2.0.22

Download File: phpbb_active_member_urls_only_mod_1.0.0a.mod
mods overview page: View
File Size: 9872 Bytes



Support for this MOD needs to be asked within this topic. The phpBB Teams are not responsible or required to give anyone support for this MOD. By installing this MOD, the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version listed in the topic. It may not work in any other versions of phpBB.
Last edited by Extensions Robot on Mon Apr 30, 2007 12:31 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
MarkTheDaemon
Former Team Member
Posts: 2771
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Post by MarkTheDaemon »

MOD Validated/Released

Notes:
Utu
Registered User
Posts: 1
Joined: Tue Oct 24, 2006 9:37 am

SQL: Do I have to fix this? How?

Post by Utu »

In the description, Its written EASY to do, but do I have to go into SQL and fix this(below)?

#-----[ SQL ]------------------------------------------
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('url_post_days', '7');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('url_post_posts', '10');

And if I have to, how do I do it?

I use MySQL Administrator 1.2.2. beta

Can you help me? Someone who can?

Thanks!
kiltedknite
Registered User
Posts: 16
Joined: Mon Nov 20, 2006 7:16 am

Post by kiltedknite »

Great mod.

Although I was wondering how I can stop the rules being applied to the admins and mods.
idea
Registered User
Posts: 247
Joined: Mon Oct 20, 2003 8:29 am

Re: SQL: Do I have to fix this? How?

Post by idea »

Utu wrote: In the description, Its written EASY to do, but do I have to go into SQL and fix this(below)?

#-----[ SQL ]------------------------------------------
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('url_post_days', '7');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('url_post_posts', '10');

And if I have to, how do I do it?

I use MySQL Administrator 1.2.2. beta

Can you help me? Someone who can?

Thanks!


do you have CPANEL? Go to phpMyAdmin, click on SQL tab and copy the codes in the box, then click Go.

Hope that helps
User avatar
TheMistress
Registered User
Posts: 69
Joined: Wed Dec 15, 2004 12:49 am
Location: London, UK
Contact:

Great MOD

Post by TheMistress »

Great MOD. Simple to implement. I'm hoping that this will have impact on spam. My users are getting irritated with all the porn postings and I have noticed that most of the posting are from users who join and immedietly post the crap...

Do you know if there is a way for me to track error messages? I.e. see who tried to post URL and fail?

Thanks,
Yael (TheMistress)
"Share your knowledge. It's a way to achieve immortality." -- Dalai Lama
jvai
Registered User
Posts: 1
Joined: Thu Nov 30, 2006 9:47 am

Post by jvai »

Awesome!
I'd love to see an option though: since most anyone that posts an URL in their first post is a spammer anyway (at least it is for the forums I run), I'd love to have the option to automagically ban the offender. That would be a timesaver for sure!

Anyway, great going :)
J
jensemann67
Registered User
Posts: 1
Joined: Thu Nov 30, 2006 6:33 pm
Location: germany

Post by jensemann67 »

Hi,

this is one of the best mods I ever saw here!

Now I only have to delete the spam-users, that passed manual registration (like some *@web.de do atm), because they give up posting:-)

Thank you for that mod!!!!!

Greetings from germany,
Jens
(who registered to post this message)
Klomp
Registered User
Posts: 7
Joined: Thu Nov 30, 2006 2:42 pm

Post by Klomp »

Just wondering. But does this mod count [img] tags as url's to?

In other words, if a newly registered user was to post a picture in his first post.. Would the mod block out the picture? Or would it just show.. So in effect only blocking bare http:// adresses..

I run a photoforum where lots of people that register post a picture in the first post. So it wouldnt be user friendly if i aplied this mod if it would block out [img] tags (wich in effect use urls to get the image),

Cheers
BFTUK
Registered User
Posts: 15
Joined: Fri Nov 24, 2006 11:11 am

Post by BFTUK »

Fantastic mod, does this mod allow users to post a URL in their signature? or profile?

If it allows them to, it would really finish the mod of if these could be enabled / disabled in the admin panel.
User avatar
TheMistress
Registered User
Posts: 69
Joined: Wed Dec 15, 2004 12:49 am
Location: London, UK
Contact:

Post by TheMistress »

Klomp wrote: Just wondering. But does this mod count [img] tags as url's to?


Just tested this on my board. Images are posted as URLs so they are blocked in the post. However, I noticed that it's ok for a new user to post images and URLs in the signature.

Any chance of adding the restriction to the signature?

Cheers,
Yael (TheMistress)
"Share your knowledge. It's a way to achieve immortality." -- Dalai Lama
User avatar
Ekushey
Registered User
Posts: 14
Joined: Wed Nov 15, 2006 8:15 am
Location: Dhaka
Name: Russell John
Contact:

Post by Ekushey »

When all other MODs failed, this MOD helped me to get rid over advertisements bots! :D
User avatar
M.O.B.
Registered User
Posts: 944
Joined: Tue Jan 04, 2005 1:07 am
Location: San Diego CA USA
Contact:

Post by M.O.B. »

Excellent hack! I've installed it for a few weeks now.. and it has helped so much with spammers that only register to link their BS. Thanks!!
Image
calamus77
Registered User
Posts: 60
Joined: Wed Oct 18, 2006 11:32 pm
Location: Idaho, U.S.
Contact:

Post by calamus77 »

Glad to see that my MOD has been well received. I've done some extensive updates that are in BETA...they are NOT approved by the MOD TEAM yet (just to make sure that's clear), but it can be found here so that anyone who wishes can help me test the updates and offer suggestions:

http://www.phpbb.com/phpBB/viewtopic.php?t=459468

The new BETA version (again, NOT yet approved) features:
  • * E-mail report sent to you when a URL post is attempted with configurable e-mail address (or no e-mail address if you don't want a report).
  • * The report e-mail gives you the username of the attempted poster as well as the text you can put into the Ban E-mail admin page if it appears to be a privately owned domain and a spammer
  • * The report e-mail includes a copy of the text that the user attempted to post so that you can see if it's an honest mistake or a spammer
  • * Keeps users from being able to use ANY of the personal profile fields (e.g. Signature, etc.) until after their trial period.
Kevin
calamus77
Registered User
Posts: 60
Joined: Wed Oct 18, 2006 11:32 pm
Location: Idaho, U.S.
Contact:

Post by calamus77 »

BFTUK,

Adding a yes/no to the admin so that you can toggle the personal fields on or off is a good idea. As of the BETA version mentioned above, it is simply blocked, but being able to toggle that off if desired would be nice, so I may add that to the next version of the BETA if I get the chance.

Klomp,

Because the MOD blocks the text "www",".com",".net", etc., it won't allow images. If I were to only block the [ url ] tag, porn spammers would still put in links just without the [ url ] tags surrounding them. So, it blocks anything.

I actually had one user on the forum that I manage type "ewww" and her post got blocked...so there are some drawbacks...guess I should change that to "www.", but that's the only legit e-mail that's been blocked...other than that there's been about 100-200 posts just in the last month that were blocked by this code. I've only had one spam poster that posted a message since I created/installed this in October, and there were no links in either her message or profile...a private message was the only way to contact her...not sure if it was an actual russian girl typing it or if it was a BOT...?

For the most part, though, you can change the settings to only require one legit post and 0 days after registration...most BOTS will never post a post without a URL, so they will end up with 0 posts indefinitely, so the "days" aspect isn't needed...then your users will only have to post one post without an image before they can post their post with an image. This may not eliminate as much spam, but it will eliminate most of it.

Later,

Kevin
Post Reply

Return to “[2.0.x] MOD Database Releases”