Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Email a single Admin when a user changes Email

  • mickelb
  • mickelb
  • OFFLINE
  • Posts: 42
  • Thanks: 3
  • Karma: 1
8 years 2 months ago - 8 years 2 months ago #284792 by mickelb
I can't find anything about this anywhere else.

How do I get a notification when a user changes their email address? I get notification of new sign ups only.
Last edit: 8 years 2 months ago by mickelb.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48457
  • Thanks: 8280
  • Karma: 1443
8 years 2 months ago #284801 by krileon
There is no notification for that. You'd need to use CB Auto Actions acting on the onAfterUserUpdate with an Email action then under Conditions use the following.

[var1_email] Not Equal To [var2_email]

Then for To supply your email address manually. This should email you if a users email address changes.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • mickelb
  • mickelb
  • OFFLINE
  • Posts: 42
  • Thanks: 3
  • Karma: 1
8 years 2 months ago #284805 by mickelb
Guess I'll have to get my head around CB Auto Actions then. I would have thought this would have been a pretty standard requirement as a standard function?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48457
  • Thanks: 8280
  • Karma: 1443
8 years 2 months ago #284838 by krileon
Emailing about a field changing isn't very standard. Frankly it's just spam. An on-site notification system would be better. We've plans for per-field approval as well (currently only available for image fields). Good news is it's a pretty simple configuration. Below should work.

Global
Triggers: onAfterUserUpdate
Type: Email
User: Automatic
Access: Everybody
Conditions
1: [var1_email] Not Equal To [var3_email]
Action
To: Your Email Address
Subject: Your Email Subject
Body: Your Email Message

Substitutions are supported in the To, Subject, and Body as well. So if you want the username of a user you could do [username]. var1 is the new user object (after their change) and var3 is the old user object (before their change).

Additionally you could try CB Profile Update Logger as believe it has some notification usage built in.

www.joomlapolis.com/addons/cb-profile-update-logger


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: mickelb

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum