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

vbgamer45

I don't know if it would fit in this mod. Since it is CountryFlags
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

aussieherps

Then can you tell me where to add it for my self.
http://aussieherps.com">snakes lizards spiders turtles and much more

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

aussieherps

Can anyone tell me where changes need to be made to add a flag.
Have added the pic of the flag but need to know where to add for selections etc.
Thanks Todd
http://aussieherps.com">snakes lizards spiders turtles and much more

Arantor

http://www.simplemachines.org/community/index.php?topic=106060.msg2397129#msg2397129 explains how to add Wales as an entry. I imagine it's something similar.

* Arantor just went back through the thread - if in doubt, have a look.
Holder of controversial views, all of which my own.


aussieherps

Thanks ARANTOR this will solve my problems.

todd
http://aussieherps.com">snakes lizards spiders turtles and much more

Penelope

#746
Anyone can help me to show the flag of  a member? :) Can aynbody tell me where the flags are stored, so i can call them? :)

Quote from: Penelope on March 04, 2010, 05:49:37 PM
Hi all,

I installed this mod on SMF 1.1.11 and it works great!  8) Thanks!  :D It'shows perfect on the profile, post and registration page!  :D

I have a question, i want to show the country flag of a member also on the arcade, but i cannot figure it out i tried almost everything i can think of so that's why this request for help. :)

I use SMF 1.1.11 and E-Arcade.

My question is how to show the country flag on the arcade game highscores page? :)

I have already the layout that is no problem. I only need to make the country flag work. So far it shows nothing :( Anyone can help? :)

For example i tried this underneath code in Themes/default/Arcade.template.php but it shows nothing.

<td>';
// Did they select a flag?
         if(isset($message['member']['options']['country']) && !empty($modSettings['country_flag_show']) && !empty($message['member']['options']['country']))
         {
            $flags = CountryFlag();
            echo '
                        <img src="', $settings['default_theme_url'], '/images/flags/', $message['member']['options']['country'], '.png" alt="', $flags[$message['member']['options']['country']], '" /> ', $flags[$message['member']['options']['country']], '<br /><br />';
         }
echo '</td>


I hope someone can help me! So it will also show on the arcade highscores, which would be very nice  :)



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

Gryzor

Hello!

I managed to install this on my 2.0RC2 (and, of course, now RC3 is out!!!), but although the country list is there in the profile, it doesn't appear on the reg page...

Now, I've tried looking around, and I saw that this problem existed since the dawn of time, but I didn't see anything upon looking - supposedly a newer version of the mod fixed the problem but it seems it still persists?

Thanks for a great mod - it should really be included in the forum distribution by default! :)

minos

hello, minutes ago i installed this mod but error log gives me a lot of errors

8: Undefined variable: flags
Apply Filter: Only show the errors from this file
Archivo: /home/xxxxxx/public_html/foro/Themes/Extreme6_RC2/Display.template.php (main sub template - eval?)
Línea: 231


and the line 231 is

           <li class="gender">', $txt['country_flag'], ': <img src="', $settings['images_url'], '/flags/', $message['member']['country_flag'], '.png" alt="', $message['member']['country_flag'], '" title="', $flags[$message['member']['country_flag']], '" /></li>';


how must i do to fix that error?


thanks

MarcusJ

I'm getting the same error as Minos.

It is trying to show flags on topic view even for members who haven't selected one yet.

Thank you for any help you can provide.

Using SMF 2.0 RC3 with a default based theme, and the following mods.

1.   Custom Form Mod    1.6 
2.   SimplePortal    2.3.1 
3.   Pretty URLs    1.0 
4.   Country Flags    1.1
5.   Tidy Child Boards    1.3     
6.   Google Member Map 3.0    2.0 beta 2     
7.   Aeva Media    1.1     
8.   Downloads System Pro    1.0.14     
9.   Team Page    3.5.4 

vbgamer45

Fixed updated CountryFlags to fix that issue.
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

MarcusJ


khurrum

Is it possible that I can add field in my search option for example if i want to search members from India, then how can i select this option in my search.

best regards
Khurrum

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

Forastero

#755
hello i'm getting some errors in my error log

1
http://www.xxxxxxxxx.net/index.php?action=register2
8: Undefined index: country_flag_ask
File: /home/   xxxxxxxxx/public_html/Themes/default/Register.template.php (registration_form sub template - eval?)
Line: 203



2
http://www.xxxxxxxxx.net/index.php?action=register
8: Undefined index: country_flag_ask
File: /home/xxxxxxxxx/public_html/Themes/default/GenericControls.template.php (registration_form sub template - eval?)
Line: 203



how to fix this please help me 

Siirist

Hello,

Installed this 2 days ago on SMF ver 2.0RC1 without a problem.
Now want to un-install all mods (including this one) and themes due to problems on forum. :-[

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.

3.     Execute Modification     ./Sources/ManageSettings.php       Test failed
1.     Replace                         ./Sources/ManageSettings.php        Test failed

Solution?

Thanks in advance.

Be Well,
Cloud 8)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Snogmarr

#757


as it says if you click on the box  to the left of the error





Find

// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!


'', // Show flags array('select', 'country_flag_ask', array($txt['country_flag_disabled'], $txt['country_flag_profile'], $txt['country_flag_registration'], $txt['country_flag_both'])), array('check', 'country_flag_required'), array('check', 'country_flag_show'),


replace

// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!

Siirist

Quote from: xnathansxdadx on April 02, 2010, 07:56:13 PM
remove this

as it says if you click on the box  to the left of the error

'', // Show flags array('select', 'country_flag_ask', array($txt['country_flag_disabled'], $txt['country_flag_profile'], $txt['country_flag_registration'], $txt['country_flag_both'])), array('check', 'country_flag_required'), array('check', 'country_flag_show'),

Okay, just did a upgrade again, so it is like a FRESH START!
There are no mods at this point, and we will go slow, one mod at a time.  :)

Be Well,
Cloud 8)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Snogmarr

bit of advice

if you are installing any of the following do them first.
this mod
Sitemap
Ajax chat
membermap
avatar on board index
Thumbnail Topic Mod
Good Post/Bad Post Mod





Advertisement: