Looking for a updated version of CountryFlags - http://custom.simplemachines.org/mods/index.php?mod=417
Currently getting the following error using the latest version that is out CountryFlags.tar.gz (166KB) [3063]
8: Undefined index: country_flag_ask
File: C:\xampp\htdocs\aga2\forums\Themes\default\Profile.template.php (forumProfile sub template - eval?)
Line: 1425
If someone could look into this, and possibly update it / provide a fix :) I would be greatful :D
Thanks :)
If oyu use a other Language than it is possible that the translation for you language is missing ;).
Bye
DIN1031
The Default Language on the forums is English :)
bump
I use that exact mod on my forums without any errors.
Its either
your using a theme other than SMF Core Default theme (which has its own Modifications.english.php)
Or your using english-utf8
In which case your missing the language strings from Modifications.english-utf8.php
When you find out where your missing the language strings, add into that file
// Country Flag mod
$txt['country_flag_label'] = 'Please select your country';
$txt['country_flag_error_required'] = 'You must select the country that you visit us from';
$txt['country_flag_ask'] = 'Ask for country flag on';
$txt['country_flag_disabled'] = 'Don\'t show (Disabled)';
$txt['country_flag_profile'] = 'Profile';
$txt['country_flag_registration'] = 'Registration';
$txt['country_flag_both'] = 'Both';
$txt['country_flag_required'] = 'Require a member to select a location?';
$txt['country_flag_show'] = 'Show flags on Display page (Where posts are shown).';
$txt['country_flag'] = 'Country';
work with 1.1.4?
Yes it does since it works fine for 1.1.2 and no majors happened in the minor updates.
Lainaus käyttäjältä: karlbenson - tammikuu 10, 2008, 09:07:37 IP
I use that exact mod on my forums without any errors.
Its either
your using a theme other than SMF Core Default theme (which has its own Modifications.english.php)
Or your using english-utf8
In which case your missing the language strings from Modifications.english-utf8.php
When you find out where your missing the language strings, add into that file
// Country Flag mod
$txt['country_flag_label'] = 'Please select your country';
$txt['country_flag_error_required'] = 'You must select the country that you visit us from';
$txt['country_flag_ask'] = 'Ask for country flag on';
$txt['country_flag_disabled'] = 'Don\'t show (Disabled)';
$txt['country_flag_profile'] = 'Profile';
$txt['country_flag_registration'] = 'Registration';
$txt['country_flag_both'] = 'Both';
$txt['country_flag_required'] = 'Require a member to select a location?';
$txt['country_flag_show'] = 'Show flags on Display page (Where posts are shown).';
$txt['country_flag'] = 'Country';
I don't quite understand what you mean there... can you explain it for me again :) thanks!
*EDIT* I understand the second part (the $txt part)
but that's already inside my modifications.english.php file...
<?php
// Version: 1.1; Modifications
$txt['mlist_search_location'] = 'Search by location';
// Country Flag mod
$txt['country_flag_label'] = 'Please select your country';
$txt['country_flag_error_required'] = 'You must select the country that you visit us from';
$txt['country_flag_ask'] = 'Ask for country flag on';
$txt['country_flag_disabled'] = 'Don\'t show (Disabled)';
$txt['country_flag_profile'] = 'Profile';
$txt['country_flag_registration'] = 'Registration';
$txt['country_flag_both'] = 'Both';
$txt['country_flag_required'] = 'Require a member to select a location?';
$txt['country_flag_show'] = 'Show flags on Display page (Where posts are shown).';
$txt['country_flag'] = 'Country';
?>
I also use this mod without problems. (SMF 1.1.4)
I think you should provide a link to your forum so that others might better be able to assist you.
Another thing you can try (haha, and I readily admit I'm no expert) is to use one of the parsers (http://www.smfhacks.com/packageparser/package.php) and check to ensure everything was installed properly. ;)
Hope that helps. :)
The mod only automatically installs the language strings into
Themes/default/languages/Modifications.english.php
If your using utf8 character set, you will need to copy those strings into
Themes/default/languages/Modifications.english-utf8.php
If your using a different theme which has its own Modifications.english.php and/or Modifications.english-utf8.php
eg Themes/CustomTheme/languages/Modifications.english.php
then you will need to copy those language strings into that file.