Skip to:
Content
Pages
Categories
Search
Top
Bottom

Sitewide Activity Widget

  • Avatar of laloma
    laloma
    Participant

    @laloma

    Dear Sirs:

    We just upgrade to the Buddypress trunk 1836 and WPMU 2.8.4a. Everything is running perfect except Site Wide Activity Widget is not showing nothing.

    We search all forums and docs available without help. We look at DB and find Tables

    wp_bp_activity_sitewide, empty, we try to copy data from backup but after it was copied through SQL and we try to login as ADMIN on Buddypress installation, data is dissapear.

    wp_bp_activity_user_activity, empy, but allow us to copie data from backup

    wp_bp_activity_user_activity_cached, as all the previous data.

    Can somebody help us to correct the problem.

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    First of all, with the version of BuddyPress trunk that you have installed, you will now only have one activity table in your MySQL database. This table is wp_bp_activity_user_activity_cached.

    I know that based on the private message you sent me, you have read this thread which details why this is the case. So, unless you added those tables back to the DB, I am surprised that you even have the other two activity tables in your DB. If the BP upgrade was successful, it should have automatically removed those two tables.

    Trying to add those tables and their corresponding data back to the DB will do nothing. The BuddyPress codebase no longer references those other activity tables. They are no longer needed.

    As for the Site Wide Activity widget, make sure that you log into WPMU’s backend and go to “Appearances > Widgets” and remove the Site Wide Activity widget and then add it back. Also, your widget will not show any activity until someone does something that gets recorded into the wp_bp_activity_user_activity_cached table.

    Avatar of laloma
    laloma
    Participant

    @laloma

    Dear Mr. Sayre:

    Thanks for your help. We delete both not used DB tables. We hope from today on widget will show activity, however we woulk like to know how we can show old activity registered in the wp_bp_activity_user_activity_cached table until today.

    How long will this widget show a event ?

    Hope to hear from you soon.

    Regards,

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    @laloma

    Your old data should have remained in the wp_bp_activity_user_activity_cached table. If you performed some SQL queries on that table, you may have deleted the old data. Your only option then is to add the data back using another SQL query. You will need to compare the schema of the new table to the old one as several fields have been removed as they were no longer needed.

    How long will this widget show a event ?

    In WPMU’s backend, there is a setting for the widget that allows you to configure the maximum number of activity items to show. So there is no time limit on how long an event will be shown. If you’ve set the maximum number to 10, then the 10th item will not be displayed anymore as soon as the next, new activity gets recorded.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sitewide Activity Widget’ is closed to new replies.