Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

[MOD Update] CountryFlags

Aloittaja omgwtfbbqhax, tammikuu 10, 2008, 03:37:23 AP

« edellinen - seuraava »

omgwtfbbqhax

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 :)

ディン1031

If oyu use a other Language than it is possible that the translation for you language is missing ;).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

omgwtfbbqhax

The Default Language on the forums is English :)


karlbenson

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';

TheWrath!


vbgamer45

Yes it does since it works fine for 1.1.2 and no majors happened in the minor updates.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

omgwtfbbqhax

#7
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';
?>



dxyy

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 and check to ensure everything was installed properly. ;)

Hope that helps. :)

karlbenson

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.

Advertisement: