Closed (fixed)
Project:
Drupal core
Version:
5.1
Component:
forum.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 May 2007 at 18:14 UTC
Updated:
19 Feb 2008 at 23:51 UTC
I am trying to create forums as a result of a node being added. These additions happen from within a user action. However, I am struggling to find an API for forum creation. Is forum_submit the best point?
Any suggestions are greatly appreciated.
Comments
Comment #1
regli commentedI found a thread that addresses the issue:
http://drupal.org/node/64520
Comment #2
regli commentedThe code presented in that other post does not establish a forum but creates a forum topic. Forums are established via Taxonomy and only topic are nodes.
Here is some code that establishes a new forum. Hope it helps somebody down the line.
Comment #3
liam mcdermott commentedMarking as fixed. Thanks for posting the answer, it may well help someone else later!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.