Forum Replies Created
-
AuthorPosts
-
veronicajkMember
Hi Khaled-
Thank you. Exactly where do I need to put that code?
I put it in the
umEmailNotificationController.php
file with the
add_action( ‘profile_update’, ‘profileUpdateNotification’ );
line under the
function __construct() {
section, and then I put the rest of it in place of the
function profileUpdateEmail( $userdata ) {
section.I commented out the original
function profileUpdateEmail( $userdata ) {
section.And I updated my email templates to use the new placeholders.
But I’m still getting the exact same result — none of the S2Member data is being sent in the email.
Is the umEmailNotificationController.php file the wrong place to put it? I noticed the function isn’t named exactly the same as the original function, but I didn’t find any other function named profileUpdateNotification in any other file, either.
Any ideas? Thanks for your time.
veronicajkMemberHello Khaled-
Thank you for that. I am now receiving the admin email when users edit their profile, but I am unable to include the user’s profile fields in the email.
Our site is run by S2Member, which is where our members input all their user data.
It looks like the only fields that UMP can include in emails (using the %% placeholders) are WordPress default fields and fields that were created by UMP.
Since none of our fields were created by UMP — they were created by S2Member — we cannot include the user’s street address, city, state, zip, and phone, which are the fields that we need to keep updated in our master records for bookkeeping and mailing our quarterly journal.
Receiving an email telling us that the user’s profile was updated, but not giving us the user’s info, makes a lot of extra work for our administrator who then has to go log into the website and manually pull up the members’ profiles to check their info.
Is there any way to force UMP allow me to use placeholders for fields that were created in S2Member? The fields are named as follows:
%ws_plugin__s2member_profile_street_address%
%ws_plugin__s2member_profile_city%
%ws_plugin__s2member_profile_state%
%ws_plugin__s2member_profile_zip_code%
%ws_plugin__s2member_profile_phone_number%Thanks for your time.
-Veronica
nwfdc.orgveronicajkMemberHello! I just saw that I could create an admin user for you to log into our site and check it out, so I’ve done that. It will come from COR Northwest Family Development Center at nwfdc.org
Thank you!
veronicajkMemberHello Khaled-
I just purchased User Meta Pro last night and installed it right away because I have a client that needs to receive an email anytime a user updates their profile. It’s an urgent need and they’re expecting me to have it working today.
I have filled in the information under “Admin Notification” in the “Profile Update Email” section of the “Email Notification” page, and made sure the “Disable this notification” checkbox is NOT checked.
However, when I make changes to a test user account, I never receive any email notification. I thought maybe there was a cron job that only ran every X hours or something, so I’ve waited 10 hours now and still nothing. I also changed several different fields and still no admin notification was ever received.
I read in this thread that the problem was supposed to be solved in version 1.1.6, but that’s the version I already have. What else can I do to get this fixed?
Thank you!
-
AuthorPosts