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™

s2m with subscribe2 plugin

s2Member Plugin. A Membership plugin for WordPress®.

s2m with subscribe2 plugin

Postby OWeekly » April 30th, 2011, 8:46 am

Hi Jason and Cristian,

I am having some issues with another plugin working alongside. And the fix should be simple. So it would great if you guys can lend a helping hand.

The author of subscribe2 is telling me that, the reason that becos s2m does not have this code in its framework.

This is from the author of subscribe2:

Now the only to prove my conclusion is to find a way to input the "Sub2" element onto these pages??
>
> http://optionsweekly.org/signup-7-days-trial
> http://optionsweekly.org/signup-full-member
> http://optionsweekly.org/special-21-days-free-trial
> http://optionsweekly.org/14-days-free-t ... ch-testers
>
>
> How can we do that? Any clues?

Those S2M pages are not calling the full WordPress API. When a user is registered in WordPress the user_register action is called and that is where Subscribe2 hooks it's action to set up the subscription.
http://codex.wordpress.org/Plugin_API/A ... r_register

Ideally, the sign up pages you have implemented using S2Member should also 'do' this action so the Subscribe2 hook gets called. Is that something you could chase with s2member?

....

When they are processing the form data and creating a new user it'd be helpful if there was a line in there:

do_action('user_register', $user_id);



IS this code missing somewhere where we create the Paypal Pro Form shortcodes?

Please help. Thank you. I am still using Version 3.5.7 + Pro Module v1.5.7 as i did some changes to the code..
s2member rocks!

Allan
User avatar
OWeekly
Registered User
Registered User
 
Posts: 36
Joined: March 31, 2011

Re: s2m with subscribe2 plugin

Postby Jason Caldwell » April 30th, 2011, 12:59 pm

Hi Allan. Thanks for your inquiry.

s2Member doesn't need to fire that Hook, because it's a Hook already built into the WordPress core framework; which IS fired during ALL of the s2Member and s2Member Pro registration routines. In the case of s2Member Pro, the function wp_create_user() is called upon, which ultimately fires the do_action("user_register", $user_id) Hook.

s2Member itself relies upon this Hook.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

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

cron