News:

Wondering if this will always be free?  See why free is better.

Main Menu

CountryFlags

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

Previous topic - Next topic

~Luke

Does the mod owner check this thread?

Hopefully we will be able to use it soon.

minos


Rain Forest


SD-X

This mod can't even be parsed on the mod site, let alone in SMF itself. Anyone figure out what's going on with it?

Matthew K.

There are some bugs in the modification. Although it should still function.

SD-X

Quote from: Labradoodle-360 on July 13, 2013, 04:47:08 PM
There are some bugs in the modification. Although it should still function.
My problem is that it won't even parse the modification to install it in the first place.

I have the same, exact issue as this user, in SMF 2.0.4:
http://www.simplemachines.org/community/index.php?topic=106060.msg3565995#msg3565995

Matthew K.

It doesn't have to parse to install it...you use Package Manager and upload the .zip.

SD-X

#1187
Quote from: Labradoodle-360 on July 13, 2013, 05:03:55 PM
It doesn't have to parse to install it...you use Package Manager and upload the .zip.
I did that. The Package Manager cannot parse the mod.

I edited my previous post right as you replied, but I'm having the same issue as this user:
http://www.simplemachines.org/community/index.php?topic=106060.msg3565995#msg3565995

Edit: Interesting. Seems non-existent files are being referenced for SMF 2.0.4 in the Package's information file. This is the cause of the parsing errors, however upon fixing them, the existing installation files are causing bugs. I'm still experimenting with it, but it's clear that this package is broken and needs updating.

Edit #2: I've made progress and have gotten it to correctly install in SMF 2.0.4, however nothing is showing up in my theme. Looking into it now.

Edit #3: I have attached the modified package so that it will correctly parse and install. Still have no idea why it's not showing up anywhere though. Feel free to play around and see if you can get it working. I'll post back if I'm able to.

GL700Wing

I've successfully installed this package using the zip file attached to CountryFlags Updated for SMF 2.0 - Reply # 1160 on a brand new SMF 2.0.4 forum and on an SMF 2.0.4 forum that has more than 100 other mods installed.

QuoteStill have no idea why it's not showing up anywhere though.
If you read the message I've just referred to you'll find out how this version of the mod works.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

EnglishRose

Hello everyone, I tried to read the last few pages of posts but couldn't see anyone having the same issue that I'm having.

I have installed the mod successfully with version 2.04 - the text appears in profiles e.g. "country:au" but there is no image or graphic with a flag corresponding to the country they've selected.

I'm not sure if I've missed out something simple or what has happened?

Has anyone had the same problem or can anyone help please?

Thank you.

X

GL700Wing

Quotethe text appears in profiles e.g. "country:au" but there is no image or graphic with a flag corresponding to the country they've selected.
What you're seeing is the text that is displayed as an alternative when the image can't be displayed for some reason (eg, either the referenced image doesn't exist or it can't be accessed)

Make sure that the './Themes/default/images/flags' folder exists (it should have been created when the package was installed) and that it contains 251 '.png' files (one for each country flag).

If you're using Unix hosting the './Themes/default/images/flags' folder will need permissions of at least 755 (you can check/change the folder permissions via Admin -> Package Manager -> File Permissions).
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

EnglishRose

Thank you so much for the response.

The Flags folder permission is 755 and all the flags are there in the Themes/Default/Images section.

This may sound like a silly question but do I need to copy and paste the flags file into the image folder of the Theme that I'm using? I.e. with my current settings will the flag images only appear when I'm using the default theme?

Thanks again for your help.

X

vbgamer45

Give it a try and see if it helps copying to your themes folder
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

EnglishRose

Quote from: vbgamer45 on July 18, 2013, 06:29:59 PM
Give it a try and see if it helps copying to your themes folder

It worked, we have flag waving :)

Big hug for all the help.

X

vbgamer45

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

SD-X

QuoteIf you read the message I've just referred to you'll find out how this version of the mod works.
Not sure why my reply never posted, but I know how the mod works. The problem is that the section just doesn't show up at all on the fixed version. I can't seem to figure out why.

Edit: Seems to be an issue with installing on crappy hosts. The fixed version I posted is finally working on my self-hosting.

vbgamer45

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

valek0972

Greetings. There is a problem, the choice of the flag, all OK:
                                                                                                                                           

And then clean it, then so:

     

How to fix it, thank you.


vbgamer45

Make sure the flags folder was copied over.
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

valek0972

QuoteMake sure the flags folder was copied over.
The mod works fine, it appears when the user changed his mind to show the flag in the profile.

Advertisement: