Opened 12 years ago
Closed 8 years ago
#4346 closed enhancement (wontfix)
Need Ability To Prevent Members From Changning Their Email Address
Reported by: | frank13 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.5.6 |
Component: | Extended Profile | Keywords: | 2nd-opinion |
Cc: | frank13 |
Description
We use BuddyPress as a private intranet whereby our members login using their enterprise email address. We do not want our members to be able to change their email address.
Please provide an administrative option that allows us to prevent members from changing their email address.
Thank you for considering this enhancement.
Change History (13)
#3
in reply to:
↑ 1
@
12 years ago
Replying to boonebgorges:
just provide a custom settings template in your theme (members/single/settings/general.php) and remove the email input (or mark the element disabled).
@boonebgorges -- I located members/single/settings/general.php
Where do I place a custom version and how do I get BP to recognize my template?
Do I simply add ../members/single/settings/general.php in my theme directory?
STRIKE MY COMMENT ABOVE
I did what I asked above and got a custom template -- I did not know I could do that. I learned something new and cool today. Thanks @boonebgorges !!!
#4
@
12 years ago
Awesome! Here's more info on building child themes: http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
#8
@
12 years ago
Excellent to see @DJPaul
Is that something that is available now or in the next release?
And, once available, how would I evoke it? Will there be a settings option somewhere?
#9
@
12 years ago
Neither; perhaps in some future release (http://buddypress.trac.wordpress.org/milestone/Future%20Release). And I can't answer what it would look like, because it ain't been build or planned yet.
#11
@
8 years ago
- Milestone changed from Future Release to Under Consideration
If we implemented something in our templates to stop this, couldn't that person just go into wp-admin/user.php and edit there? If there's a way to block this in WordPress core, I'd rather we wrap our stuff in similar logic.
#12
@
8 years ago
- Keywords 2nd-opinion added
Can I get an opinion on this, given the above? Otherwise we'll close it given the lack of interest from any other contributor to have this change made.
#13
@
8 years ago
- Milestone Under Consideration deleted
- Resolution set to wontfix
- Status changed from reopened to closed
@DJPaul You make a good point. At a glance, WP doesn't offer a way to prevent users from changing their own email addresses. And there's no good way that we can overlay a block on top of user-edit.php. IMO it's a good enhancement idea for WP, and if it's adopted there, we can do it here too. Until then, wontfix.
This is another case where I think it's overkill to provide an admin option, but it is a good idea to have a code-level way to prevent this.
For the moment, you can prevent these changes through a template change - just provide a custom settings template in your theme (members/single/settings/general.php) and remove the email input (or mark the element disabled).