When set GeoDirectory as homepage I cannot access my BuddyPress profile
This topic contains 12 replies, has 3 voices, and was last updated by Guust 9 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: buddypress, profile
-
AuthorPosts
-
December 23, 2014 at 12:37 pm #25326
Install Info:
Current Theme: GDF Child Theme 1.0.0
GeoDirectory Plugin 1.3.1
WordPress 4.1When both BuddyPress and GeoDirectory activated I cannot access BuddyPress profile. When click to edit or access user profile it redirect to homepage. And when I deactivate GD it works fine and able to access BuddyPress like normal.
Also when troubleshoot I realised I was able to access BuddyPress profile when uncheck “Set GeoDirectory home page as your home” in GD setting > Design. However, if I do that my work spent on setting up GeoDirectory homepage will be gone. To make homepage work again is to check ‘set GeoDirectory as homepage’.
Please advice.
December 23, 2014 at 12:41 pm #25328This reply has been marked as private.December 23, 2014 at 12:41 pm #25329Can you send us your URL and WP admin details in a private message please.
Are you redirecting your buddypress login as per http://docs.wpgeodirectory.com/redirecting-the-login-page/ ?December 24, 2014 at 7:26 am #25381Hi @guust,
I have already provides login creditial on second reply 😉
I quess you were wrting the post while I writing the reply.
December 24, 2014 at 2:53 pm #25405I just implemented the login redirect as per http://docs.wpgeodirectory.com/redirecting-the-login-page/
I also added some CSS to make the register links visible, but there is some caching going on, which I was unable to clear.
I de-activated W3 super cache, you should not use page caching. Consider GD Booster instead.December 27, 2014 at 8:44 am #25551Hi @guust,
It’s still redirecting me to homepage when try to access buddypress profile. I’ve done a little more troubleshoot by activate a different theme (Divi) and it works just fine.
The problem is with the GDF Framework instead of GD plugin.
Can you please find a fixed for that?
Regards,
JSonDecember 27, 2014 at 9:12 am #25554I cannot find any link on your website to the buddypress profile, so I am not sure how you know it is redirecting.
You have not set up your buddypress correctly I think, all your buddypress pages have no content relevant to buddypress:
/members/guust/
I think also that you are likely to have a problem if you using different login and registration systems, like buddypress and FB.
I added the buddypress login widget to your main pages, so at least you can get a link to the profile page now (which is not working).December 28, 2014 at 1:00 pm #25668Hi @guust,
Thank you for your very fast support 🙂
Sorry if I confuses you.
FIRST
I’m not having trouble logging in, I just having problem accessing links in buddypress profile after logged in. It keeps redirecting to homepage when try to access links in the profile (see attached screenshots).
To access profile I have to go to GD setting and uncheck “Set geodirectory home page as your home” to make it works (see screenshot). Please try to log in and access profile from top right.
SECOND
You said you’ve implemented the login redirect as per http://docs.wpgeodirectory.com/redirecting-the-login-page/
I see that now there login and register link show up on top bar (see screenshots). You’ll only see it when you activate new theme (don’t know why it didn’t show up on current theme). I tried to remove codes you implemented but it still showing. I don’t want that there.
add_action('init' , 'geodir_redirect_to_default_login') ; function geodir_redirect_to_default_login() { if(isset( $_REQUEST['geodir_signup'])) { wp_redirect(home_url().'/wp-login.php'); exit(); } }
December 28, 2014 at 1:15 pm #25674Reupload error screenshots..
December 28, 2014 at 1:23 pm #25676The login redirect has nothing to do with the admin bar up the top.
That is your buddypress login page:
Settings > Buddypress > Settings > Show the Toolbar for logged out users
I disabled it for you.You need to reimplement the login redirect or your users will register at /?geodir_signup=true and not as a buddypress user.
That will confuse your users.I’ll get Stiofan to look at this, and this is your problem explained for his benefit:
Buddypress admin bar disabled for logged-out users.
GDF Options set to allow WP admin bar.
Setting access to WP dashboard to NO at GD > general, hides the admin bar for all users, logged in or not.December 29, 2014 at 5:02 pm #25768Setting access to WP dashboard to NO at GD > general, hides the admin bar for all users, logged in or not.
This is normal behaviour. If you need to show the toolbar to anyone you should set that to YES and eventually use another plugin (or custom functions) to maipulate it.
Let us know,
January 3, 2015 at 11:21 am #26186January 3, 2015 at 12:35 pm #26198I set it to resolved.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket