A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Products
»
JForum
Author
Creating a new forum programmatically
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
posted
Jul 05, 2009 22:40:52
0
Hello
I'm having some trouble getting JForum to create a forum when called from another application. From what I can see everything is fine and the HTTPRequest
string
I build up is like this:
http://localhost:8080/jforum-2.1.8/jforum.page?module=adminForums&action=insertSave&categories_id=1&forum_name=testForumName&forum_desc=testForumDesc&forum_topics=0&forum_last_post_id=0&moderated=1&groups=2
The fields included above represent the not null ones in table jforum_forums in the database. And from what I can tell, this should be enough.
Yet nothing gets created.
I am also logged in as admin as I believe this has to be the case for creating forums anyway.
Can anyone tell me whre I'm wrong?
Thanks
Martin O'Shea.
[originally posted on jforum.net by MartinOShea]
I agree. Here's the link:
http://aspose.com/file-tools
subject: Creating a new forum programmatically
Similar Threads
Install Issue
user login
Batch Forum Creation
All New Soft: JForum 2.1.7 with MySQL 5.0.22
[bugs?] Rankings, PMs, Last Post, Unread - Can anyone help?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter