CountryFlags

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

Previous topic - Next topic

riderracer

VB

It does not have one one however however I am a newbie to all of this I think I know what I am doing however i could be completely wrong. I thought I had made the approropriate changes but again I am sure I am missing something simple.

Would you be willing to have a look if i have you a admin user and password.

In the end I don't think its a big deal ass 99% of my board will be from Canada however I have put a ton of time into this and would now just like to get it working.

When you have a moment let me know please sir.

Thank you

Joe

vbgamer45

Did make the changes manually? I don't recommend that unless your theme has the files.

Otherwise I suggest using the package manager to install the mods.
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

riderracer

Thank you for the help VB

The only place i see the file you speak of is in the default theme not in mine should i uninstall and reinstall?

vbgamer45

You can try.

Also check that you enabled this setting To enable this mod you must go to Admin > Features and Options > Last set of options.
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

riderracer

I get a warning when trying to uninstall so I may just leave it and not bother...

I did go into the setting that part is there and again its there when a person registers just not on thier profile

Snogmarr

#705

If admin creates a registered user;  the pic and text do not appear.


curlin

    Could we remove the word "country" in the posts so it just shows the flag?
Hoss Talk At Thoroughbred Junkie

Sabre™

#707
Remove   $txt['country_flag']   from your display.template.php
disregard..
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


curlin

Quote from: Sabre™ on February 04, 2010, 02:44:36 PM
Remove   $txt['country_flag']   from your display.template.php

       Thanks
Hoss Talk At Thoroughbred Junkie

riderracer

VB

Got it going :-) I thought it showed in just the profiles but i see it does not... It is now showing up in the post's which is fine, it is however showing up twice LOL

I must have duplicated some code somewhere.

Joe

riderracer

#710
K got it!!

Got the double out and even removed the country text :-)

Thank you for your help folks.

Joe

riderracer

K VB and Sabre a quick question if I may

Could this mod be adapted to show a favorite sports team? Under your name you could have your fav NHL NFL CFL etc team logo the same size as the flags are now. I tried to change a country to a football team name (this part I was successful in doing as i could make the name show up) by changing the text in subs.php and then i tried to replace the country logo it pointed to into a team logo .png but it did not work.

Not something I am asking you to do just wondering if its possible?

Thanks

Joe

Sabre™

Yes it is mate.
So what you have done is replace the text for  eg. 'us' => 'United States', and then replaced the United States(us.png) image with your new one?
Lets say it now looks like this   'us' => 'Raiders',  you'd have to keep your Raiders image named as us.png, unless you change it where you changed the name.
eg.   'us' => 'United States',     to      'rd' => 'Raiders',      then the name for the image would be   rd.png
Make sense?  I hope so, cause even I got a little confused reading back! lol ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


riderracer

No you explained it very well sir

I am pretty sure i did all of that yet it kept going back to the original .png file

I am running a different theme however i am pretty sure i replaced the new .png in both default and in my themes directory

here is what i did

i changed in the subs

'af' => 'Riders'
and then got my new image and called it af.png

however i still got the afgan flag

Sorry i know this is not really what this mod is for but i was just trying to see if it would work

Sorry i was slow on replying i was trying to get my rss feeds working (a who;e new headache lol) im such a rookie with all this stuff I fear i know just enough to be dangerous

Any thoughts?

Sabre™

Try clearing your cache and cookies etc..
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


riderracer

K lemme try

I was able to get it working on default just now but still getting wrong flag on my theme lemme go clear cache etc

riderracer

As mentioned its working on default theme but its not on my theme the text changes but the flag does not.

riderracer

Sabre

Im an idiot plus its 4 in the AM here and I am tired, i was having problems with this mod (see above) and while screwing around to get it working I had made a flag folder Twice GRR I have been sending the new .png to the wrong folder... i went searching and just till now did not ralize it.

Sorry!!

I feel like a knob my appologies sir.

Its all working and all good.

Thank you for the assistance.

Joe

Sabre™

LOL
Congrats on getting it to work champ!!
Those early hour code sessions get to the best of us ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


riderracer

Agreed

Off to bed now hopefully when i wake up in the AM my rss feeds work LOL

Take care sir and have a wonderful day.

Joe



Quote from: Sabre™ on February 06, 2010, 05:17:22 AM
LOL
Congrats on getting it to work champ!!
Those early hour code sessions get to the best of us ;)

Advertisement: