Skip to:
Content
Pages
Categories
Search
Top
Bottom

Create activity records for old blog posts


  • nkeatign
    Participant

    @nkeatign

    Im importing a previous WP site into buddypress with about 2000 posts from several hundred authors.

    However, they old blog posts are not showing up on each users profiles. After some investigation, I’ve realized that the profiles only show items for which have ‘activity records’ which are only created when new post are published.

    Does anyone have a function that loops through old posts and generates activity records? I found this, but after trying to modify it for a few hours it still doesnt work: https://wordpress.org/plugins/bp-import-blog-activity/

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

  • Henry Wright
    Moderator

    @henrywright

    Does anyone have a function that loops through old posts and generates activity records?

    What do you mean by an activity record? Do you mean any kind of activity? Like let’s say, a change of profile photo


    nkeatign
    Participant

    @nkeatign

    No — so basically I have a site with say 5000 Posts from a bunch of different authors.

    Ive added Buddypress to the site and we only have/need our profile pages to show the users posts, this is working fine for anytime an author publishes a new post, because an activity record is created.

    However, the old posts (published prior to buddypress being installed) do not show because there are no activity records, correct?

    How do I create activity records for all the old posts, so the user has a complete profile?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create activity records for old blog posts’ is closed to new replies.
Skip to toolbar