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.

When will vanilla allow us to create discussions via the API?

This would be really helpful when integrating with external applications, or importing from other forums.

Comments

  • There is a json plugin, but it is poorly documented. I too am really looking for this.
  • edited January 2011
    I was thinking we might have to to resort to plain old MySQL and hit the database directly. Many thanks to the Vanilla team for keeping the Schema a *lot* simpler than some other forums!

    Since we're working with .NET I thought we might expose the database via OData (using the the ADO.NET Entity Framework [1] and WCF Data Services [2].
  • For importing, there's a very nice generic exporter than can be tailored to individual forums.

    I agree that an API for creating discussions would be rad but I don't think it's on the front burner yet.
  • edited January 2011
    Excellent! Where can I find that?

    I saw the Vanilla Porter (http://vanillaforums.org/addon/porter-core) but what you mention sounds like would be very helpful when pulling forum data from another schema (such as IPB).

    I also wondered whether there is any facility for importing from a hosted Vanilla to a self-hosted Vanilla (and vice versa)
  • Vanilla Porter is it :) Check it out on GitHub and you may get a clearer picture of how it works: https://github.com/lincolnwebs/VanillaPorter The one you download from your link is the "built" version that just mashes everything into 1 file for portability so it looks more complicated than it is.

    For each new schema, all you need to do is make class that extends the main exporter and match up fields.
Sign In or Register to comment.