The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
best way to capture country/city on registration
hi all-
We want to capture the country and city of each user as they register, and we want to try and keep it as clean as possible because this data will be super useful for us in the future. Is there a best or standard way to create a dropdown that has all countries in it? I think it's not practical to do that for cities, but maybe there is some best practice for that too?? Any thoughts much appreciated! thanks!! |
#2
|
||||
|
||||
The standard way would be to place the countries in a custom profile field but a profile field won't allow for 195 options. You'd need to break them up by continent or region or some other way.
|
#3
|
||||
|
||||
Custom profile field can accommodate 195 county drop down.
I tested this on... Apache: 2.4.29 MySQL: 5.7.20 PHP: 7.1.11 |
#4
|
||||
|
||||
Adding cities would be too much information in my opinion. Some users would probably be hesitant to enter that info.
|
#5
|
||||
|
||||
Quote:
It's an option but probably not a good option. |
#6
|
||||
|
||||
Perhaps it would be nice to dynamically determine their country based on their IP address and then preselect the country in the dropdown? Not a perfect solution but in most cases it would get the country right.
|
#7
|
|||
|
|||
Because of our subject matter, the country that a user comes from is really important. So, maybe having a huge dropdown for them to deal with during registration would be ok. Actually, I think we could probably get away with a huge city dropdown if such a thing were possible!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|