WordPress.org

Ready to get started?Download WordPress

Forums

Stopping users from changing password (2 posts)

  1. imkzru
    Member
    Posted 3 years ago #

    I'm trying to create a simple WordPress site that has pages visible only if you're logged in. What they have is a football team and want their players to have access to pages that contain info only for them, while the rest of the page is for the public. They only want one user set up so they can give the login info to everyone on the team and do not have to set up user accounts for each player. I was able to do what they wanted by setting one account as a subscriber and only have the pages in question viewable by that level of user. The issue is anyone can change the password. How can I set the account so only admin accounts can change a user password?
    Or can I just remove those fields from the user profile template while leaving it in the profile template for admins? Lastly how can I change what page is viewed when a subscriber logs in? By default they are directed to their profile page. I want them directed to a static page of my chosing.

  2. imkzru
    Member
    Posted 3 years ago #

    I found this on the net but can someone please tell me how to use it?

    https://gist.github.com/781573

    It looks like it will do what I want.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags