Skip to:
Content
Pages
Categories
Search
Top
Bottom

Prevent users from changing email addresses


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

    Look for

    `

    And add the following to the beginning and end

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


    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)
  • The topic ‘Prevent users from changing email addresses’ is closed to new replies.
Skip to toolbar