GeoDirectory Buddypress Integration Addon Beta released

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

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

Open Support Ticket
  • Author
    Posts
  • #31176

    justmark
    Full Member
    Post count: 375

    Question: If a theme like SKY Listings works with GD but does not specify it is BP compatible, does that mean that the BP plugin with GD won’t work with that theme?

    #31183

    Paolo
    Site Admin
    Post count: 31206

    Buddypress will work with any theme, just like GD or WooCommerce, however if the theme doesn’t include buddypress files, it will use the default one and the layout will look totally messed up.

    Thanks

    #31253

    justmark
    Full Member
    Post count: 375

    Thanks Paolo.

    #32227

    TØm Babwá
    Buyer
    Post count: 42

    It’s just a awesome news ! I am such a fan about buddypress and I think that’s opened nice perspective for GD.

    Thanks for this release.

    #32461

    jjruizrivera
    Free User
    Post count: 153

    On the Main menu I am using the buddypress registering and login links so if I click on registering I get the buddypress login page but when I click on login I get the wordpress login page (screenshot below) Does geodirectory have a custom login page???

    One more question ,how long is going to take for the next release. Actually I am looking for the author link to point to the BP page rather than the author page????

    Thanks in advance

    #32479

    Guust
    Moderator
    Post count: 29970

    @jjruizrivera
    You can only use one user system at the same time, so your login page is controlled by BuddyPress if you use that system.
    You can modify the WP login page, or look for a plugin like https://wordpress.org/plugins/custom-login/

    #32580

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    actually that is not correct.

    GD login page remain usable. Buddypress doesn’t provide a login page, just a register page.

    http://dropct.com/enfold/?geodir_signup=true

    You can use Guust’s function to redirect the login and redirect wp-login.php that buddyrpess uses to the ?geodir_signup=true page.

    Thanks

    #32594

    jjruizrivera
    Free User
    Post count: 153

    Hi

    So ,do I have to install a plugin or just modify the wp-login.php? Any specific line?

    Regards

    #32599

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    try this in your theme functions.php file:

    
    
    function gd_redirect_login()
    {
    wp_redirect( home_url( '/?geodir_signup=true) );
    exit(); 
    }
    add_action( 'login_form_login', 'gd_redirect_login' );
    

    Let us know,

    Thx

    #32609

    jjruizrivera
    Free User
    Post count: 153

    I am using enfold theme and if I add the above code at the end of functions.php file ,then I can not see my site anymore I just get a blank page??? any advise?

    #32611

    Paolo
    Site Admin
    Post count: 31206

    make sure it is before the ending php tag. ?>

    Or check your server error log and let us know what kind of error you are getting.

    Thx

    #32615

    jjruizrivera
    Free User
    Post count: 153

    I have put it now at the top of the file right after <?php but still I do not see anything other than a blank page. Find file attached below

    #32617

    Paolo
    Site Admin
    Post count: 31206

    hi,

    you can’t attach a php file, please zip it 1st.

    Thx

    #32619

    jjruizrivera
    Free User
    Post count: 153

    Done. Sorry about all the hassle

    #32621

    Paolo
    Site Admin
    Post count: 31206

    While that one should work, cause I use it in one of my sites, you can try this instead:

    
    
    add_action('init','wplogin_redirect');
    
    function wplogin_redirect(){
     global $pagenow;
     if( 'wp-login.php' == $pagenow ) {
      wp_redirect('/?geodir_signup=true');
      exit();
     }
    }
    

    I used this function here: http://dropct.com/enfold/wp-login.php and it works.

    Thx

Viewing 15 posts - 16 through 30 (of 39 total)

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

Open Support Ticket