Community Add-Ons

Add file to this package
Top » Images

Flag Icons
for osCommerce Online Merchant v2.2

Included are 3 replacement images for the flag icons for the 3 default languages - English, Espanol, and German.

Note that the icon for the English language was changed to be the Stars & Stripes (aka USA flag). If you wish to use the familiar Union Jack flag (aka Great Britain), rename the icon_gb.gif file to be icon.gif.

Legend:  Download   Report
Expand All / Collapse All
All Countries Flag jannezz 26 Jun 2007  

Here is a zip file with flags of all* countries.
I used it in combination with the Visitor Web Stats contribution by Azer.

Normally gif images are used but i changed the line 908 in admin/visitors.php
to

echo tep_image(DIR_WS_FLAGS . strtolower(geoip_country_name_by_addr($gi, $visitors['browser_ip'])) . '.ico', geoip_country_name_by_addr($gi, $visitors['browser_ip']));

i put the files in admin/images/flags/
DIR_WS_FLAGS was not set in my case so in
admin/include/configure.php i put

define('DIR_WS_FLAGS', DIR_WS_IMAGES . 'flags/');

I couldn't find this stuff anywhere else so i hope this could help someone.

Cheerios

Visitor Web Stats contribution :
http://www.oscommerce.com/community/contributions,4067/category,all/search,Visitor+Web+Stats

Netherlands cong 2 Mar 2007  
Flag Icons DaemonJ 31 Oct 2003