Firstly great hack and althought installation steps are a little bit long, it works ok in v.2.2.9! Thx for sharing..
And a few comments that might help some people while installing:
If these are already mentioned in the hack thread, my apologies..
VBSTATS and THIS HACK
If you use Bane's vbstat hack the image directory's of these 2 hacks clashes. To use them both, I applied such a method:
1- rename image directory of this hack to cflags and edit these files:
memberlist.php
member.php
functions.php
user.php
find: images/flags/
Replace it AS: images/cflags/
Now you can use 2 hacks together..
ASSIGNING TEMPLATE TO DEFAULT SET:
Quote:
*** The 'modifyprofile_country' template needs to be changed
to a default original templatesetid of -1 or else the Admin CP addon
will not show the country select list (Any ideas why?).
|
This is because vb Admin CP logins does not set $templatesetid variable.
To cure this edit user.php and find:
PHP Code:
eval("\$countrytext.= \"".gettemplate("modifyprofile_country")."\";");
(There are 2 instances)
Before that add:
PHP Code:
$templatesetid=1;
Now you can create your template in the default set and you dont need to run UPDATE template SET templatesetid="-1" where title="modifyprofile_country" query which will be overwritten after you upgrade your board..
Hope this helps..
Enjoy.
Ps. I dont have subscription in this thread, so do not address me here, ty..