News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

CountryFlags

Started by SMFHacks.com Team, August 14, 2006, 01:07:43 PM

Previous topic - Next topic

Irythros

#440
Im getting 2 errors while its installed.

1st:

8: Undefined index: country_flag
File: /home/*****/public_html/forums/Themes/default/languages/Who.english.php (summary sub template - eval?)
Line: 272


and 2nd:

8: Undefined index: country_flag_label
File: /home/*****/public_html/forums/Themes/default/Profile.template.php (forumProfile sub template - eval?)
Line: 1442


Why I am getting the error for the who.template file im not sure because it doesnt give errors on the SMF default yetI get the errors on the custom theme which doesn't touch who.template file. 

While viewing a profile I do not see a Country Flag: entry.  Only : [Flag image].  Im assuming I have to modify the who.template for the variable country_flag_label



Any ideas?

Irythros

#441
Both modifications.english[-utf8].php have the required lines in them.

I've also redownloaded the package and resinstalled but have not had any luck.

Edit:
Not a double post, someone else posted with help but the post is gone now <.<

digit

Can someone point me to another set of flag images? (I am not a big fan of the default set included with this - otherwise excellent mod)

Thanks in advance

Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

dannbass

I've been working on the memberlist option... so far I got to display the flags but the sort up and down is not working... will any coder take a look of what I have so far?

Here is how is looking so far...

FragaCampos

Wow, great job! It looks just like what i suggested.
Hope someone can help you on this. I know i can't :P

digit

I am starting to like the default set of flags more and more  ;).

Now...  How would I write this in the index.template.php?

if user has selected a flag.....

echo '';

else echo 'Please add your flag!';

Thanks again for an excellent mod!
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

Anub1s

I was thinkning about making 2 mods that run along the same line as this.

one is a forum pets (just a png image of a monster or somthing.)

another for consoles. im just wondering if i could use the structure to make these two mods please

dannbass

Quote from: Anub1s on July 11, 2008, 10:19:22 AM
I was thinkning about making 2 mods that run along the same line as this.

one is a forum pets (just a png image of a monster or somthing.)

another for consoles. im just wondering if i could use the structure to make these two mods please

Sure no problem, just substitute the names in the array for the ones that you want, and then upload the pngs for the pets and consoles... it's very easy.

Anub1s

Thanks alot its amazing how one mode can be used in so many different ways.

Anub1s


FragaCampos

Can anyone help ♫ ♪♩♬♭♮ ♯ with the sorting of the flags in the member's table? :P

tk2012

Has anyone tried to use this mod on v2.0 b3.1 yet? 

This is a great mod that I've used in 1.1.5, but REALLY want this for the above version.  I'll tell you now I am not a whiz when it comes to this type of thing.  I tried it with the ShinyBlue theme and got all types of Failed responses.  Was wondering if anyone has gotten this to work with the above?

Thanks!

AlenNS

Does author of this mod plans some updates, maybe for SMF 2.0 Beta 3.1?

Papa

Anyone have this mod packaged up and working for 1.1.5?

Thanks for replys.

brianjw

It will work on SMF 1.1.5. The package on the modsite should work.

tk2012

I have it on 1.1.5 and it works fine.  I downloaded it from the modification list.

AlenNS

Does developer plans to make it compatible with SMF 2.x? :)

shelzmike

Quote from: neil h on May 26, 2008, 03:46:28 AM
When I tried to install the package, I got this in a warning box:
Quote
!!Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Below in the files list, this comes up:
Quote
3.     Execute Modification     ./Sources/ModSettings.php     Test failed

The only other mod I have running is Ad Management 2.3

My version is SMF 1.1.5

Anyone know why this is happening?


Did this ever get resolved? I am getting the same error. Would it possibly be due to file permission issues? Thanks.

Mike

CraigPal

#457
Is this mod going to be supported in SMF 2.0? My members love it but I don't see support for 2.0 in the mods repository.


Sorry if this has been answered. I really like the SMF search engine. The problem in this particular forum is that everyone is talking about the same things, giving lists of mods, and such, which makes it a nightmare to sort through and find what you're actually looking for.

Thanks in advance,
Craig

____________
Raw Paleo Diet Group

CraigPal

#458
Anybody?


__________________
Kubuntu Forums

Apllicmz

when update puty portuguese and brazilian

</file>
<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation>
<search position="after" />
<add><![CDATA[
// Country Flag mod
$txt['country_flag_label'] = 'Selecione seu pa&iacute;s';
$txt['country_flag_error_required'] = 'Voc&ecirc; deve selecionar o pa&iacute;s que voc&ecirc; visitar-nos ';
$txt['country_flag_ask'] = 'Pergunte qual e o pa&iacute;s para poder escolher a bandeira';
$txt['country_flag_disabled'] = 'N&atilde;o mostrar (com Deficiência)';
$txt['country_flag_profile'] = 'Perfil';
$txt['country_flag_registration'] = 'Registar';
$txt['country_flag_both'] = 'Ambos';
$txt['country_flag_required'] = 'requerem um membro para selecionar um local?';
$txt['country_flag_show'] = 'Mostrar bandeiras e Mostrar na p&aacute;gina (Quando as mensagens s&atilde;o mostradas).';
$txt['country_flag'] = 'Pa&iacute;s';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
<operation>
<search position="after" />
<add><![CDATA[
// Country Flag mod
$txt['country_flag_label'] = 'Selecione seu pa&iacute;s';
$txt['country_flag_error_required'] = 'Voc&ecirc; deve selecionar o pa&iacute;s que voc&ecirc; visitar-nos ';
$txt['country_flag_ask'] = 'Pergunte ao pa&iacute;s para a bandeira';
$txt['country_flag_disabled'] = 'N&atilde;o mostrar (com Deficiência)';
$txt['country_flag_profile'] = 'Perfil';
$txt['country_flag_registration'] = 'Inscri&ccedil;&atilde;o';
$txt['country_flag_both'] = 'Ambos';
$txt['country_flag_required'] = 'requerem um membro para selecionar um local?';
$txt['country_flag_show'] = 'Mostrar bandeiras e Mostrar na p&aacute;gina (Quando as mensagens s&atilde;o mostradas).';
$txt['country_flag'] = 'Pa&iacute;s';
]]></add>
</operation>
</file>



Advertisement: