Any way for an ADMIN to change a users email address for them?

classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

RE: Edit User Profile - change password.

Coleen_Astalos

This gets rid of the entire "Edit Profile" option, I still want to be able to edit the profile, but just not display the Change Password portion of it.

 

Perhaps that's best done within the edit_profile macro?

 

I tried to do it there by putting the same if check around the password stuff there - but it doesn't recognize "'is_registered" there.  Probably just something I'm missing...

 

Coleen

 

Coleen Astalos, Stampin' Up! Demonstrator
Alamosa, CO, [hidden email]
See my website at http://alamosa.stampinup.net
Are you a demonstrator? Join me on SUDSOL - Your 24/7 Upline!

 

From: Pedro <Nabble> [via Nabble Support] [mailto:[hidden email]]
Sent: Tuesday, August 26, 2014 9:20 PM
To: Coleen_Astalos
Subject: RE: Edit User Profile - change password.

 

Coleen_Astalos wrote

Sorry for the delay in getting back to the testing on this option for an administrator to change a users password.

Can the prompts under "Edit Profile" only show the change password options if they're a registered user?  (Otherwise they won't have a password set up yet - so changing it shouldn't do anything).

Thanks,
Coleen

 Edit your list_current_groups macro like this:

 
<override_macro name="list_current_groups" requires="user">
    <!-- List the groups of the user-->
    <n.set_local_user.this_user />
    <div style="margin-top:.4em">
        <strong><t>Groups</t>:</strong>
        <n.local_user.groups.>
            <n.sort/>
            <n.loop.>
                <n.if.has_more_elements>
                    <then><n.current_group/>,&nbsp;</then>
                    <else><n.current_group/></else>
                </n.if.has_more_elements>
            </n.loop.>
        </n.local_user.groups.>
        <n.if.visitor.is_site_admin>
            <then>
                <div style="margin-top:.3em">
                    <img src="/images/user_group.png" align="absmiddle" width="18" height="16"/>
                    <a href="[n.local_user.change_user_groups_path/]"><t>Add / Remove Groups</t></a>
                    <n.if.is_registered>
                        <then> | <a href="[n.local_user.edit_profile_path/]"><t>Edit Profile</t></a></then>
                    </n.if.is_registered>                   
                </div>
            </then>
        </n.if.visitor.is_site_admin>
    </div>
</override_macro>

My test forum.

 


If you reply to this email, your message will be added to the discussion below:

http://support.nabble.com/Any-way-for-an-ADMIN-to-change-a-users-email-address-for-them-tp7590626p7591171.html

To unsubscribe from Any way for an ADMIN to change a users email address for them?, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

RE: Edit User Profile - change password.

Pedro
Ok.
Please, try to check it like this: n.if.page_user.is_registered .
My test forum.
Reply | Threaded
Open this post in threaded view
|

RE: Edit User Profile - change password.

Coleen_Astalos

Thanks.  That works.  You might want to consider that update for the entire Nabble system since changing a password when they're not yet registered won't do anything.

Coleen

 

Coleen Astalos, Stampin' Up! Demonstrator
Alamosa, CO, [hidden email]
See my website at http://alamosa.stampinup.net
Are you a demonstrator? Join me on SUDSOL - Your 24/7 Upline!

 

From: Pedro <Nabble> [via Nabble Support] [mailto:[hidden email]]
Sent: Wednesday, August 27, 2014 1:21 PM
To: Coleen_Astalos
Subject: RE: Edit User Profile - change password.

 

Ok.
Please, try to check it like this: n.if.page_user.is_registered .

My test forum.

 


If you reply to this email, your message will be added to the discussion below:

http://support.nabble.com/Any-way-for-an-ADMIN-to-change-a-users-email-address-for-them-tp7590626p7591179.html

To unsubscribe from Any way for an ADMIN to change a users email address for them?, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

RE: Any way for an ADMIN to change a users email address for them?

Hugo <Nabble>
In reply to this post by Coleen_Astalos
Hi Coleen,
Coleen_Astalos wrote
Email address change:  
This issues an email to them for them to confirm the email address change.  When they click on the link in the email it takes them to Nabble to login - which they have to use their old email address/password to do.  While I understand this, most of my members do not.  Remember they're artists not computer folks.  It would be better if the admin feature could just change the email address directly.
It seems to me that a very simple solution is to remove the login step you mentioned above. So the user would still receive a confirmation link that requires a single click and that's it. After that moment, he/she would be able to login with the new email address. Is this acceptable?

While you think about issue above, let me explain to you the problem we have with your original idea of letting admins change the emails directly and without confirmation. The main problem here is the potential for abuse. A spammer could easily create a Nabble forum, register some fake users, subscribe them and then change those emails to real user emails (people that don't want to receive anything from that spammer). Any new post on that forum would trigger an email to those users and this would be be bad for them and for Nabble.

Please let us know if the proposed solution works for you.
Reply | Threaded
Open this post in threaded view
|

RE: Any way for an ADMIN to change a users email address for them?

Coleen_Astalos
Yes, a simple click from the email that doesn't require them to then login to the site with the old information would work.
Thanks,
Coleen
Reply | Threaded
Open this post in threaded view
|

RE: Any way for an ADMIN to change a users email address for them?

Hugo <Nabble>
This change has been released. Please take a look and let us know if you have issues.
Reply | Threaded
Open this post in threaded view
|

RE: Any way for an ADMIN to change a users email address for them?

Coleen_Astalos

Tested and it works great.

Thanks!

Coleen

 

Coleen Astalos, Stampin' Up! Demonstrator
Alamosa, CO, [hidden email]
See my website at http://alamosa.stampinup.net
Are you a demonstrator? Join me on SUDSOL - Your 24/7 Upline!

 

From: Hugo <Nabble> [via Nabble Support] [mailto:[hidden email]]
Sent: Thursday, September 4, 2014 12:12 AM
To: Coleen_Astalos
Subject: RE: Any way for an ADMIN to change a users email address for them?

 

This change has been released. Please take a look and let us know if you have issues.

Official Nabble Administrator - we never ask for passwords.

 


If you reply to this email, your message will be added to the discussion below:

http://support.nabble.com/Any-way-for-an-ADMIN-to-change-a-users-email-address-for-them-tp7590626p7591311.html

To unsubscribe from Any way for an ADMIN to change a users email address for them?, click here.
NAML

12