Location on registration: How To Add List of Countries

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Get Involved
Post Reply
User avatar
Exclusive
Registered User
Posts: 392
Joined: Mon Jun 25, 2018 1:33 pm

Location on registration: How To Add List of Countries

Post by Exclusive » Sun Aug 05, 2018 5:39 am

Is there a way to give registrants a drop-down box containing a list of countries, rather than an empty input box?

"(I realize users could choose a country, and then immediately go to the UCP and manually change their country to a non-country.)"
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Forum! ⬳

Subscribe to my YouTube Channel!

Get The Best Web Hosting | ✔ Buy Cheap Domain Names

User avatar
david63
Registered User
Posts: 16317
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Location on registration: How To Add List of Countries

Post by david63 » Sun Aug 05, 2018 6:09 am

You cannot add a list to the existing Location CPF as you cannot change the field type but if you use this extension (viewtopic.php?f=456&t=2327001) you can add a dropdown box type field - obviously you will need a list of countries to enter into the configuration, but that is easily found via Google.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Exclusive
Registered User
Posts: 392
Joined: Mon Jun 25, 2018 1:33 pm

Re: Location on registration: How To Add List of Countries

Post by Exclusive » Mon Aug 06, 2018 10:09 am

Thanks, I've succeeded in doing that! I got all the list of 195 countries, I edited them and want to share so someone else won't get stressed out next time.....!

Select Country

Code: Select all

[removed]
Thanks! 8-)
Last edited by Exclusive on Sun Dec 30, 2018 1:57 am, edited 2 times in total.
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Forum! ⬳

Subscribe to my YouTube Channel!

Get The Best Web Hosting | ✔ Buy Cheap Domain Names

User avatar
</Solidjeuh>
Registered User
Posts: 1684
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Location on registration: How To Add List of Countries

Post by </Solidjeuh> » Mon Aug 06, 2018 8:38 pm

Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~

User avatar
Exclusive
Registered User
Posts: 392
Joined: Mon Jun 25, 2018 1:33 pm

Re: Location on registration: How To Add List of Countries

Post by Exclusive » Mon Aug 06, 2018 11:21 pm

Froddelaar wrote:
Mon Aug 06, 2018 8:38 pm
Or use this ext :roll:
https://www.phpbb.com/customise/db/exte ... nal_flags/
I was about asking for this too, but can I use them both?
Last edited by Exclusive on Tue Aug 07, 2018 1:54 am, edited 1 time in total.
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Forum! ⬳

Subscribe to my YouTube Channel!

Get The Best Web Hosting | ✔ Buy Cheap Domain Names

User avatar
</Solidjeuh>
Registered User
Posts: 1684
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Location on registration: How To Add List of Countries

Post by </Solidjeuh> » Tue Aug 07, 2018 12:16 am

Exclusive wrote:
Mon Aug 06, 2018 11:21 pm
Froddelaar wrote:
Mon Aug 06, 2018 8:38 pm
Or use this ext :roll:
https://www.phpbb.com/customise/db/exte ... nal_flags/
In was about asking for this too, but can I use them both?
Yes you can
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~

Post Reply

Return to “Extension Requests”