Hello everyone, I am just starting out on drupal (3days in and barely coping but I am a numpty lol), this is my 1st post and I know its not going to be my last but i'm confident the drupal community will help me whenever thay can. My question is about user registration with different approval settings. I am trying to create an ecommerce site that will be predominantly for public but there will hopefully be a trade section that will include additional pages and alternative content than the public site. The issue I have is I would like the trade user to have to be approved upon registration. There would also be different sign up information fields on registration, the point of trying to do this is so I can check their business credentials before they can view the rest of the site whereas the public users can just sign up without approval. Is there any way of doing this? Would I need to create a separate site?
Thanks
By gillypots on
Comments
Sorry, posted in wrong area,
Sorry, posted in wrong area, said I was a numpty lol.
-
You do not need two separate sites. The content access module will allow you to restrict access to content based on user role (public is one role, trade is another, for example). I believe you can have only one registration form; you will need to tell users to fill out the fields relevant to them. You can use the LoginToboggan module to allow users to login immediately upon registering. You should also look at the Registration role module for assigning roles to users. There are multiple ways of doing what you want; you will need to find the right combination of modules that best fits your needs.
_
Actually it's now pretty simple to create different registration forms based on role. If using the core profile module, you can do it with the http://drupal.org/project/profile_role module. However, I prefer using content_profile for full fledged cck profiles-- in that case you can use the http://drupal.org/project/autoassignrole module to setup different registrations.
-
I stand corrected... Thank you, worldfallz!
Thanks
Thank you both for your very helpful responses. I am going to try to implement what you suggested worldfallz even though I am still slightly baffled with drupal as a whole, i'm learning though. So thanks again to you both for taking the time to respond and help me, it is much appreciated :)
Just another quick question
Hello again, I was just wondering how you would apply the different levels of authentication to the 2 different roles. I would like the public user to have instant access upon registration but the trade user to wait to be authenticated. Any ideas? I am just using the core profile module with auto_ assign _role and onepageprofile as I was worried about using the content_profile as it is only in beta.
Thanks
_
Checkout the register_preapproved and registration_role_with_approval module-- there may be others.
Thank you again
A rather late reply but thank you again for the info on my question, I have implemented what you suggested using the registration_role_with_approval module and it works great!! I had to tweek it a little (which I was very worried about) but I managed to do my first bit of PHP coding and it worked, yay!!
I am nearly at the brink of going live with my site and must thank all the people who have helped me get to this point in such a short space of time, can't praise you enough!!!!!
Loving the drupal!! (May not be saying that when I upload it to my server and get errors a plenty lol)
:)Gillypots:)
-
Its great to hear a success story. Congratulations!