solved Sending Passwords to selected individual users (former Ning members)

researchcooperative
@researchcooperative
8 years ago
694 posts
Is it possible to send Passwords to selected individual users (former Ning members)?

I see no option for this in the ACP controls here:

[Yoursite]/ning/send_passwords


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 01/17/17 05:07:37PM
michael
@michael
8 years ago
7,714 posts
type their email address or username into:
your-site.com/user/forgot
researchcooperative
@researchcooperative
8 years ago
694 posts
OK. That has basically worked, but it looks like I have to change the automatic message for when I enter the email address, as the current result looks like spam to at least one user.

I suppose I can do this in the backend somehow, but then I will have to go back and put it back to normal for when members use the form themselves.

Q1. Would it be possible to have two versions of this in the system, one for the Admin to enter and address and send a password to members, and one for members to use?

Q2. Is the same message below sent when the Nng module sends out a mass mailing to all membersof a former Nng network?

"Dear Peter,

Seems a spam email from your account!

Best regards, [a site member who knows me well]


On Tuesday, 18 October 2016 11:12 AM, "XYZ@XYZ.com" wrote:

We've received a password reset request for this email address.
If you requested your password to be reset, please click on the
following link, or cut and paste it into your browser window:

[Your site]/user/new_password/[long password number code]

This will allow you to set a new password for your account.
If you did not request this password reset request, you can
ignore this email and the request will expire.


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)
paul
@paul
8 years ago
4,326 posts
1) You can likely put some conditional testing in the jrUser email_forgot_message.tpl template. Start by putting a {debug} in there to see what variables you have. I'd look at the $_user array to see if you can do something like -

{if $_user._user_id == 1}
Some template text/code here
{else}
Some other template text/code
{/if}

2) When sending via the Ning tool it uses the jrNingImport email_login_message/subject templates.

hth


--
Paul Asher - JR Developer and System Import Specialist
researchcooperative
@researchcooperative
8 years ago
694 posts
Thanks.

Regarding (1), I will go with sending an advance warning by email to explain what I am doing, when sending a password on another user's behalf.

Regarding (2), I found the jrNingImport template and no difficulty editing it. My version is below, for what it is worth.

By the way, what text will this string generate: [{$system_name} Administrator]?
Does "system_name" refer to Jamroom? That would be odd.

***Modified auto message for sending out passwords with jrNingImport****

Hello {$user_name}. Greetings from [a real place].

"{$ning_name}" has migrated to a new host and system (CMS), so we have to send you a new password for returning to your account (see below).

When you login with the new password, you'll be able to change it back to to your old password, or something else new and memorable, if you want.

Please visit the new homepage at {$jamroom_url} or go straight to the login page at {$jamroom_url}/user/login

Our new system will be easier to use when it becomes familiar. There are many new features for using media, managing more than one profile per account, sharing, and social networking. You will notice the new look and feel of the site immediately. This may take some time to get used to. Please look around and check that your previous messages, photos, blogs, groups etc. are still there (hopefully yes). Please feel free to revise or delete old messages or post new messages in the forums for Services and Groups.

Your login username is: {$user_name}

Your new password is: {$user_initial_pw}

Please contact us at {$admin_email} if you have any issues or questions. When you login for the first time, please note an important change: Account information for Admin is now separate from your public profile data. Your old profile data has been kept, but is now in the private account. To create a new public profile, please use the form shown under the profile tab on your profile settings page (use the gearwheel tab on the public profile page to find this).

Thank you.

{$admin_name} [{$system_name} Administrator]


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 10/18/16 06:34:03AM
michael
@michael
8 years ago
7,714 posts
researchcooperative:..... What text will this string generate: [{$system_name} Administrator] ?
Does "system_name" refer to Jamroom?....

Refers to the text input at:
ACP -> MODULES -> CORE -> SYSTEM CORE -> GLOBAL CONFIG -> System Name