Okay, i had the idea to sell banner or textads with ubercart.
here is a very raw plot how to get it done. Love to see you suggestions and improvements.
- Drupal Project Advertisement handles all the ad display and created a new content type ads (http://drupal.org/project/ad)
- create two new roles "adcustomer_full" and "adcustomer_limit". The reason to do it is to toggle the user permission when an advertising has been created. that will prevent the user to set up more than the one banner he paid for. so once he created content, he will change role to "adcustomer_limit", so he can only edit. would be possible the give full rights back in case he deletes the ad. up to configuration.
- create product "ad placement", configure to change role of buyer to "adcustomer_full"
- change user permission on payment to "adcustomer_full" to be able to create and edit content type ads
- workflow_ng: Add a new rule configuration "adcustomer_downgrade"// Invoked on event: Content has been created // conditions: Content has type: advertisement // user has role: "adcustomer_full" // actions: Remove user role: "adcustomer_full", add user role: "adcustomer_limit"
That way a customer can only set up one banner at a time. disadvantage: even when he buys more than one banner at a time he can only set up one.
Anyway, just a raw idea i wanted to write down before hit the sack.
