GeoDirectory Buddypress Integration Addon Beta released

This topic contains 38 replies, has 10 voices, and was last updated by  Paolo 9 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #32625

    jjruizrivera
    Free User
    Post count: 153

    Hi Paolo

    This one works when I click on login but after it does not allow me to log out. I click on log out but it does nothing…

    #32630

    Paolo
    Site Admin
    Post count: 31206

    ok, try this:

    
    
    add_action('init','wplogin_redirect');
    
    function wplogin_redirect(){
     global $pagenow;
     if( 'wp-login.php' == $pagenow && $_GET['action']!="logout") {
    wp_redirect( home_url( '/?geodir_signup=true') );
      exit();
     }
    }
    #32634

    jjruizrivera
    Free User
    Post count: 153

    Nice one!!! Now it works. Thank you very much again!

    Also I tried the author link in your buddypress plugin and it works. Kudos

    #32826

    celticdancer
    Full Member
    Post count: 8

    Is there a way to change the permalinks of the ‘author’ for blogs and listings so they would link to the BuddyPress profile instead of the author page?

    #32827

    celticdancer
    Full Member
    Post count: 8

    Just to clarify. I have set up the BuddyPress integration settings. They don’t seem to respond. Also none of the listings have a visible author to begin with.

    #32918

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    that settings only affect listings and the author is shown only with the claim listing addon for business owners. For the blog or any other instances you can use a ph snippet like this in your theme functions.php

    https://gist.github.com/j4ckielord/9064099

    Thanks

    #33092

    celticdancer
    Full Member
    Post count: 8

    Thanks a million Paolo for the code snippet! Very much appreciated.

    #33093

    Paolo
    Site Admin
    Post count: 31206

    my pleasure 🙂

    #33148

    Paolo
    Site Admin
    Post count: 31206

    GeoDirectory Buddypress integration addon is now officially released.

    I’m unsticking this.

    Please open new topics if needed.

    Thank you

Viewing 9 posts - 31 through 39 (of 39 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