Pro School 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 1.3.3 (14/08/2018)

This update includes mostly bug fixes. The following changes/updates were made:

  • Fixed various translation issues
  • When deleting Classes, all associated data is also deleted.
  • Can view a Student's Assignments from their Student page.

In order to update, please overwrite the following files (these updated files can also be found in the updates/version1.3.2/files/ folder):

  • Controllers
  • application/controllers/Classes.php
  • application/controllers/Students.php
  • Models
  • application/models/Classes_model.php
  • Views
  • application/views/admin/email_templates.php
  • application/views/admin/school_settings.php
  • application/views/user_settings/index.php
  • application/views/snippers/user_form.php
  • application/views/students/view_report.php
  • application/views/students/view_classes.php
  • application/views/students/view_behaviour.php
  • application/views/students/view_attendance.php
  • application/views/students/view.php
  • application/views/students/assignments.php

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 1.3.2 (27/06/2018)

This update includes mostly bug fixes. The following changes/updates were made:

  • Fixed issue with Viewing Assignments Submissions
  • Fixed Permission Issue with View Assignments
  • Added permission check for deleting files
  • Fixed numerous Translation issues
  • Disabled Payment Legacy options
  • Fixed issue with User Roles Drag n Drop
  • Fixed searching Invoices
  • Fixed mail link in view class
  • Fixed issue with edit user assignment
  • Added missing Your Overview from other layouts
  • Updated Version CodeIgnier 3.1.9
  • Added list of children to sidebar when logged in as parent

In order to update, please overwrite the following files (these updated files can also be found in the updates/version1.3.2/files/ folder):

  • System
  • /system
  • Scripts
  • scripts/libraries/sortable/*
  • Controllers
  • application/controllers/Classes.php
  • application/controllers/Students.php
  • Language
  • application/language/english/content_lang.php
  • Libraries
  • application/libraries/Settings.php
  • Models
  • application/models/User_model.php
  • application/models/Classes_model.php
  • Views
  • application/views/classes/edit_assignment.php
  • application/views/classes/edit_grade.php
  • application/views/classes/view.php
  • application/views/layout/sidebar_links.php
  • application/views/layout/themes*
  • application/views/profile/index.php
  • application/views/students/view_attendance.php
  • application/views/user_settings/index.php
  • application/views/user_settings/paying_account.php

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:

 

// v1.3.2
$lang['ctn_954'] = "This is your personal Paying Account used for Invoices.";
$lang['ctn_955'] = "Your Overview";
$lang['ctn_956'] = "Welcome to my profile!";

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 1.3 (9/05/2018)

This update includes new features and bug fixes. The following changes/updates were made:

  • Updated to latest version of CodeIgniter 3.1.8
  • Updated Login/Register system
  • Updated all layouts to improved versions
  • Updated Invoice Section
  • Implemented Invoice Themes
  • Added Invoice Items Database
  • Fixed Invoice Errors
  • Attendance now works with the Class Timetable system so you can enter multiple attendances for each class
  • New Hostel System
  • Create multiple Hostels, Hostel Rooms and even add bookings to keep track.
  • Added full month of classes to dashboard (replaces week viewing)
  • Update Class Header
  • A student can view their own Student Overview section (includes attendance, behaviour records, school report)
  • Added new Admin Tools page which allows you to Debug Email System and Resync Notifications Count
  • Added Tool to Reset School options (classes, subjects, assignments, attendance).
  • Added Export options to most tables (CSV, PDF, Copy)
  • Added New Notification Email Template

In order to update, please overwrite the following files (these updated files can also be found in the updates/version1.3/files/ folder):

  • System
  • /system
  • Styles
  • styles/elements.css
  • styles/invoice_default.css
  • styles/invoice_default_pdf.css
  • styles/invoice_navy_blue.css
  • styles/invoice_navy_blue_pdf.css
  • styles/login_layout.css
  • styles/report.css
  • styles/layouts/*
  • Scripts
  • scripts/libraries/jquery.nicescroll.min.js
  • Images
  • images/ava1.png
  • images/ava2.png
  • images/casey-horner-339855.jpg
  • images/social/*
  • images/invoices/*
  • Controllers
  • application/controllers/Admin.php
  • application/controllers/Classes.php
  • application/controllers/Cron.php
  • application/controllers/Hostel.php
  • application/controllers/Invoices.php
  • application/controllers/Login.php
  • application/controllers/Register.php
  • application/controllers/Reports.php
  • application/controllers/Students.php
  • application/controllers/User_settings.php
  • Language
  • application/language/*
  • Libraries
  • application/libraries/Common.php
  • application/libraries/Settings.php
  • application/libraries/Template.php
  • Models
  • application/models/Classes_model.php
  • application/models/Hostel_model.php
  • application/models/Invoices_model.php
  • application/models/Students_model.php
  • application/models/User_model.php
  • Third Party
  • application/third_party/mpdf/*
  • Views
  • application/views/admin/edit_email_template.php
  • application/views/admin/email_templates.php
  • application/views/admin/members.php
  • application/views/admin/school_settings.php
  • application/views/admin/section_settings.php
  • application/views/admin/tool_email_debug.php
  • application/views/admin/tool_noti_sync.php
  • application/views/admin/tool_school_reset.php
  • application/views/admin/tools.php
  • application/views/announcement/index.php
  • application/views/behaviour/index.php
  • application/views/behaviour/rules.php
  • application/views/classes/*
  • application/views/files/index.php
  • application/views/finance/index.php
  • application/views/home/index.php
  • application/views/home/notifications.php
  • application/views/hostel/*
  • application/views/invoices/*
  • application/views/layout/*
  • application/views/library/checkouts.php
  • application/views/library/index.php
  • application/views/library/reservations.php
  • application/views/login/*
  • application/views/members/index.php
  • application/views/parents/index.php
  • application/views/profile/index.php
  • application/views/register/*
  • application/views/reports/attendance.php
  • application/views/subjects/index.php
  • application/views/subjects/teachers.php
  • application/views/user_settings/index.php
  • application/views/user_settings/paying_account.php

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

 

//V1.3
$lang['ctn_873'] = "Themes";
$lang['ctn_874'] = "Partially Paid";
$lang['ctn_875'] = "Select client";
$lang['ctn_876'] = "Guest Client";
$lang['ctn_877'] = "Enter a guest name";
$lang['ctn_878'] = "Enter a guest email";
$lang['ctn_879'] = "Guest Name";
$lang['ctn_880'] = "Guest Email";
$lang['ctn_881'] = "Personal [User Settings]";
$lang['ctn_882'] = "Invoice comments here";
$lang['ctn_883'] = "Terms";
$lang['ctn_884'] = "Invoice terms here";
$lang['ctn_885'] = "Hidden Notes";
$lang['ctn_886'] = "These notes won't appear on the invoice";
$lang['ctn_887'] = "Tax Name #1";
$lang['ctn_888'] = "Rate";
$lang['ctn_889'] = "Tax Name #2";
$lang['ctn_890'] = "Invoice Items";
$lang['ctn_891'] = "Item";
$lang['ctn_892'] = "Item Description";
$lang['ctn_893'] = "Price";
$lang['ctn_894'] = "Save Item";
$lang['ctn_895'] = "Add From ItemDB";
$lang['ctn_896'] = "Add Item";
$lang['ctn_897'] = "Payments";
$lang['ctn_898'] = "Remind";
$lang['ctn_899'] = "Bank";
$lang['ctn_900'] = "Cash";
$lang['ctn_901'] = "Other";
$lang['ctn_902'] = "Paid By";
$lang['ctn_903'] = "Total Paid";
$lang['ctn_904'] = "Total Due";
$lang['ctn_905'] = "Add Payment";
$lang['ctn_906'] = "Payment Type";
$lang['ctn_907'] = "Payer's Email";
$lang['ctn_908'] = "has sent you a new invoice!";
$lang['ctn_909'] = "Hostel Manager";
$lang['ctn_910'] = "Can manage the Hostel Section of the site.";
$lang['ctn_911'] = "Copy";
$lang['ctn_912'] = "CSV";
$lang['ctn_913'] = "Excel";
$lang['ctn_914'] = "PDF";
$lang['ctn_915'] = "Print";
$lang['ctn_916'] = "Dear User";
$lang['ctn_917'] = "Invoice Reminder";
$lang['ctn_918'] = "New Notification";
$lang['ctn_919'] = "Students Overview";
$lang['ctn_920'] = "Allows a student to view their own Student Overview page (view class, attendance, behaviour warnings, report)";
$lang['ctn_921'] = "Hostel Section";
$lang['ctn_922'] = "Partially Paid";
$lang['ctn_923'] = "Hostel Bookings";
$lang['ctn_924'] = "Add Booking";
$lang['ctn_925'] = "Hostel";
$lang['ctn_926'] = "Check In";
$lang['ctn_927'] = "Check Out";
$lang['ctn_928'] = "Or Guest";
$lang['ctn_929'] = "Address";
$lang['ctn_930'] = "Capacity";
$lang['ctn_931'] = "Hostel Rooms";
$lang['ctn_932'] = "Cost Per Bed";
$lang['ctn_933'] = "Hostel Room Types";
$lang['ctn_934'] = "Type Name";
$lang['ctn_935'] = "Add Type";
$lang['ctn_936'] = "Hostel Types";
$lang['ctn_937'] = "Add Hostel";
$lang['ctn_938'] = "Pay Invoice";
$lang['ctn_939'] = "Paid Date";
$lang['ctn_940'] = "Pay With";
$lang['ctn_941'] = "Generated on";
$lang['ctn_942'] = "Amount To Pay";
$lang['ctn_943'] = "Edit Invoice Payment";
$lang['ctn_944'] = "Add Invoice Item";
$lang['ctn_945'] = "Tools";
$lang['ctn_946'] = "Items";
$lang['ctn_947'] = "Hostels";
$lang['ctn_948'] = "Rooms";
$lang['ctn_949'] = "Bookings";
$lang['ctn_950'] = "Logging In";

 

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

 

// v1.3
$lang['error_169'] = "Username cannot be empty!";
$lang['error_170'] = "You left the password field empty!";
$lang['error_171'] = "You left a required field blank: ";
$lang['error_172'] = "This class does not belong to this event!";
$lang['error_173'] = "Invalid Hostel Type";
$lang['error_174'] = "Invalid Hostel!";
$lang['error_175'] = "Invalid Hostel Room Type!";
$lang['error_176'] = "Invalid Room!";
$lang['error_177'] = "Invalid user!";
$lang['error_178'] = "Guest name cannot be empty!";
$lang['error_179'] = "You must select a check in date!";
$lang['error_180'] = "You must select a check out date!";
$lang['error_181'] = "Invalid Booking!";
$lang['error_182'] = "Invalid Paying Account!";
$lang['error_183'] = "Invalid Invoice Theme!";
$lang['error_184'] = "You must select a client!";
$lang['error_185'] = "Guest email cannot be empty!";
$lang['error_186'] = "Invalid Email!";
$lang['error_187'] = "Invalid username for client!";
$lang['error_188'] = "Invalid Amount!";
$lang['error_189'] = "Invoice Item cannot have empty name!";
$lang['error_190'] = "You must add one item to the invoice!";
$lang['error_191'] = "Item Quantity must be greater than 0";
$lang['error_192'] = "Item price must be greater than 0";
$lang['error_193'] = "Invalid Invoice Payment!";
$lang['error_194'] = "Invalid Invoice!";
$lang['error_195'] = "Item name canno be empty!";
$lang['error_196'] = "Invalid Item!";
$lang['error_197'] = "PayPal Is Not Enabled For This Invoice!";
$lang['error_198'] = "Stripe Is Not Enabled For This Invoice!";
$lang['error_199'] = "2Checkout Is Not Enabled For This Invoice!";

 

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

 

// V1.3
$lang['success_136'] = "Hostel was added!";
$lang['success_137'] = "Hostel was deleted!";
$lang['success_138'] = "Hostel was updated!";
$lang['success_139'] = "Hostel Type was added!";
$lang['success_140'] = "The hostel type was deleted!";
$lang['success_141'] = "The hostel room was added!";
$lang['success_142'] = "The room was deleted!";
$lang['success_143'] = "The hostel room was updated!";
$lang['success_144'] = "Hostel Room Type was added!";
$lang['success_145'] = "The hostel type was deleted!";
$lang['success_146'] = "The booking was added!";
$lang['success_147'] = "The booking was deleted!";
$lang['success_148'] = "The booking was updated!";
$lang['success_149'] = "Payment added to Invoice!";
$lang['success_150'] = "Invoice payment deleted!";
$lang['success_151'] = "Invoice Payment Updated";
$lang['success_152'] = "Invoice Item added!";
$lang['success_153'] = "Item was updated!";
$lang['success_154'] = "Item was deleted!";
$lang['success_155'] = "Paying Account 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.

Version 1.2 (2/11/2017)

This update mostly includes bug fixes and upgrades. The following changes/updates were made:

  • Updated to latest version of CodeIgniter 3.1.6
  • Fixed issue with viewing invoices
  • Fixed issue with PDF invoices with PHP 7+
  • Fixed issue with searching classes
  • Fixed issue with students not being able to see assigned teachers in classes
  • Updated Facebook SDK
  • Fixed issue with Social Media Google Login
  • Fixed issue with not being able to logout when choosing username after social media login
  • Iframe now works correctly in Text Editor
  • Made it easier to translate libraries DatePicker, DateTimePicker + Resolved issue with FullCalendar translations
  • Improved Language Character Filter
  • Fixed issue with emails group of users in admin panel

In order to update, please overwrite the following files (these updated files can also be found in the updates/version1.2/files/ folder):

  • System
  • /system
  • Libraries
  • application/libraries/Settings.php
  • application/libraries/User.php
  • application/libraries/Template.php
  • application/libraries/Lib_filter.php
  • Controllers
  • application/controllers/Invoices.php
  • application/controllers/Admin.php
  • application/controllers/Login.php
  • Third Party
  • application/third_party/mpdf60/classes/cssmgr.php
  • application/third_party/Facebook/*
  • Models
  • application/models/Classes_model.php
  • Views
  • application/views/classes/view.php
  • application/views/classes/timetable.php
  • application/views/classes/your_timetable.php
  • application/views/layout/dark_fire_layout.php
  • application/views/layout/titan_layout.php
  • application/views/layout/layout.php
  • application/views/layout/light_blue_layout.php
  • application/views/home/index.php
  • Scripts
  • scripts/library/datepicker/*

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 1.1 (27/06/2017)

This update includes new features and bug fixes. The following changes/updates were made:

  • Updated to the latest version of CodeIginiter 3.1.5
  • Fixed issue with logged in users using the Dark Fire Layout
  • Fixed issue with custom fields in registration area
  • Fixed issue with IPN system
  • Changed the way RTL works, better supported translation of javascript libraries
  • Updated User Role Backend Code
  • Two new user roles Parent and Parent Manager
  • New Parent Management area; allows admin to add new parents/edit/delete them.
  • Parents can have children assigned to them in Parent Management area.
  • Parents can view their children's data, including classes, attendance and behaviour records
  • Dashboard shows parent's children upon login
  • Student Manager can now add new students
  • Each Class can now have it's own grading system added.
  • Assignments can now have a weighting score added to them, which will decide how much % the assignment is worth towards the final grade.
  • Assignments can now have a max mark added to them. This is used to calculate the student's grade based on the grading system for each class.
  • Grades are automatically calculated when viewing User Submissions and Your Assignments area.
  • Added assignment mark/grade to the View Assignment page
  • Improved class usability
  • Updated Custom Fields to allow you to select whether the fields are displayed in the School Report of a student.
  • New School Report added to Students area. Can view overall grade, attendance, custom fields and more.
  • Scool Report can be downloaded as PDF
  • View all student assignments for a specific class & user from the Class Student's page.

In order to update, please overwrite the following files (these updated files can also be found in the updates/version1.1/files/ folder):

  • Config
  • application/config/config.php
  • Controllers
  • application/controllers/IPN.php
  • application/controllers/Home.php
  • application/controllers/Admin.php
  • application/controllers/Parents.php
  • application/controllers/Home.php
  • application/controllers/Students.php
  • application/controllers/Classes.php
  • Views
  • application/views/layout/dark_fire_layout.php
  • application/views/layout/layout.php
  • application/views/layout/light_blue_layout.php
  • application/views/layout/titan_layout.php
  • application/views/layout/sidebar_links.php
  • application/views/register/index.php
  • application/views/home/change_language.php
  • application/views/home/index.php
  • application/views/admin/edit_email_template.php
  • application/views/admin/email_templates.php
  • application/views/admin/settings.php
  • application/views/admin/custom_fields.php
  • application/views/admin/edit_custom_field.php
  • application/views/admin/section_settings.php
  • application/views/parents/*
  • application/views/students/index.php
  • application/views/students/add_student.php
  • application/views/students/edit_student.php
  • application/views/students/view.php
  • application/views/students/view_classes.php
  • application/views/students/view_report.php
  • application/views/student/view_report_pdf.php
  • application/views/students/view_attendance.php
  • application/views/students/view_behaviour.php
  • application/views/classes/view.php
  • application/views/classes/grades.php
  • application/views/classes/edit_grade.php
  • application/views/classes/edit_assignment.php
  • application/views/classes/view_assignments.php
  • application/views/classes/view_user_assignment.php
  • application/views/classes/edit_user_assignment.php
  • application/views/classes/add_attendance.php
  • application/views/classes/class_header.php
  • application/views/classes/attendance.php
  • application/views/classes/timetable.php
  • application/views/classes/class_students.php
  • application/views/classes/student_assignments.php
  • application/views/snippets/*
  •  
  • Hooks
  • application/hooks/Language_switcher.php
  • Models
  • application/models/Admin_model.php
  • application/models/User_model.php
  • application/models/Students_model.php
  • application/models/Classes_model.php
  • application/models/Home_model.php
  • Libraries
  • application/libraries/Template.php
  • application/libraries/Settings.php
  • application/libraries/User.php
  • Languages
  • application/languages/english/*
  • Styles
  • styles/report.css
  • 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/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

 

//V1.1
$lang['ctn_841'] = "Parent";
$lang['ctn_842'] = "Parents have access to the Parent section and can be assigned children to view their details.";
$lang['ctn_843'] = "Parent Manager";
$lang['ctn_844'] = "Can manage parents in the Parents section.";
$lang['ctn_845'] = "School Report";
$lang['ctn_846'] = "Display this field on the user's school report.";
$lang['ctn_847'] = "Viewing Assignments for user";
$lang['ctn_848'] = "This assignment is worth";
$lang['ctn_849'] = "of your final grade";
$lang['ctn_850'] = "Mark";
$lang['ctn_851'] = "The max mark for this assignment has been set to";
$lang['ctn_852'] = "Weighting";
$lang['ctn_853'] = "Weighting describes how much of the result (in %) of this assignment goes towards the class's overall grade. For example, putting in 20% would mean this assignment would be worth 20% of the final grade.";
$lang['ctn_854'] = "Max Mark";
$lang['ctn_855'] = "Enter the maximum mark that a user can receive for this assignment. This value is used to calculate the user's grade for the assignment. I.e. If the max mark is 20, and the user score is 10 marks, the user would get 50% and assigned that grade bracket.";
$lang['ctn_856'] = "Add Grade";
$lang['ctn_857'] = "Min Score";
$lang['ctn_858'] = "Max Score";
$lang['ctn_859'] = "Grades";
$lang['ctn_860'] = "Edit Grade";
$lang['ctn_861'] = "Your Children";
$lang['ctn_862'] = "Parents";
$lang['ctn_863'] = "All Parents";
$lang['ctn_864'] = "Parent Section";
$lang['ctn_865'] = "Add Parent";
$lang['ctn_866'] = "'s Children";
$lang['ctn_867'] = "Add Child to Parent";
$lang['ctn_868'] = "Add Child";
$lang['ctn_869'] = "Current Date";
$lang['ctn_870'] = "N/A";
$lang['ctn_871'] = "Last Updated";
$lang['ctn_872'] = "Download PDF version";

 

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

 

// V1.1
$lang['error_160'] = "Invalid grade!";
$lang['error_161'] = "This isn't your child so you cannnot view their data.";
$lang['error_162'] = "Invalid Parent!";
$lang['error_163'] = "Invalid Parent User Role!";
$lang['error_164'] = "Invalid Student User Role!";
$lang['error_165'] = "Child is already assigned to this parent!";
$lang['error_166'] = "Invalid Child!";
$lang['error_167'] = "Invalid Child";
$lang['error_168'] = "This invoice has already been paid!";

 

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

 

//V1.1
$lang['success_127'] = "The grade was updated!";
$lang['success_128'] = "Class grade was deleted!";
$lang['success_129'] = "The grade was added!";
$lang['success_130'] = "The report was updated!";
$lang['success_131'] = "The user was added!";
$lang['success_132'] = "The user was updated!";
$lang['success_133'] = "The student was added to the parent!";
$lang['success_134'] = "The child was removed from the parent!";
$lang['success_135'] = "The parent 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.