Quote:
Originally Posted by Kaspersku
Oh dear, it can not be installed on vbb 4.1.4
When I installed the 4.1.4 database, then it fails, I try to install on localhost, it was like, you can explain ?
|
It looks like the installer did not add the rank table at your database.
Quote:
Originally Posted by TheLastSuperman
I've only ran this on 4.1.3 and below per the info in the mod description: vB Version: 4.1.3
|
It shouldn't make any difference at all about the versions, mod database install wise I mean.
After taking a quick look at the xml file I noticed a few things that need correction. For example, at the below install code you have forgotten to include the TABLE_PREFIX part which has been included everywhere else. Because if a user is using a custom prefix at his/her database then it won't work. It will work only if no prefix has been used at all.
PHP Code:
<installcode><![CDATA[$db->reporterror = 0;
$db->query_write("ALTER TABLE `rank` CHANGE `rank_desc` `rank_desc` TEXT NOT NULL");
$db->query_write("ALTER TABLE `rank_user` CHANGE `issue_reason` `issue_reason` TEXT NOT NULL");
echo "<font size=\"1\">Alter table - 2.1.4</font><br />";
$db->reporterror = 1;]]></installcode>
Also you are using the depricated font size all over the place. It would be better, coding wise to use <span style instead.
Also it would be better to use:
PHP Code:
$vbulletin->db->query_write
instead of:
PHP Code:
$db->query_write
Other than that, great mod