I would like an option '0' (or 'none') by the 'Maximum allowed URLs'-dropdown.
That way I can let all input with an URL in it automatically be flagged as spam.

If that feature would be included in de spam-module, it would make my Block anonymous links module pretty needless, I think.

Comments

lokey’s picture

I've been trying to do this as well.. it looks like there might not be a real simple way.. I tried changing if ($urls['total'] > $limit) to if ($urls['total'] => $limit) to no avail.

Also tried adjusting this database value manually:

spam_urls_total = 's:1:"0";'

But neither worked.. I'll let you know if I have a chance to dig any deeper into the code.

jeremy’s picture

Assigned: Unassigned » jeremy
Status: Active » Fixed

The feature has been added to the development branch of the spam module.

Anonymous’s picture

Status: Fixed » Closed (fixed)