WebsiteAlive_LiveChat - Version 1.0.2

Version Notes

Stable

Download this release

Release Info

Developer WebsiteAlive
Extension WebsiteAlive_LiveChat
Version 1.0.2
Comparing to
See all releases


Version 1.0.2

app/code/community/WebsiteAlive/Connector/Block/Adminhtml/System/Config/Login.php ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the End User Software Agreement (EULA).
6
+ * It is also available through the world-wide-web at this URL:
7
+ * http://www.harapartners.com/license
8
+ * If you did not receive a copy of the license and are unable to
9
+ * obtain it through the world-wide-web, please send an email
10
+ * to eula@harapartners.com so we can send you a copy immediately.
11
+ */
12
+
13
+ class WebsiteAlive_Connector_Block_Adminhtml_System_Config_Login extends Mage_Adminhtml_Block_System_Config_Form_Field {
14
+
15
+ protected function _toHtml() {
16
+ $htmlId = $this->getHtmlId();
17
+ $ajaxUrl = $this->getAjaxUrl();
18
+ $buttonLabel = $this->escapeHtml($this->getButtonLabel());
19
+
20
+ $htmlContent = <<< HTML_CONTENT
21
+ <script type="text/javascript">
22
+ function ajaxLogin() {
23
+ var elem = $('$htmlId');
24
+
25
+ params = {
26
+ username: $('waconnector_general_username').value,
27
+ password: $('waconnector_general_password').value
28
+ };
29
+
30
+ new Ajax.Request('$ajaxUrl', {
31
+ parameters: params,
32
+ onSuccess: function(response) {
33
+ result = 'Login failed!';
34
+ try {
35
+ response = JSON.parse(response.responseText);
36
+ if (response.status == 1) {
37
+ result = 'Successful! Please select website...';
38
+ $('waconnector_general_website_id').update(response.website_option_html);
39
+ elem.removeClassName('fail').addClassName('success');
40
+ } else {
41
+ elem.removeClassName('success').addClassName('fail');
42
+ }
43
+ } catch (e) {
44
+ elem.removeClassName('success').addClassName('fail');
45
+ }
46
+ $('ajax_login_result').update(result);
47
+ }
48
+ });
49
+ }
50
+ </script>
51
+ <button onclick="javascript:ajaxLogin(); return false;" class="scalable" type="button" id="$htmlId">
52
+ <span><span><span id="ajax_login_result">$buttonLabel</span></span></span>
53
+ </button>
54
+ HTML_CONTENT;
55
+
56
+ return $htmlContent;
57
+ }
58
+
59
+ public function render(Varien_Data_Form_Element_Abstract $element){
60
+ $element->unsScope()->unsCanUseWebsiteValue()->unsCanUseDefaultValue();
61
+ return parent::render($element);
62
+ }
63
+
64
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element){
65
+ $originalData = $element->getOriginalData();
66
+ $this->addData(array(
67
+ 'button_label' => Mage::helper('waconnector')->__($originalData['button_label']),
68
+ 'html_id' => $element->getHtmlId(),
69
+ 'ajax_url' => Mage::getSingleton('adminhtml/url')->getUrl('*/system_config_ajax/login')
70
+ ));
71
+
72
+ return $this->_toHtml();
73
+ }
74
+ }
app/code/community/WebsiteAlive/Connector/Block/Connector.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the End User Software Agreement (EULA).
6
+ * It is also available through the world-wide-web at this URL:
7
+ * http://www.harapartners.com/license
8
+ * If you did not receive a copy of the license and are unable to
9
+ * obtain it through the world-wide-web, please send an email
10
+ * to eula@harapartners.com so we can send you a copy immediately.
11
+ */
12
+
13
+ class WebsiteAlive_Connector_Block_Connector extends Mage_Core_Block_Template {
14
+
15
+ protected function _toHtml() {
16
+ $html = "";
17
+ $server = Mage::getStoreConfig('waconnector/general/server');
18
+ $websiteId = Mage::getStoreConfig('waconnector/general/website_id');
19
+ $groupId = Mage::getStoreConfig('waconnector/general/group_id');
20
+ if(Mage::getStoreConfig('waconnector/general/is_enabled')
21
+ && $groupId
22
+ && $server
23
+ ){
24
+ $html .= <<<HTML_CONTENT
25
+ <!-- Start WebsiteAlive Embedded Icon/Tracking Code -->
26
+ <script type="text/javascript">
27
+ function wsa_include_js(){
28
+ var wsa_host = (("https:" == document.location.protocol) ? "https://" : "http://");
29
+ var js = document.createElement('script');
30
+ js.setAttribute('language', 'javascript');
31
+ js.setAttribute('type', 'text/javascript');
32
+ js.setAttribute('src',wsa_host + 'tracking.websitealive.com/vTracker_v2.asp?objectref=$server&websiteid=$websiteId&groupid=$groupId');
33
+ document.getElementsByTagName('head').item(0).appendChild(js);
34
+ }
35
+
36
+ if (window.attachEvent) {window.attachEvent('onload', wsa_include_js);}
37
+ else if (window.addEventListener) {window.addEventListener('load', wsa_include_js, false);}
38
+ else {document.addEventListener('load', wsa_include_js, false);}
39
+ </script>
40
+ <!-- End WebsiteAlive Embedded Icon/Tracking Code -->
41
+ HTML_CONTENT;
42
+ }
43
+
44
+ return $html;
45
+ }
46
+
47
+ }
app/code/community/WebsiteAlive/Connector/Helper/Data.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the End User Software Agreement (EULA).
6
+ * It is also available through the world-wide-web at this URL:
7
+ * http://www.harapartners.com/license
8
+ * If you did not receive a copy of the license and are unable to
9
+ * obtain it through the world-wide-web, please send an email
10
+ * to eula@harapartners.com so we can send you a copy immediately.
11
+ */
12
+
13
+ class WebsiteAlive_Connector_Helper_Data extends Mage_Core_Helper_Data {
14
+
15
+ }
app/code/community/WebsiteAlive/Connector/Model/Observer.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the End User Software Agreement (EULA).
6
+ * It is also available through the world-wide-web at this URL:
7
+ * http://www.harapartners.com/license
8
+ * If you did not receive a copy of the license and are unable to
9
+ * obtain it through the world-wide-web, please send an email
10
+ * to eula@harapartners.com so we can send you a copy immediately.
11
+ */
12
+
13
+ class WebsiteAlive_Connector_Model_Observer {
14
+
15
+ public function addBlockBeforeRenderLayout(){
16
+ $layout = Mage::getSingleton('core/layout');
17
+ $targetBlock = $layout->getBlock('before_body_end');
18
+ $targetBlock->append($layout->createBlock('waconnector/connector'));
19
+ }
20
+
21
+ }
app/code/community/WebsiteAlive/Connector/Model/Source/Website.php ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the End User Software Agreement (EULA).
6
+ * It is also available through the world-wide-web at this URL:
7
+ * http://www.harapartners.com/license
8
+ * If you did not receive a copy of the license and are unable to
9
+ * obtain it through the world-wide-web, please send an email
10
+ * to eula@harapartners.com so we can send you a copy immediately.
11
+ */
12
+
13
+ class WebsiteAlive_Connector_Model_Source_Website {
14
+
15
+ public function toOptionArray() {
16
+ // $resultArary = array(array('value' => "", 'label'=>"-- Please Select --"));
17
+ $resultArary = array();
18
+ $availableSites = self::_getAvailableWebsites();
19
+ foreach($availableSites as $availableSite){
20
+ if(isset($availableSite['websiteid']) && isset($availableSite['title'])){
21
+ $resultArary[] = array('value' => $availableSite['websiteid'], 'label' => $availableSite['title']);
22
+ }
23
+ }
24
+ return $resultArary;
25
+ }
26
+
27
+ public function toArray(){
28
+ // $resultArary = array("" => "-- Please Select --");
29
+ $resultArary = array();
30
+ $availableSites = self::_getAvailableWebsites();
31
+ foreach($availableSites as $availableSite){
32
+ if(isset($availableSite['websiteid']) && isset($availableSite['title'])){
33
+ $resultArary[$availableSite['websiteid']] = $availableSite['title'];
34
+ }
35
+ }
36
+ return $resultArary;
37
+ }
38
+
39
+ public static function generateHtml($websiteResultJson = null){
40
+ // $htmlContent = "<option selected=\"selected\" value=\"\">-- Please Select --</option>";
41
+ $htmlContent = "";
42
+ $availableSites = self::_getAvailableWebsites($websiteResultJson);
43
+ foreach($availableSites as $availableSite){
44
+ if(isset($availableSite['websiteid']) && isset($availableSite['title'])){
45
+ $htmlContent .= "<option value=\"{$availableSite['websiteid']}\">{$availableSite['title']}</option>";
46
+ }
47
+ }
48
+ return $htmlContent;
49
+ }
50
+
51
+ protected static function _getAvailableWebsites($websiteResultJson = null){
52
+ if(!!$websiteResultJson){
53
+ $availableSites = json_decode($websiteResultJson, 1);
54
+ }else{
55
+ $availableSites = json_decode(Mage::getStoreConfig('waconnector/general/available_website_json'), 1);
56
+ }
57
+ if(!$availableSites){
58
+ $availableSites = array();
59
+ }
60
+ return $availableSites;
61
+ }
62
+
63
+ }
app/code/community/WebsiteAlive/Connector/controllers/Adminhtml/System/Config/AjaxController.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the End User Software Agreement (EULA).
6
+ * It is also available through the world-wide-web at this URL:
7
+ * http://www.harapartners.com/license
8
+ * If you did not receive a copy of the license and are unable to
9
+ * obtain it through the world-wide-web, please send an email
10
+ * to eula@harapartners.com so we can send you a copy immediately.
11
+ */
12
+
13
+ class WebsiteAlive_Connector_Adminhtml_System_Config_AjaxController extends Mage_Adminhtml_Controller_Action {
14
+
15
+ public function loginAction() {
16
+
17
+ try{
18
+ $username = $this->getRequest()->getParam('username');
19
+ $password = $this->getRequest()->getParam('password');
20
+ //Check encrypted password
21
+ if (preg_match('/^\*+$/', $password)) {
22
+ $password = Mage::helper('core')->decrypt(Mage::getStoreConfig('waconnector/general/password'));
23
+ }
24
+ $loginRequestUrl = "https://api-v1.websitealive.com/auth/?action=login_validate&user_name=$username&password=$password";
25
+ $loginRequestCurl = curl_init();
26
+ curl_setopt($loginRequestCurl, CURLOPT_URL, $loginRequestUrl);
27
+ curl_setopt($loginRequestCurl, CURLOPT_SSL_VERIFYPEER, 0);
28
+ curl_setopt($loginRequestCurl, CURLOPT_RETURNTRANSFER, 1);
29
+ $loginResultData = json_decode(curl_exec($loginRequestCurl), 1);
30
+ curl_close($loginRequestCurl);
31
+
32
+ if(empty($loginResultData[0]['objectref']) || empty($loginResultData[0]['groupid'])){
33
+ throw new Exception('Invalid login.');
34
+ }
35
+
36
+ $coreConfigData = Mage::getModel('core/config_data')->load('waconnector/general/server', 'path');
37
+ $coreConfigData->setPath('waconnector/general/server'); //In case of new save
38
+ $coreConfigData->setValue($loginResultData[0]['objectref']);
39
+ $coreConfigData->save();
40
+
41
+ $coreConfigData = Mage::getModel('core/config_data')->load('waconnector/general/group_id', 'path');
42
+ $coreConfigData->setPath('waconnector/general/group_id'); //In case of new save
43
+ $coreConfigData->setValue($loginResultData[0]['groupid']);
44
+ $coreConfigData->save();
45
+
46
+ $websiteRequestUrl = "https://api-v1.websitealive.com/org/?action=getwebsites&objectref={$loginResultData[0]['objectref']}&groupid={$loginResultData[0]['groupid']}";
47
+ $websiteRequestCurl = curl_init();
48
+ curl_setopt($websiteRequestCurl, CURLOPT_URL, $websiteRequestUrl);
49
+ curl_setopt($websiteRequestCurl, CURLOPT_SSL_VERIFYPEER, 0);
50
+ curl_setopt($websiteRequestCurl, CURLOPT_RETURNTRANSFER, 1);
51
+ $websiteResultJson = curl_exec($websiteRequestCurl);
52
+ curl_close($websiteRequestCurl);
53
+
54
+ $coreConfigData = Mage::getModel('core/config_data')->load('waconnector/general/available_website_json', 'path');
55
+ $coreConfigData->setPath('waconnector/general/available_website_json'); //In case of new save
56
+ $coreConfigData->setValue($websiteResultJson);
57
+ $coreConfigData->save();
58
+
59
+ }catch(Exception $e){
60
+ echo json_encode(array('status' => 0)); //Json error
61
+ exit;
62
+ }
63
+ //Need to send $websiteResultJson, the store config is still the cache value, not our new value
64
+ echo json_encode(array(
65
+ 'status' => 1,
66
+ 'website_option_html' => WebsiteAlive_Connector_Model_Source_Website::generateHtml($websiteResultJson)
67
+ )); //Json success
68
+ exit;
69
+ }
70
+
71
+ }
app/code/community/WebsiteAlive/Connector/etc/config.xml ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the End User Software Agreement (EULA).
6
+ * It is also available through the world-wide-web at this URL:
7
+ * http://www.harapartners.com/license
8
+ * If you did not receive a copy of the license and are unable to
9
+ * obtain it through the world-wide-web, please send an email
10
+ * to eula@harapartners.com so we can send you a copy immediately.
11
+ *
12
+ -->
13
+ <config>
14
+ <modules>
15
+ <WebsiteAlive_Connector>
16
+ <version>1.0.0</version>
17
+ </WebsiteAlive_Connector>
18
+ </modules>
19
+ <global>
20
+ <blocks>
21
+ <waconnector>
22
+ <class>WebsiteAlive_Connector_Block</class>
23
+ </waconnector>
24
+ </blocks>
25
+ <helpers>
26
+ <waconnector>
27
+ <class>WebsiteAlive_Connector_Helper</class>
28
+ </waconnector>
29
+ </helpers>
30
+ <models>
31
+ <waconnector>
32
+ <class>WebsiteAlive_Connector_Model</class>
33
+ </waconnector>
34
+ </models>
35
+ </global>
36
+ <frontend>
37
+ <events>
38
+ <controller_action_layout_render_before>
39
+ <observers>
40
+ <waconnector_controller_action_layout_render_before>
41
+ <class>waconnector/observer</class>
42
+ <method>addBlockBeforeRenderLayout</method>
43
+ </waconnector_controller_action_layout_render_before>
44
+ </observers>
45
+ </controller_action_layout_render_before>
46
+ </events>
47
+ </frontend>
48
+ <admin>
49
+ <routers>
50
+ <adminhtml>
51
+ <args>
52
+ <modules>
53
+ <waconnector before="Mage_Adminhtml">WebsiteAlive_Connector_Adminhtml</waconnector>
54
+ </modules>
55
+ </args>
56
+ </adminhtml>
57
+ </routers>
58
+ </admin>
59
+ <adminhtml>
60
+ <acl>
61
+ <resources>
62
+ <admin>
63
+ <children>
64
+ <system>
65
+ <children>
66
+ <config>
67
+ <children>
68
+ <waconnector translate="title" module="waconnector">
69
+ <title>Website Alive</title>
70
+ </waconnector>
71
+ </children>
72
+ </config>
73
+ </children>
74
+ </system>
75
+ </children>
76
+ </admin>
77
+ </resources>
78
+ </acl>
79
+ </adminhtml>
80
+ <default>
81
+ <waconnector>
82
+ <general>
83
+ <is_enabled>1</is_enabled>
84
+ </general>
85
+ </waconnector>
86
+ </default>
87
+ </config>
app/code/community/WebsiteAlive/Connector/etc/system.xml ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * This source file is subject to the End User Software Agreement (EULA).
6
+ * It is also available through the world-wide-web at this URL:
7
+ * http://www.harapartners.com/license
8
+ * If you did not receive a copy of the license and are unable to
9
+ * obtain it through the world-wide-web, please send an email
10
+ * to eula@harapartners.com so we can send you a copy immediately.
11
+ *
12
+ -->
13
+ <config>
14
+ <tabs>
15
+ <waconnector translate="label" module="waconnector">
16
+ <label>WebsiteAlive</label>
17
+ <sort_order>100</sort_order>
18
+ </waconnector>
19
+ </tabs>
20
+ <sections>
21
+ <waconnector translate="label" module="waconnector">
22
+ <class>separator-top</class>
23
+ <label>WebsiteAlive Connector Settings</label>
24
+ <tab>waconnector</tab>
25
+ <frontend_type>text</frontend_type>
26
+ <sort_order>100</sort_order>
27
+ <show_in_default>1</show_in_default>
28
+ <show_in_website>1</show_in_website>
29
+ <show_in_store>1</show_in_store>
30
+ <groups>
31
+ <signup translate="label" module="waconnector">
32
+ <label>Sign Up</label>
33
+ <frontend_type>text</frontend_type>
34
+ <sort_order>100</sort_order>
35
+ <show_in_default>1</show_in_default>
36
+ <show_in_website>1</show_in_website>
37
+ <show_in_store>1</show_in_store>
38
+ <expanded>1</expanded>
39
+ <comment><![CDATA[Please use this link to<a target="_blank" style="color: #F79622;" href="https://www.websitealive.com/live-chat-pricing/">Sign Up</a> for our live chat solution.]]></comment>
40
+ </signup>
41
+ <general translate="label" module="waconnector">
42
+ <label>Configuration</label>
43
+ <frontend_type>text</frontend_type>
44
+ <sort_order>200</sort_order>
45
+ <show_in_default>1</show_in_default>
46
+ <show_in_website>1</show_in_website>
47
+ <show_in_store>1</show_in_store>
48
+ <expanded>1</expanded>
49
+ <fields>
50
+ <is_enabled translate="label">
51
+ <label>Is Enabled</label>
52
+ <frontend_type>select</frontend_type>
53
+ <source_model>adminhtml/system_config_source_yesno</source_model>
54
+ <sort_order>110</sort_order>
55
+ <show_in_default>1</show_in_default>
56
+ <show_in_website>1</show_in_website>
57
+ <show_in_store>1</show_in_store>
58
+ </is_enabled>
59
+ <username translate="label">
60
+ <label>Username</label>
61
+ <frontend_type>text</frontend_type>
62
+ <sort_order>120</sort_order>
63
+ <show_in_default>1</show_in_default>
64
+ <show_in_website>1</show_in_website>
65
+ <show_in_store>0</show_in_store>
66
+ <validate>required-entry</validate>
67
+ </username>
68
+ <password translate="label">
69
+ <label>Password</label>
70
+ <frontend_type>obscure</frontend_type>
71
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
72
+ <sort_order>130</sort_order>
73
+ <show_in_default>1</show_in_default>
74
+ <show_in_website>1</show_in_website>
75
+ <show_in_store>0</show_in_store>
76
+ <validate>required-entry</validate>
77
+ </password>
78
+ <user_login_wizard translate="button_label">
79
+ <label></label>
80
+ <button_label>Login</button_label>
81
+ <frontend_model>waconnector/adminhtml_system_config_login</frontend_model>
82
+ <sort_order>140</sort_order>
83
+ <show_in_default>1</show_in_default>
84
+ <show_in_website>1</show_in_website>
85
+ <show_in_store>0</show_in_store>
86
+ </user_login_wizard>
87
+ <website_id translate="label">
88
+ <label>Website</label>
89
+ <frontend_type>select</frontend_type>
90
+ <source_model>waconnector/source_website</source_model>
91
+ <sort_order>210</sort_order>
92
+ <show_in_default>1</show_in_default>
93
+ <show_in_website>1</show_in_website>
94
+ <show_in_store>0</show_in_store>
95
+ <validate>required-entry</validate>
96
+ </website_id>
97
+ </fields>
98
+ </general>
99
+ <help translate="label" module="waconnector">
100
+ <label>Need Help?</label>
101
+ <frontend_type>text</frontend_type>
102
+ <sort_order>300</sort_order>
103
+ <show_in_default>1</show_in_default>
104
+ <show_in_website>1</show_in_website>
105
+ <show_in_store>1</show_in_store>
106
+ <expanded>1</expanded>
107
+ <comment><![CDATA[Need help? Review our<a target="_blank" style="color: #F79622;" href="https://www.websitealive.com/live-chat-implementation/">Support Knowledgebase</a>.<br/>
108
+ Or<a target="_blank" style="color: #F79622;" href="https://www.websitealive.com/howtovideos/">watch our helpful videos and read our guides</a>.<br/>
109
+ Learn about the<a target="_blank" style="color: #F79622;" href="http://go.websitealive.com/downloads/pdf/AliveChat_Administrator_How_To.pdf">Administrator Console</a> or the<a target="_blank" style="color: #F79622;" href="http://go.websitealive.com/downloads/pdf/AliveChat_Operator_How_To.pdf">Operator Console</a><br/>]]>
110
+ </comment>
111
+ </help>
112
+ </groups>
113
+ </waconnector>
114
+ </sections>
115
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>WebsiteAlive_LiveChat</name>
4
+ <version>1.0.2</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://www.harapartners.com/terms/eula">Hara Partners End User License Agreement</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>WebsiteAlive is the easy-to-use Live Chat/Click-To-Call solution for your Magento shopping cart.</summary>
10
+ <description>WebsiteAlive is the easy-to-use Live Chat/Click-To-Call solution for your Magento shopping cart. Visitors can immediately chat or initiate a click-to-call session with someone at your company who can answer their questions, in real-time. This Magento plug-in instantly embeds WebsiteAlive Tracking Code into your shopping cart which tracks visitors in real-time and also displays a call-to-action icon.</description>
11
+ <notes>Stable</notes>
12
+ <authors><author><name>WebsiteAlive</name><user>websitealive</user><email>magento@websitealive.com</email></author></authors>
13
+ <date>2013-11-01</date>
14
+ <time>21:04:39</time>
15
+ <contents><target name="magecommunity"><dir name="WebsiteAlive"><dir name="Connector"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Login.php" hash="b1ee8c7310d15eb35115b6ffd4d044b5"/></dir></dir></dir><file name="Connector.php" hash="e95a72c77c0cd98c91b1cf1a5629d5e2"/></dir><dir name="Helper"><file name="Data.php" hash="47bdea73889322389a027bd02e25783c"/></dir><dir name="Model"><file name="Observer.php" hash="4dbf88faf36cddb5e4d08718225942cf"/><dir name="Source"><file name="Website.php" hash="86d9a5a424bd8d77c18aca2b0d778c80"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="AjaxController.php" hash="a1fb99cdcb15b8ac2582a8981a55ebb7"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="1521e221136982cfb2cacc1fe3e16eb9"/><file name="system.xml" hash="69ea48cc4661fbf84f50ab7eb75515e0"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="WebsiteAlive_Connector" hash=""/></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.10.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>