This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Creating a new forum programmatically

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
What's that smell? Hey, sniff this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic