Simple Membership Plugin › Forums › Simple Membership Plugin › Prevent logged in users to change their password
- This topic has 11 replies, 4 voices, and was last updated 9 years ago by
mbrsolution.
-
AuthorPosts
-
March 9, 2016 at 6:09 am #5786
lasse@tktrailer.se
ParticipantHi
On my site I have only members choosen by me that will be able to log in to some of the pages.
When the members are checked and approved I will send them a password to get access to these pages.The information on the pages are strictly confidential and therefore I would like to have some control over the passwords.
Due to this my whish is that the members should not be able to change their given passwords.So my question:
Is it possible to “hide” the option to change passwords on the members profile pages?March 9, 2016 at 7:36 am #5789mbrsolution
ModeratorHi, the plugin developers will further look into your request.
Thank you
March 9, 2016 at 8:15 am #5790lasse@tktrailer.se
ParticipantOK
Thanks for your quick response!
Looking forward to hear from You when some actions have been taken!Have a nice day!
March 9, 2016 at 8:56 am #5791admin
KeymasterYou should be able to use CSS to hide the password field in the edit profile form. That should prevent users from changing their password. I will try to add in some CSS classes in there so you can easily target the password field row.
March 9, 2016 at 9:11 am #5792lasse@tktrailer.se
ParticipantThanks a lot for Your response!
But… I’m not at all good at CSS. To be honest, actually a real schmuck… 🙂
Is it possible for You explain how a should handle the code when You are ready I will be for ever thankful!
Best whishes
November 9, 2017 at 4:44 pm #12416Webb
ParticipantHi,
I have exactly the same situation.
Is it possible to hide ‘Edit Profile’at this page: http://www.website.com/membership-login/ ?
And make it impossible to open this page http://www.website.com/membership-login/membership-profile/
with all the account information?Thank you
November 9, 2017 at 9:08 pm #12417mbrsolution
Moderator@Webb, can you check the following documentation. Let me know if this helps you.
Regards
November 9, 2017 at 11:09 pm #12420Webb
ParticipantHi mbrsolution,
Thanks that helped a lot!
Can you please also tell me how this page can be blocked: http://www.website.com/membership-login/membership-profile/ ?
In don’t want it to be possible to load this page, because user profile shouldn’t be changed.Regards
November 10, 2017 at 12:47 am #12421mbrsolution
ModeratorHi, you could try the following plugin Conditional Menu.
November 10, 2017 at 9:56 am #12430Webb
ParticipantHi,
thanks for your response.
Unfortunately the Conditional Menu has no effect on http://www.website.com/membership-login/membership-profile/
It can block http://www.website.com/membership-login , but I don’t know how to block the membership-profile page?
Any idea?Regards
November 10, 2017 at 11:05 am #12431Webb
ParticipantHi,
Found the solutions.
Couldn’t find the right page before, thought it didn’t exist.
Changed status of page ‘Profile’ to Draft.Regards
November 11, 2017 at 5:31 am #12434mbrsolution
ModeratorI am happy to know that you found a solution to your problem.
Enjoy the plugin.
-
AuthorPosts
- You must be logged in to reply to this topic.