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.
side note:
I see webhost is helping people with their hacks!!!
Hes helped me with a couple in the past-hes real good!!!
Im sure he'll get it workin 4 ya!!!!!
i want to thank AJR & webhost for all thier help, it worked after i installed 1.0 and the problem was with the v2.0 tables. THANKS SO MUCH!!!!!!!!!!!!!!!!!!!!! can u help me with the star signs :P
I have added a new country to the "modifyprofile_country" template, it shows up ok as a user changing profile and for a new user, but is missing from the admin control panel as an admin changing a user or adding a user.
Have I done something wrong?
Update:
It seems the same issue that requires the template to be the default -1 also stops any changes made by using the control panel "edit" being shown afterwards in the admin control panel.
I had to modify the -1 template in phpmyadmin and then "revert to original" to get it to show up.
This kinda defeats the purpose of having it in a template
Delhaze... make your changes to the 'modifyprofile_country' template, then execute the attached file. This file will:
- Verify that you have a modified template for 'modifyprofile_country'
- Once verified, it will then delete the original 'modifyprofile_country' template
- Finally it will change the modified template to an original template.
I programmed in the verification because if you DIDN'T modify the 'modifyprofile_country' template, it would delete the original and you'd be left with no template and no country dropdown list! I've checked template_change.php numerous times to make sure it works!
Originally posted by AJR Delhaze... make your changes to the 'modifyprofile_country' template, then execute the attached file. This file will:
- Verify that you have a modified template for 'modifyprofile_country'
- Once verified, it will then delete the original 'modifyprofile_country' template
- Finally it will change the modified template to an original template.
I programmed in the verification because if you DIDN'T modify the 'modifyprofile_country' template, it would delete the original and you'd be left with no template and no country dropdown list! I've checked template_change.php numerous times to make sure it works!
This wouldn't work for me, my template set id is different so the verification fails.