I cannot change the Admin User Email Address: V 1.4.10 I cannot change the Admin User Email Address: V 1.4.10
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

I cannot change the Admin User Email Address: V 1.4.10

Started by davidagreen, July 18, 2007, 10:59:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

davidagreen

When I go to the My Profile secion of the Admin User's Email it is set to you@you.com which means the notifications are bounced back. How can I change this - it is not a field that is alterable in that version.

Thanks >:(

su_ict

Happened to me 2 - follow this :

1. go to settings while logged in as Admin
2. set 'Allow users to change their email address in profile' to YES
3. goto profile
4. change the email-adres
5. set 'Allow users to change their email address in profile' back to NO if that is what you want

Ps. i think profile.php?op=edit_profile should check if the user logged in is Admin - if so - it should be able to change a users email address - only if you are an Admin !!

Joachim Müller

Another option would be to create another user, make him admin, log out, log in as new admin user, change the profile of the original admin, log out, log back in as original admin, delete the second admin account again.

@su_ict: I agree that the admin should be allowed to change his email address no matter what. I'll look into this for the next version.

@davidagreen: when you install coppermine, you are prompted for the admin email address. If it is set to something silly like you@you.com, then you probably have used an auto-installer like Fantastico, which is not recommended nor supported at all.

@davidagreen: according to the subject line of your thread, you appear to be running cpg1.4.10, which is outdated and has known security issues. It is mandatory to upgrade to the most recent stable release (currently cpg1.4.12) asap. Not related to the issue discussed in this thread though.

Joachim Müller

This has been easy. Edit profile.php, findif ($CONFIG['allow_email_change'] == 1) {
  $edit_profile_form_param[3][0]='input';
}
and change toif ($CONFIG['allow_email_change'] == 1 || GALLERY_ADMIN_MODE) {
  $edit_profile_form_param[3][0]='input';
}
, save your changes & upload the changed file. This should allow admin users to change their email address no matter what the setting for "Allow users to change their email address in profile" in coppermine's config is. I committed this minor little change to the SVN for cpg1.5.x.

su_ict

Quote from: GauGau on July 26, 2007, 02:38:32 PM
This has been easy.
For you it is  8)
Quote from: GauGau
I committed this minor little change to the SVN for cpg1.5.x.
Glad to help the community - allbeit a minor change  :D

su_ict

Quote from: GauGau on July 26, 2007, 02:38:32 PM
Save your changes & upload the changed file. This should allow admin users to change their email address no matter what the setting for "Allow users to change their email address in profile" in coppermine's config is.
Done this - works ok ! (sorry for the xtra reply - could not edited previous one  :'()