Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 10 years ago

#4346 closed enhancement (wontfix)

Need Ability To Prevent Members From Changning Their Email Address

Reported by: frank13 Owned by:
Priority: normal Milestone:
Component: Extended Profile Version: 1.5.6
Severity: normal 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)

#1 follow-up: @boonebgorges
14 years ago

  • Milestone Awaiting ReviewFuture 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
14 years ago

Nice, thanks @boonebgorges.

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

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

#5 @frank13
14 years ago

  • Resolutionfixed
  • Status newclosed

#6 @DJPaul
14 years ago

  • Resolution fixed
  • Status closedreopened

#7 @DJPaul
14 years ago

  • Component CoreXProfile

#8 @frank13
14 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 14 years ago by frank13 (previous) (diff)

#9 @DJPaul
14 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.

#10 @frank13
14 years ago

Oh, ok. Misunderstood your ticket system...

#11 @DJPaul
10 years ago

  • Milestone Future ReleaseUnder 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
10 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
10 years ago

  • Milestone Under Consideration
  • Resolutionwontfix
  • Status reopenedclosed

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