Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Getting Custom Post Types to Record Activity (5 posts)

Started 1 year, 4 months ago by: Suzanne

  • Profile picture of Suzanne Suzanne said 1 year, 4 months ago:

    Do any of you wizards have an idea about how to get custom post type entries to register a new BP activity entry? I created a “Notes” feature for the members nav (members can write little notes, like a mini-blog) and I used a custom post type for this to keep their notes out of the main blog. But whenever a note is published, no record of it is being created in the activity table. I’m not sure how to make it do that either.

  • Profile picture of Paul Gibbs Paul Gibbs said 1 year, 4 months ago:

    Here’s an example that @boonebgorges recently provided for someone else with a similar question; http://pastebin.com/kNqTrRzc

  • Profile picture of Suzanne Suzanne said 1 year, 4 months ago:

    Wow that’s exactly what I need. That much I know. So (following the skeleton plug-in) would I drop that into (say) a classes.php file and the required it in the core.php file? Is that enough to make it fire when a new custom type is created?

  • Profile picture of Suzanne Suzanne said 1 year, 4 months ago:

    Lord, my typing :-/ I meant to say

    …drop that into (say) a classes.php file and then require it in the core.php file…

  • Profile picture of Suzanne Suzanne said 1 year, 4 months ago:

    Ooops nevermind I got it working. Thanks again Paul