Contents
You must have an AffinityLive account, and the server running CredLockerPHP must have php-curl (libcurl) enabled
That's it!
Installation is achieved in 4 easy steps
- Place the plugin files into plugins/AffinityLive/
- Edit config/plugins.php and enable the Plugin by adding the string AffinityLive to the Logging array.
Example: $plugins->Logging = array('AffinityLive');
- Edit plugins/AffinityLive/config.php and set the variables to the relevant values
- active: When true the plugin is active, when false the plugin is disabled
- testmode: Only used for testing the system. Should normally be false, setting true will prevent data being sent to the API and simply output the data that would be sent
- loggingurl: The URL to post the data to. Usually http://yourdomain.affinitylive.com/forms/public/issue
- loggingstatus: The status to set the issue to. You can check this in AffinityLive, but 4 usually = Closed
- loggingpriority: The Priority to set for the issue (1 = high, 5 = none)
- loggingissuetype:: The issue type (get ID's from AffinityLive
-
Disable Captcha for Issues in AffinityLive (or disable for a specific class of support ticket if preferred)
In order for the plugin to push an event to AffinityLive a customer must have all of the following set in PHPCredLocker
- Company Name
- First Name
- Surname
- Email
Each of these must match the relevant record in AffinityLive (i.e. the Company Name must be the same and a contact must be recorded against that company with details matching those set above)
The plugin will push an event to AffinityLive for each of the following
- Credential Added
- Credential Viewed
- Credential Edited
- Credential Deleted
A closed issue will be created with the following content
Subject: {CREDENTIAL TYPE} Credentials {ACCESS} by {USER} at {DATE}
Content: {DATE}: User {USER} {ACCESS} the {CREDENTIAL TYPE} credentials for this account
Example
Subject: CPanel Credentials Added by Ben at 26-11-2012 20:33:00
Content: 26-11-2012 20:33:00: User Ben Added the CPanel credentials for this account
In the event you don't want events for a given customer logged to AffinityLive, simply leave either First Name, Surname or Email blank in PHPCredLocker.