Is it possible to insert discussion topics from the outside of vanilla?

edited August 2008 in Vanilla 1.0 Help
Hello vanillians, I want to create about 1000 discussion topics in my forum. I have all the topics in a text file and I have some java knowledge. Is it possible for me to insert these discussion topics directly to tha database? If so, where and what should I insert in the database. thanx for ur answers.

Comments

  • write a script in php to fetch the Discussion data and give it to the DiscussionManager to store it properly on the DB (it has a SaveDiscussion function ready for it)

    if you look at the source of the DiscussionManager & Discussion classes you'll see what do you need.

    also pay attention at the user posting restrictions on the forum (the anti-spam system)
This discussion has been closed.