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™
just took a look at this page, and it loads up OK for me:
http://www.hoopinstructors.com/signup/
I'm assuming this is your Membership Options Page
( working as expected )
/* If the user is logged in, redirect away from here */
if ( is_user_logged_in() )
bp_core_redirect( $bp->root_domain );
/* If signups are disabled, just re-direct */
if ( !bp_get_signup_allowed() )
bp_core_redirect( $bp->root_domain );
/* If the user is logged in, redirect away from here */
if ( is_user_logged_in() )
bp_core_redirect( S2MEMBER_LOGIN_WELCOME_PAGE_URL );
/* If signups are disabled, just re-direct */
if ( !bp_get_signup_allowed() )
bp_core_redirect( S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_URL );
Now I'm really confused: when I log in with hoopinstructors.com, I get a registration page <http://www.hoopinstructors.com/register/> instead of the Home page. It's an old page that doesn't have the PayPal buttons - so that's a problem. From reading what you've written below, this is actually the page that people will come to after they pay via the Join Hi page: is that right?
@Terrintokyo: Scholar uses exactly the same method as the default theme - if you can get it to work in that and not Scholar I will happily look at if there is an issue in Scholar. I think you will find perhaps though that the plugin developer is a little misleading in claiming it's normal when they suggest you edit core BuddyPress files - not exactly the theme
However, that doesn't help you much really. Therefore I suggest you test using the default BuddyPress theme and get back to me about the results on that and we take from there. I understand when someone blames a theme so lets work through this here as much as we can without having you bounced between us and them. Sound good?
@Terrintokyo: Unfortunately if the steps the plugin developer provided you were both done and still didn't work you may have to go back to them to at least inform them the default BuddyPress theme is also experiencing this one. My thoughts are perhaps it's the version of BuddyPress - is it updated to the latest one?
Sadly I was sort of hoping that it wouldn't work in the default theme as the plugin developer was hinting at this - you'd assume they'd have tested in that If it is then it is configuration or an issue with the setup / compatibility. Sorry to suggest you ask them but we do need clarification if you've tried their steps. I would perhaps suggest you try their steps with the default BuddyPress theme - have you?
Here's the problem:
http://www.hoopinstructors.com
1. In the header, there are 2 Sign Up buttons, 1 at the very top in the Admin bar, and one under that.
2. When someone who is not logged in clicks either button, I want them to be taken to the sign up page, which is this one: http://www.hoopinstructors.com/signup/
3. Right now, clicking either of those buttons takes the person to either the home page (if the redirect plugin is on): http://www.hoopinstructors.com/
4. Or, they are taken to the registration page (if the redirect plugin is off): http://www.hoopinstructors.com/register
5. So, what I wanted to do is edit the url that the Sign up buttons link to and have them both link to:
http://www.hoopinstructors.com/signup/ regardless of anything else.
1. using some code that the theme developer had me put into the theme includes 'members-box', the big sign up button now goes to the right page! yayy!
2. can't say the same for the admin bar Sign Up link, so I am working now on a suggestion she made, to actually edit the config.php to change the Register page slug to http://www.hooopinstructors.com/signup
3. My one concern with all of this is that it won't stop S2 Member from accessing the Registration page after leaving PayPal. As long as that's set, then no one will see the Registration page otherwise, which is as it should be.
/* If the user is logged in, redirect away from here */
if ( is_user_logged_in() )
bp_core_redirect( $bp->root_domain );
/* If signups are disabled, just re-direct */
if ( !bp_get_signup_allowed() )
bp_core_redirect( $bp->root_domain );
Users browsing this forum: No registered users and 4 guests