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

bengtan’s picture

Hi,

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?

SeanBannister’s picture

In 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.

bengtan’s picture

Status: Active » Fixed

Fixed.

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:

    '#type' => 'textfield',

to:

    '#type' => 'textarea',

Use copy and paste.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.