Combu 1.4.3 has been released, it features a small bug fix for PHP versions older than 5.4 related to the Account Custom Data and Inventory Custom Data incorrectly saved on the above versions of PHP.
If you missed the release notes of the previous version 1.4.2, here is what it featured:
- Fixed CustomData save/load when a value contains a JSON encoded string
- Fixed dates read from Mail when the hours are past 12AM
- Fixed inventory’s custom data store/read when name or value are enclosed within double quotes
- Added new method LoadRandomUsers to retrieve a random list of users
- Added new method ChangePassword to change the password of the currently logged account
- Added new feature to share a UserFile with friends/everyone and possibility to increment fields View and Like for each one
- Changed the method LoadUserFiles to filter shared files and added pagination
To upgrade the database from a version older than 1.4.2 to the latest then you’ll need to run the following queries (the SQL file included in the package is always used to create a new database, not to upgrade):
ALTER TABLE `CB_UserFile` ADD COLUMN `Name` VARCHAR(45) NOT NULL, ADD COLUMN `ShareType` TINYINT(1) NOT NULL, ADD COLUMN `Likes` INT(11) NOT NULL, ADD COLUMN `Views` INT(11) NOT NULL;CREATE TABLE `CB_UserFilesActivity` ( `Id` bigint(20) NOT NULL AUTO_INCREMENT, `IdFile` bigint(20) NOT NULL, `IdAccount` bigint(20) NOT NULL, `Likes` tinyint(1) NOT NULL, `LastActivity` datetime NOT NULL, PRIMARY KEY (`Id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
If you have issues or questions, please use the official forum.