View Single Post
  #1  
Old 04-06-2006, 02:39 PM
Electrohead04 Electrohead04 is offline
 
Join Date: Oct 2005
Location: London, UK
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Adding a country listbox.

It took me a long time to get this, but i have finally managed to get a list of countries, one on each line, suitable to make into a listbox for vBulletin profile fields.

Instructions
  1. Delete the default vBulletin location profile field
  2. Add a new profile field, selecting "Single-Selection Menu"
  3. Enter the following as the options

Code:
Afghanistan 
Akrotiri 
Albania 
Algeria 
American Samoa 
Andorra 
Angola 
Anguilla 
Antarctica 
Antigua and Barbuda 
Arctic Ocean 
Argentina 
Armenia 
Aruba 
Ashmore and Cartier Islands 
Atlantic Ocean 
Australia 
Austria 
Azerbaijan
Bahamas, The 
Bahrain 
Baker Island 
Bangladesh 
Barbados 
Bassas da India 
Belarus 
Belgium 
Belize 
Benin 
Bermuda 
Bhutan 
Bolivia 
Bosnia and Herzegovina 
Botswana 
Bouvet Island 
Brazil 
British Indian Ocean Territory 
British Virgin Islands 
Brunei 
Bulgaria 
Burkina Faso 
Burma 
Burundi
Cambodia 
Cameroon 
Canada 
Cape Verde 
Cayman Islands 
Central African Republic 
Chad 
Chile 
China 
Christmas Island 
Clipperton Island 
Cocos (Keeling) Islands 
Colombia 
Comoros 
Congo, Democratic Republic of the 
Congo, Republic of the 
Cook Islands 
Coral Sea Islands 
Costa Rica 
Cote d'Ivoire 
Croatia 
Cuba 
Cyprus 
Czech Republic
Denmark 
Dhekelia 
Djibouti 
Dominica 
Dominican Republic
East Timor 
Ecuador 
Egypt 
El Salvador 
Equatorial Guinea 
Eritrea 
Estonia 
Ethiopia 
Europa Island 
Falkland Islands (Islas Malvinas) 
Faroe Islands 
Fiji 
Finland 
France 
French Guiana 
French Polynesia 
French Southern and Antarctic Lands 
Gabon 
Gambia, The 
Gaza Strip 
Georgia 
Germany 
Ghana 
Gibraltar 
Glorioso Islands 
Greece 
Greenland 
Grenada 
Guadeloupe 
Guam 
Guatemala 
Guernsey 
Guinea 
Guinea-Bissau 
Guyana
Haiti 
Heard Island and McDonald Islands 
Holy See (Vatican City) 
Honduras 
Hong Kong 
Howland Island 
Hungary
Iceland 
India 
Indian Ocean 
Indonesia 
Iran 
Iraq 
Ireland 
Isle of Man 
Israel 
Italy
Jamaica 
Jan Mayen 
Japan 
Jarvis Island 
Jersey 
Johnston Atoll 
Jordan 
Juan de Nova Island
Kazakhstan 
Kenya 
Kingman Reef 
Kiribati 
Korea, North 
Korea, South 
Kuwait 
Kyrgyzstan
Laos 
Latvia 
Lebanon 
Lesotho 
Liberia 
Libya 
Liechtenstein 
Lithuania 
Luxembourg
Macau 
Macedonia 
Madagascar 
Malawi 
Malaysia 
Maldives 
Mali 
Malta 
Marshall Islands 
Martinique 
Mauritania 
Mauritius 
Mayotte 
Mexico 
Micronesia, Federated States of 
Midway Islands 
Moldova 
Monaco 
Mongolia 
Montserrat 
Morocco 
Mozambique 
Namibia 
Nauru 
Navassa Island 
Nepal 
Netherlands 
Netherlands Antilles 
New Caledonia 
New Zealand 
Nicaragua 
Niger 
Nigeria 
Niue 
Norfolk Island 
Northern Mariana Islands 
Norway
Oman
Pacific Ocean 
Pakistan 
Palau 
Palmyra Atoll 
Panama 
Papua New Guinea 
Paracel Islands 
Paraguay 
Peru 
Philippines 
Pitcairn Islands 
Poland 
Portugal 
Puerto Rico
Qatar 
Reunion 
Romania 
Russia 
Rwanda 
Saint Helena 
Saint Kitts and Nevis 
Saint Lucia 
Saint Pierre and Miquelon 
Saint Vincent and the Grenadines 
Samoa 
San Marino 
Sao Tome and Principe 
Saudi Arabia 
Senegal 
Serbia and Montenegro 
Seychelles 
Sierra Leone 
Singapore 
Slovakia 
Slovenia 
Solomon Islands 
Somalia 
South Africa 
South Georgia and the South Sandwich Islands 
Southern Ocean 
Spain 
Spratly Islands 
Sri Lanka 
Sudan 
Suriname 
Svalbard 
Swaziland 
Sweden 
Switzerland 
Syria
Taiwan
Tajikistan 
Tanzania 
Thailand 
Togo 
Tokelau 
Tonga 
Trinidad and Tobago 
Tromelin Island 
Tunisia
Turkey 
Turkmenistan 
Turks and Caicos Islands 
Tuvalu 
Uganda 
Ukraine 
United Arab Emirates 
United Kingdom 
United States 
United States Pacific Island Wildlife Refuges 
Uruguay 
Uzbekistan
Vanuatu 
Venezuela 
Vietnam 
Virgin Islands
Wake Island 
Wallis and Futuna 
West Bank 
Western Sahara
Yemen 
Zambia 
Zimbabwe
Hope it helps someone
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01097 seconds
  • Memory Usage 1,788KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete