Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

New WordPress post creates forum thread

edited September 2010 in Vanilla 2.0 - 2.8
It's been asked a bunch of times years ago. Now Vanilla integrates with WordPress smoothly using ProxyConnect, how difficult would it be to have a new thread created for each post on WordPress - thus using Vanilla as the comment system for WordPress?


  • Options
    RaizeRaize vancouver ✭✭
    edited September 2010
    Right now the easiest way to do this is by using Tim's Auto Feed Discussions plugin.

    The problem is that the comments on the blog side aren't connected to the posts on the Vanilla side. So I guess that's what needs to be done... Wordpress and Vanilla need to share the same database for comments and posts, and it needs to happen through some php magic lol. Final piece of the puzzle left.

    Even better, I think, would be a good Blog application that way the blogging functionality of Vanilla stays in house and more "integrated" with the overall Garden experience.
  • Options
    Personally I think we should let the forums be the forums, and the blogs be the blogs, and instead devote time to harmonising great products.

    Of course, there'll always be users who want Vanilla to have a blogging system, and WordPress to have a forum system.

    For the project that I'm working on - I just want threads to be created for posts. WordPress comments are disabled.

    Thanks for your link though - think that's going to do what I'm after :)
  • Options
    LincLinc Detroit Admin
    edited September 2010
    It doesn't exist (yet) but this is relatively straight-forward to do with a Wordpress plugin.

    1. Add a DiscussionID to the wp_posts table (on install)
    2. On 'publish' event, if no DiscussionID is set, manually insert a Discussion into the database and put its DiscussionID in the post's record.
    3. On article view, grab the discussion as an array of Comment objects. Use the comments.php template in your theme to loop thru each comment and display it.
    4. On post comment, copy the new Wordpress comment into the appropriate Vanilla Discussion.

    That's 95% of it handled with 3 hooks.

    Doing it by RSS could create lag between publication and creation of the discussion.
  • Options
    wordpress has a forum system, bbpress

    vanilla needs a blogging system. I frown when i read the v2 blog due to the fact that its using wordpress instead of a vanilla alternative.

    If wordpress integration is a highly sought after request, which it is, wouldn't It would make more sense to develop a blogging alternative to prevent the inevitable donut holes. Integration would be much easier anyways. :)

    having to keep up with wordpress updates to ensure proxy connect/single signon stays functional .. bleh

  • Options
    TimTim Operations Vanilla Staff
    Our view on this is really simple and pragmatic:

    We really really want to do forums and we want to do them well. Wordpress is a blog, and they do that well. If we focus on our product, and they focus on theirs, the end result is 2 amazing pieces of software.

    If Vanilla Core wrote a blog, we'd have another application to write, debug and support. Our core forum product would suffer. If Wordpress Core wrote a forum, they would have the exact same problem. The end result would be 4 average piece of software (2 blogs and 2 forums).


    Vanilla Forums COO [GitHub, Twitter,]

  • Options

    stumbled across this post while searching google... I realize it's almost 2 years old now, but any answers to this... a point in the right direction would be great, thanks!

Sign In or Register to comment.