hello,
I would like to know how I can lift the possibility of registered people to change their password. I am creating a friends user account and i only want them to see the pics, and not being able to play with other stuff. I am going to choose a password and login for them.
Thanks.
anyone ?
In profile.php find and delete (or comment out):
<input type="submit" name="change_pass" value="{$lang_register_php['change_pass']}" class="button">
I don't think they can access the form to change the password without that button. If there is a way, then it's possible to disable the function and the form that makes the change password form.
thats a smart solution! will that affect the admin profile too? I hope not. Will try it and let you know. Thanks a lot.
Hi!
Did it work?
I have the same "problem"
it does, just give it a try.
okay :)
If I do as you say, what wil happen in the future if sone wants to register at my gallery?
I mean I'd like it to be for only this user that change of password is prevented...
That's why the password field is only disabled in the profile page (a user can only access his profile once he alread is registered), the password field on the registration page stays. Users can still register, but once they registered, they can't change their password (that's your request, isn't it?). Although I find it silly in the first place to disallow users to change their password, that's what above mentioned modification does. As suggested above: just apply the modification and then find out if registration still works. Typing your question just took the same time as applying the modification and testing things, why don't you just try it?