Page 1 of 1

Recruitment form

PostPosted: Sun Sep 10, 2006 7:41 pm
Author: Flex
I run a clan site and occasionaly get people applying to get in.

Is there a form available I can add that will enter details in my database?, things such as name, gamertag, age, etc.

Thanks

Re: Recruitment form

PostPosted: Sat Sep 23, 2006 7:57 am
Author: Limp25
I would actualy like to modify the inscription form, how can I do that ?

PostPosted: Sat Sep 23, 2006 8:10 am
Author: Flex
lol way to hijack my thread!

PostPosted: Sat Sep 23, 2006 9:49 am
Author: HoRuZ
Well your registration form could be used as recruitment form as well, I use that as one too.

To edit it, you first need to know what you want on the form.

PostPosted: Sat Sep 23, 2006 9:52 am
Author: Flex
That doesn't exactly help me, Can you be more a bit more specific?

Re: Recruitment form

PostPosted: Sat Sep 23, 2006 5:04 pm
Author: HoRuZ
1. Go to your adminpanel.
2. In admin go to P.C.P. -> fields definition,
3. On the bottom, click on 'Add a new field',
(for example we'll make a clan field, user_clan)
4. In 'Base definition' you have to fill out some fields like:
[list type=lower-alpha][*]Field name (Set here the name of the field used in php scripts.) = user_clan[*]Legend of the field (This is the legend that will be use to display the field.) = What clan are you in?[*]Image (You can set here a direct URI or a $image[] key entry )[*]Image title (Text displayed in the bubble under the mouse cursor. You can use a text or a $lang[] key entry)[/list]
5. In 'Output' set the following:
[list type=lower-alpha][*]Class (Determines on which condition the content of the field is displayed. Use generic for a non-conditioned field.) = generic (if you want to show it to all users)[*]Type (Set here the nature of the field.) = VARCHAR[*]Leave the rest unless you understand the explanations.[/list]
6. In 'Input' set the following:
[list type=lower-alpha][*]Required field =Set this to yes will force the user to submit a value for the field.[*]Show visibility = Show to the user, who will see the data being entered.[*]Leave the rest unless you understand the explanations.[/list]
7. Click on 'Submit'.
8. Now you'll have to alter the tables.
[list type=lower-alpha][*]Type = VARCHAR[*]Lenght = How many characters you want to allow users to insert.[*]Null allowed = set to 'yes'.[*]Default value = select the NULL and leave the field empty.[/list]

Now we will add the new field to the registration form:

1. Go to P.C.P. -> PCP Wizard -> Add / Remove Page Fields,
2. In the first drop down menu select 'Profile >> Profile >> Your Profile >> Registration information', click on 'select'.
3. In the left table select the 'user_clan' field you created and click on 'add' and move it to where you want to display it. (example: under user_realname)
4. Click submit.
5. In the next screen, you can select wether you want the fields to be required and visible or not.
6. Once again click on 'Submit'.

To let the field be displayed on someone's profile:

1. Go to P.C.P. -> PCP Wizard -> Add / Remove Page Fields,
2. In the first drop down menu select 'Profile >> Public >> Base Info >> messengers (example)', click on 'select'.
3. In the left table select the 'user_clan' field you created and click on 'add' and move it to where you want to display it. (example: above user_msnm)
4. Click submit.
5. In the next screen, you can select wether you want the fields to be seperated or if they are images or text.
6. Once again click on 'Submit'.

I hope this small tutorial is of some use, I don't know another way to explain how I think the P.C.P. works.

HoRuZ

PostPosted: Sat Sep 23, 2006 6:44 pm
Author: Flex
wow, there's a few steps there. Thank you, I'll give it a go.

PostPosted: Tue Sep 26, 2006 6:22 pm
Author: Michaelo
Nicely done HoRuZ... <img>

PostPosted: Tue Oct 03, 2006 12:07 am
Author: HoRuZ
Thanks, I learned by experience, I only wish my English was a bit better.