modifying the profile widget
- This topic has 3 replies, 2 voices, and was last updated 9 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Greetings.
Can you please directly to exactly what to change to remove the link to “Email/password settings” from the widget on the profile page?
And also how to remove the link to General settings?
It would be ideal if you can tell what lines of code in the child theme might need to be deleted as I am not a developer but I can certainly do basic stuff.
Thank you. If my users change their wordpress passwords by mistake rather than their amember passwords (which is my registration system) it would cause havoc. Thank you.
If you are talking about removing a user’s “Settings” page, disable the “Account Settings” component from BuddyPress.
Find out how to do that here:
https://codex.buddypress.org/getting-started/configure-components/
Hi Ray. Thanks for the reply. Yes. I did this but then the user gets an error page when they click on the link to their settings from the widget on the left on the profile page. Is there an easy way to change that widget to get rid of that line about changing password? It is “email/password settings” link. Thanks.
Hi Simon,
I just checked and you are correct.
I’ve just added a fix for this. For now, you can copy the following file:
https://raw.githubusercontent.com/cuny-academic-commons/cbox-theme/master/templates/parts/member-navigation.php
To /cbox-theme/templates/parts/member-navigation.php
Let me know if that fixes the issue for you.