MyBB Community Forums

Full Version: Is it possible to add the nation field in the registration?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I was wondering if is possible to add a couple of fields in the registration page (and obviously, in the user page).
I would like to know in what nation a user lives AND, if he lives in Italy, I would also know the region.

Is it possible to do?

thanks!
YES it's possible;
this is how!!!!
in your Admin panal ==>Configuration(in the top)==>Custom Profile Fields(in the left)
than chose what you want to users should remplate in the regestration

don't forget "Editable by user? *" rond it "YES"

also you can add others like "religion" and anny others infos you want

Good luck
But that has no support for the conditional of what region.
(2010-06-29, 10:05 AM)haytoch Wrote: [ -> ][...]
Thank you! (I'm loving mybb)
@ HermXIV:
Admin panal ==>Configuration(in the top)==>Custom Profile Fields(in the left)==>Add New Profile Field
chose:
Title * --Short Description * --Field Type *

a New one will add to your list
@ ascatem:
your welcom
(2010-06-29, 11:05 AM)haytoch Wrote: [ -> ][...]
One last question.
Is it possible to change the values of a field (or is visibility) based on the selection that the user has made?

For Example:
select 1

Continent:
Europe
America
Oceania
Asia
Africa

select 2 contains all the states in that continent, if I select Europe I'll see only the European states, if I select America I'll see only the American states and so on.

select 3 is shown only if I select Europe>>Italy and it's a list of all the Italian Regions.

thanks a lot!
I realy undestoob
but ,I'm very sorry No idea about this one right now

if i find some thing like that i'll post it for you;
I hoppe the others have anny idea
good luck
(2010-06-29, 12:34 PM)haytoch Wrote: [ -> ][...]
Thanks a lot. I know how to do that in PHP+JS, but I don't want to change the mybb code myself, so I hope there is some other way Big Grin
for now I'll probably do something like that:
Italy-Region1
.
.
Italy-RegionN
(than a list of some other countries)

Wink
Without custom code changes you cannot do that.
(2010-06-29, 04:11 PM)HermXIV Wrote: [ -> ]Without custom code changes you cannot do that.
thanks!