Support Centre Documentation

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 2.2 - (Released: 13/04/2017)

This update contains new features and bug fixes. The following changes were made:

  • Updated to CodeIgniter 3.1.4
  • Implemented new Admin theme layouts: basic, light blue, Titan, Dark Fire.
  • Updated Language Switcher to accomodate new RTL support.
  • Fixed issue with words being broken in summaries for knowledge base articles.
  • Added support for Greek and French characters
  • Fixed issue with guest clients viewing attached files
  • Added option to Ticket Settings to allow you to specify the strings for obtaining Ticket ID information in Crons.
  • Fixed an issue with canned responses and images
  • Improved pagination results for tickets when searching
  • Added option to turn on Captcha for Ticket Creation
  • Implemented Ticket Reminder option
  • Email Templates have been recoded- can now add language specific templates for various areas of the system.
  • Revamped User Roles system in Admin Panel to make it easier to create new User Roles
  • Updated Cron to better extract Outlook replies for Ticket Posting.
  • Custom Fields now accept values of 0.
  • Implemented new Custom Field Type for Tickets: Envato License Code. Allows you to check product codes of items that you have sold and look at how much support time is left.
  • Option to mark all notifications as read added
  • Option to automatically assign staff user to ticket when replying to it.
  • Option to make Ticket Custom Fields hidden on the client side added
  • Implemented new Merge Tickets option
  • Added Edit User link to Ticket View
  • When selecting "Close Ticket" option, the Ticket Notes modal will now open automatically, allowing you to enter admin-viewable notes about the ticket.
  • Added debugging tools to Admin Panel: Email Debugging and Notification Syncer
  • Fixed an issue with guests viewing attachments
  • Added option to Global Settings allowing you to set the amount of time to cache the dashboard data
  • Fixed an isset issue with editing tickets
  • Category description now shows once selected in the Client Ticket Form.

In order to update, please overwrite the following files:

  • Config
  • application/config/config.php
  • application/config/email.php
  • Controllers
  • application/controllers/Admin.php
  • application/controllers/Tickets.php
  • application/controllers/Client.php
  • application/controllers/Home.php
  • application/controllers/Knowledge.php
  • application/controllers/Cron.php
  • application/controllers/Login.php
  • application/controllers/Register.php
  • Hooks
  • application/hooks/Language_Switcher.php
  • Models
  • application/models/Admin_model.php
  • application/models/Tickets_model.php
  • application/models/Home_model.php
  • application/models/User_model.php
  • Views
  • application/views/admin/settings.php
  • application/views/admin/ticket_settings.php
  • application/views/layout/*
  • application/views/home/change_language.php
  • application/views/home/notifications.php
  • application/views/home/ajax_notifications.php
  • application/views/client/index.php
  • application/views/client/get_articles.php
  • application/views/client/view_ticket.php
  • application/views/client/tickets.php
  • application/views/client/edit_ticket.php
  • application/views/tickets/view_ticket.php
  • application/views/tickets/ajax_custom_fields.php
  • application/views/tickets/add_custom_field.php
  • application/views/tickets/edit_custom_field.php
  • application/views/tickets/edit_ticket.php
  • application/views/tickets/add.php
  • application/views/tickets/merge_ticket.php
  • application/views/admin/email_templates.php
  • application/views/admin/edit_email_template.php
  • application/views/admin/user_roles.php
  • application/views/admin/edit_user_role.php
  • application/views/admin/tools.php
  • application/views/admin/tool_noti_sync.php
  • application/views/admin/tool_email_debug.php
  • application/views/admin/payment_logs.php
  • Language
  • application/language/english/content_lang.php
  • application/language/english/success_lang.php
  • application/language/english/error_lang.php
  • Styles
  • styles/layouts/*
  • styles/elements.css
  • Libraries
  • application/libraries/Settings.php
  • application/libraries/Template.php
  • application/libraries/Lib_filter.php
  • application/libraries/IMap.php
  • application/libraries/Envato.php
  • application/libraries/Common.php
  • Scripts
  • scripts/libraries/sortable/*
  • System
  • system/*

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/version2.2/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

// Version 2.2.
$lang['ctn_669'] = "Welcome";
$lang['ctn_670'] = "Site Theme";
$lang['ctn_671'] = "Enable Captcha on Ticket Form";
$lang['ctn_672'] = "Enables a captcha on the Ticket Creation Form to prevent spam. Will use Google ReCaptcha if settings enabled, else uses default CodeIgniter Captcha.";
$lang['ctn_673'] = "Send Reminder";
$lang['ctn_674'] = "This is a notification that a ticket requires your attention!";
$lang['ctn_675'] = "Sent a reminder to the user";
$lang['ctn_676'] = "Available Permissions";
$lang['ctn_677'] = "Current Permissions";
$lang['ctn_678'] = "Drag and drop permissions to customise this User Role.";
$lang['ctn_679'] = "Envato License Code";
$lang['ctn_680'] = "Envato Product";
$lang['ctn_681'] = "Supported Until";
$lang['ctn_682'] = "API Error";
$lang['ctn_683'] = "Assign Yourself To Ticket";
$lang['ctn_684'] = "Hide Client Side";
$lang['ctn_685'] = "If selected, this Custom Field will not be shown on the Client side, only the Admin side.";
$lang['ctn_686'] = "Tools";
$lang['ctn_687'] = "Here are a few tools to help with maintaining your application.";
$lang['ctn_688'] = "Email Debugging";
$lang['ctn_689'] = "Notification Syncer";
$lang['ctn_690'] = "If your notification's unread count sometimes goes out of sync, you can use this tool to resync it.";
$lang['ctn_691'] = "Debug";
$lang['ctn_692'] = "Resync Notifications";
$lang['ctn_693'] = "This tool can be used to debug email sending. Your email settings can be found in: application/config/email.php. For more information on what options are available, check out this CodeIgniter User Guide:";
$lang['ctn_694'] = "This tool will output all email error and debug messages after attempting to send an email. Enter an email you'd like to send a test message to and then click send.";
$lang['ctn_695'] = "Send Email To";
$lang['ctn_696'] = "Send Email and Debug";
$lang['ctn_697'] = "IMap Strings";
$lang['ctn_698'] = "These strings must be inside your Email Templates in order for the Cron to grab the required information.";
$lang['ctn_699'] = "IMap Ticket String";
$lang['ctn_700'] = "This string is used to obtain the ticket ID from the email. It should be the line leading up to the ID.";
$lang['ctn_701'] = "IMap Ticket Reply String";
$lang['ctn_702'] = "The string used to notify the end of the reply. It should be a full line.";
$lang['ctn_703'] = "Envato API";
$lang['ctn_704'] = "Envato Personal Token";
$lang['ctn_705'] = "Used to connect to the Envato API when checking product codes in Ticket Custom Fields.";
$lang['ctn_706'] = "Hook";
$lang['ctn_707'] = "Email Activation";
$lang['ctn_708'] = "Ticket Reply";
$lang['ctn_709'] = "Ticket Creation";
$lang['ctn_710'] = "Guest Ticket Creation";
$lang['ctn_711'] = "Ticket Reminder";
$lang['ctn_712'] = "The hook is used to identify the correct email template to get when we need to send an email in a specific function.";
$lang['ctn_713'] = "String used to split the email messages when reading them from IMAP.";
$lang['ctn_714'] = "String used to display ticket id when reading them from IMAP.";
$lang['ctn_715'] = "Languages";
$lang['ctn_716'] = "Add Email Template";
$lang['ctn_717'] = "Mark All As Read";
$lang['ctn_718'] = "Merge Ticket";
$lang['ctn_719'] = "Merging Ticket";
$lang['ctn_720'] = "Merge All Replies";
$lang['ctn_721'] = "Replace User";
$lang['ctn_722'] = "Merge Ticket History";
$lang['ctn_723'] = "Replace Ticket Data";
$lang['ctn_724'] = "Merge Ticket Files";
$lang['ctn_725'] = "Copies all replies from this ticket to the Primary Ticket";
$lang['ctn_726'] = "Replaces the user data of this ticket with the Primary Ticket";
$lang['ctn_727'] = "Copies all ticket history from this ticket to the Primary Ticket";
$lang['ctn_728'] = "Replaces ticket data, including custom fields, ticket notes, date created, assigned user of the merged ticket with the Primary Ticket.";
$lang['ctn_729'] = "Copies all attached ticket files from this ticket to the Primary Ticket";
$lang['ctn_730'] = "Primary Ticket";
$lang['ctn_731'] = "Select a ticket that you wish to be the Primary Ticket. The merging ticket data will be added to the Primary Ticket.";
$lang['ctn_732'] = "Select Ticket";
$lang['ctn_733'] = "Select from a list of recent created tickets.";
$lang['ctn_734'] = "Search for ticket";
$lang['ctn_735'] = "Enter ticket #ID";
$lang['ctn_736'] = "Merge Tickets";
$lang['ctn_737'] = "Dashboard Cache Time";
$lang['ctn_738'] = "The amount of time in seconds how long the data on the dashboard is cached for. Set to 0 for zero cache.";

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

// V2.2
$lang['error_127'] = "Invalid Primary Ticket!";

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

// v2.2
$lang['success_69'] = "The client was notified of the ticket!";
$lang['success_70'] = "The email template was deleted!";
$lang['success_71'] = "The email template was successfully added!";
$lang['success_72'] = "The ticket was merged!";

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.

Version 2.1 - (Released: 08/02/2017)

  • Updated to the latest version of CodeIgniter 3.1.3
  • Fixed bug with Clients
  • Fixed bug with forgotten password
  • Fixed a bug with knowledge search
  • Fixed a bug when editing tickets with required fields
  • Added Avatar Height and Width options to Admin Panel
  • Fixed missing translation texts
  • Language Switcher added to Client view
  • Social Media login options only show up for ones you have entered keys for
  • Register button no longer shows when disabled registration on login page
  • Added option to add sub-categories to Knowledge Base Categories.
  • Added Ticket Number to Client View.
  • Added Ticket Number to Admin Ticket View
  • Added Last Reply User Icon to Admin Ticket table
  • Removed Output messages from cron. Toggle debug on/off.
  • Fixed missing notification string in cron
  • Added in Print View for Tickets.
  • Can now create tickets via emails sent to your assigned email using IMAP/Cron
  • Implemented new GMAIL message cleaner for IMAP (helps get email content better).
  • Fixed various issues with IMAP.
  • Can set default category that newly created IMAP tickets go to in Ticket Settings.
  • Revamped Ticket View page
  • Added Ticket History which logs all actions made to tickets.
  • Revamped Client Ticket View Page
  • Added new Canned Responses Keywords (first name and last name)
  • Added new section called Custom Views.
  • Custom Views allow you to save different views of the Ticket Table: view by a certain status, category and order type. Easily switch between different custom views from the view tickets page. Staff can manage their own Custom Views from the Custom Views section.
  • Added First and Last name to Canned Responses
  • Can now directly add user to a User Group when creating new member in Admin Panel
  • Added 2Checkout Payment Gateway
  • Implemented Payment Logs for User

In order to update, please overwrite the following files:

  • Controllers
  • application/controllers/Client.php
  • application/controllers/Login.php
  • application/controllers/Admin.php
  • application/controllers/User_settings.php
  • application/controllers/Home.php
  • application/controllers/Knowledge.php
  • application/controllers/Tickets.php
  • application/controllers/Cron.php
  • application/controllers/IPN.php
  • application/controllers/Funds.php
  • Models
  • application/models/Tickets_model.php
  • application/models/Knowledge_model.php
  • application/models/User_model.php
  • application/models/IPN_model.php
  • Libraries
  • application/libraries/Settings.php
  • application/libraries/IMap.php
  • application/libraries/User.php
  • application/libraries/Lib_filter.php
  • Views
  • application/views/client/knowledge_search.php
  • application/views/client/view_knowledge_cat.php
  • application/views/client/tickets.php
  • application/views/client/index.php
  • application/views/client/view_ticket.php
  • application/views/client/funds.php
  • application/views/client/payment_log.php
  • application/views/client/plans.php
  • application/views/layout/client_layout.php
  • application/views/layout/layouts.php
  • application/views/login/index.php
  • application/views/knowledge/categories.php
  • application/views/knowledge/edit_cat.php
  • application/views/tickets/index.php
  • application/views/tickets/view_ticket.php
  • application/views/tickets/print_ticket.php
  • application/views/tickets/ticket_history.php
  • application/views/tickets/add_canned_responses.php
  • application/views/tickets/edit_canned_responses.php
  • application/views/tickets/index.php
  • application/views/tickets/custom_view.php
  • application/views/tickets/edit_custom_view.php
  • application/views/admin/ticket_settings.php
  • application/views/admin/settings.php
  • application/views/admin/members.php
  • application/views/admin/payment_settings.php
  • application/views/home/change_language.php
  • application/views/funds/index.php
  • application/views/funds/payment_log.php
  • Styles
  • styles/client.css
  • styles/main.css
  • System
  • system/*

Please also change this line in your application/config/config.php:

$config['csrf_exclude_uris'] = array('invoice/view', 'ipn/process2', 'funds', 'ipn/stripe/[0-9]+', 'ipn/checkout2/[0-9]+');

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/version2.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

// 2.1
$lang['ctn_611'] = "Ticket #";
$lang['ctn_612'] = "has replied to your Ticket and awaits your response.";
$lang['ctn_613'] = "2Checkout Account No";
$lang['ctn_614'] = "2Checkout Secret";
$lang['ctn_615'] = "Default Category";
$lang['ctn_616'] = "This is the default category that newly created tickets go to when they are generated by the CRON file using IMAP.";
$lang['ctn_617'] = "Fetch Ticket Replies";
$lang['ctn_618'] = "Fetch New Tickets (creation)";
$lang['ctn_619'] = "Avatar Height";
$lang['ctn_620'] = "The maximum height an avatar can be.";
$lang['ctn_621'] = "Avatar Width";
$lang['ctn_622'] = "The maximum width an avatar can be.";
$lang['ctn_623'] = "Payment Log";
$lang['ctn_624'] = "Buy";
$lang['ctn_625'] = "Category Parent";
$lang['ctn_626'] = "If you want this category to be a sub-category, select its parent here.";
$lang['ctn_627'] = "Custom Views";
$lang['ctn_628'] = "Posted On";
$lang['ctn_629'] = "Ticket Details";
$lang['ctn_630'] = "Assign";
$lang['ctn_631'] = "Are you sure you want to assign yourself to this ticket?";
$lang['ctn_632'] = "Print View";
$lang['ctn_633'] = "Ticket History";
$lang['ctn_634'] = "View All";
$lang['ctn_635'] = "Order By";
$lang['ctn_636'] = "TicketID";
$lang['ctn_637'] = "Order Sort";
$lang['ctn_638'] = "Ascending";
$lang['ctn_639'] = "Descending";
$lang['ctn_640'] = "Update Custom View";
$lang['ctn_641'] = "Add Custom View";
$lang['ctn_642'] = "Custom View";
$lang['ctn_643'] = "Remove";
$lang['ctn_644'] = "First name of the client";
$lang['ctn_645'] = "Last name of the client";
$lang['ctn_646'] = "First name of the staff";
$lang['ctn_647'] = "Last name of the staff";
$lang['ctn_648'] = "View Ticket";
$lang['ctn_649'] = "Ticket was created [CLIENT].";
$lang['ctn_650'] = "Ticket reply was added [CLIENT].";
$lang['ctn_651'] = "Ticket reply was modified from:";
$lang['ctn_652'] = "To";
$lang['ctn_653'] = "Ticket reply was deleted";
$lang['ctn_654'] = "Ticket was modified in Edit section [CLIENT]";
$lang['ctn_655'] = "Ticket was rated";
$lang['ctn_656'] = "stars";
$lang['ctn_657'] = "Guest logged into view ticket.";
$lang['ctn_658'] = "Ticket was created [IMAP/CRON]";
$lang['ctn_659'] = "Ticket reply was added [IMAP/CRON]";
$lang['ctn_660'] = "Ticket was generated via IMAP/Cron.";
$lang['ctn_661'] = "was assigned to ticket.";
$lang['ctn_662'] = "was assigned to ticket.";
$lang['ctn_663'] = "You have been assigned to a ticket.";
$lang['ctn_664'] = "Ticket status was changed to";
$lang['ctn_665'] = "Replied to the ticket.";
$lang['ctn_666'] = "Ticket was modified in Edit area.";
$lang['ctn_667'] = "Deleted a ticket file attachment.";
$lang['ctn_668'] = "Ticket was created [ADMIN]";

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

// V2.1
$lang['error_124'] = "View does not exist";
$lang['error_125'] = "Invalid View!";
$lang['error_126'] = "Invalid Ordering Type";

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

// v2.1
$lang['success_64'] = "The user was assigned to the ticket!";
$lang['success_65'] = "The view was set as your custom view!";
$lang['success_66'] = "The custom view was updated";
$lang['success_67'] = "The custom view was added";
$lang['success_68'] = "The custom view was deleted!";

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.

Version 2.0.1 - (Released: 08/12/2016)

This update contains minor twekas and bug fixes. The following changes were made:

  • Added heading tags to HTML filter
  • Facebook name fix
  • Fix for Admin Permissions
  • Client Notification List added
  • Fixed Notification Link
  • Fixed glyphicons colour on Premium Plans
  • Added Last Updated to Article Page
  • Fixed Category Display in Client View
  • Added Category to Knowledge Base Articles view in staff area

In order to update, please overwrite the following files:

  • Controllers
  • application/controllers/Login.php
  • application/controllers/Home.php
  • application/controllers/Admin.php
  • application/controllers/Client.php
  • application/controllers/Knowledge.php
  • Languages
  • application/language/english/Content_lang.php
  • Libraries
  • application/libraries/Lib_filter.php
  • application/libraries/Settings.php
  • Views
  • application/views/client/plans.php
  • application/views/client/notifications.php
  • application/view/client/knowledge.php
  • application/views/client/view_knowledge.php
  • application/views/layout/layout.php
  • application/views/layout/client_layout.php
  • application/views/knowledge/index.php
  • Styles
  • styles/client.css

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.

VERSION 2.0

This is a brand new version of the Support Centre. In order to use this new version it requires a complete fresh install. There was no way we could convert the old system to the new one due to the many changes and improvements made. If you're having trouble installing the new version, let us know and we'll be happy to fix it.

Thanks!