forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 ecards & email => Topic started by: cream on June 21, 2006, 08:13:50 pm

Title: Users donīt receive their passwords in the email registration
Post by: cream on June 21, 2006, 08:13:50 pm
Hello

Iīve been trying in out and I would like the users to received their passwords in the email registration (they only get the user name). By the way, Iīm the admin and I wonder how can I get also their e-mail addresses and passwords in the email I receive when somebody register. I only get also the user name, and their e-mail addresses are not shown anywhere for anybody, just for themselves.

Regards,
cream
Title: Re: Users donīt receive their passwords in the email registration
Post by: Vargha on June 22, 2006, 03:15:44 am
u cannot get peoples passwords

what version r u using
Title: Re: Users don´t receive their passwords in the email registration
Post by: Sami on June 22, 2006, 09:18:43 am
- You can add their password to "notification email" by adding this
Code: [Select]
and password "{PASSWORD}"
to your lang file (by default english.php) on "$lang_register_activated_email" right after
Code: [Select]
You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
after change your "$lang_register_activated_email" should be look like this :
Code: [Select]
$lang_register_activated_email = <<<EOT
Your account has been approved and activated.

You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}" and password "{PASSWORD}"


Regards,

The management of {SITE_NAME}

EOT;

this will work if you enabled "Admin activation of registrations " under config=>user setting
if you don't want admin activation then let me know I'll send you another way to send them their password under "activation email"
- this is not a good idea to send you user's email & password , if you are "Administrator" then you have access to user's email by click on "Users" button (link) on admin mode , also you can change their passwords there by click on "e" button
Title: Re: Users donīt receive their passwords in the email registration
Post by: Joachim Müller on June 22, 2006, 09:23:29 am
Ignore Vargha, he's wrong. This is not related to your coppermine version. You'd have to hack Coppermine's core files to send the password along with the email. This used to be a part of the registration email design in the past. We removed this for security reasons - you shouldn't send emails that contain passwords around, so I suggest reviewing your idea. If you insist on it, you'd have to come up with a code modification of your theme.
The email address of users being hidden from others is intended, it's actually a feature. Your users would hate your if you allowed others to spy on their email addresses. This is related to the global spam problem. However, it's a different issue that should be handled in a different thread, as we have a "one question per thread" policy for valid reasons.

[Edit]
bmossavari beat me to answer first while I was still typing. I submit my posting anyway, even though his already should answer your question.
Title: Re: Users donīt receive their passwords in the email registration
Post by: cream on June 22, 2006, 12:23:30 pm
Thank you so much. You convince me! ;)

Regards,
cream
Title: Re: Users donīt receive their passwords in the email registration
Post by: gangavalli on June 27, 2006, 11:43:05 pm
I have the same request.
I have copied the code into the english language file but, its sending the encrypted one i think.
 Its too long. How can i send the original password that the user gave. My gallery is a private one and i have set it to admin activate registration requests.