Community Support Forums — WordPress® ( Users Helping Users ) — 2011-09-07T02:04:00-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14802 2011-09-07T02:04:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14802&p=34180#p34180 <![CDATA[Re: Use Buddypress Register instead of Pay Pal Pro Free Regi]]>

Try this:

Code:
<?php
add_action
('template_redirect''my_login_welcome_redirect');
function 
my_login_welcome_redirect() {
    if (
is_page(S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_ID)) {
        
wp_redirect('http://domain.com/bp-registration');
        exit;
    }
}
?>

Statistics: Posted by Cristián Lávaque — September 7th, 2011, 2:04 am


]]>
2011-09-05T20:07:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14802&p=34074#p34074 <![CDATA[Re: Use Buddypress Register instead of Pay Pal Pro Free Regi]]>
I did add it to the file you suggested, and updated the code with my registration URL.

Statistics: Posted by bsowards — September 5th, 2011, 8:07 pm


]]>
2011-09-02T19:46:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14802&p=33801#p33801 <![CDATA[Re: Use Buddypress Register instead of Pay Pal Pro Free Regi]]>
Create this dir/file: /wp-content/mu-plugins/s2hacks.php
Code:
<?php
add_action
('template_redirect', 'my_login_welcome_redirect');
function my_login_welcome_redirect() {
    if (is_page(S2MEMBER_LOGIN_WELCOME_PAGE_ID)) {
       wp_redirect('http://domain.com/bp-registration');
       exit;
    }
}
?>


Make sure you have no empty space or lines outside the <?php ?> tags.

Let me know if it works. :)

Statistics: Posted by Cristián Lávaque — September 2nd, 2011, 7:46 pm


]]>
2011-09-02T05:30:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14802&p=33735#p33735 <![CDATA[Re: Use Buddypress Register instead of Pay Pal Pro Free Regi]]> Statistics: Posted by bsowards — September 2nd, 2011, 5:30 am


]]>
2011-09-01T23:16:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14802&p=33719#p33719 <![CDATA[Re: Use Buddypress Register instead of Pay Pal Pro Free Regi]]>
Code:
<script type="text/javascript">window.location = 'http://domain.com/bp-registration';</script>



Let me know if it helps.

Statistics: Posted by Cristián Lávaque — September 1st, 2011, 11:16 pm


]]>
2011-09-01T18:35:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14802&p=33684#p33684 <![CDATA[Re: Use Buddypress Register instead of Pay Pal Pro Free Regi]]>
[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="" desc="Signup now, it's Free!" custom="udancer.info" tp="0" tt="D" captcha="0" /]

But I'd rather not use a membership options page at all, but just go straight to BuddyPress register page.

Statistics: Posted by bsowards — September 1st, 2011, 6:35 pm


]]>
2011-09-01T18:21:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14802&p=33682#p33682 <![CDATA[Re: Use Buddypress Register instead of Pay Pal Pro Free Regi]]> Statistics: Posted by Cristián Lávaque — September 1st, 2011, 6:21 pm


]]>
2011-09-01T09:19:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14802&p=33620#p33620 <![CDATA[Use Buddypress Register instead of Pay Pal Pro Free Register]]>
I'd like them to be redirected to my BuddyPress Register form instead.

What is the recommend way to do that?

I'm comfortable hacking, just let me know what to hook into and where to create the file.

Thanks.

Statistics: Posted by bsowards — September 1st, 2011, 9:19 am


]]>