Version Notes
- Fixed performance issue
Download this release
Release Info
Developer | PPLSAY Commerce Ltd |
Extension | PPLSAY_Social_Discussions |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
app/code/community/PPLS/Discussions/Model/Discussions.php
CHANGED
@@ -64,7 +64,7 @@ class PPLS_Discussions_Model_Discussions extends Mage_Core_Model_Abstract
|
|
64 |
$productNamesStr = json_encode($productNames);
|
65 |
$account_id=$this->getPPLSayAccount();
|
66 |
|
67 |
-
$client_url = $this->getPPLSayBaseURL().'/rest/conversations/ver1/
|
68 |
|
69 |
|
70 |
|
64 |
$productNamesStr = json_encode($productNames);
|
65 |
$account_id=$this->getPPLSayAccount();
|
66 |
|
67 |
+
$client_url = $this->getPPLSayBaseURL().'/rest/conversations/ver1/multi-count-by-id/'.$account_id;
|
68 |
|
69 |
|
70 |
|
app/code/community/PPLS/Discussions/Model/Discussions.php~
CHANGED
@@ -170,6 +170,20 @@ class PPLS_Discussions_Model_Discussions extends Mage_Core_Model_Abstract
|
|
170 |
return $baseURL;
|
171 |
}
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
public function getPPLSayAccount()
|
174 |
{
|
175 |
|
170 |
return $baseURL;
|
171 |
}
|
172 |
|
173 |
+
public function getPPLSayCDNBaseURL()
|
174 |
+
{
|
175 |
+
|
176 |
+
$baseURL = trim(Mage::getModel('core/variable')->loadByCode('ppls_cdn_url')->getData('store_plain_value'));
|
177 |
+
if($baseURL==null || $baseURL=="")
|
178 |
+
{
|
179 |
+
$baseURL = $this->defaultPPLSayURL;
|
180 |
+
}
|
181 |
+
else if(substr($baseURL, -1)=="/")
|
182 |
+
{
|
183 |
+
$baseURL=substr($baseURL, 0, -1);
|
184 |
+
}
|
185 |
+
return $baseURL;
|
186 |
+
}
|
187 |
public function getPPLSayAccount()
|
188 |
{
|
189 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>PPLSAY_Social_Discussions</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -26,12 +26,11 @@ Visit us at: http://pplsay.com
|
|
26 |
For demo site please refer to the following link pplsay demo:
|
27 |
http://demo.pplsay.com/
|
28 |
</description>
|
29 |
-
<notes>-
|
30 |
-
- Fixed Magento 1.9 CSS issues </notes>
|
31 |
<authors><author><name>PPLSAY Commerce Ltd</name><user>pplsay</user><email>contact@pplsay.com</email></author><author><name>PPLSAY Commerce Ltd</name><user>ymatatov</user><email>ymatatov@pplsay.com</email></author></authors>
|
32 |
-
<date>2014-
|
33 |
-
<time>
|
34 |
-
<contents><target name="magecommunity"><dir name="PPLS"><dir name="Discussions"><dir name="Block"><file name="Discussions.php" hash="b27a6cd3150240f9bc00a86668087e80"/><file name="Discussions.php~" hash="fbee3a0227e037a9af6028fadf52c61d"/><file name="Virality.php" hash="45913cedd9e52a60dba35ec86116451b"/><file name="Virality.php~" hash="9d4c15d1ed72359e62f77ea7235dbd86"/></dir><dir name="Model"><file name="Discussions.php" hash="
|
35 |
<compatible/>
|
36 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name/><channel>connect.magentocommerce.com/core</channel><min/><max/></package></required></dependencies>
|
37 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>PPLSAY_Social_Discussions</name>
|
4 |
+
<version>1.1.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
26 |
For demo site please refer to the following link pplsay demo:
|
27 |
http://demo.pplsay.com/
|
28 |
</description>
|
29 |
+
<notes>- Fixed performance issue </notes>
|
|
|
30 |
<authors><author><name>PPLSAY Commerce Ltd</name><user>pplsay</user><email>contact@pplsay.com</email></author><author><name>PPLSAY Commerce Ltd</name><user>ymatatov</user><email>ymatatov@pplsay.com</email></author></authors>
|
31 |
+
<date>2014-08-18</date>
|
32 |
+
<time>20:34:03</time>
|
33 |
+
<contents><target name="magecommunity"><dir name="PPLS"><dir name="Discussions"><dir name="Block"><file name="Discussions.php" hash="b27a6cd3150240f9bc00a86668087e80"/><file name="Discussions.php~" hash="fbee3a0227e037a9af6028fadf52c61d"/><file name="Virality.php" hash="45913cedd9e52a60dba35ec86116451b"/><file name="Virality.php~" hash="9d4c15d1ed72359e62f77ea7235dbd86"/></dir><dir name="Model"><file name="Discussions.php" hash="08b561dbd24285cd479e7d8fae95fe96"/><file name="Discussions.php~" hash="259d360b583f658a0d5d96c684bc00a3"/><file name="Observer.php" hash="0090d37d9f59653775ab1c438610b825"/><file name="Observer.php~" hash="5f9d93319b88003a4b97b6052c4bbebf"/><file name="Virality.php" hash="e23eb32efb83f1b238e56d287621afb3"/><file name="Virality.php~" hash="e23eb32efb83f1b238e56d287621afb3"/></dir><dir name="controllers"><file name="AjaxController.php" hash="3dc80810396889a44ad5630200a5120a"/></dir><dir name="etc"><file name="config.xml" hash="2591a21ff35bc08a5c2c4b1007badcb7"/><file name="config.xml~" hash="2591a21ff35bc08a5c2c4b1007badcb7"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="discussions.xml" hash="e287cd779c0b2822d13f841906d9ceda"/></dir><dir name="template"><dir name="discussions"><file name="discussions.phtml" hash="d0c2a36c1e45a8097d9e2b64bb34683c"/><file name="discussions.phtml~" hash="191ec614612eef04dbaef660b7254ffd"/><file name="discussions_tab.phtml" hash="a8ba7a05bd513c39d8e23ef5aaa9a713"/><file name="discussionsajax.phtml" hash="7198009ab06cff1df67af38b1a1c2bb2"/><file name="feedbackajax.phtml" hash="87dc84f946738cf45c469355a501495d"/><file name="getdiscussionsajax.phtml" hash="8a16f98dd4eee7ffd75d72d66b071ac5"/><file name="prod_discussions.phtml~" hash="a8ba7a05bd513c39d8e23ef5aaa9a713"/><file name="prod_discussions2.phtml~" hash="501c88fbd1f8a98c7cb398e4d619ad43"/><file name="searchdiscussionsajax.phtml" hash="710a9cf544b4280dcc979780a6b27397"/><file name="virality.phtml" hash="e24ff80a61fdb0650dd6ac9579e371e5"/><file name="virality.phtml~" hash="d458c32b5a7b9b8bdea7733dbf1114c6"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="discussions"><file name="discussions.phtml" hash="2cf98f4c538b94fee53071b6a3489fc3"/><file name="discussions.phtml~" hash="2cf98f4c538b94fee53071b6a3489fc3"/><file name="prod_discussions.phtml~" hash="a8ba7a05bd513c39d8e23ef5aaa9a713"/><file name="prod_discussions2.phtml~" hash="501c88fbd1f8a98c7cb398e4d619ad43"/><file name="virality.phtml~" hash="e5f7560a0fc7a498dfda94a62346a139"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="discussions"><file name="discussions.phtml" hash="38a8cad19ed181f8c7fb5232bce3d096"/><file name="discussions.phtml~" hash="38a8cad19ed181f8c7fb5232bce3d096"/><file name="prod_discussions.phtml~" hash="a8ba7a05bd513c39d8e23ef5aaa9a713"/><file name="prod_discussions2.phtml~" hash="501c88fbd1f8a98c7cb398e4d619ad43"/><file name="virality.phtml~" hash="41cd911fb7a8e96e6e12d01cea97fba1"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PPLS_Discussions.xml" hash="ac7b6141ef009aa254ead448c9720e95"/></dir></target></contents>
|
34 |
<compatible/>
|
35 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name/><channel>connect.magentocommerce.com/core</channel><min/><max/></package></required></dependencies>
|
36 |
</package>
|