Reverting back to original. Took screenshots already.
Also I am leaving the code tweaks I did on the core files as an additional precaution. 🙂
TOPIC: How do we set character limits for the Display Name Field and the Nickname fields?
Hi Support Team! 🙂
We’ve been testing another new Forum and noticed that the character limits for the Display Name text field is quite big and if anyone inputs a Display Name at 70 characters, it can make the Forum look broken. Same with the Nickname, with maximum characters of 50.
I was able to put a CSS Code as a workaround,
– for the Nickname, it breaks and wraps
– for the Display Name, it gets hidden after about 20 characters, however, when such a user with a long display name clicks the “like” button, then the full long Display Name appears as well. (please see attached screenshot).
What file do I need to tweak so that I can set the character limits for the text fields for both the Display Name and the Nickname to 12 characters, on the My Profile Page, Account tab?
I give up. I just use this code… Do not Display Display Name Code:
/*Do not display Display Name Label & Text Field - PROFILE PAGE*/
div.wpf-field.wpf-field-type-text.wpf-field-name-display_name.wpf-field-required { display: none; }
I just did a code tweak on the Display Name. Easier and simpler! 🙂
Let’s test the Chat again at least my code tweak there works. I think.
Latest Message: 0 minutes ago
Group Chat : Welcome to the Chat Forum! Chat sessions are automatically erased every 60 minutes. Just select the REFRESH link above to go to the latest chat session. We are glad you are here!
CrisW : 4.27am
SysAdmin : 4.29
SysAdmin : U log out and then I’ll open the chat to the public.
SysAdmin : Require users to be logged in to view and use the chat box.
SysAdmin : Use the logged-in username as the chat name.
SysAdmin : Maximum number of chats that should be allowed in the chat box. 100
SysAdmin : refresh
SysAdmin : hello
CrisW : dangerous. can u check IP
SysAdmin : cookie
CrisW : that’s why you need to log in. I will check long Username
CrisWwww10cc : CrisWwww10cccccccc20 is what username I put
CrisWwww10cc : it cut off at 12 as I’ve set.
CrisW : All should be good. Let’s implement this on CLG Main, and SH.
CrisW : pls copy
It autoerases now. We can schedule when to disable enable so that it autorefreshes on the hour every hour again
This is crazy. Anyone can make themselves an Admin.
Nope. Only Admins can do that.
Hahaha .. you’re right. I was looking at your profile.
We can just hide the Display Name and then just tweak it for those who want it changed. Keep the nicename, at least that doesn’t break the site.
Test Display Name:
CrisWwww10cccccccc20cccccccc30cccccccc40cccccccc50cccccccc60cccccccc70
Test Nickname URL Address Identifier
criswwww10cccccccc20cccccccc30cccccccc40cccccccc50
Reverting back to original. Took screenshots already.
Also I am leaving the code tweaks I did on the core files as an additional precaution. 🙂
TOPIC: How do we set character limits for the Display Name Field and the Nickname fields?
Hi Support Team! 🙂
We’ve been testing another new Forum and noticed that the character limits for the Display Name text field is quite big and if anyone inputs a Display Name at 70 characters, it can make the Forum look broken. Same with the Nickname, with maximum characters of 50.
I was able to put a CSS Code as a workaround,
– for the Nickname, it breaks and wraps
– for the Display Name, it gets hidden after about 20 characters, however, when such a user with a long display name clicks the “like” button, then the full long Display Name appears as well. (please see attached screenshot).
What file do I need to tweak so that I can set the character limits for the text fields for both the Display Name and the Nickname to 12 characters, on the My Profile Page, Account tab?
Thanks in advance!
Screenshot …. Scream shot at this point ….
Screenshot
I give up. I just use this code… Do not Display Display Name Code:
I just did a code tweak on the Display Name. Easier and simpler! 🙂
Let’s test the Chat again at least my code tweak there works. I think.
It autoerases now. We can schedule when to disable enable so that it autorefreshes on the hour every hour again
This is crazy. Anyone can make themselves an Admin.
Nope. Only Admins can do that.
Hahaha .. you’re right. I was looking at your profile.