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.

Add discussions from server command line?

edited May 2012 in Vanilla 2.0 - 2.8

Can you create new discussions in a forum from the server command line?

I run an educational forum for discussion about exercises posted online. I have a system set up to post new exercises as HTML files to the server. I would like to automatically include a link saying "Discuss this problem in the forum" that links to a new Vanilla discussion specifically about the problem.

I'm hoping there is a simple way to create a new discussion with a given title from the server's command line. Maybe a mysql command directly to the database?

My exercise publishing script could run the command on the server to create a new discussion for each new exercise, then include the link to that particular discussion on the exercise page.

Is this possible? Any ideas?

Answers

Sign In or Register to comment.