[BP 1.2 Upgrade] Recent site wide posts not updating

Hello all,

My team and I recently (February) installed BP 1.2, and we noticed that the "Recent Site Wide Posts" widget on all of our pages was no longer updating as it had been before the upgrade. We're unsure whether it is a problem with the widget, the template, or even with the way we installed the upgrade. Has anyone had similar problems, or found a solution to get the site wide posts updating? Any help or suggestions would be appreciated.

Thanks,
Nick

  • Aaron

    Most likely your DB structure didn't get updated for that table. Are you seeing any sql errors in your logs? I think the table changed in 1.2 from wp_bp_user_blogs_posts to the wp_bp_activity table. The items in there should have the type "new_blog_post".

    Verify that that tables structure matches this in phpmyadmin:
    id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,
    user_id bigint(20) NOT NULL,
    component varchar(75) NOT NULL,
    type varchar(75) NOT NULL,
    action text NOT NULL,
    content longtext NOT NULL,
    primary_link varchar(150) NOT NULL,
    item_id varchar(75) NOT NULL,
    secondary_item_id varchar(75) DEFAULT NULL,
    date_recorded datetime NOT NULL,
    hide_sitewide bool DEFAULT 0,
    mptt_left int(11) NOT NULL DEFAULT 0,
    mptt_right int(11) NOT NULL DEFAULT 0,
    KEY date_recorded (date_recorded),
    KEY user_id (user_id),
    KEY item_id (item_id),
    KEY secondary_item_id (secondary_item_id),
    KEY component (component),
    KEY type (type),
    KEY mptt_left (mptt_left),
    KEY mptt_right (mptt_right),
    KEY hide_sitewide (hide_sitewide)
    )

    Also, are you using multi-db?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.