SMFHacks.com

Modifications/Themes => Modifications Talk => Topic started by: sturmkatze on December 29, 2010, 09:23:22 pm

Title: country flags mod
Post by: sturmkatze on December 29, 2010, 09:23:22 pm
Okay, so I got it to work on my WWI reenactor site, www.great-war.org (http://www.great-war.org). I wanted to only have the flags of the main belligerents during WWI (and as portrayed by our member groups). Changed the code and images.

I also wanted to add the flag they choose to their profile. I made a larger image of each, like SMFHacks told me, each named image__large.png -- I should mention that I have (and happily use) the Ultimate Profile mod v. 0.9 and, of course, it's a Tiny Portal site. This is in 1.1.12 for SMF and TP v. 1.0 RC1. Anyway, I (through the help of a friend) have the code on the ultimateProfile.template.php file, if not working, at least not crashing the page. However, it doesn't show the flag. What am I doing wrong? Do I need to mod another file?

I am not a programmer and working w/ php code makes my eyes glaze over and little puffs of smoke come out my ears...

Also, second thing (do I need another topic for this?): When they register and on their profile, etc. it says something like "What country are you visiting us from?" and I want it to say "What nation do you portray?" Where do I change this code?
Thanks for any help....
Best, Marsh
Title: Re: country flags mod
Post by: sturmkatze on January 02, 2011, 05:42:56 pm
Nothin' huh? :(