This is a follow-up to the post Purchase Right to Publish a Node.
GileS was nice enough to send me his module uc_nodetype, which allows users to create nodes at checkout and then stores each node as a serialized array. When an order is completed, the node is created. This functionality is similar to e-commerce's pay-per-node.
I'd like to work on finding and fixing some of the module's bugs and then get it posted in the contrib section of the site.
One bug that I'm having some trouble solving is getting the node body field to save. I'm finding that when I complete an order, the title and any CCK info saves from the array in the database to the new node. However, the body field does not transfer even though it is being saved in the database array. This issue can be easily overcome by not using the body field and instead using a cck field. But, it seems like something that should be fixed before posting the module in contrib.
I will post additional bugs as I find them. The uc_nodetype module is attached below.
| Attachment | Size |
|---|---|
| uc_nodetype.zip | 13.41 KB |




I'm looking forward to using Ubercart in the future.


I'm glad you were able to figure this out, and I hope the Views don't give you much headache. They should be at least as simple as anything you posted above, likely easier.

Joined: 11/28/2007