Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: cyberdyne - heinäkuu 09, 2011, 06:39:26 AP

Otsikko: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 06:39:26 AP
Is there a relatively simple was of adding an extra text field to the registration form please?
I want to ask new registrants an additional question (multiple answers, not a bot question).

Thanks in advance.
Otsikko: Re: Registration extra field
Kirjoitti: Kermit - heinäkuu 09, 2011, 06:44:34 AP
If it's not already activated,please activate the Advanced Profile Fields option,you can do it in this way

AdminCP -> Core Features -> Advanced Profile Fields click the grey button and save

after activation this option,you can create new profiles field and with option Show on Registration,you can ask to fill it for the new members

AdminCP -> Features and Options -> Profile Fields
Otsikko: Re: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 06:46:00 AP
I've made an error in my post, my apologies.
This should have been posted in SMF 1.x Support, I am using v.1.1.14

My apologies and thanks for your reply.
Otsikko: Re: Registration extra field
Kirjoitti: Kermit - heinäkuu 09, 2011, 09:30:30 AP
Lainaus käyttäjältä: cyberdyne - heinäkuu 09, 2011, 06:46:00 AP
I've made an error in my post, my apologies.
This should have been posted in SMF 1.x Support, I am using v.1.1.14

My apologies and thanks for your reply.

For 1.1.14 there is same mod

http://custom.simplemachines.org/mods/index.php?mod=319
Otsikko: Re: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 09:33:57 AP
Lainaus käyttäjältä: Duncan85 - heinäkuu 09, 2011, 09:30:30 AP

For 1.1.14 there is same mod

http://custom.simplemachines.org/mods/index.php?mod=319

Thank you. Will this definitely work for 1.1.14?
LainaaCompatible With: 1.1.5, 1.1.8, 1.1.9
Otsikko: Re: Registration extra field
Kirjoitti: Illori - heinäkuu 09, 2011, 09:35:27 AP
it should, you may need to use version emulation to install it though.
Otsikko: Re: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 09:36:45 AP
Lainaus käyttäjältä: Illori - heinäkuu 09, 2011, 09:35:27 AP
it should, you may need to use version emulation to install it though.

I've not done that before. Is there a tutorial?
Many thanks
Otsikko: Re: Registration extra field
Kirjoitti: Illori - heinäkuu 09, 2011, 09:37:23 AP
http://custom.simplemachines.org/mods/index.php?mod=2113
Otsikko: Re: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 09:38:36 AP
Thanks again.
Otsikko: Re: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 12:38:25 IP
Well the installed worked relatively successfully with the version emulation in use but the mod itself is pretty much useless as the answer to the extra field I created doesn't appear in the new users profile despite having that option checked, so I'm basically unable to read their answer.
Otsikko: Re: Registration extra field
Kirjoitti: Kermit - heinäkuu 09, 2011, 01:20:56 IP
I just tested now and it works well

Be sure your coding for Profile.template.php is like here

http://custom.simplemachines.org/mods/index.php?action=parse;mod=319;attach=88169;smf_version=1.1.9


Edit: and be sure you checked this option Show in profile?
Otsikko: Re: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 01:41:00 IP
Lainaus käyttäjältä: Duncan85 - heinäkuu 09, 2011, 01:20:56 IP
I just tested now and it works well

Be sure your coding for Profile.template.php is like here

Edit: and be sure you checked this option Show in profile?

Thanks for that, just checked every file listed on the page and yes all seems correct.

And yes, that option s checked.
Otsikko: Re: Registration extra field
Kirjoitti: Kermit - heinäkuu 09, 2011, 01:43:04 IP
Lainaus käyttäjältä: cyberdyne - heinäkuu 09, 2011, 01:41:00 IP

Thanks for that, just checked every file listed on the page and yes all seems correct.

And yes, that option s checked.

And it's still not working ? Are you sure,the theme you are using have no any custom Profile.template.php ?

+

A link to your site might be helpful
Otsikko: Re: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 01:53:25 IP
My site does have a custom 'CustomProfile.php', yes. Does this matter ?

I've PM'd you a link, thanks.
Otsikko: Re: Registration extra field
Kirjoitti: Kermit - heinäkuu 09, 2011, 02:24:09 IP
As i thought your Profile.template.php of your custom theme has no any codes regarding that mod,try to add necessary codes from here

http://custom.simplemachines.org/mods/index.php?action=parse;mod=319;attach=88169;smf_version=1.1.9


i tried to change ,but somehow it throws an error,if you want you could also attach your file,so i can have a look
Otsikko: Re: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 02:36:23 IP
Lainaus käyttäjältä: Duncan85 - heinäkuu 09, 2011, 02:24:09 IP
As i thought your Profile.template.php of your custom theme has no any codes regarding that mod,try to add necessary codes from here

http://custom.simplemachines.org/mods/index.php?action=parse;mod=319;attach=88169;smf_version=1.1.9


i tried to change ,but somehow it throws an error,if you want you could also attach your file,so i can have a look

I wonder which I checked then, I must have been looking at the wrong file, my apologies.
I've attached it but I'm sure it has the edits in place? I've removed the other themes for now to save confusion.
Thank you.
Otsikko: Re: Registration extra field
Kirjoitti: Kermit - heinäkuu 09, 2011, 03:01:13 IP
I would like to help about your problem,but somehow your site doesn't want to let me in,i just used proxy and it's very slow,but i can just say you better double check your coding manually
Otsikko: Re: Registration extra field
Kirjoitti: cyberdyne - heinäkuu 09, 2011, 03:03:31 IP
No problem I will try again with the manual codes, thank you for trying :)