It looks like you're new here. If you want to get involved, click one of these buttons!
Hi! We've included Vanilla forum on our site and we're using single-sign-on, so when they log in to our site they're also logged in to the forum.
We have a contact form on the site (outside the forum) and would like to give the option to post to the forum whatever they've entered in the input box, as a new discussion in a certain category. What would be the best way to do this?
We've tried inserting the message directly to the DB, but the new discussions are always shown below all the ones that were manually inserted by users themselves. And we're not sure if there could be other issues with this.
There's also the option of using DiscussionModel, etc. But how do we go about using the model from some other page in the site?
Any guidance is appreciated.