### “UZY - Secure User Management System” Updating Guide by “Patchesoft” v1.0

# “UZY - Secure User Management System”

Created: 06/03/2014
By: Patchesoft
Email: patchesoft@gmail.com

Hello! This document is a guide on how to update your UZY System to the latest version (if you haven't installed the system yet, ignore this article!). This guide will provide you details on the latest updates and how you can implement the update. For help on installing and modifying the UZY System, please read the doucmentation file that came with it: here

## Table of Contents

1. Update Guide

### Update Guide - top

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.1

Version 2.1 includes some new features as well bug fixes for UZY! This update is a big one so we suggest you overwrite all files for easy update, however you can overwrite file by file below. It includes the following:

- Fixed Edit Not Default Group Error
- Bolded Usernames in Edit User
- Fixed Check Username in registration
- NEW User Profiles implemented + linked up on several pages
- Profile Comments
- Revamped Notification System
- Options in Admin to allow guests to view profiles
- Options in Admin to disable Profile Comments
- Options in User Panel to allow user to disable Profile Comments on their profile
- Options to put Profile Text on profile from User Panel
- Updated WYSIWYG editor with lots of new options include font colors, tables, alignment and source code view mode.

Files to Overwrite

- application/controllers/admin.php
- application/controllers/profile.php
- application/controllers/mail.php
- application/controllers/user_panel.php
- application/models/admin_model.php
- application/models/profile_model.php
- application/models/user_model.php
- application/models/event_model.php
- application/models/news_model.php
- application/libraries/user.php
- application/libraries/settings.php
- application/libraries/lib_filter.php
- application/views/admin/edit_user.php
- application/views/admin/add_page_cat.php
- application/views/admin/edit_page_cat.php
- application/views/profile/index.php
- application/views/mail/create.php
- application/views/mail/index.php
- application/views/mail/view.php
- application/views/user_panel/index.php
- application/views/layout/layout.php
- application/views/register/index.php
- application/views/pages/page.php
- application/views/pages/index.php
- application/views/news/index.php
- application/views/news/view.php
- styles/new.css
- scripts/event.js
- scripts/tinymce/config.js
- application/config/routes.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/version2.1/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_117'] = "Profile Text";
    			$lang['ctn_118'] = "Disable Profile Comments";
    			$lang['ctn_119'] = "User Profile";
    			$lang['ctn_120'] = "'s Profile";
    			$lang['ctn_121'] = "Send Message";
    			$lang['ctn_122'] = "Welcome to";
    			$lang['ctn_123'] = "User Level:";
    			$lang['ctn_124'] = "User Group:";
    			$lang['ctn_125'] = "Profile Comments";
    			$lang['ctn_126'] = "Delete";
    			$lang['ctn_127'] = "Post Comment";
    			$lang['ctn_128'] = "new comment";

Modify file application/language/english/admin_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['actn_239'] = "Allow Guests To View Profiles";
    			$lang['actn_240'] = "Disable Profile Comments";

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_87'] = "Could not find that user!";
    			$lang['error_88'] = "This comment does not exist!";
    			$lang['error_89'] = "Only the profile owner can delete comments from their profile!";
    			$lang['error_90'] = "Profile commenting has been disabled!";
    			$lang['error_91'] = "Invalid User!";
    			$lang['error_92'] = "This user has disabled comment postings!";
    			$lang['error_93'] = "You cannot post an empty comment!";

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_43'] = "The comment was successfully deleted!";
    			$lang['success_44'] = "The comment was posted!";

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

Version 2.0.1 is a bug fix update. It fixes the following:

- Deleting News Article
- Editing non-default groups
- Being able to add/update the category descriptions for page categories
- Bolded Username text on Edit User page

Files to overwrite

- application/models/admin_model.php
- application/controllers/admin.php
- application/views/admin/edit_user.php
- application/views/admin/add_page_cat.php
- application/views/admin/edit_page_cat_pro.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/admin_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['actn_238'] = "Description";

Version 2.0

Version 2.0 is a big revamp of the UZY System. It includes a brand new layout, usernames, search system and updated views! Because this update is really big, we suggest doing a clean install of the system. If you have any trouble updating to the next version, please feel free to contact us and we will be able to help you.

- Brand New Flat Layout
- Cached Twitter Messages
- Added Usernames
- Content Search added
- Restyled News and Page views
- Mailbox now uses Usernames to send messages
- Added a new theme

Version 1.0

This is the first version. No update needed.

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.

Patchesoft

Go To Table of Contents