is there a code to prevent members ( not staff) from changing their user name?
if not could someone make me a code.
i have a code from another board but i don't think i'm allowed to use it here.
Do you mean the display name? 'cause the username that they login with can't be changed!
Do you mean the display name? 'cause the username that they login with can't be changed!
Based on the topic description, I'd guess it's Display Name
Hi Stephanie. Would you want the member to be able to change it once (for example, just after they have registered) but then not change it again after that? Or are we looking at disabling it altogether?
Do you mean the display name? 'cause the username that they login with can't be changed!
Based on the topic description, I'd guess it's Display Name
Hi Stephanie. Would you want the member to be able to change it once (for example, just after they have registered) but then not change it again after that? Or are we looking at disabling it altogether?
yes, i like it so only staff can change their display name after they change it once after registering) if possible.
Sure
Just put this in your Main Footer
Code:
- <script type="text/javascript">
- <!--
- if(document.profile_form && !document.profile_form.posts) {
- if(document.profile_form.display_name.value != document.profile_form.user.value) {
- document.profile_form.display_name.parentNode.parentNode.parentNode.style.display = 'none';
- }
- }
- //-->
- </script>
thank you so much for this code