Community Support Forums — WordPress® ( Users Helping Users ) — 2011-04-22T17:52:24-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6169 2011-04-22T17:52:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6169&p=13186#p13186 <![CDATA[Re: add to group on registration - redux]]> $_POST, so if you look at the array you may see what's there.

The person will be returned to the registration page on a new buy, for example, not exactly sure where on a modification. That said, if you use s2Member Pro's Pro-Forms, you can specify what URL to the the person after a successful checkout. WP Admin -> s2Member -> PayPal Pro-Forms -> Custom Return URLs on Success

If this gets too advanced for you, you can try a freelance developer to help you set your customization up. viewforum.php?f=37


kipprsnak wrote:
AGAIN awesome with the response time.


Thank you. :)

I know how important it can be for you guys to have a quick reply to these problems, with what can be on the line, especially with deadlines or even live websites. So I try to reply as soon as possible, I can't always do it as soon as I like to, but I try.

I don't have all the answers, but sometimes I do help find the problem anyway, and if I don't then I go to Jason and he usually is back with his feedback later that day or within the 48hs usually.

Statistics: Posted by Cristián Lávaque — April 22nd, 2011, 5:52 pm


]]>
2011-04-22T17:19:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6169&p=13184#p13184 <![CDATA[Re: add to group on registration - redux]]>
What I mean is, where is paypal sending that information? I looked into my settings and I see a S2member_paypal return variable... what page/script/class is actually receiving the information in S2Member. If that makes sense. Where does a person "go" after they return from PayPal?

Statistics: Posted by kipprsnak — April 22nd, 2011, 5:19 pm


]]>
2011-04-22T17:05:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6169&p=13178#p13178 <![CDATA[Re: add to group on registration - redux]]> $_GET and $_POST arrays (or just $_REQUEST) after the person returns from PayPal, I'm guessing you could find there what you want.

print_r the array and see if it's there, feel free to post the array here too (xxxx out any data that shouldn't be made public).

Let me know if that helps. :)

Statistics: Posted by Cristián Lávaque — April 22nd, 2011, 5:05 pm


]]>
2011-04-22T16:56:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6169&p=13176#p13176 <![CDATA[Re: add to group on registration - redux]]>
Above snippet is from: http://www.ethitter.com/tips-tricks/201 ... ess-group/

Statistics: Posted by kipprsnak — April 22nd, 2011, 4:56 pm


]]>
2011-04-22T16:55:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6169&p=13175#p13175 <![CDATA[add to group on registration - redux]]>
I'm assuming that the information coming back from PayPal will include membership level and custom capabilities information. How do I get at that information in generate a variable that I can use with I have found to add users to group on registration:

Code:
//Automatically add new users to a group
function automatic_group_membership( $user_id ) {
if( !$user_id ) return false;

groups_accept_invite( $user_id, <# group ID #> );
}
add_action( 'bp_core_activated_user', 'automatic_group_membership' );



Now I want to add a variable coming from paypal. I just don't know how to find it (assuming the above works).


Any help super appreciated. Thanks

Statistics: Posted by kipprsnak — April 22nd, 2011, 4:55 pm


]]>