Quote:
vaughan wrote:
Quote:
theFrenchGuy wrote:
I use smartprofile in my XOOPS site. In my website, I've 3 differents groups and I wanna create one registration form for each one. How I can do that ?
there's a hack called registration codes which has the possibility to assign registrations to a particular group based on a code (like a promotion code) that the user enters on registration. but having seperate registration forms has not been done.
Hello,
I'd just like to clarify...separate registration forms has been done. FrenchGuy, you can do exactly what you want with the Registration Codes module, it's not a hack, although it does involve swaping out three core files.
Registration Codes and Formulize work together to let you create a custom registration form. You make one form in Formulize that acts as your registration/user profile form.
Here's the fancy part that gives you separate forms for different groups...Formulize lets you control which groups of users should see which questions in a form. So you could have fifteen questions in your user profile form, and five of them would be for Group A, five for Group B and five for Group C. You could have some that are for all three groups, or some that are for just A and C, etc.
The Registration Codes module lets you create codes that users must use to register on your site. Each code is associated with certain groups in your site. So you could create a code for Group A, and a code for Group B and a code for Group C.
To use a code, users either go to the register.php page, and type in the code, or you can add the code to the URL like this:
http://www.yoursite.com/register.php?code=abcd56
After that, the user gets the registration/user profile form that you have created, and only the questions relevant for their particular group(s) are displayed to them.
From your description, it sounds like this is exactly what you need. You can get Formulize and Registration Codes here:
http://www.freeformsolutions.ca/formulize
(That redirects to our dev.xoops.org area.) If you have any questions about usage, check the detailed readme files, especially the one for Registration Codes, setting up and configuring the form is not trivial unfortunately.
If you have further questions or need help, please post in the forums over there in our area on dev.xoops.org and we will be happy to give pointers.
Good luck,
--Julian