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

JBlaze

Sorry folks, I've been extremely busy lately and haven't been able to crank this one out. There are a few showstopping bugs in it right now including the fact that the registration won't work.

I'll keep you all updated or if you want constant updates on all my projects, then go to http://forum.thelulz.com
Jason Clemons
Former Team Member 2009 - 2012

Powerbob




My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

Sabre™

JBlaze, are you re-writing the whole mod mate?
I merely changed what needed to be in order to integrate with RC2, and all works fine, except the image not being displayed on the reg page. Admittingly, I still haven't bothered to look at that, as the mod functions flawlessly, and that being the only pitfall it is not anything that needs immediate attention.
I can see there are better ways to code certain areas, and can't wait to see how you've approached them.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


JBlaze

Yep. I rewrote the code practically from scratch.
Jason Clemons
Former Team Member 2009 - 2012

Sabre™

Nice!!!
If you need any testers with the ability to not only find bugs, but also offer a solution to fix them, then there are plenty people around. But if you need any others, Im here too! lol ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


SEABOY

For who have problme with the flag show in posts under the avatar display that's coz you are using not the default theme so you need to edit Display.template.php located in your current theme and insert this code


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

SEABOY

can you add wales please to the mod or tell me how i can add wales into my forums

JBlaze

Find the array in ./Sources/Subs.php that holds all the country info (should be at the bottom of the file)

Add this after 'wt' => 'Wallis and Futana',

'wales' => 'Wales',
Jason Clemons
Former Team Member 2009 - 2012

SEABOY

Thanks bro...it's working now....thanks alot

zeon101

I hope you can get it working for SMF 2 RC2 soon dude! I would love to have this mod! We'd all appreciate so much!  :D

Powerbob




My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

7s-1k

One Day, Two Many

Powerbob




My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

Powerbob

Quote from: JBlaze on December 05, 2009, 10:52:42 AM
Sorry folks, I've been extremely busy lately and haven't been able to crank this one out. There are a few showstopping bugs in it right now including the fact that the registration won't work.

I'll keep you all updated or if you want constant updates on all my projects, then go to http://forum.thelulz.com

Not working I'm afraid!



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

JBlaze

Jason Clemons
Former Team Member 2009 - 2012

7s-1k

One Day, Two Many

Lamarck

Thank you very much,JBlaze,for working on this mod.I'm looking forward a SMF 2.0 RC2 update.

Powerbob

Yep, quite a crowd waiting on this one 8)



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

JBlaze

OK, I got it working awesome now. Only problem is that for some reason it's not showing the flag chosen on the register page. Maybe a couple more days before I release it.
Jason Clemons
Former Team Member 2009 - 2012

Powerbob




My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

Advertisement: