I want to have a job running in my system that automatically posts new topics into JForum, based on certain events.
It doesn't appear that JForum was really designed for headless operation. I was wondering if anyone out there has done tis before, and if so, how. Was it just JDBC? Is there something more fancy I should try. Any pointers would be greatly appreciated.
Thanks in advance,
Joe [originally posted on jforum.net by Mojo]
edit: Ok I'm switching gears a bit. After some thought over night, what I really would like to do is post a message automatically and then (important piece) get the id of that new posting so I can store it in my database.
What's the easiest way to accomplish this?
Well I'm talking about pre-populating the form, so changing from post to get won't change this.
Sorry not sure I was clear in the previous post [originally posted on jforum.net by conquest]
I know this is an old thread, but I wanted to find out if the API was still under development to expose this functionality. For the OP, I am doing something similar, in posting foreign-data into one of my forums programmatically. The algorithm I used was as follows:
1) create a topic, and save it
2) create a post and save it
3) associate this post id as the first post in the topic, then update the topic
4) use the TopicRepository to update the topic cache
5) assumably, you would update the forum cache through the ForumRepository, but I'm having trouble doing this correctly atm [originally posted on jforum.net by uniq]