WordPress.org

Support

Support » Plugins and Hacks » SimpleModal Login » SimpleModal Login Not working with Buddypress

SimpleModal Login Not working with Buddypress

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Eric Martin

    @emartin24

    Chris, I haven’t used BuddyPress, so I’m not sure what the issue is.

    I’ll try to investigate soon, but am pretty short on free time right now.

    If you are able to find anything out, let me know.

    Thanks,
    Eric

    Well the only thing I can think of may be this.

    Buddypress has its whole huge library of files. Some of them replace the wordpress default ones.

    This is what I do know, when I try to use your plugin with a regular wordpress site, it works great. On a buddypress enabled site it redirects to the wordpress login.

    What files of wordpress’s does SimpleModal Login change?

    Plugin Author Eric Martin

    @emartin24

    So, I downloaded the BuddyPress plugin and was able to get SimpleModal Login working.

    I opened plugins/buddypress/bp-core/bp-core-adminbar.php and changed:

    echo '<li class="bp-login no-arrow"><a href="' . $bp->root_domain . '/wp-login.php?redirect_to=' . urlencode( $bp->root_domain ) . '">' . __( 'Log In', 'buddypress' ) . '</a></li>';

    To:
    echo '<li class="bp-login no-arrow"><a class="simplemodal-login" href="' . $bp->root_domain . '/wp-login.php?redirect_to=' . urlencode( $bp->root_domain ) . '">' . __( 'Log In', 'buddypress' ) . '</a></li>';

    If that doesn’t work for you, let me know.

    Plugin Author Eric Martin

    @emartin24

    Chris, can you please let me know if my suggestion worked or not and mark the topic resolved if it did.

    Thanks,
    Eric

    Hello Eric,
    I’m new to buddypress too but what I gatherd from online information – it is recommended to create new file bp-custom.php and then add any new features in that file rather than modifying bp-core files.
    Your plugin is really good. But I would like to know if you are going to make it work with Buddypress in near future? ie., adding all fields that are in Buddypress registration to your SimpleModal? That would be really helpful.
    By the way your blog theme is very impressive.

    Plugin Author Eric Martin

    @emartin24

    Thanks TG16.

    I think integration with BuddyPress would be nice, but I haven’t had the time to evaluate the feasibility and time required to make that happen.

    I’ll keep it in mind when I find some time though.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘SimpleModal Login Not working with Buddypress’ is closed to new replies.
Skip to toolbar