vivianeg Posted September 21, 2009 Posted September 21, 2009 File Name: (VG) Flag Mod 3.0File Submitter: vivianegFile Submitted: 03 Jun 2009File Category: Modifications (VG) Flag Mod 3.0 Shows country flags on profile view on forum. regardsClick here to download this file
Calvin39 Posted September 27, 2009 Posted September 27, 2009 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
mld11 Posted December 1, 2009 Posted December 1, 2009 If he recoded it himself, only the concept belongs to the original author. As far as laws / the internet is concerned, no one can own an idea and/or concept. If you want proof, try to find something that says you can copyright an idea.
adrock Posted December 11, 2009 Posted December 11, 2009 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.
asotplbomb Posted December 16, 2009 Posted December 16, 2009 just wondering if anyone could help me?! I fixed it using this code.
DeRealDeano Posted April 29, 2011 Posted April 29, 2011 Hi can someone help me please? the flag isn't lining up properly.
CherryGirl69 Posted July 28, 2011 Posted July 28, 2011 I have a member who told me there is a Yugoslavia flag but that there should be a Serbia and a Montenegro, is there any available please?
DeRealDeano Posted August 4, 2011 Posted August 4, 2011 Will this be updated to 3.2? I'm having some issues with it on 3.2. Assistance please, the flags aren't aligning properly in see screenshot.
Eskimo Huskies Posted September 12, 2011 Posted September 12, 2011 Have this mod working fine on my 3.1.4 board Upgraded to 3.2.2 last night mod showing link place for flag but image not showing. Any advice. I have insepcted the image source element and it points exactly to where the file is so I have no idea why the images are not showing up.
broni Posted September 13, 2011 Posted September 13, 2011 Link to your board? The mod works fine on my 3.2.2
Eskimo Huskies Posted September 13, 2011 Posted September 13, 2011 Link to your board? The mod works fine on my 3.2.2 This is where they are placed on the ftp. <img src='http://eskimohuskies.com/public_html/public/style_images/Flags/{key}.gif'> They were working here before nothing has been changed apart from the upgrade. Can't work it out they are now appearing as broken links.
broni Posted September 13, 2011 Posted September 13, 2011 Check if "flags" folder exists here: /public_html/public/style_images/Flags and if there are flag images inside the folder.
broni Posted September 13, 2011 Posted September 13, 2011 Actually on my board "Flags" folder is located in root directory: /public_html/Flags
Eskimo Huskies Posted September 13, 2011 Posted September 13, 2011 I've moved the flags folder and still get the same happening a broken link. I just don't understand what has changed.
broni Posted September 13, 2011 Posted September 13, 2011 Are you sure there are files inside that folder?
Eskimo Huskies Posted September 14, 2011 Posted September 14, 2011 Yes all the flags are in the folder as they should be nothing has changed except an upgrade of the software.
tAPir Posted September 14, 2011 Posted September 14, 2011 What about permissions? CHMOD to 777 and see if that makes a difference.
Eskimo Huskies Posted September 14, 2011 Posted September 14, 2011 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.
Eskimo Huskies Posted September 14, 2011 Posted September 14, 2011 What about permissions? CHMOD to 777 and see if that makes a difference. Thanks for your advice tAPir. All flags are working now, as explained above. CHMOD was set to 755 which I left unchanged. Thanks again for your help.
Paul66 Posted October 10, 2011 Posted October 10, 2011 Hi,i have uploaded this mod to public_html as suggested and i have flags listed but a broken image appears by the username,any ideas please.
Paul66 Posted October 10, 2011 Posted October 10, 2011 This is what i am getting on my board Life Member Administrators 1,515 posts country: LocationWest Midlands
insidertipps Posted January 14, 2013 Posted January 14, 2013 I habe also a question... Works this Mod also for IPB Version 3.4.x? Thanks for a answer.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.