Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Shaun 248 posts 475 karma points
    Jul 25, 2011 @ 15:15
    Shaun
    0

    Is there a hook I can use to run a process whenever a member is updated?

    Hi All

    I've been asked if I can automatically send an email out when certain properties of a member are updated. Is there a hook I can use to fire this process, or will I need to get into the core Umbraco code?

    Thanks in advance.

    Shaun

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Jul 25, 2011 @ 15:35
    Dirk De Grave
    0

    May be hard to find out, I guess as Member inherits from Content which inherits from CMSNode, you can tap into the save event, but you'll have to look up yourself whether and what properties have changed, probably by comparing 2 revisions of the content? And in that case, use the AfterSave event making sure the changes have persisted before you do your checks.

     

    Hope this helps.

    Regards,

    /Dirk

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies