[HELP]How To Add More profile questions |
| |||
location:- screen shoot:- [img]http://www.jcow.net/docs/member_fields1.gif[/img] here, in the admin panel we are given limited Questions.. my Q is.. if we want to add more.. Qustions.. . How to do it :| anyone?
|
| |||
any one THERE ? 4 HELP PLZ..!!
|
| |||
Ok what do you mean its pretty straight forward.. just type in your question then select what field type you want and your options eg: Question = Do you drink Field Type = select box Options for Select Box = Yes Then Save changes it will show on your signup page ...
|
| |||
[quote=switch48]Ok what do you mean its pretty straight forward.. just type in your question then select what field type you want and your options eg: Question = Do you drink Field Type = select box Options for Select Box = Yes Then Save changes it will show on your signup page ... [/quote] bro u didn't got me.. what if we want to increase the Question? my point is.. to add more Questions.. like..
|
| |||
Sorry mate my bad :)..Now I got what you mean. libs/admin.module.php around line 975 for($i=1;$i<=7;$i++) { change the 7 to whatever you like... HeHe I think
|
| |||
[quote=switch48]Sorry mate my bad :)..Now I got what you mean. libs/admin.module.php around line 975 for($i=1;$i<=7;$i++) { change the 7 to whatever you like... HeHe I think [/quote] der r around 3 lines for($i=1;$i<=7;$i++) { and i tried changing them all.. but no results bro :(...
|
| |||
hmm I see I'll get back
|
| |||
for this you need changes in the database too in jcow accounts, for each new Q you need one db-field more. for ex question 8: new db-field: var8 varchar(255) NOT NULL default '' and in jcow_gvars for each new Q you need a new row for ex. question 8 field: gkey ---> value cf_var8 after this you can change the number 7 in your script
|
| |||
Nice one Falcone cheers mate
|
| |||
Can someone explain this better? I am not 100% sure how to add the extra question to the database. Does anyone know the code to enter so it adds the field into the table for me?
|
| |||
well i figured the database out but there must be other pages updates then just the libs/admin page. do you all know what other pages need changed for 7 to 8? my new questions does not show on the user profiles pages?
|
| |||
by the way, if you will make the new field required, old users won't log in in your site
|