Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorsubterrane
    • CommentTimeAug 4th 2005
     # 1
    Everyone will probably yell EXTENSION!, but is there a way to create a new discussion programatically (easily)?

    Someone mentioned that they use Vanilla as a Blog comment system. This is simply brilliant. I'd love to be able to include a php file and call a function that takes a few paramaters (title, date?, blog body? (summary?)) and spits back the URL of the discussion that was created with the same title (or Title [comments] or something to tag it as "related to some other thing on the site"). That way, this could be included at the bottom of a blog entry.

    Really smart functions might also take the permanent URL of the blog entry and stuff that in the discussion body to link back to the blog.

    Taking it REEEEEEEEEEELY far, some freak of nature might use an API to build a completely different UI, say a native application that interacts with Vanilla like webservice. Freaky.
    •  
      CommentAuthorlech
    • CommentTimeAug 4th 2005
     # 2
    From the progress I have seen so far, vanilla isn't too far away from becoming it's own self-sustained API. In the foreseeable future, I can see the Vanilla we're using right now as a forum as an extension itself totally seperate with other extensions working inline with it. It's fair to say I've been looking over the source briefly and thinking this exact same thing, subterrane.

    If there's a way to strip the forum meat off of the framework backbone it might be totally possible to do what you're asking for.
    •  
      CommentAuthororangeguru
    • CommentTimeAug 4th 2005 edited
     # 3
    I would pay some real money to have a WordPress / Vanilla plugin combo! Post in WordPress - discuss in Vanilla. Sweet!
    • CommentAuthorreece
    • CommentTimeAug 4th 2005
     # 4
    I absolutely must second orangeguru's view. A WordPress / Vanilla combo would be absolutely awesome.
    •  
      CommentAuthorsauceruney
    • CommentTimeAug 4th 2005
     # 5
    gimme

    me want

    API good
    •  
      CommentAuthorsubterrane
    • CommentTimeAug 5th 2005
     # 6
    Hm...this is fun.

    I made a page with just this in it:

    <html>
    <body>
    <form name="frmPostDiscussion" method="post" action="http://www.ohhello.org/post.php">

    <input type="hidden" name="DiscussionID" value="0" />
    <input type="hidden" name="CommentID" value="0" />
    <input type="hidden" name="UserDiscussionCount" value="0" />
    <input type="hidden" name="PostBackAction" value="SaveDiscussion" />
    <input type="hidden" name="CategoryID" value="10" />
    <input type="hidden" name="FormatType" value="Text"/>

    <input type="text" name="Name" maxlength="100" value="topic" /><br />
    <textarea name="Body" id="CommentBox">body</textarea><br />
    <input type="submit" name="btnSave" value="Submit" />
    </form>

    </body>
    </html>

    It actually worked. Probably because it was in my browser and the session was still active. Dunno how this would work from another script.
Add your comments
    Username Password
  • Format comments as