Users and the dashboard

Permalink
On our C5 website, I have many users who need access to the dashboard in case they need to change their password. Right now, if they have that ability, they also have the ability to change other users' passwords. Is there a way to restrict access to other users' account while still giving them the ability to change their own when necessary? Thanks!

hawkman4188
 
12345j replied on at Permalink Reply
12345j
enable the public profiles feature. then tell them to go to members->click on their profile and there should be a change password button.
hawkman4188 replied on at Permalink Reply
hawkman4188
Thanks for the reply!
Whenever I enabled user profiles and tried to go to my profile, I got an error saying that I had to have a view.php file. I made the C5 template myself so I'm not really sure what view.php file they are talking about? Can you push me in the right direction?

Thanks
jordanlev replied on at Permalink Reply
jordanlev
This usually works:
1) Copy your theme's default.php file.
2) Rename the copy to "view.php".
3) Edit the view.php file and replace the code that outputs your 'Main' area with "print $innerContent" -- for example, change this:
<?php
$a = new Area('Main');
$a->display($c);
?>

...to this:
<?php
Loader::element('system_errors', array('error' => $error));
print $innerContent;
?>

**IMPORTANT NOTE: The above code only works in Concrete5.4.2 and higher. If you're not using 5.4.2 or higher, let me know and I'll point you to some different code that does work**

Also see these how-tos for more info:
http://www.concrete5.org/documentation/how-tos/designers/why-do-i-n...
http://www.concrete5.org/documentation/how-tos/designers/themimg-sy...