Automatic discussion creation based on wordpress posts.
Is there any way to make Vanilla create a Thread/discussion for each post created on a wp-blog linked to it with proxyconnect? if possible is there any way to create that threads on the same categories of the wp post?
1
Comments
- Add a DiscussionID column to the wp_posts table
- Write a Wordpress plugin that hooks in at publish_post and checks if the post has a discussion ID. If not, create a discussion and insert its ID in the post table.
- The same Wordpress plugin should also hook at comment_post and copy the comment made to the discussion.
- Lastly, the Wordpress plugin should have a function that gets Vanilla comments by DiscussionID. You call this in the Wordpress template (functions.php) and then in the comments.php template file you loop thru these comments instead of Wordpress's.
Simple, right?