Can I trigger an action in workflow to automatically create a forum using discussthis?

SocialNicheGuru - September 14, 2009 - 18:36
Project:Discuss This!
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I am trying to figure out if this can be automatically invoked using workflow.

Right now we have comments, and forums. I would just rather centralize everything under forums.

Thanks,
Chris

#1

AlexisWilke - September 14, 2009 - 18:58

At this time, Discuss This! requires you to select one forum where discussion posts will be created. You can select a different forum for each different node type (see in /admin/settings/discussthis).

Are you thinking that each time a Discuss This! is used a new forum should be created?

Thank you.
Alexis Wilke

#2

SocialNicheGuru - September 14, 2009 - 23:38

I have a discuss this forum for an event.

all event forum topics are placed in the same forum.

I would like it so that each time an event of a certain type is created, the forum is also automatically created.

Chris

#3

AlexisWilke - September 15, 2009 - 00:51

Chris,

I see! You want to use the Rules module. That can detect new nodes appearing and run corresponding actions. This a new event could auto-generate a forum.

Although Discuss This! could do it too, I'm not sure that's such a widespread need, Actually, I'm looking into avoiding the forum post from being created if you just click on the link.

Do you think Rules would be enough for you?

Thank you.
Alexis Wilke

#4

SocialNicheGuru - September 18, 2009 - 16:09

I think rules is just fine.

no need to re-create the wheel.

Could you add this as an action?

Chris

#5

AlexisWilke - September 18, 2009 - 18:04

Chris,

> I would like it so that each time an event of a certain type is created, the forum is also automatically created.

When you say "event", do you mean a node (of type event)?

If so, then you just use the "New node" trigger in the Rules menu. As far as I know, you get the signal already.

Let me know if that does not work.

Thank you.
Alexis Wilke

#6

SocialNicheGuru - September 18, 2009 - 18:14

wait. where is the "create forum through discussthis" action or is it "create forum" action?

is there a node relation setup that I can reference somehow?

#7

AlexisWilke - September 18, 2009 - 19:35

The rules can be used to create a node as well. Maybe we'd need something specific so it works with Discuss This! if the content of the node cannot be set to the teaser of the event being created. But I think you have everything in the stock version of Rules.

Did you try to get it to work? 8-)

#8

AlexisWilke - October 27, 2009 - 10:01
Status:active» fixed

Marking as fixed since there was no activity for over 1 month.

#9

System Message - November 10, 2009 - 10:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.