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 - 28th November 2016
This update includes new features and bug fixes. The following updates were made:
- Updated to latest version of CodeIgniter 3.1.2
- Implemented Stripe Payment Processor
- Implemented Google ReCaptcha
- Implemented Layout Change, Logo Option.
- Added new layout: Titan
- Fixed Responsiveness of User Profiles
In order to update to the latest version, please update the following files on your system:
- Controllers
- application/controllers/Admin.php
- application/controllers/Profile.php
- application/controllers/Funds.php
- application/controllers/Register.php
- application/controllers/IPN.php
- Models
- application/models/Admin_model.php
- Views
- application/views/admin/payment_settings.php
- application/views/admin/payment_logs.php
- application/views/admin/settings.php
- application/views/profile/index.php
- application/views/funds/index.php
- application/views/register/index.php
- application/views/layout/titan_layout.php
- application/views/layout/layout.php
- Libraries
- application/libraries/Settings.php
- application/libraries/Template.php
- Third Party
- application/third_party/stripe/*
- application/third_party/ReCaptcha/*
- application/third_party/autoload.php
- Languages
- application/languages/english/content_lang.php
- application/languages/english/error_lang.php
- application/languages/english/success_lang.php
- Config
- application/config/config.php
- System
- /system/*
- Other
- images/stripe.png
- styles/layouts/*
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_449'] = "Stripe Secret Key"; $lang['ctn_450'] = "Stripe Publishable Key"; $lang['ctn_451'] = "Pay With Stripe"; $lang['ctn_452'] = "You can also buy funds with Stripe, which accepts any major credit/debit card. None of your information is stored on this site."; $lang['ctn_453'] = "Google reCAPTCHA"; $lang['ctn_454'] = "Google reCAPTCHA is a much more advanced captcha option. You'll need to have a Google API KEY pair in order to set this up however. See our Documentation for details."; $lang['ctn_455'] = "Google reCAPTCHA Secret Key"; $lang['ctn_456'] = "Google reCAPTCHA Site Key"; $lang['ctn_457'] = "Logo Option"; $lang['ctn_458'] = "Site Name"; $lang['ctn_459'] = "Site Logo"; $lang['ctn_460'] = "Choose whether to use the site name text as the logo or your uploaded site logo image as the nav bar logo (top left)."; $lang['ctn_461'] = "Processor"; $lang['ctn_462'] = "Site Layout";
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_103'] = "Your card has been declined!";
Modify file application/language/english/success_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['success_51'] = "Thank you for your payment! Your credits have been added to your account.";
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.