Version 2.1 - March 11, 2002
================================================== ==
Well, it's been awhile! I sorta disappeared there while
doing many other things! I guess v2.0 that was supposed
to use the same images as vBStats didn't go as planned
(thanks Bane ). I removed this hack from my site
awhile ago when I was having some other problems. I have
finally decided to add it back and it worked great in 2.2.0,
and I'm sure it will work in all other 2.2.x versions.
Changes:
- Updated to work with vBulletin 2.2.x
- Added Display Flag in Member List - Thanks Orca
- Used slightly larger flag images by X-Fan (I did run
them through Ulead's 16-color optimization which cut
the total file size from 271K to 54K!)
- Added 'align="absmiddle"' to image tag for text vertical centering
- Fixed Bane's name in docs below where I botched it up!
- Support for 280 Countries
Version 2.0 - September 6, 2001
================================================== ==
Changes from v1.0:
- Images have been changed from country codes to country names
- Flags will now have their ALT text as country name.
- Modified Hack to work with Bane's vbStats hack that will be released in the future.
- Added CP Addon by Stasik and modded it for new country names
- Changed country field in USER table from CHAR(2) to VARCHAR(50)
- Support for 226 countries
Known Problems:
- Countries with a dash (-) or comma (,) will not show up
automatically in as selected when you or the member edit
their profile (Congo, Korea, and Micronesia are the only 3)
Anyone know a fix please let me know.
- The 'modifyprofile_country' template needs to be changed
to a default original templatesetid of -1 (changed templates
have the templatesetid set to 2) or else the Admin CP addon
will not work (Any ideas why?). To do this, use phpMyAdmin
and run this query:
UPDATE template SET templatesetid="-1" where title="modifyprofile_country"
This will move the template from the custom to default templates
and will be found in the 'User Option Templates' group.
Any questions or comments can be posted here. Enjoy!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Bane,
I would very much like the hack to use the same flags for vbStats if you mean that vbStats can use the flags with the full country name. That would be great, even if I would have to upload these, I prefer having the alt tag capability. Think I'll wait till I get a reply to this before installing but it's a great hack. Thanks!
Quote:
Originally posted by Bane The problem was that in the original version of the flags hack there were all lowercase flag names etc..There is an easy way to change the image settings for flags in vbstats if you want to use the same set. Or optionally you can wait for the next release of vbstats where I will release a compatible Flag Hack if AJ isnt back yet.
Wow... I had to do a small bit of modifications to the hack to make it comply with the mood hack, gender hack and and all my other user hacks - I was getting database errors, and had to sort it out. Took a while, no one was able to register or change their profile, but I persevered, and it is now working. I made it non-compulsory when a new user registers too. I could not be bothered making any changes to the vbstats flags, so I just uploaded the long name ones.
Bane it'd be great if you'd take off that faulty version of yours or at least replace it with aldamon's updated version.
Your text file had me busy for 2 hrs figuring out why people couldn't register. And that's right after I told people that my site is online. They all got knocked back, pretty embarrassing.
It's the missing 'country' string in the register.php.
I guess I didn't really understand aldamon, I thought he had just a version that indicated all the changes from 2.0.3 to 2.2.1 or something like that, which I didn't need. That's why I DL the original file.
Just trying to save other newbies from this experience.