Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @ryanrain

    Participant

    bp_get_last_activity() prints the time of the last activity, not the actual activity. hence the contradiction: the user sees that something happened recently, but can’t see what that something was. thanks rene

    @ryanrain

    Participant

    Thanks @wordpressrene, I’m having a closely related issue. WP 4.6.1, BP 2.7.2.

    Just to restate the issue for clarity, my client brought to my attention what she considers to be a bug: in places such as the members listing and individual profiles, no recent update is shown for some members who *have* been active.

    looking around in the code, it appears that the bp_member_latest_update() function seems to not include forum replies or activity comments, just updates.

    HOWEVER, the bp_member_last_active() function DOES include activity comments in its calculation of how much time has passed since the user interacted with the site. One sees that a person was active, but for some mysterious reason that activity isn’t shown. My personal opinion is that all activity, including activity comments, should be included in bp_member_latest_update() by default, but my guess is that this is by design.

    Any advice as to how to print out a user’s most recent activity regardless of its type? Can anyone point me in the right direction? Thanks everyone!

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar