Update Log
Welcome to the Update Guide. This guide is to help you update your system to the latest version. We know that a lot of our customers do their own custom updates to their systems and so having to overwrite their files all the time can sometimes cause them problems. This update guide is to show you which files need to be updated in order for your system to be fully updated.
Version 1.1 - 14th December 2016
This update includes new features and bug fixes. The following updates were made:
- Secure Login option added
- Implemented Google ReCaptcha
- Updated layout
- Added option to change logo
- Removed image upload restrictions
- Updated Members page to use Datatables
- Set Default User Role in Admin Panel
- Changed the way banned members work
- Datatables implemented for Documents page
- View by project on documents page
- Knowledge Base categories now use the CKEdtior and are allowed HTML.
- Knowledge Base categories can be assigned to multiple projects.
- Knowledge Base articles can be assigned to multiple projects.
- Implemented new News section, allows you to post news for projects.
- Updated client view to represent new changes to Knowledge Base and News section.
In order to update to the latest version, please update the following files on your system:
- Controllers
- application/controllers/Admin.php
- application/controllers/Login.php
- application/controllers/Register.php
- application/controllers/User_settings.php
- application/controllers/Members.php
- application/controllers/Documents.php
- application/controllers/Projects.php
- application/controllers/Knowledge.php
- application/controllers/Client.php
- application/controllers/News.php
- Libraries
- application/libraries/Settings.php
- application/libraries/Common.php
- application/libraries/Datatables.php
- application/libraries/User.php-
- Views
- application/views/admin/settings.php
- application/views/admin/members.php
- application/views/admin/edit_member.php
- application/views/admin/user_roles.php
- application/views/admin/edit_user_role.php
- application/views/register/index.php
- application/views/layout/layout.php
- application/views/layout/client_layout.php
- application/views/members/index.php
- application/views/documents/index.php
- application/views/projects/index.php
- application/views/projects/edit.php
- application/views/knowledge/categories.php
- application/views/knowledge/edit_categories.php
- application/views/knowledge/index.php
- application/views/knowledge/add.php
- application/views/knowledge/edit_article.php
- application/views/client/knowledge_cat.php
- application/views/client/knowledge_all.php
- application/views/client/knowledge.php
- application/views/client/sidebar.php
- application/views/client/knowledge_all.php
- application/views/client/news.php
- application/views/client/download_sidebar.php
- application/views/news/*
- Models
- application/models/Login_model.php
- application/models/User_model.php
- application/models/Documents_model.php
- application/models/Projects_model.php
- application/models/Knowledge_model.php
- application/models/News_model.php
- Third Party
- application/third_party/autoload.php
- application/third_party/ReCaptcha/*
- Languages
- application/language/english/Content_lang.php
- application/language/english/Error_lang.php
- application/language/english/Success_lang.php
- Styles
- styles/main.css
- styles/client_layout.css
- Scripts
- scripts/libraries/chosen/*
DATABASE UPDATE
This update contains a change to the database tables. In order to make the system work, you will need to execute the update.sql found in updates/version1.1/sql/update.sql.
Just import this file into your database manager (like phpMyAdmin) and it should update your database tables for you.
LANGUAGE UPDATE
For those who have up-to-date language files, you will need to add some new lines to your language files in order to translate the new content being added. Follow the simple edits below:
Modify file application/language/english/content_lang.php (or replace english with the name of your language folder)
Add the following lines of code to the bottom of your language file
$lang['ctn_467'] = "Online"; $lang['ctn_468'] = "Offline"; $lang['ctn_469'] = "News Manager"; $lang['ctn_470'] = "Banned"; $lang['ctn_471'] = "Can add/edit/delete news posts for projects"; $lang['ctn_472'] = "The user won't be able to login to access the site."; $lang['ctn_473'] = "Search ..."; $lang['ctn_474'] = "Like"; $lang['ctn_475'] = "Exact"; $lang['ctn_476'] = "User"; $lang['ctn_477'] = "Logo Option"; $lang['ctn_478'] = "Site Name"; $lang['ctn_479'] = "Site Logo Image"; $lang['ctn_480'] = "Choose how you want to display your logo."; $lang['ctn_481'] = "Default User Role"; $lang['ctn_482'] = "Enable Secure Login"; $lang['ctn_483'] = "When this option is enabled, each time a user logs in their login-token is refreshed, making old ones invalid. This prevents multiple people from logging into the same account."; $lang['ctn_484'] = "Enable Google ReCaptcha"; $lang['ctn_485'] = "Enable Google ReCAPTCHA is a more advanced, convienient user captcha than the built in CodeIgniter Captcha. It requires Google reCAPTCHA API Keys. Check out the documentation on how to set this up."; $lang['ctn_486'] = "Google reCAPTCHA Secret Key"; $lang['ctn_487'] = "Google reCAPTCHA Site Key"; $lang['ctn_488'] = "All Articles"; $lang['ctn_489'] = "All News Updates"; $lang['ctn_490'] = "News"; $lang['ctn_491'] = "Posted by"; $lang['ctn_492'] = "A category can belong to multiple projects. Only articles that have been added to the same project will be viewable in the category."; $lang['ctn_493'] = "Select projects you want this category to be displayed for ..."; $lang['ctn_494'] = "Select projects you want this article to be displayed for ..."; $lang['ctn_495'] = "Add new News"; $lang['ctn_496'] = "Update News"; $lang['ctn_497'] = "Enable News"; $lang['ctn_498'] = "View News";
Modify file application/language/english/error_lang.php (or replace english with the name of your language folder)
Add the following lines of code to the bottom of your language file
$lang['error_110'] = "The news section is disabled for this project!"; $lang['error_111'] = "News title cannot be empty!"; $lang['error_112'] = "This project doesn't have a news section activated!"; $lang['error_113'] = "Invalid News!";
Modify file application/language/english/success_lang.php (or replace english with the name of your language folder)
$lang['success_54'] = "The news was added!"; $lang['success_55'] = "The news was deleted!"; $lang['success_56'] = "The news was updated!";
Save the files
CLEAN INSTALL
Remember, if you have trouble updating, you can always do a clean install. Just follow the guide in the Documentation Guide as you did before and you will have the latest version of the system ready.