Closed (fixed)
Project:
Spambot
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2011 at 02:57 UTC
Updated:
4 Feb 2012 at 03:20 UTC
Currently there's a limit to the length of the "User registration blocked message" it seems to be rather short and I was wondering if we could extend the length to give us a bit more room to explain to the user whats going on.
Comments
Comment #1
bengtan commentedHi,
The limit on the 'User registration blocked message' is currently 128 because that's the default maxlength of html textfields for Drupal.
I could increase it, but if you need to ... ie. place a paragraph there, perhaps something needs to be reconsidered.
Can you tell me how many characters you need for the message you want to use?
Comment #2
SeanBannister commentedIn my particular case I was looking at 278 characters. Which includes a html link to our contact page so users who are mistakenly flagged can contact us manually. I'm basically just explaining to the user exactly why they're being blocked.
Comment #3
bengtan commentedFixed.
I have changed that field from a textfield to a textarea, so you can place more characters.
The commit is:
http://drupal.org/commitlog/commit/11218/9544c1a7aee9e84323d017387044702...
If you want to patch your own system, change line 46 of spambot.admin.inc from:
to:
Use copy and paste.