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, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #25326

    JSon
    Free User
    Post count: 22

    Install Info:
    Current Theme: GDF Child Theme 1.0.0
    GeoDirectory Plugin 1.3.1
    WordPress 4.1

    When 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.

    #25328

    JSon
    Free User
    Post count: 22
    This reply has been marked as private.
    #25329

    Guust
    Moderator
    Post count: 29970

    Can 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/ ?

    #25381

    JSon
    Free User
    Post count: 22

    Hi @guust,

    I have already provides login creditial on second reply 😉

    I quess you were wrting the post while I writing the reply.

    #25405

    Guust
    Moderator
    Post count: 29970

    I 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.

    #25551

    JSon
    Free User
    Post count: 22

    Hi @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,
    JSon

    #25554

    Guust
    Moderator
    Post count: 29970

    I 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).

    #25668

    JSon
    Free User
    Post count: 22

    Hi @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();
    }
    }
    #25674

    JSon
    Free User
    Post count: 22

    Reupload error screenshots..

    #25676

    Guust
    Moderator
    Post count: 29970

    The 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.

    #25768

    Paolo
    Site Admin
    Post count: 31206

    Setting 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,

    #26186

    JSon
    Free User
    Post count: 22

    Thanks guys 🙂

    Now I can access BuddyPress Profile.

    Very much appreciate help from @guust and @paolo.

    I’m not sure how to mark this ticket as resolved. Don’t see anywhere to mark as resolved.

    #26198

    Guust
    Moderator
    Post count: 29970

    I set it to resolved.

Viewing 13 posts - 1 through 13 (of 13 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount