*

Alireza SSE

  • **
  • 26 posts
How to disable changing username and email by users?
« on: October 10, 2025, 09:44:24 PM »
Hello.
Please help me and say me:
How to disable changing username and email by users?
I see users in their control panel have abilities to change email and username.
I want to disable these abilities.

*

Alireza SSE

  • **
  • 26 posts
Re: How to disable changing username and email by users?
« Reply #1 on: October 12, 2025, 09:52:24 AM »
Does anyone want to guide?

*

MB Themes

Re: How to disable changing username and email by users?
« Reply #2 on: October 13, 2025, 08:40:09 AM »
1) remove links to these pages in theme
2) remove forms in theme files
3) it's good to go into core (controllers), search these controllers for changing user name & email and at start just add
Code: [Select]
return false;
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alireza SSE

  • **
  • 26 posts
Re: How to disable changing username and email by users?
« Reply #3 on: October 13, 2025, 03:22:41 PM »
It is no good and very bad that we can not disable changing email and user name in (user setting) section.

If designer of core of Osclass decided they only use several line code with a few if and condition and check box for insert this ability in core in user setting section.

Please report this important suggestion to programmers and designers of core of osclass.

Thanks

*

MB Themes

Re: How to disable changing username and email by users?
« Reply #4 on: October 13, 2025, 03:44:24 PM »
Fact that this question may be asked once a several years means it's not important feature.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots