Skip to:
Content
Pages
Categories
Search
Top
Bottom

Prevent users from changing email addresses

  • Avatar of Rob Sbaglia
    Rob Sbaglia
    Participant

    @sbaglia

    Hello,
    I am running a wordpress network with Buddypress on top for a school. To ensure I see all private messages etc between students, I have issued the users email address that I have access to (and they don’t). I want to prevent users from changing their email addresses once they are registered with the ‘school’ email address.
    I’ve managed to prevent this from the ‘dashboard’ side of things, but users can still change their email addresses through the profile edit part of buddypress.
    Any help would be highly valued.
    Cheers,
    Rob.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of unknown89
    unknown89
    Member

    @unknown89

    Hi, if you wish to remove this – simply go to your child theme – look for the following folders

    members/single/settings and find the file called general.php

    inside of that file, scroll down until you see the input fields for the Account Email – and comment that out

    Avatar of unknown89
    unknown89
    Member

    @unknown89

    Look for

    `

    And add the following to the beginning and end

    `<!–
    <input type="text" name="email" id="email" value="” class=”settings-input” /> //–>`

    Avatar of Rob Sbaglia
    Rob Sbaglia
    Participant

    @sbaglia

    Thank you thank you thank you!

    Sorry it took me so long to get back to this, I expected to get an email to say the forum post had been replied to, but obviously not.

    Cheers,
    Rob.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.