Download & Extend

Allow module to restrict anonymous links to a specified number

Project:Block anonymous links
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

Thanks for this really useful module!

I have noticed that the main problem with spammers is they try to put up comments with dozens of links. Yet genuine anonymous users often have a good reason for one or two (or three) links. The module would be much more useful if it allowed the administrator to specify a small non-zero number of allowed links in an anonymous comment. So here it is.

To install: cd to the blockanonymouslinks directory, and give the command:

patch < wherever-you-put-it/blockanonymouslinks-allowed-count.patch

Then read the modified README.txt file.

Cheers! Ron.

AttachmentSize
blockanonymouslinks-allowed-count.patch6.02 KB

Comments

#1

Status:active» closed (works as designed)

Thanks for the patch Ron.
But I don't think I'll include this in the official module release.

On the other hand, I tested #361547: How to set the maximum number of URLs?
Once this gets committed, you can use the Spam module to accomplish what you want.

#2

Thanks for patch ( and for module itself, of course ), it's exactly what I wanted. Spam module didn't work for me, don't know why. But this works just great - clean and simple. :)

#3

Probably because Spam is trying to detect something, this module is trying to limit something.

I think the maintainer has made a mistake by not including this patch. Detection and limitation are two fundamentally different behaviours. If Spam does this module's job for n>1 links, then it could clearly do the job for n=1 links (merely by setting tolerances differently in Spam), and this module would have no point. But since Spam cannot replace this module for n=1, it equally cannot for n>1, and the patch serves a purpose.

#4

Status:closed (works as designed)» active

I should have mentioned in #3 that I don't see the point in leaving out a clean and simple functional enhancement. Lots of people won't want Spam installed, and making one module do more removes the temptation for others to introduce overlapping modules just to get the missing little bit of functionality.

But it's a great little module, and thanks for writing it for us.

#5

Status:active» closed (works as designed)

I don't see why people won't want Spam installed if it fits there needs?
I'm trying to avoid duplicate functionality, so, still not including this feature request into the Block Anonymous Links module.

The issue mentioned in http://drupal.org/node/572442#comment-2618944 got fixed.
So, you now really can use the Spam module to block a comment that contains a configurable number of links.