Johnny Handsome - 2017-01-19

Installation:

Download the VIMS application and copy the files to a directory under your web server home.

extract the VIMS files into the vims directory"

change ownership of the files: chown -R wwwrun:www /srv/www/htdocs/vims

rename the ewcfg12-DIST.php to ewcfg12.php

Database Setup:


create the database by executing the vims.sql script, located in the install folder. Use either a SQL IDE or command line.

mysql -uroot -p < vims.sql

The script creates the default tables and sample data. the default Database user is also created with basic rights. You may want to change the user password. If you do change it, you must also update the ewfg12.php configuration file.

Config Setup:


The ewcfg12.php file is the primary location fof all system settings.

You must change the following parameters to suit your environment.

VIMS has a bult-in non-database access account, YOU SHOULD CHANGE THE PASSWORD/USERNAME IMMEDIATELY.

define("EW_ADMIN_USER_NAME", "administrat0r", TRUE); // Administrator user name
define("EW_ADMIN_PASSWORD", "PASSWORD!", TRUE); // Administrator password

If you do not wish to use this account, delete or remark out the 2 lines above. (Make sure you have created a database user account before hand with full privileges first.)

Database Connection:

$EW_CONN["DB"] = array("conn" => NULL, "id" => "DB", "type" => "MYSQL", "host" => "localhost", "port" => 3306, "user" => "myportal", "pass" => "PASSWORD", "db" => "mytccportal", "qs" => "", "qe" => "");

These setting must match the settings of your DB Server.

Email Notifications:

In Order to send notifications, the following parameters need to be setup according to your email server environment. VIMS has been tested with Gmail's smtp settings, and should work fine,if you do not have a corporate email infrastructure.

define("EW_SMTP_SERVER", "myemailserver.com", TRUE); // SMTP server
define("EW_SMTP_SERVER_PORT", 587, TRUE); // SMTP server port
define("EW_SMTP_SECURE_OPTION", "tls", TRUE); // TLS or SSL
define("EW_SMTP_SERVER_USERNAME", "MYEMAILACCT@SOMEWHERE.COM", TRUE); // SMTP server user name
define("EW_SMTP_SERVER_PASSWORD", "PASSWORD!", TRUE); // SMTP server password

define("EW_SENDER_EMAIL", " FROM_SENDER@SOMEWHERE.COM", TRUE); // Sender email address
define("EW_RECIPIENT_EMAIL", "AUDIT_RECIPIENT@SOMEWHERE.COM", TRUE); // Recipient email address (account that receives all system notifications, auditing messges.)

Changing your timezone:

To change your default timezone, change the lines below in the following files.

in userfn12.php:
date_default_timezone_set("America/New_York");

In phplang/english.xml:
<phrase id="user-content-time_zone" value="**America/New_York**"></phrase>

Setting Up/Managing Users:

3 user accounts come default. You can use these accounts to base your users on, as each sample account is setup for specific functions within the system,

Reception/Front Desk: (Front Desk) Security Level: Front Desk
This account would be used for usage at a security or front desk area. This security level is able to see all requests that are logged into the system, and is able to check-in, print and check-out visitors. This account cannot make changes to another users records. If this is needed, you will need to change the User Access Levels (UAL) for this Security Level.

Regular User (Thurman Merman): Security Level: Default
This account is used for general end user accounts. This Security Level can create and manage their own visitor records. When a new user is created, the default security level is set to "Default". All Users can only see and mange there own records.

Administrator Security Level: Administrator
This account has access to all areas of the system. Individual UAL settings do not apply to this account.

To use this accounts for testing purposes, login with the the Fail Safe Administrator account specified in the ewcfg12.php file, and change the passwords accordinly.

 

Last edit: Johnny Handsome 2017-01-24