SMF Development > Applied or Declined Requests
Increase maxlenght of real name text box
(1/1)
merlyn333:
Hello folks:
How can I increase the maxlength of real name text box in edit member section?
It's currently in maxlength="60".
I imagine that I should also modify something in the section of the post where is showed the thumbnail and its real name.
Yoshi:
"real" name?
By default there's display name and user name, not real name.
Arantor:
The thing is, it's more than just the length of that box, it's also about what's in the database.
And the way names are saved into the database, they can be encoded in a way that uses more space than the number of 'letters' seems to be so that you might run out of room in the database even if you make the box bigger.
Oh, and the theme will probably have issues with it - more than one person has reported about their theme (all different themes) looking wrong with long names.
If possible, you're best not allowing long names.
merlyn333:
Thank you for answer me so quick.
OK, what I'm trying to do is to show the position name of the user, for example President or Regional Engineer, and I thought that it would be an easy way to do it.
Something like:
Julian Moreno Cano - Regional Engineer
Is there any easy way to do it?
Arantor:
Um, not like that. I get so frustrated in trying to help people who don't explain what they want to achieve until they're shown that they can't do it themselves through some other, often inferior, method.
There are a bunch of ways you could do positions, the most obvious to me is Custom Titles - which is separate to the display name but appears in the forum under their name.
Depending on what you want to do, that might be enough, or you might need something more. But since right now I have no idea what you're really trying to do I can't really help you.
Navigation
[0] Message Index
Go to full version