Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How difficult would it be to allow a longer RealName Pattern? The maximum length currently is 128 characters.
I used 117 just to get "Mr. Brian Lewis" ([user:profile-teacher:field-name-salutation] [user:profile-main:field-name-first] [user:profile-main:field-name-last]) and had thought about adding other info. I know this isn't a high priority, but when this module is used with profile2, a lot of the characters are taken up by "profile-main" or "profile-teacher".
I just thought I'd ask, and see what kind of response I get.
Thanks in advance!
Comment | File | Size | Author |
---|---|---|---|
#2 | realname-n1194646-d7.patch | 358 bytes | DamienMcKenna |
Comments
Comment #1
Dave ReidThat's probably reasonable to allow the pattern to be longer.
Comment #2
DamienMcKennaOther than missing a CHANGELOG.txt message (there is no CHANGELOG.txt file to add one to), here's a patch.
Comment #3
Dave ReidI like even numbers, so I went with 256 as a maxlength (since this is stored in {variable} we don't technically have a limit), but I still gave you credit for the patch Damien. :)
http://drupalcode.org/project/realname.git/commit/48194fe