Skip to:
Content
Pages
Categories
Search
Top
Bottom

sitewide activity validation error

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of wolfspirittt
    wolfspirittt
    Participant

    @wolfspirittt

    I had this problem too and it was very frustrating. The main pubDate was fine as it was just the last updated time, but the pubDate for each post was not in the correct format. I found a fix for this. It’s a hack to the buddypress code so I’ll give you all of the standard “enter at your own risk” warnings but at least until the buddypress team fixes this, this should solve your problem.

    edit the following file and add the following lines (make sure you comment out the line I mention as well):

    /wp-content/plugins/buddypress/bp-activity/bp-activity-templatetags.php

    $formated_recorded_date = strtotime($activities_template->activity->date_recorded);

    $formated_recorded_date = date (‘D, d M Y H:i:s T’, $formated_recorded_date );

    return apply_filters( ‘bp_get_activity_feed_item_date’, $formated_recorded_date );

    //return apply_filters( ‘bp_get_activity_feed_item_date’, $activities_template->activity->date_recorded );

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    Can one of you post a ticket in trac about this with a patch please? You seem to have found a solution. Same login as here.

    http://trac.buddypress.org/newticket

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

The topic ‘sitewide activity validation error’ is closed to new replies.