Skip to:
Content
Pages
Categories
Search
Top
Bottom

Site Wide activity not recorded for new blog posts

  • @westpointer

    Participant

    Greetings – I updated to bp RC1 yesterday. Now, new blog posts are not showing on site wide activity. If I comment on the post, the comment shows in site wide activity. But, if I delete the comment, it is not deleted from site wide activity.

    Anyone else seeing this behavior?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @westpointer

    Participant

    well, a new post is now showing in the site wide feed but it’s got the wrong author. Plus, although the post was added minutes ago, the site wide feed has the post added over 6 days ago in the date_recorded field.

    @westpointer

    Participant

    with latest build new post not showing in site wide activity, although comments on it are.

    @westpointer

    Participant

    I posted this as a ticket (it is a bug) here: https://trac.buddypress.org/ticket/543

    The solution:

    OK, this is a confirmed bug. The post_date reflects the time zone set for the blog which is mountain time. I’m in the eastern time zone so my post was seen by this line of code as 2 hours old as soon as I added the post. We need to off-set for the time zone.

    REPLACE:

    if ( $recorded_post->date_created >= strtotime( "-30 minutes" ) )

    WITH

    if ( $recorded_post->date_created >= (current_time('timestamp') - 30) )

    that will fix the problem! (code in bp-blogs.php)

    @johnjamesjacoby

    Keymaster

    Wow way to track that one down, super sleuth!

    @burtadsit

    Participant

    westpointer, I turned the red light off on this one. You seemed to have solved this. Nice job.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Site Wide activity not recorded for new blog posts’ is closed to new replies.
Skip to toolbar