diff --git a/README.md b/README.md index 6f49ea46ab..56f75a2430 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# NamelessMC - version 1.0.7 +# NamelessMC - version 1.0.8 NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features. -Version 1.0.7 features: +Version 1.0.8 features: - Template and theme system - Languages diff --git a/changelog.txt b/changelog.txt index fc33565027..7cf321f7c6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -233,4 +233,19 @@ - Display custom avatars in Members list - Allow functionality if cache is not present - Fix Paper theme Jumbotron font colour -- Update profile system \ No newline at end of file +- Update profile system + +1.0.8 +- Add missing icons to navbar +- Update friend/follower avatars on profile page +- Add thumbs up icon to likes on profile page +- Add permission check to latest profile posts +- Fix profile issue for unregistered users +- Add custom DB class +- Add Infractions addon +- Allow deleting all server query errors +- Remove requirement for location and birthday +- Separate user likes on profile pages +- Prevent modifying root user +- Add support for Discord widget +- Fix infinite loop on profile pages \ No newline at end of file diff --git a/core/includes/updates/107.php b/core/includes/updates/107.php new file mode 100644 index 0000000000..fed90dfd87 --- /dev/null +++ b/core/includes/updates/107.php @@ -0,0 +1,23 @@ + 1.0.8 updater + +// Database changes: +$queries->create('settings', array( + 'name' => 'discord', + 'value' => '0' +)); + +// Update version number +$version_number_id = $queries->getWhere('settings', array('name', '=', 'version')); +$version_number_id = $version_number_id[0]->id; + +$queries->update('settings', $version_number_id, array( + 'value' => '1.0.8' +)); + +$version_update_id = $queries->getWhere('settings', array('name', '=', 'version_update')); +$version_update_id = $version_update_id[0]->id; + +$queries->update('settings', $version_update_id, array( + 'value' => 'false' +)); \ No newline at end of file diff --git a/pages/install.php b/pages/install.php index 5128098399..89cf98aa09 100644 --- a/pages/install.php +++ b/pages/install.php @@ -628,7 +628,7 @@ // Version update $version_id = $queries->getWhere('settings', array('name', '=', 'version')); $queries->update('settings', $version_id[0]->id, array( - 'value' => '1.0.7' + 'value' => '1.0.8' )); @@ -997,7 +997,7 @@ ), 28 => array( 'name' => 'version', - 'value' => '1.0.7' + 'value' => '1.0.8' ), 29 => array( 'name' => 'version_checked',