I think it's reasonable to request that the length of user signatures be longer than 255 characters. The only factor limiting this is the database; I ran UPDATE TABLE {users} MODIFY signature text
and it allows signatures up to the length of "text" now.
It would be nice if this were configurable, but that's quite a bit more major (the limit would need to be enforced by PHP, and as such modified at the form_submit leverl). At the same time there should be some feedback to the user that their signature is too long, rather than just cutting it off silently. These are features that might be nice for 7, or even 8 if it's too late to add something like that.
Comments
Comment #1
NancyDruI seriously doubt D6 has a chance of getting this, although I consider it a significant UE bug.
Comment #2
meustrus CreditAttribution: meustrus commentedI guess, but is there any reason whatsoever why the signature field can't just be expanded? I have had no issues at all since I did that.
Comment #3
NancyDruIn what I have seen so far, there's no reason why it can't be changed to "text" and the form's maxlength changed.
Comment #4
bfroehle CreditAttribution: bfroehle commentedYou could probably do this in a module by using hook_schema_alter(), but I haven't looked into it.
Comment #5
NancyDruI have coded a 6.x version of a module to do this, but I'm temporarily having difficulty creating a new contrib. Basically it does the hook_schema alter, db_change_field, and a hook_form_alter. Pretty small, but works fine.
Comment #6
bfroehle CreditAttribution: bfroehle commentedComment #7
Vc Developer CreditAttribution: Vc Developer commentedWill this be for D8 only and is there a solution for D7?
Comment #8
rallyant CreditAttribution: rallyant commentedHow did you go with this? id love to increase mine a little! D6
Comment #9
halfelven CreditAttribution: halfelven commentedThe real problem is NO WARNING ON THE LENGTH OF SIGNATURES!!!!! And since HTML is allowed, this means lots of open tags in signatures because it doesn't truncate until it is saved. This is not just a missing feature, this is a bug.
Comment #12
dpiSignatures were removed from core.