11
Quote:
eljkmw wrote:
I tried both Reg Codes & Formulize modules for my website (which runs on XOOPS 2.0.15). But unfortunately, I don't have the slightest clue on how to build a registration form on Formulize for a specify group.
First, there was an update to a core file for 2.0.15 (class/xoopsform/form.php I believe) that fixed a bug and if you didn't have this update, Formulize would not work right (and a whole bunch of other modules wouldn't work right either). Unfortunately, links to this file have been removed from the "Download XOOPS" page of this site, but presumably the new 2.0.16 release includes this fix. So I guess you should update to 2.0.16 if you do not have that update for 2.0.15 already.
Second, check out the readme file for the Reg Codes module. It is detailed and has all the instructions for creating a form and setting things up.
However, here's a basic overview:
1. You need to create a new form in Formulize. This form will be your new user profile form, and is where you put all the custom questions that you want in the profile (so you don't have to put in Username, Password, etc, that stuff is there by default, you just add in the custom stuff that you want in the form).
2. To make the form customized for certain groups of users, use the "Display" option for each element in the form. Set each element so it only displays to the groups of users that you want it to display to. So depending on how you set this option, you could have completely different profile forms for different groups of users.
3. Setup a registration code for each group of users, and pass out the codes to the right people. Maybe you don't care about security on the codes because the general public can sign up for your site, in which case you just need to make a series of links on your site somewhere so that people can self-select the right group for them. The destinations for those links would be something like:
http://www.yoursite.com/register.php?code=group1If you have questions, check out the Reg Codes, and Formulize, readme files. They have lots of info, especially the Reg Codes one. If you have more questions after that, please post in our area on dev.xoops.org where we try to centralize all support for these modules. You can get to our area on dev.xoops.org via here:
http://www.freeformsolutions.ca/formulizeThanks, good luck,
--Julian