EasyEstimates Configuration Parameters Help
Introduction
The config sub-folder contains config.lib.php and config2.lib.php. These parameters
control some of the general operations for EasyEstimates across Activities. The format
of these parameters is: define('parameter name', 'parameter value');
For simplicity, only the variable name and correct values are listed below.
Parameters
You can customize the overall look of the email by including additional HTML in either or both
- C_DB_TYPE: mysql (only valid value) (required)
- C_DB_HOST: localhost (most commonly used, if your MySQL system is located on another host
update this value to reflect the URL where the MySQL system is located) (required)
- C_DB_NAME: The name of the database used by EasyEstimates (required)
- C_DB_USER: The User Id for the User that can access the database (required)
- C_DB_PASS: The Password for the User named in C_DB_USER (required)
- uploaddir: The path to the EasyEstimates directory that stores images, usually "" (no value) will work but
something like './public_html/easyestimates/' may be needed depending on your server configuration. You will
need "write" permission on the directory during upload but it can be changed back to "read only"
after upload. Every web server seems to be a bit different with the path that needs to be defined as anything
from "" to "./public_html/easyestimates/" to the starting path from the root of the server. If the first error message displayed is a message like
"Warning: getimagesize(): Unable to access test3.JPG" look for the file, in this case test3.JPG, in a parent directory.
That will help identify what path to define.
This must end with a "/". (required, if using images)
- imagedirectory: this should point to the same directory as uploaddir but is a URL instead
of a path, 'http://sizzlingwebdesign.com/easyestimates/', for example. This is used if your
email notification will
contain any images. This must end with a "/". (required, if using images)
- contactques: discontinued after the conversion to EasyEstimates 2.0. This is now updated on Activity Change.
- inname: discontinued after the conversion to EasyEstimates 2.0. This is now updated on Activity Change.
- inemail: discontinued after the conversion to EasyEstimates 2.0. This is now updated on Activity Change.
- inphone: discontinued after the conversion to EasyEstimates 2.0. This is now updated on Activity Change.
- inetextlen: discontinued after the conversion to EasyEstimates 2.0. This is now updated on Activity Change.
- logdeldays: delete summary log entries after the number of days specified here.
If this parameter is not specified, no automatic deletes occur.
For example, define('logdeldays','365'); , deletes entries over 365 days old. (optional)
- lockmode (for Activity changes): y = locked (no Activity updates), n = not locked (updates allowed), p = password protected,
r = reset password (note: this allows the next user to specify a password but locks access until changed back to "p") (required)
- logpass (for estimate log access): p = password protected, r = reset password
(note: this allows the next user to specify a password but locks access until changed back to "p"). If this
parameter is not specified, no locking or password checking is performed by EasyEstimates (optional)
- templatedir (optional): If used, the sub-directory that contains all the templates used by EasyEstimates.
This must end with a "/".
- imagedir (optional): If used, the sub-directory that contains all the user images used by EasyEstimates.
This must end with a "/".
Although there are now two different options for password protection within different parts of EasyEstimates,
EasyEstimates uses only one administrative User Id and password for both Activity Changes and EasyEstimate Log Viewing.
For conversions to EasyEstimates 2.0 or new users of EasyEstimates 2.0, you will be prompted for a
User Id and password the first time you use EasyEstimates with either lockmode or logpass set to "p".
If 5 or more invalid logon attempts occur without a valid login, the adminsitrative interfaces requiring
passwords will be locked out. You must reset the password (change to "r", enter user id and password, change to "p")
to re-enable access. Logging-in using a stored password will NOT reset the invalid login attempt count.
EasyEstimates Home