Hi there. I have to create a new plugin_template using subscription_updated($member_id, $oldmember,$newmember) I understand how to get the plugin_template renames, and where to place it, but I have no idea of the structure of the PHP code that is required to be placed within the new plugin_template [renamed profile_update] SO two quick questions to those of you that have done this: 1. Could someone kindly post a couple of lines of code that shows how to access and then write $oldmember and $newmember ? 2. Do I place code elsewhere [in profile.php for example] that calls the plugin template or is it called automatically? If its called automatically on a profile being updated - how? The purpose of this plugin is to email the administrator those fields in a user's profile that have changed - if there's an experienced plugin developer who can take this on quickly and be paid for it then please do contact me. Thanks so much
The plugin is called after the change has been made. For you example (assuming I have it right), you would need to compare the fields in old vs new and mail the changes using std php mail.