Skip to:

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's profile frank13 Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.5.6
Component: Extended Profile Keywords: 2nd-opinion
Cc: frank13


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)

#1 follow-up: @boonebgorges
12 years ago

  • Milestone changed from Awaiting Review to Future Release

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).

#2 @frank13
12 years ago

Nice, thanks @boonebgorges.

#3 in reply to: ↑ 1 @frank13
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?


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 !!!

Last edited 12 years ago by frank13 (previous) (diff)

#5 @frank13
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#6 @DJPaul
12 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#7 @DJPaul
12 years ago

  • Component changed from Core to XProfile

#8 @frank13
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?

Last edited 12 years ago by frank13 (previous) (diff)

#9 @DJPaul
12 years ago

Neither; perhaps in some future release ( And I can't answer what it would look like, because it ain't been build or planned yet.

#10 @frank13
12 years ago

Oh, ok. Misunderstood your ticket system...

#11 @DJPaul
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 @DJPaul
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 @boonebgorges
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.

Note: See TracTickets for help on using tickets.