Re: Adding custom post types in the activity stream – need php help
I don’t mean to be a pain but this is a shocking example of a thread being hijacked. Where are the moderators on this? Some of the responses are from long time members who should know better too. The forums here are bad enough as it is without allowing threads to go off topic like this.
Anyway to get this back ‘on topic’…
There do not seem to be any clean and current examples for custom post types generating a custom message.
Seeing as CPT’s are so popular these days this would seem like a very cool piece of code to have.
A single snippet that would allow you to…
1) turn on activity stream messages from a custom post type
2) turn on the commenting for that custom post type to appear in the activity stream (BTW: this doesn’t seem to work in the current release at all)
3) set the custom activity stream message template for that post type
4) be able to do it for more than one post type elegantly
Has anyone got the guts of a function pulled together for the above? (1&2 are simple enough – I have posted a code snippet in another thread – but like I said above commenting doesn’t seem to work can anyone else confirm this and I’ll raise a ticket?)