Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Karmasterrr on March 16, 2023, 09:41:15 AM

Title: SMF how to forbid/disable changing of visible user name ?
Post by: Karmasterrr on March 16, 2023, 09:41:15 AM
Any user can change their visible name (some users play with this, changing their name every day), this makes problems with @tagging.

How to forbid/disable changing of visible user name ?
111.png
Title: Re: SMF how to forbid/disable changing of visible user name ?
Post by: Diego Andrés on March 16, 2023, 09:49:51 AM
Admin > Members > Permissions > Edit Displayed Name.
Title: Re: SMF how to forbid/disable changing of visible user name ?
Post by: Aleksi "Lex" Kilpinen on March 16, 2023, 09:55:30 AM
While we are on the subject, I shortened your display name. There's no reason to go overboard.
Title: Re: SMF how to forbid/disable changing of visible user name ?
Post by: Karmasterrr on March 16, 2023, 09:58:06 AM
Thanks!
How to fix all already changed Names ?

Quote from: Aleksi "Lex" Kilpinen on March 16, 2023, 09:55:30 AMWhile we are on the subject, I shortened your display name. There's no reason to go overboard.
That closely related to subject  ;D
Title: Re: SMF how to forbid/disable changing of visible user name ?
Post by: Aleksi "Lex" Kilpinen on March 16, 2023, 10:13:06 AM
If you don't have very many to edit, you can just go in their profile and change it - Like I did.
Title: Re: SMF how to forbid/disable changing of visible user name ?
Post by: Karmasterrr on March 16, 2023, 10:23:04 AM
How to find all significantly changed names:
SELECT * FROM `smf_members` where REPLACE(member_name," ","_") != REPLACE(real_name," ","_")
List can be fixed with a help of phpmyadmin.
Title: Re: SMF how to forbid/disable changing of visible user name ?
Post by: Arantor on March 16, 2023, 10:58:01 AM
If you're already doing that why not just

UPDATE smf_members SET real_name = member_name;

and just be done with it?