Well, the main problem here is that the event that gets fired when someone completes checkout takes the order and the user as arguments. The action for publishing a node requires a node object to be passed to it, so it's not available for the completed checkout event. With a little bit of code mojo you can create your own action that will find the referenced node and publish it.
Re: Purchase Right to Publish a Node
Purchase Right to Publish a Node (20 replies) Wed, 11/28/2007 - 19:02
- Re: Purchase Right to Publish a Node (06/08/2008 - 00:18)
- JuliaKM wrote:After a couple (02/27/2008 - 08:38)
- Re: Purchase Right to Publish a Node (12/05/2007 - 19:11)
- Re: Purchase Right to Publish a Node (11/29/2007 - 11:50)
- Re: Re: Purchase Right to Publish a Node (11/29/2007 - 12:32)
- Re: Purchase Right to Publish a Node (11/29/2007 - 10:25)
- Using Cart Links in Workflow-ng redirect action (12/03/2007 - 14:15)
- Nevermind (12/03/2007 - 18:53)
- Re: Nevermind (12/04/2007 - 01:46)
- Similar to Pay-per-node (12/05/2007 - 11:28)
- I have just put together a module for this (12/04/2007 - 04:00)
- Sounds great. (12/05/2007 - 14:25)
- Re: Sounds great. (12/05/2007 - 15:28)
- roles, etc. (12/05/2007 - 16:55)
- Re: roles, etc. (12/05/2007 - 17:15)
- Re: Re: roles, etc. (12/06/2007 - 13:43)
- Re: Re: Re: roles, etc. (12/06/2007 - 13:50)
- Re: Re: roles, etc. (12/06/2007 - 13:43)
- Re: roles, etc. (12/05/2007 - 17:15)
- roles, etc. (12/05/2007 - 16:55)
- Re: Sounds great. (12/05/2007 - 15:28)
- Re: I have just put together a module for this (12/04/2007 - 04:19)
- Moving discussion (12/07/2007 - 15:41)
- Sounds great. (12/05/2007 - 14:25)
- Re: Nevermind (12/04/2007 - 01:46)
- Nevermind (12/03/2007 - 18:53)
- Writing a custom argument (11/29/2007 - 12:45)
- Using Cart Links in Workflow-ng redirect action (12/03/2007 - 14:15)
|
|



Joined: 08/07/2007