Disable Email Address

Started by robertbut, December 12, 2019, 01:59:26 PM

Previous topic - Next topic

robertbut

Hello guys,

I'm looking for a code to disable the user to change the email, and the Account Settings.

Do you know if we have this tip? I've version SMF 2.0.15 Installed.

Thanks for your help in advance.

Kind Regards

Kindred

why would you want to do this?   If I had an account and I decided to change ISPs, I would need access to change my email address
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

robertbut

Hi @Kindred,

Thanks for your answer.

This is because we have another webpage, where we sync with the website email (Different DB), so this is the reason to prevent the user to change the email when he wants, only for that.

Kind Regards

robertbut

Hi @everyone,

I found how to hide the email at the Profile Settings.

At the Profile-Modify.php file, there is at the loadProfileFields function there is an array with the email_adress name that if you hide, it will not display your email at the forum.

Kind Regards

langelidou

Oh thank you ! I finding the same thing for my website

Advertisement: