I don't really consider this my mod since I just created it from the Hogwarts Hat mod. However I like the fact I wrote it. :) I didn't implement all the flags just the ones I wanted and so here it is:
or
Images used: FamFamFam Silk and Flag IconsFlag Image Page Download Instead of downloading the silk package here are the extra two I used for Everywhere and Nowhere:
|
*please don't hotlink, just "save image as" to your computer.*
Download -> Extract -> Upload the flags folder to your site and if using add these two famfamfam "silk images" as well.
Note: If you don't want to use Nowhere and Everywhere, simply remove these:
Custom Form Codeand
Custom Profile CodeBut remember in the last line for my Custom Profile Code remove the last {else} in the code or it won't function properly.
Log into your efiction and then:
Admin -> Profile Information -> Add New ProfileIn the text boxes:Name: flag
Title: Country
check the box for field enabled
Drop Down Menu choose:Custom Code
In the Custom Form Code add this:
In the Custom Profile Code add this:
Go to your skin's profile.tpl and find a place to add this:
Country of Origin: {flag}Remember to change the URL in the Custom Profile Code.Hit Save.
At Last:
Once finished, go to your
Member Account Info -> Edit Bio On the list there should be
Country and drop-down list.
Choose: Country of Origin or pick from the two extras: Everywhere/Nowhere
Hit Submit.
If you wish to add more flags look at the
Country Codes listed, it will correspond to the names that are in the famfamfam icons folder.
Hope this is one less thing for people to deal with modding. Thank you and Enjoy.