• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Integration: Automatically creating forums via a URL

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am looking to integrate jForum with another web application. As users enter a topic into the other application, I would like that application to automatically insert the topic into jForum as a new forum.

One way in which we can do that would be to insert directly into jForums database. However, it would be simpler if we could simply execute a servlet to do the addition from the other application: e.g. /jforumjforum/jforum.page?module=forum&action=new&forum_name=TheName&moderate=0&categories_id=1&description=test&groupsAccess=&groupsAnonymous=&groupsReadOnly=&groupsHtml=&userid=Admin&password=Admin
..or something similar to the like.

Has anyone tried to do this? If so, what would be the appropriate query string?

Thanks!


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The action is "insertSave" and the module is "adminForums". Take a look in the "Create new forum" form, in the Admin Panel.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I use the following url:

/jforum/jforum.page?module=adminForums&action=insertSave&forum_name=TheName&moderate=0&categories_id=1&description=test&groups=&username=Admin&password=admin&groups=1&groups=2

it works like a charm.
Thanks!


[originally posted on jforum.net by lacombc]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everybody,

I have the same issue! The solution seemed to be here, but it didn't work! I use Version 2.1.7, but when i use this URL the login site occurs. Are there any changes in module names or something!? Any ideas!?

Joerg
[originally posted on jforum.net by joerg]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic