By streever on
Hi folks,
we have a directory set up (paid and free listings), using Ubercart to let people buy roles, which then give them permission to create a listing.
Some users want to be able to list multiple listings. We'd like to set it up so that users can only create x number of listings when they sign up, with the option to upgrade.
I'm not sure how to even begin limiting the number of nodes someone can create, though. Can anyone out there give me any pointers?
Also, does anyone have a link to a demo of a working paid listing site that I can look at to see how others have done things?
Many thanks.
Comments
I have no idea how to limit
I have no idea how to limit the number of listings per user.
I have two sites that have different types of listing which are linked below.
My main advice would be this... directory sites are everywhere and many of them are thinly populated (like the second one in my links). Unless you have a robust business plan and a unique offering, you will find it hard to get customers. In my experience, getting customers takes at least twice the work of actually setting up the site. You need people on the phone to potential customers all the time to generate a critical mass before the directory becomes useful and so generates its own momentum. If you don't have this part covered, all the work setting up the site will be wasted.
Having said that here are the links
www.wwoof.ie - possibly not the type of directory you are planning - but the concept is similar - you won't be able to see much as a non-subscribed member. It works with roles, permissions and content-profile.
www.westcorkgreendirectory.com - probably more of a 'directory' directory - it's not paid for but it could be as it works with roles. The listings are all done with taxonomy.
Thanks
Man, why do I always get a whole bunch of advice on directory sites :D?
Don't worry. It is a very robust business plan for our store/market business. The vendor directory is a small add-on. We have a CEO, investors, etc., so never fear.
Thank you for the links--I'll take a peek.
I'd prefer to see more of a demo/write-up on how people built their directories as well--does anyone have links to anything like that?
I provide free Drupal support on Thursdays: booking calendar coming soon.
Apologies for the rant about
Apologies for the rant about directories!
I think that you can use
I think that you can use "rules" module to remove a user from a role when he post a content-type-X node.
Or you can use rules, userpoints and ubercart to do all.
With ubercart an user buys the "userpoints" and when he/she write a post some points are subtracted from the total.
Read this: http://www.gizra.com/content/user-points-rules-style
M.
Freelancer Senior Drupal Developer -- http://www.ziobuddalabs.it
Great!
That is GREAT advice. Thank you!
We ended up going a different route.
Using Conditional Actions in UC, we create the node & assign them a role (using role assign), and leave the node unpublished. They can then EDIT the node, but they do not have permission to create a node: so, we don't have to worry about limiting them.
I provide free Drupal support on Thursdays: booking calendar coming soon.
I have also created a
I have also created a directory website with a very similar setup. The first module I installed was the Node Limits module, you should check it out: http://drupal.org/project/node_limit