I am trying to create automatic creation of Forums.
New forum should be created automatically by my application.
I got connection to jForum's MySQL DB and I am trying to create/add new forums into jforum_forums table (also I tried to perform queries directly from MySQL client). There are no effect.
jForum's web UI still show an older list of forums, without created one.
Can you please provide me some suggestion?
Thank you. [originally posted on jforum.net by krampfmann]
I'm no expert in it - monroe or raphael may tell more details from the scratch, but as far as I know this has to do with the caching mechanisms.
JForum doesnt reload databasecontent regularly but only on demand. Until then it will always show the same list of forums. I'd have a look at the code where it gets to "create new forum"... and see which methods are being called that are updating the cache of forums.
Not sure if there's also some setting in the admin panel that would prevent caching of certain features ... [originally posted on jforum.net by Sid]
FWIW, the caching system is best left on for performance reasons.. plus I don't think that all the turn on/off options have been fully tested (and in some cased not implimented).
The best way to automatically do things with jForum is via something that interacts with the jForum admin forms. E.g., simulate the post action with the data expected to be supplied by that displayed admin form.
See my bookmarks for some postings on using the HTTPClient for this. Also search the forums since I know there are some others discussions out there. [originally posted on jforum.net by monroe]