ReveChat - Version 1.0.4

Version Notes

REVE Chat v1.0.4

Download this release

Release Info

Developer REVE Chat
Extension ReveChat
Version 1.0.4
Comparing to
See all releases


Code changes from version 1.0.3 to 1.0.4

app/code/local/Reve/Revechat/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Reve_Revechat>
5
- <version>1.0.3</version>
6
  </Reve_Revechat>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Reve_Revechat>
5
+ <version>1.0.4</version>
6
  </Reve_Revechat>
7
  </modules>
8
  <global>
app/code/local/Reve/Revechat/sql/revechat_setup/mysql4-install-1.0.4.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+
5
+ $installer->run("
6
+ CREATE TABLE IF NOT EXISTS {$this->getTable('revechat')} (
7
+ `revechat_id` int(11) NOT NULL auto_increment,
8
+ `revechat_aid` varchar(100) NULL,
9
+ PRIMARY KEY (`revechat_id`)
10
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
11
+
12
+ INSERT INTO {$this->getTable('revechat')}
13
+ (`revechat_id`, `revechat_aid`) VALUES
14
+ (1, '');
15
+ ");
16
+
17
+ $installer->endSetup();
app/design/frontend/base/default/template/revechat/footer.phtml CHANGED
@@ -9,16 +9,14 @@ if (!isset($revechat_options)){
9
  <?php if($revechat_options['revechat_aid'] != null){
10
 
11
  ?>
12
- <!-- Start of REVE Chat Script-->
13
- <script type='text/javascript'>
14
- window.__revechat_account = window.__revechat_account || {};
15
- window.__revechat_account = '<?php echo $revechat_options['revechat_aid']; ?>';
16
- (function() {
17
- var rc = document.createElement('script'); rc.type = 'text/javascript'; rc.async = true;
18
- rc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.revechat.com/widget/scripts/new-livechat.js';
19
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(rc, s);
20
- })();
21
- </script>
22
- <!-- End of REVE Chat Script -->
23
 
24
  <?php } ?>
9
  <?php if($revechat_options['revechat_aid'] != null){
10
 
11
  ?>
12
+ <!-- Start of REVE Chat Script-->
13
+ <script type='text/javascript'>
14
+ window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account='<?php echo $revechat_options['revechat_aid']; ?>';w.__revechat_version=2;
15
+ r._= []; var rc = d.createElement('script'); rc.type = 'text/javascript'; rc.async = true; rc.setAttribute('charset', 'utf-8');
16
+ rc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.revechat.com/widget/scripts/new-livechat.js?'+new Date().getTime();
17
+ var s = d.getElementsByTagName('script')[0]; s.parentNode.insertBefore(rc, s);
18
+ })(document, window);
19
+ </script>
20
+ <!-- End of REVE Chat Script -->
 
 
21
 
22
  <?php } ?>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ReveChat</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>REVE Chat is powerful and intuitive real-time customer engagement tools.</summary>
10
  <description>REVE Chat is a powerful and intuitive live support chat software. It allows your agents to personally guide and help visitors, while they go through the various sections of your website.</description>
11
- <notes>REVE Chat v1.0.3</notes>
12
  <authors><author><name>REVE Chat</name><user>REVEChat_Main</user><email>product@revechat.com</email></author></authors>
13
- <date>2016-09-28</date>
14
- <time>05:13:04</time>
15
- <contents><target name="magelocal"><dir name="Reve"><dir name="Revechat"><dir name="Block"><file name="Accountconfig.php" hash="b86922bf53c4321ace3396228743eb48"/><file name="index.php" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="Helper"><file name="Data.php" hash="339184bdca83b945f07869e7d800008a"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Revechat"><file name="collection.php" hash="25aa6160ab86da1400d81c94b9d18564"/></dir><file name="Revechat.php" hash="47d960c1331a7dcf2c70389c1eac2e76"/></dir><file name="Revechat.php" hash="f1b0ebbdc86ebb6b3d329c612a6f32f3"/></dir><dir name="controllers"><file name="AdminController.php" hash="19581401d082e45b0ad01d2adb87c355"/><file name="IndexController.php" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="etc"><file name="config.xml" hash="007f457d0c8f7b55a2a85f328ad00d9d"/></dir><dir name="sql"><dir name="revechat_setup"><file name="mysql4-install-0.1.0.php" hash="d14c5ac02972c963340be40bb19be6eb"/><file name="mysql4-install-1.0.1.php" hash="d14c5ac02972c963340be40bb19be6eb"/><file name="mysql4-install-1.0.2.php" hash="d14c5ac02972c963340be40bb19be6eb"/><file name="mysql4-install-1.0.3.php" hash="3de3c3e812c7aa860156605a3789b6b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="revechat.xml" hash="1b4656e3ba8ad4669ed7351a6a451500"/></dir><dir name="template"><dir name="revechat"><file name="footer.phtml" hash="df6d59b3688c73e422f5d5f56b4e0c52"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Reve_Revechat.xml" hash="bc5c70af935a018ec3e1cb86c9eab3fa"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="revechat"><file name="ajax_loader.gif" hash="af962b37779a443a77ab836b3b7a93f5"/><file name="revechat.css" hash="b2f0c621b1b5c58133043d6b3143c217"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="revechat"><file name="jquery-1.4.2.min.js" hash="10092eee563dec2dca82b77d2cf5a1ae"/><file name="revechat.js" hash="3ed2a040b55e748d4ca50141a1f322d3"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.4.0</min><max>7.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ReveChat</name>
4
+ <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>REVE Chat is powerful and intuitive real-time customer engagement tools.</summary>
10
  <description>REVE Chat is a powerful and intuitive live support chat software. It allows your agents to personally guide and help visitors, while they go through the various sections of your website.</description>
11
+ <notes>REVE Chat v1.0.4</notes>
12
  <authors><author><name>REVE Chat</name><user>REVEChat_Main</user><email>product@revechat.com</email></author></authors>
13
+ <date>2017-07-04</date>
14
+ <time>09:08:10</time>
15
+ <contents><target name="magelocal"><dir name="Reve"><dir name="Revechat"><dir name="Block"><file name="Accountconfig.php" hash="b86922bf53c4321ace3396228743eb48"/><file name="index.php" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="Helper"><file name="Data.php" hash="339184bdca83b945f07869e7d800008a"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Revechat"><file name="collection.php" hash="25aa6160ab86da1400d81c94b9d18564"/></dir><file name="Revechat.php" hash="47d960c1331a7dcf2c70389c1eac2e76"/></dir><file name="Revechat.php" hash="f1b0ebbdc86ebb6b3d329c612a6f32f3"/></dir><dir name="controllers"><file name="AdminController.php" hash="19581401d082e45b0ad01d2adb87c355"/><file name="IndexController.php" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="etc"><file name="config.xml" hash="a1cb904d2be56738f86a550039fad717"/></dir><dir name="sql"><dir name="revechat_setup"><file name="mysql4-install-0.1.0.php" hash="d14c5ac02972c963340be40bb19be6eb"/><file name="mysql4-install-1.0.1.php" hash="d14c5ac02972c963340be40bb19be6eb"/><file name="mysql4-install-1.0.2.php" hash="d14c5ac02972c963340be40bb19be6eb"/><file name="mysql4-install-1.0.3.php" hash="3de3c3e812c7aa860156605a3789b6b2"/><file name="mysql4-install-1.0.4.php" hash="3de3c3e812c7aa860156605a3789b6b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="revechat.xml" hash="1b4656e3ba8ad4669ed7351a6a451500"/></dir><dir name="template"><dir name="revechat"><file name="footer.phtml" hash="c4730af3ce733422475cf1174b278215"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Reve_Revechat.xml" hash="bc5c70af935a018ec3e1cb86c9eab3fa"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="revechat"><file name="ajax_loader.gif" hash="af962b37779a443a77ab836b3b7a93f5"/><file name="revechat.css" hash="b2f0c621b1b5c58133043d6b3143c217"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="revechat"><file name="jquery-1.4.2.min.js" hash="10092eee563dec2dca82b77d2cf5a1ae"/><file name="revechat.js" hash="3ed2a040b55e748d4ca50141a1f322d3"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.4.0</min><max>7.0.0</max></php></required></dependencies>
18
  </package>