Jump to content

Download: (VG) Flag Mod 3.0


vivianeg

Recommended Posts

Vivian it beggars belief how you can claim copyright to someone else's work, this mod has been out for many years, and you have claimed it as your mod without even mentioning the original copyright holder in your text, but change it for your own. Here is a copy of the original text, by the original mod writer some 6 years before yours.

Now that can't be possible can it, I mean you wrote it right, wrong!!!!!!!! I also have the copy of the one he did for 2.3.x

----------------------------

Flag Mod

IB 2.1.x copyright Mazzazik 2003

----------------------------

Very easy Mod!!

----------------------------



Step 1.

Upload the folder "flags" to your style_images directory


Step 2.

In the admin control panel click "view all general settings" under the "system settings" section & click "CPU saving and optimization"


Step 3.

Make sure "Allow custom profile field info be used in TopicView" is set to yes and click update settings at the bottom of the page.


Step 4.

Click "custom profile fields" under "users and groups" & "add new field"


Step 5.

For Field Title enter "Country" (no quotes for all)

For Description "select your country"

For Minimum Input "0"

For Display Order "0"



For Optional Content enter the info below



Afghanistan=Afghanistan

Albania=Albania

Algeria=Algeria

American Samoa=American Samoa

Andorra=Andorra

Angola=Angola

Anguilla=Anguilla

Antigua and Barbuda=Antigua and Barbuda

Argentina=Argentina

Armenia=Armenia

Aruba=Aruba

Australia=Australia

Austria=Austria

Azerbaijan=Azerbaijan

Bahamas, The=Bahamas, The

Bahrain=Bahrain

Bangladesh=Bangladesh

Barbados=Barbados

Belarus=Belarus

Belgium=Belgium

Belize=Belize

Benin=Benin

Bermuda=Bermuda

Bhutan=Bhutan

Bolivia=Bolivia

Bosnia and Herzegovinia=Bosnia and Herzegovinia

Botswana=Botswana

Brazil=Brazil

British Virgin Islands=British Virgin Islands

Brunei=Brunei

Bulgaria=Bulgaria

Burkina Faso=Burkina Faso

Burundi=Burundi

Cambodia=Cambodia

Cameroon=Cameroon

Canada=Canada

Cape Verda=Cape Verda

Cayman Islands=Cayman Islands

Central African Republic=Central African Republic

Chad=Chad

Chile=Chile

China=China

Colombia=Colombia

Comoros=Comoros

Congo - Democratic Republic of the=Congo - Democratic Republic of the

Congo - Republic of the=Congo - Republic of the

Cook Islands=Cook Islands

Costa Rica=Costa Rica

Croatia=Croatia

Cuba=Cuba

Cyprus=Cyprus

Czech Republic=Czech Republic

Denmark=Denmark

Djibouti=Djibouti

Dominica=Dominica

Dominican Republic=Dominican Republic

Ecuador=Ecuador

Egypt=Egypt

El Salvador=El Salvador

Equatorial Guinea=Equatorial Guinea

Eritrea=Eritrea

Estonia=Estonia

Ethiopia=Ethiopia

Falkland Islands=Falkland Islands

Faroe Islands=Faroe Islands

Fiji=Fiji

Finland=Finland

France=France

French Polynesia=French Polynesia

Gabon=Gabon

Gambia, The=Gambia, The

Georgia=Georgia

Germany=Germany

Ghana=Ghana

Gibraltar=Gibraltar

Greece=Greece

Greenland=Greenland

Grenada=Grenada

Guam=Guam

Guatemala=Guatemala

Guernsey=Guernsey

Guinea=Guinea

Guinea Bissau=Guinea Bissau

Guyana=Guyana

Haiti=Haiti

Holy See - Vatican City=Holy See Vatican City

Honduras=Honduras

Hong Kong=Hong Kong

Hungary=Hungary

Iceland=Iceland

India=India

Indonesia=Indonesia

Iran=Iran

Iraq=Iraq

Ireland=Ireland

Isle of Man=Isle of Man

Italy=Italy

Ivory Coast=Ivory Coast

Jamaica=Jamaica

Japan=Japan

Jersey=Jersey

Jordan=Jordan

Kazakhstan=Kazakhstan

Kenya=Kenya

Kiribati=Kiribati

Korea - North=Korea - North

Korea - South=Korea - South

Kuwait=Kuwait

Kyrgyzstan=Kyrgyzstan

Laos=Laos

Latvia=Latvia

Lebanon=Lebanon

Lesotho=Lesotho

Liberia=Liberia

Liechtenstein=Liechtenstein

Lithuania=Lithuania

Luxembourg=Luxembourg

Lybia=Lybia

Macedonia=Macedonia

Madagascar=Madagascar

Madeira=Madeira

Malawi=Malawi

Malaysia=Malaysia

Maldives=Maldives

Mali=Mali

Malta=Malta

Marshall Islands=Marshall Islands

Mauritania=Mauritania

Mauritius=Mauritius

Mexico=Mexico

Micronesia=Micronesia

Midway Islands=Midway Islands

Moldova=Moldova

Monaco=Monaco

Mongolia=Mongolia

Montserrat=Montserrat

Morocco=Morocco

Mozambique=Mozambique

Myanmar=Myanmar

Namibia=Namibia

Nauru=Nauru

Nepal=Nepal

Netherlands Antilles=Netherlands Antilles

Netherlands=Netherlands

New Zealand=New Zealand

Nicaragua=Nicaragua

Niger=Niger

Nigeria=Nigeria

Niue=Niue

Norfolk Island=Norfolk Island

Northern Ireland=Northern Ireland

Norway=Norway

Oman=Oman

Pakistan=Pakistan

Palau=Palau

Palestine=Palestine

Panama=Panama

Papua New Guinea=Papua New Guinea

Paraguay=Paraguay

Peru=Peru

Philippines=Philippines

Pitcairn Islands=Pitcairn Islands

Poland=Poland

Portugal=Portugal

Puerto Rico=Puerto Rico

Qatar=Qatar

Romania=Romania

Russia=Russia

Rwanda=Rwanda

Saint Helena=Saint Helena

Saint Kitts and Nevis=Saint Kitts and Nevis

Saint Lucia=Saint Lucia

Saint Vincent and the Grenadines=Saint Vincent and the Grenadines

Samoa=Samoa

San Marino=San Marino

Saudi Arabia=Saudi Arabia

Scotland=Scotland

Senegal=Senegal

Seychelles=Seychelles

Sierra Leone=Sierra Leone

Singapore=Singapore

Slovakia=Slovakia

Slovenia=Slovenia

Solomon Islands=Solomon Islands

Somalia=Somalia

South Africa=South Africa

Spain=Spain

Sri Lanka=Sri Lanka

Sudan=Sudan

Suriname=Suriname

Swaziland=Swaziland

Sweden=Sweden

Switzerland=Switzerland

Syria=Syria

Taiwan=Taiwan

Tajikistan=Tajikistan

Tanzania=Tanzania

Thailand=Thailand

Togo=Togo

Tonga=Tonga

Trinidad and Tobago=Trinidad and Tobago

Tunisia=Tunisia

Turkey=Turkey

Turkmenistan=Turkmenistan

Turks and Caicos Islands=Turks and Caicos Islands

Tuvalu=Tuvalu

Uganda=Uganda

Ukraine=Ukraine

United Arab Emirates=United Arab Emirates

United Kingdom=United Kingdom

United States=United States

Uruguay=Uruguay

Uzbekistan=Uzbekistan

Vanuatu=Vanuatu

Venezuela=Venezuela

Vietnam=Vietnam

Virgin Islands=Virgin Islands

Wales=Wales

Yemen=Yemen

Yugoslavia=Yugoslavia

Zambia=Zambia

Zimbabwe=Zimbabwe



Include on registration page? ----- "yes" (up to you)

Field MUST be completed and not left empty? ----- "yes" (up to you)

Field can be edited by the member? ----- "yes"

Make this a private profile field? ----- "no"

Make Admin and Super Moderator Editable/Viewable Only? ---- "no"


Submit the info



Step 6.

Roll over the word "edit" on the "custom profile field manager"


If you look at the status bar at the bottom there should be a string there... copy down the number at the end of the string.



Step 7.

Go to your "skin manager" & edit "topic view" ---> "render row" and look for

{$author['member_posts']}<br />


Directly below that place

<if="author['field_#'] != """>Country: {$author['field_#']}<BR><img src="style_images/flags/{$author['field_#']}.gif" border='0'></if><br />


Be sure to replace the 3 #'s with the number you wrote down before and replace the URL to the board with your URL. 





Save template and you are all done!! Enjoy!! Please report any bugs you have to me at mazzazik@tedata.net.eg   Copyright 2003

Link to comment
  • 2 months later...
  • 2 weeks later...

I installed this mod 2 days ago and I already have quite a few members wanting state flags for the United States instead of the American Flag default.

Making an option to subset the country United States into individual states would be awsome. Especially if a forum's members are mainly from the United States.

Link to comment
  • 1 year later...
  • 2 months later...
  • 1 month later...

Check if "flags" folder exists here:


/public_html/public/style_images/Flags


and if there are flag images inside the folder.




Hi there broni.
I would like to say a big Thank You for your time in trying to help me sort the problem out with the Country Flags on my new upgraded 3. 2. 2. board.

After spending many hours at the computer trying to fix this, I have finally managed to resolve the broken flags and they are now working like before. Hooray! :smile:

I moved the Flags into the "public_html" folder, then in the Topic View Format of Custom Profile Field in ACP I wrote the following text:

<span class='ft'>{title}:</span><span class='fc'><img src='http://eskimohuskies.com/Flags/{key}.gif'></span>



All the flags on my forum worked from that point on, thankfully.

Many Thanks again broni for your help. Very much appreciated.

Link to comment
  • 4 weeks later...
  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...