WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Activity Plus
not loading on home page (3 posts)

  1. ptitneo
    Member
    Posted 2 years ago #

    Hello,

    I'm on latest stable BP and just upgraded your plugin which had some issues with uploading stuff on my install.

    Good news is that the upload part works better now (thanks), bad news is that the plugin does not seem to load on the home page anymore (home page is same as /activity on my setup). All groups, profile pages and /activity url work though. It's just the home page in which nothing is loaded, not even the thickbox plugin.

    Any hint ?

    Thanks
    Tom

    http://wordpress.org/extend/plugins/buddypress-activity-plus/

  2. Brendavo
    Member
    Posted 2 years ago #

    BUMP...

    I have the same issue, plugin loads on every page except starting page ( homepage ) which is set up like main activity page.
    thickbox also does not work for homepage.

    Any ideas how to fix this?

  3. jshoor
    Member
    Posted 2 years ago #

    I believe that it is failing to load because of the line 282 in class_bpfb_binder.php:_add_js_css_hooks:
    // Load the scripts when Activity page is the Home page
    (defined('BP_ACTIVITY_SLUG') && 'page' == get_option('show_on_front') && is_front_page() && BP_ACTIVITY_SLUG == get_option('page_on_front'))

    The function is_front_page() returns false even though the activity page is configured to be the front page. Removing that condition allows activity plus to show up on the page, although Im not sure if that would break anything else, and Im not sure why is_front_page() is returning false in the first place.

    I saw some posts that suggested inserting wp_reset_query() before the call to is_front_page(), but I tried this and it did not seem to help.

    Thanks,
    J

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic