Receive notice of user changing email address

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

Receive notice of user changing email address

Coleen_Astalos
I'm trying to figure out how to get an email notice to the administrators when a member changes their email address.  (I have a separate system that manages all my members, so if they change their email address, I need to change it there also).  

I do not see any "Edit this page" links on the "Edit Personal Information" page and if I drill down from the user_profile page to the profile_options page, I can see it goes to edit_profile_path - but I can't seem to access that and a search for the text "Change Email" (which is on the email change page) doesn't reveal any matches.  So it looks like this is something I'd need help changing.

What I want to get is an email to the administrators that says something like:
"User Name" changed email address from "xyz@email.com" to "abc@newemail.com"

Can you help?
Thanks,
Coleen
Reply | Threaded
Open this post in threaded view
|

Re: Receive notice of user changing email address

Pedro
That page is not in naml, so it can't be changed. Do your user change their emails very often?
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Receive notice of user changing email address

Coleen_Astalos
Unfortunately yes.  We have some members that seem to go back and forth between email addresses.  We have other members that start with one email address and then change to another to separate out these emails from their other emails they receive.

The informal poll that I've done shows that 80% or more of my 1,200 users plan to use Nabble in subscription email format (versus using it on the web).  So I need to be able to handle change of emails easily to keep both my payment system and Nabble in synch.

Coleen
Reply | Threaded
Open this post in threaded view
|

Re: Receive notice of user changing email address

Pedro
Please, see you macro: user email changed. Override like this:
<override_macro name="user email changed" parameters="email_old,email_new">
    <n.new_email.>
        <n.send>
            <to>YOUR EMAIL</to>
            <subject>User changed email</subject>
            <text_part>
                From: <n.email_old/>
                To: <n.email_new/>
            </text_part>
        </n.send>
    </n.new_email.>     
</override_macro>
Note that you have to put your email address inside "to" tags.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Receive notice of user changing email address

Coleen_Astalos
Thank you!  It works great.
Coleen
Reply | Threaded
Open this post in threaded view
|

Re: Receive notice of user changing email address

Coleen_Astalos
In reply to this post by Pedro
Within the last two weeks, I had a member change her email address and I didn't get the email notification of the change.

So I just did a test with one of my email addresses - changing the email address and after I get the email from Nabble to confirm the change, I click on the link and it takes me to Nabble and give me this error:
Oops... An error has occurred
Please contact Nabble Support and explain what you did to cause this error. Your feedback is very important to us.
Go to NAML Editor
More Details
Error 500

invalid args: [old_email, new_email]

Message: invalid args: [old_email, new_email]

RequestURI: /user/ChangeEmail3.jtp

Server: n5.nabble.com
Caused by:

fschmidt.util.servlet.JtpContextServlet$JtpServletException: url=http://forum.sudsol.org/user/ChangeEmail3.jtp?email=anything2%40sudsol.com&h=1447848259  method=GET user-agent=Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 referer=null remote=206.168.42.213
        at fschmidt.util.servlet.JtpContextServlet.handleException(JtpContextServlet.java:558)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:463)
        at fschmidt.util.servlet.JtpContextServlet.service(JtpContextServlet.java:332)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:144)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at cachingfilter.CachingFilter.doFilter(CachingFilter.java:133)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at fschmidt.util.servlet.BadBotFilter.doFilter(BadBotFilter.java:74)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at fschmidt.util.servlet.ConnectionLimitFilter.doFilter(ConnectionLimitFilter.java:94)
        at nabble.view.lib.NabbleConnectionLimitFilter.doFilter(NabbleConnectionLimitFilter.java:26)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at nabble.view.lib.NabbleErrorFilter.doFilter(NabbleErrorFilter.java:21)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
        at org.eclipse.jetty.server.Server.handle(Server.java:349)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:910)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
        at nabble.model.Executors$1$1.run(Executors.java:27)
        at fschmidt.util.executor.ThreadTimer$1.run(ThreadTimer.java:18)
        at fschmidt.util.executor.AbstractThreadPool$1.run(AbstractThreadPool.java:29)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: invalid args: [old_email, new_email]
        at nabble.naml.compiler.Template.run(Template.java:42)
        at nabble.naml.compiler.Template.run(Template.java:33)
        at nabble.view.web.user.ChangeEmail3.callNaml(ChangeEmail3.java:103)
        at nabble.view.web.user.ChangeEmail3.service(ChangeEmail3.java:69)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at fschmidt.util.servlet.JtpContextServlet.service2(JtpContextServlet.java:461)
        ... 38 more
Can you please confirm that the code which you set up in Nabble (in a place I can't access) that calls the "user email changed" is still in Nabble so we will receive these notifications like we did in the past?

Thanks,
Coleen
Reply | Threaded
Open this post in threaded view
|

Re: Receive notice of user changing email address

Pedro
I'm looking into it. In my forum the email changing is working well.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Receive notice of user changing email address

Pedro
In reply to this post by Coleen_Astalos
I've fixed it, please, take a look now.
My test forum.
Reply | Threaded
Open this post in threaded view
|

RE: Receive notice of user changing email address

Coleen_Astalos

Thanks.  It's working again.

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: Monday, May 19, 2014 8:07 PM
To: Coleen_Astalos
Subject: Re: Receive notice of user changing email address

 

I've fixed it, please, take a look now.

My test forum.

 


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

http://support.nabble.com/Receive-notice-of-user-changing-email-address-tp7587679p7590340.html

To unsubscribe from Receive notice of user changing email address, click here.
NAML