latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Walking Horse Owners Association

Sorry, I've not written a description yet. I'll get to it soon!


Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Set Default EOT for Different Roles

By:  Walking Horse Owners Association in: Community Forum

voices: 1
replies: 0

4 years, 1 month ago  Walking Horse Owners Association

User Profile Change Admin Notification

By:  Walking Horse Owners Association in: Community Forum

voices: 2
replies: 7

4 years, 9 months ago  Cristián Lávaque

Viewing 2 topics - 1 through 2 (of 2 total)

My Latest Replies (From Various Topics)

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Wednesday Apr 3rd, 2013 at 10:31 am #46468

This sounds like exactly what I am after too! eBierek, if you figure out a solution would you mind posting it here?

Posted: Friday Nov 30th, 2012 at 2:09 pm #33030

I am having the same issue on one of my company’s websites: http://www.walkinghorseowners.com

I am in the process of making a backup and will then test disabling the wpautop functions. If that doesn’t work I will proceed to test disabling various plugins to find the culprit.

Could one of you take a look at the page source and let me know if there are any immediate issues you see that would be causing this problem? This is urgent to my company and you may save me a lot of time and anxiety.

Posted: Friday Mar 16th, 2012 at 4:55 pm #8419

Works! Now I’ll just have to try with the modifications to show profile information in the body of the e-mail. If not, this will have to do the job.
Thanks so much–s2member’s tech support has been great. I’ll be giving a good rating in WP plugins. :)

Posted: Friday Mar 16th, 2012 at 3:10 pm #8397

Not sure if I’m missing something, but the solution provided on the other forum doesn’t seem to be working for me.

I already had an s2hacks.php file inside the mu-plugins directory, since I previously add a hack to set a default EOT date. Below the code already in my s2hacks file, I did a copy-paste of Jason’s original solution from the other topic, changing only the function name (to “profile-change_notify”) and my e-mail address.

I have tested by changing a user’s address through the Buddypress profile edit page, and I’ve had no luck receiving any e-mails to notify me of the change.

Below is the full content of my s2hacks.php file (changed my e-mail back to generic):

<?php
add_action ('ws_plugin__s2member_during_configure_user_registration', 's2_set_default_eot_time');
function s2_set_default_eot_time($vars = array()) {
    if (!is_admin() && $vars['processed'] === 'yes') {
        update_user_option($vars['user_id'], 's2member_auto_eot_time', strtotime(date('Y') . '-12-31'));
    }
}
?>

<?php
add_action ("ws_plugin__s2member_during_handle_profile_modifications", "profile_change_notify");
function profile_change_notify ($vars = array ())
    {
        $user = new WP_User ($vars["user_id"]);
        wp_mail ("myname@mydomain.com", "Subject ( " . $user->user_login . " just updated their Profile )", "Message Body goes here.");
    }
?>

Any ideas?

Posted: Tuesday Mar 13th, 2012 at 10:17 am #7994

Thanks so much Cristián for directing me to the right place; my apologies for asking a question already in the forums. :) I’ll hope that hack does the trick!

Viewing 5 replies - 1 through 5 (of 5 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.