WordPress.org

Support

Support » Plugins and Hacks » BuddyPress Activity Plus » [Plugin: BuddyPress Activity Plus] not loading on home page

[Plugin: BuddyPress Activity Plus] not loading on home page

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Brendavo

    @successful-life

    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?

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: BuddyPress Activity Plus] not loading on home page’ is closed to new replies.
Skip to toolbar