Version Notes
-2.0.5: Force SSL use while connecting to Zopim server to get account information
- 2.0.4: Fix cache issue
- 2.0.3 Update Zoppim Assets and add Cache Support
- 2.0.2: fix a bug on specific server configuration -
Zend_Log error fix
- 2.0.0: Complete new version - support of the new widget and API
Download this release
Release Info
Developer | diglin |
Extension | Diglin_Chat |
Version | 2.0.5 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.5
app/code/community/Diglin/Chat/Block/Display.php
CHANGED
@@ -39,6 +39,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
|
|
39 |
return array(
|
40 |
'ZOPIM_CHAT',
|
41 |
$this->getNameInLayout(),
|
|
|
42 |
Mage::helper('customer')->getCurrentCustomer()->getId()
|
43 |
);
|
44 |
}
|
@@ -479,7 +480,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
|
|
479 |
|
480 |
// Specify Bubble Color
|
481 |
if ($this->getChatHelper()->getWindowTheme() == 'classic' && $this->getChatHelper()->getBubbleColorPrimary()) {
|
482 |
-
switch ($this->getChatHelper()->getBubbleColorPrimary()){
|
483 |
case 'bubble_color_primary':
|
484 |
$color = $this->getChatHelper()->getThemePrimaryColor();
|
485 |
break;
|
@@ -490,7 +491,6 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
|
|
490 |
$color = $this->getChatHelper()->getThemePrimaryColor();
|
491 |
}
|
492 |
break;
|
493 |
-
|
494 |
}
|
495 |
if (!empty($color)) {
|
496 |
$out[] = "\$zopim.livechat.theme.setColor('#" . ltrim($color, '#') . "', 'bubble')";
|
39 |
return array(
|
40 |
'ZOPIM_CHAT',
|
41 |
$this->getNameInLayout(),
|
42 |
+
Mage::app()->getStore()->getId(),
|
43 |
Mage::helper('customer')->getCurrentCustomer()->getId()
|
44 |
);
|
45 |
}
|
480 |
|
481 |
// Specify Bubble Color
|
482 |
if ($this->getChatHelper()->getWindowTheme() == 'classic' && $this->getChatHelper()->getBubbleColorPrimary()) {
|
483 |
+
switch ($this->getChatHelper()->getBubbleColorPrimary()) {
|
484 |
case 'bubble_color_primary':
|
485 |
$color = $this->getChatHelper()->getThemePrimaryColor();
|
486 |
break;
|
491 |
$color = $this->getChatHelper()->getThemePrimaryColor();
|
492 |
}
|
493 |
break;
|
|
|
494 |
}
|
495 |
if (!empty($color)) {
|
496 |
$out[] = "\$zopim.livechat.theme.setColor('#" . ltrim($color, '#') . "', 'bubble')";
|
app/code/community/Diglin/Chat/etc/config.xml
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
<config>
|
20 |
<modules>
|
21 |
<Diglin_Chat>
|
22 |
-
<version>2.0.
|
23 |
</Diglin_Chat>
|
24 |
</modules>
|
25 |
|
19 |
<config>
|
20 |
<modules>
|
21 |
<Diglin_Chat>
|
22 |
+
<version>2.0.4</version>
|
23 |
</Diglin_Chat>
|
24 |
</modules>
|
25 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Diglin_Chat</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -84,14 +84,16 @@
|
|
84 |
<li>Regarding Zopim Chat itself, please visit <a href="http://bit.ly/1kcTNL5">http://www.zopim.com</a></li>
|
85 |
<li>Code is available on <a href="https://github.com/diglin/Diglin_Chat">Github</a></li>
|
86 |
</ul></description>
|
87 |
-
<notes>-
|
|
|
|
|
88 |
- 2.0.2: fix a bug on specific server configuration - 
|
89 |
Zend_Log error fix
|
90 |
- 2.0.0: Complete new version - support of the new widget and API</notes>
|
91 |
<authors><author><name>diglin</name><user>diglin</user><email>sly@diglin.com</email></author></authors>
|
92 |
-
<date>
|
93 |
-
<time>
|
94 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Diglin_Chat.xml" hash="ff6f5a3e3492e983a02dfb93c55374ed"/></dir></target><target name="magecommunity"><dir name="Diglin"><dir name="Chat"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Source"><file name="Heading.php" hash="2f1fa69d19c2b2511a8170fb00dac9b6"/><file name="Hint.php" hash="26a36352dd1136a5a7ec531941d561e6"/></dir></dir><file name="Dashboard.php" hash="5a224b780670cbedc7aef26bdf25cd3d"/></dir><file name="Display.php" hash="
|
95 |
<compatible/>
|
96 |
<dependencies><required><php><min>5.2.9</min><max>6.0.0</max></php></required></dependencies>
|
97 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Diglin_Chat</name>
|
4 |
+
<version>2.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
84 |
<li>Regarding Zopim Chat itself, please visit <a href="http://bit.ly/1kcTNL5">http://www.zopim.com</a></li>
|
85 |
<li>Code is available on <a href="https://github.com/diglin/Diglin_Chat">Github</a></li>
|
86 |
</ul></description>
|
87 |
+
<notes>-2.0.5: Force SSL use while connecting to Zopim server to get account information
|
88 |
+
- 2.0.4: Fix cache issue
|
89 |
+
- 2.0.3 Update Zoppim Assets and add Cache Support
|
90 |
- 2.0.2: fix a bug on specific server configuration - 
|
91 |
Zend_Log error fix
|
92 |
- 2.0.0: Complete new version - support of the new widget and API</notes>
|
93 |
<authors><author><name>diglin</name><user>diglin</user><email>sly@diglin.com</email></author></authors>
|
94 |
+
<date>2015-02-10</date>
|
95 |
+
<time>18:25:21</time>
|
96 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Diglin_Chat.xml" hash="ff6f5a3e3492e983a02dfb93c55374ed"/></dir></target><target name="magecommunity"><dir name="Diglin"><dir name="Chat"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Source"><file name="Heading.php" hash="2f1fa69d19c2b2511a8170fb00dac9b6"/><file name="Hint.php" hash="26a36352dd1136a5a7ec531941d561e6"/></dir></dir><file name="Dashboard.php" hash="5a224b780670cbedc7aef26bdf25cd3d"/></dir><file name="Display.php" hash="f226d7ee803a1c8c904e274467eef350"/></dir><dir name="Helper"><file name="Data.php" hash="950122c6c6016762ff7bd53852f601e6"/></dir><dir name="Model"><dir name="Config"><dir name="Source"><file name="Api.php" hash="f9f4caaa8264141ea360cee865ac6b6c"/><file name="Badgecolor.php" hash="0eb3a51b5a9474a812e3210b095b6d39"/><file name="Bubblecolor.php" hash="bfbc0ed8c2194a0829f11159e38adfaa"/><file name="Buttonposition.php" hash="30624e50b915e498414fcef34e331026"/><file name="Classicthemes.php" hash="6b7f014e233c805b46d5e5f9e00d829a"/><file name="Language.php" hash="6ad9435fa363314b1b8ee3fd33a15742"/><file name="Layout.php" hash="74ea999eb7ab4f27f5c5976f0ea3f135"/><file name="Mobileposition.php" hash="c81669ab6d0b13ae267fe6c2ae4bf988"/><file name="Showhide.php" hash="21e2ad8dae77450edd1d38a5f0a3b5a9"/><file name="Simpleadvanced.php" hash="b81a67776915105f76d2928d583110fd"/><file name="Themes.php" hash="ebac216acc267191fee31d812aac1d1f"/><file name="Windowposition.php" hash="39a6ae8a676b63baf8bd4b8bd7eff26f"/><file name="Windowsize.php" hash="a4c36b741aa23a2379568eeb009cdc2f"/></dir></dir><dir name="Resource"><file name="Setup.php" hash="9ed4d5c5e9c80184594799c7add3ccb9"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="a76d55d16281389971b2df2bd782e31d"/></dir></dir><dir name="data"><dir name="diglinchat_setup"><file name="data-upgrade-1.3.0-2.0.1.php" hash="1e875c4dc9865932b368c890a8d2c6e0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="40344d7020df0b07de5e1d9b8dc40180"/><file name="config.xml" hash="4c4997c1703ce2991e24a6b34e39bc35"/><file name="system.xml" hash="5f3b4671ae5445369e9b09099418592f"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="chat.xml" hash="86637d1582ac19d8b1525ad231904cc6"/></dir><dir name="template"><dir name="chat"><file name="test.phtml" hash="6462d6f79dcfd02bd438dc1eba51056f"/><file name="widget.phtml" hash="ddd8dc659efde43ebf8d52abfc96fef2"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="chat.xml" hash="9db0217cb4f7670bc54b27645d846e7c"/></dir><dir name="template"><dir name="chat"><file name="account.phtml" hash="e0bf20e6bc31328b32a799c0b1d3797a"/><file name="dashboard.phtml" hash="3b9ad1e7855153f8e5de0f409cb99549"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="zopim"><file name="zopim.css" hash="2bbb9b1c17207654f53f8b0ef82c25e0"/></dir></dir></dir></dir></target></contents>
|
97 |
<compatible/>
|
98 |
<dependencies><required><php><min>5.2.9</min><max>6.0.0</max></php></required></dependencies>
|
99 |
</package>
|