• Hello- I would like to set up my blog so that users CANNOT change their passwords. Is there a way to disable the PROFILE page from the admin area completely so that users cannot access this page to change any of their personal data?
    It appears that maybe this can be done by tweaking admin-menu.php, but it’s too confusing to a non-coder like myself to tackle without some help. Thanks!!!
    DB~

Viewing 2 replies - 1 through 2 (of 2 total)
  • First off make a backup of all your files. Just copy them into same directory call them something like admin-menu.php.backup etc. Then best thing I can suggest is just to hack at it, delete a few lines here and there and see what happens? Is there a user-profle.php file or something similar? Renaming this file will cause same effect as delete.

    Like call it user-profle.php2 – should stop them getting there – but it will be messy and your users may *most likly* get error messages..

    This is obviously only a temp solution…

    It’s pretty simple to “hide” the profile page for users by commenting out (or deleting…not recommended) code in wp-admin/menu.php. Just open that file and comment out the following line…the // comments it out:

    //$menu[35] = array(__(‘Profile’), ‘read’, ‘profile.php’);

    Note that by doing this, people could still get to the profile page by directly entering the url, but most people will not know how to do this. And, by simply commenting out the code, you don’t run the risk of breaking other things in your install.

    Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable “Profile” page?’ is closed to new replies.