PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Critical: No admin or new user emails!

s2Member Plugin. A Membership plugin for WordPress®.

Critical: No admin or new user emails!

Postby glbrent » August 12th, 2011, 6:38 pm

I'm having a major issue at a very crazy time of a lot of business.
I am not receiving any new user emails from my s2member. They were working in the past but then they stopped. I don't know if having the 'Auto login" hack is causing this at all. But now I'm getting subscriptions and paypal is sending me stuff. It looks like I have about 80 people on my new user "free registration" and not one email. I'm just not sure what's going on. I think I had an login pluggin widget having a conflict with s2member so I removed and deleted the other widget.

I the email notifications set to custom and they send out a login/password and some other stuff.
Admin email set to support@apazones.com

I have the latest patch from last night.

This was working at one point, but... I have no idea now.
User avatar
glbrent
Registered User
Registered User
 
Posts: 21
Joined: July 19, 2011

Re: Critical: No admin or new user emails!

Postby Bruce C » August 12th, 2011, 7:05 pm

Try deleting the file from the s2hacks dir, and see if it works again(make sure to save a copy of it), if it does, then perhaps you will have to recreate the email from that file, in order to get it to work.
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Critical: No admin or new user emails!

Postby glbrent » August 12th, 2011, 7:58 pm

So that was it alright. I disabled the s2hack.php and it works just like normal. Now I need to find a work around so I can still do my automatic login. Any thoughts?
Code: Select all
<?php
add_action('ws_plugin__s2member_during_configure_user_registration_front_side', 's2_auto_login_after_registration');
function s2_auto_login_after_registration($vars = array()) {
    wp_set_auth_cookie($vars['user_id'], false, is_ssl());
    wp_redirect(S2MEMBER_LOGIN_WELCOME_PAGE_URL . '?first');
    exit;
}
?>

on how to make the emails work before it automatically logs in. wish I knew php right now. Maybe it can do a quick " thank you page, we are redirecting you to the members area" type of deal. So it can hit the function neccessary to send out the emails.
User avatar
glbrent
Registered User
Registered User
 
Posts: 21
Joined: July 19, 2011

Re: Critical: No admin or new user emails!

Postby Bruce C » August 12th, 2011, 9:00 pm

I'll work on it in a bit. If I figure it out I'll post a snippet, that is if Cristian doesn't get to it first. :lol:
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Critical: No admin or new user emails!

Postby Cristián Lávaque » August 12th, 2011, 9:58 pm

In the thread where you copied that hack from, I later posted an update because registration notifications weren't working, which may fix your problem too. viewtopic.php?f=4&t=14211&p=30620#p29918

I hope that helps.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Critical: No admin or new user emails!

Postby glbrent » August 13th, 2011, 2:22 pm

So I copied and tried the new revision on that thread.
It does let the notification(s) to 3rd party. IE my Mailchimp addon functions correctly now. However, the generic email from Wordpress or s2member does not go out to the new registrant, nor does an email that comes to the admin. Maybe I will pass the user through Mailchimp I guess. But it still doesn't help with the admin emails.
Sorry
User avatar
glbrent
Registered User
Registered User
 
Posts: 21
Joined: July 19, 2011

Re: Critical: No admin or new user emails!

Postby Cristián Lávaque » August 15th, 2011, 2:21 pm

Got it. Thanks for finding that problem. I posted an update here viewtopic.php?f=4&t=14211&p=31548#p31548
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest

cron