Miragedesign_Pinterest - Version 1.1.4

Version Notes

Minor Modification due to current limits of Pinterest Api

Download this release

Release Info

Developer Magento Core Team
Extension Miragedesign_Pinterest
Version 1.1.4
Comparing to
See all releases


Code changes from version 1.1.3 to 1.1.4

app/code/community/Miragedesign/Pinterest/Block/Fanbox.php CHANGED
@@ -113,7 +113,7 @@ class Miragedesign_Pinterest_Block_Fanbox extends Miragedesign_Pinterest_Block_B
113
  }
114
 
115
  public function getFollowersOf($username = '', $maxiumNumber = 0, $page = 1) {
116
- $maxiumNumber = ($maxiumNumber) ? $maxiumNumber : $this->_pinMaximumNumber;
117
  $username = ($username) ? $username : $this->_pinterestUsername;
118
 
119
  $params = array('limit' => $maxiumNumber,
113
  }
114
 
115
  public function getFollowersOf($username = '', $maxiumNumber = 0, $page = 1) {
116
+ $maxiumNumber = ($maxiumNumber) ? $maxiumNumber : $this->_followerMaximumNumber;
117
  $username = ($username) ? $username : $this->_pinterestUsername;
118
 
119
  $params = array('limit' => $maxiumNumber,
app/code/community/Miragedesign/Pinterest/Lib/PinterestApi.php CHANGED
@@ -65,7 +65,7 @@
65
 
66
  $endpoint = '/users/' . $username . '/followers/';
67
 
68
- return $this->get($endpoint);
69
  }
70
 
71
  static function getUserUrl($username) {
65
 
66
  $endpoint = '/users/' . $username . '/followers/';
67
 
68
+ return $this->get($endpoint, $params);
69
  }
70
 
71
  static function getUserUrl($username) {
app/code/community/Miragedesign/Pinterest/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Miragedesign_Pinterest>
5
- <version>1.1.3</version>
6
  </Miragedesign_Pinterest>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Miragedesign_Pinterest>
5
+ <version>1.1.4</version>
6
  </Miragedesign_Pinterest>
7
  </modules>
8
  <frontend>
app/code/community/Miragedesign/Pinterest/etc/system.xml CHANGED
@@ -336,7 +336,7 @@
336
  <show_in_default>1</show_in_default>
337
  <show_in_website>1</show_in_website>
338
  <show_in_store>1</show_in_store>
339
- <comment>The maximum number of pins to display</comment>
340
  </pinterest_followers_number>
341
  <pinterest_thumbnail_width translate="label" module="pinterest">
342
  <label>Follower's thumbnail width</label>
336
  <show_in_default>1</show_in_default>
337
  <show_in_website>1</show_in_website>
338
  <show_in_store>1</show_in_store>
339
+ <comment>The maximum number of followers to display in Fanbox</comment>
340
  </pinterest_followers_number>
341
  <pinterest_thumbnail_width translate="label" module="pinterest">
342
  <label>Follower's thumbnail width</label>
app/design/frontend/base/default/template/miragedesign/pinterest_right_fanbox.phtml CHANGED
@@ -19,7 +19,7 @@
19
  $userData = $this->getUserInfo();
20
  $userInfo = json_decode($userData);
21
  $arrFollowers = $objFollowers->people;
22
-
23
  if (count($arrFollowers)) {
24
  ?>
25
  <div class="block pin-fanbox">
19
  $userData = $this->getUserInfo();
20
  $userInfo = json_decode($userData);
21
  $arrFollowers = $objFollowers->people;
22
+
23
  if (count($arrFollowers)) {
24
  ?>
25
  <div class="block pin-fanbox">
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Miragedesign_Pinterest</name>
4
- <version>1.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
7
  <channel>community</channel>
@@ -26,17 +26,16 @@
26
  &lt;strong&gt;14. Support you to show Pinterest Fanbox on your site with several options&lt;/strong&gt; &lt;br /&gt;&#xD;
27
  And much more features are comming!&#xD;
28
  &lt;br /&gt;&#xD;
29
- Version Status: 1.1.3, Stable&#xD;
30
  &lt;br /&gt;&lt;br /&gt;&#xD;
31
  Developped by &lt;a href="http://miragedesign.net"&gt;Mirage Design&lt;/a&gt;&#xD;
32
  &lt;br /&gt;&#xD;
33
  Feel free to ask any question at &lt;a href="http://miragedesign.net/newss/pinterest-magento-linker/"&gt;our site&lt;/a&gt;</description>
34
- <notes>Upgraded Version for supporting Pinterest Fanbox&#xD;
35
- - Display your followers from Pinterest in your Magento website with several options.</notes>
36
  <authors><author><name>Miragedesign</name><user>auto-converted</user><email>contact@miragedesign.net</email></author></authors>
37
  <date>2012-04-07</date>
38
- <time>06:09:30</time>
39
- <contents><target name="magecommunity"><dir name="Miragedesign"><dir name="Pinterest"><dir name="Block"><file name="Base.php" hash="23704dbfb6ccfaa4b7999baa6a401bc7"/><file name="Button.php" hash="3dbc03daf9755dd71ccf3fd755b1134e"/><file name="Fanbox.php" hash="657da37dd53d2483ec7c839c72c7564f"/><file name="Feed.php" hash="693338cb348e82882e8b259556c11af2"/></dir><dir name="Helper"><file name="Data.php" hash="b1e241f5a9fb4b875a401a999f9932cc"/></dir><dir name="Lib"><file name="PinterestApi.php" hash="e8079d8e5b600344e23bb2b9cb475830"/></dir><dir name="Model"><file name="Feedposition.php" hash="9ac67bac7b68ab739d7f5fb502b7668f"/><file name="Pincount.php" hash="e405b72545cabc196630ce099a82eb10"/><file name="Pindescription.php" hash="58779fe60953310bb82ff836d2ff390e"/><file name="Price.php" hash="c61c75334b6410649a92d33f22c60bd6"/></dir><dir name="etc"><file name="adminhtml.xml" hash="6ec7da759768d8ba1bceeffa15a5ff8d"/><file name="config.xml" hash="de70d150ace93992fbfcb45429747471"/><file name="system.xml" hash="861f618d1756c8ca2999b653aa1e2941"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="miragedesign"><file name="pinterest.xml" hash="fce83fe5e8d525f2131e670ae6687972"/></dir></dir><dir name="template"><dir name="miragedesign"><file name="head.phtml" hash="4adf6e2670342c5daba68ee8296a4bdf"/><file name="pinterest_button.phtml" hash="ba21428f790c9b2fdc032ab6447f61b5"/><file name="pinterest_left_fanbox.phtml" hash="e93de216b846907ea26474552fddefe0"/><file name="pinterest_left_feed.phtml" hash="051045ec50b6e31db3ab1de64fa61258"/><file name="pinterest_panel.phtml" hash="ecd8c45327c9b4d78cc930026a3c44c3"/><file name="pinterest_right_fanbox.phtml" hash="1a54383ee7dbb995a36a0ce052cc8273"/><file name="pinterest_right_feed.phtml" hash="a008ccb32d87f79aee0c4e7c4a4caa22"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="miragedesign"><file name="pinterest.css" hash="0022f5d89e751654082e76ee7167f2dd"/></dir></dir><dir name="images"><dir name="miragedesign"><dir name="pinterest"><file name="feed-icon.png" hash="997d37ed0159ac43b2862af0d66c6770"/><file name="follow-on-pinterest-button.png" hash="6b3da71de3bb885a3b17f22af8fdecbb"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Miragedesign_Pinterest.csv" hash="f80229646ce5a4bf8951f4d9243cad2e"/></dir></target><target name="mageetc"><dir name="modules"><file name="Miragedesign_Pinterest.xml" hash="3448b63aef6988ef012fecfec37c6c53"/></dir></target></contents>
40
  <compatible/>
41
  <dependencies/>
42
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Miragedesign_Pinterest</name>
4
+ <version>1.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
7
  <channel>community</channel>
26
  &lt;strong&gt;14. Support you to show Pinterest Fanbox on your site with several options&lt;/strong&gt; &lt;br /&gt;&#xD;
27
  And much more features are comming!&#xD;
28
  &lt;br /&gt;&#xD;
29
+ Version Status: 1.1.4, Stable&#xD;
30
  &lt;br /&gt;&lt;br /&gt;&#xD;
31
  Developped by &lt;a href="http://miragedesign.net"&gt;Mirage Design&lt;/a&gt;&#xD;
32
  &lt;br /&gt;&#xD;
33
  Feel free to ask any question at &lt;a href="http://miragedesign.net/newss/pinterest-magento-linker/"&gt;our site&lt;/a&gt;</description>
34
+ <notes>Minor Modification due to current limits of Pinterest Api</notes>
 
35
  <authors><author><name>Miragedesign</name><user>auto-converted</user><email>contact@miragedesign.net</email></author></authors>
36
  <date>2012-04-07</date>
37
+ <time>07:00:08</time>
38
+ <contents><target name="magecommunity"><dir name="Miragedesign"><dir name="Pinterest"><dir name="Block"><file name="Base.php" hash="23704dbfb6ccfaa4b7999baa6a401bc7"/><file name="Button.php" hash="3dbc03daf9755dd71ccf3fd755b1134e"/><file name="Fanbox.php" hash="7b896190e040aec4f9ff0fe7db1a1b82"/><file name="Feed.php" hash="693338cb348e82882e8b259556c11af2"/></dir><dir name="Helper"><file name="Data.php" hash="b1e241f5a9fb4b875a401a999f9932cc"/></dir><dir name="Lib"><file name="PinterestApi.php" hash="ab7096a44241f6c70b6cb2f20fb47b01"/></dir><dir name="Model"><file name="Feedposition.php" hash="9ac67bac7b68ab739d7f5fb502b7668f"/><file name="Pincount.php" hash="e405b72545cabc196630ce099a82eb10"/><file name="Pindescription.php" hash="58779fe60953310bb82ff836d2ff390e"/><file name="Price.php" hash="c61c75334b6410649a92d33f22c60bd6"/></dir><dir name="etc"><file name="adminhtml.xml" hash="6ec7da759768d8ba1bceeffa15a5ff8d"/><file name="config.xml" hash="2b32b973f2be6da40e9031f1e394102f"/><file name="system.xml" hash="74dcdeb003d422bb82d8bb10bcb2a192"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="miragedesign"><file name="pinterest.xml" hash="fce83fe5e8d525f2131e670ae6687972"/></dir></dir><dir name="template"><dir name="miragedesign"><file name="head.phtml" hash="4adf6e2670342c5daba68ee8296a4bdf"/><file name="pinterest_button.phtml" hash="ba21428f790c9b2fdc032ab6447f61b5"/><file name="pinterest_left_fanbox.phtml" hash="e93de216b846907ea26474552fddefe0"/><file name="pinterest_left_feed.phtml" hash="051045ec50b6e31db3ab1de64fa61258"/><file name="pinterest_panel.phtml" hash="ecd8c45327c9b4d78cc930026a3c44c3"/><file name="pinterest_right_fanbox.phtml" hash="3ad479a5f1e892d18dc28065cc42d2a6"/><file name="pinterest_right_feed.phtml" hash="a008ccb32d87f79aee0c4e7c4a4caa22"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="miragedesign"><file name="pinterest.css" hash="0022f5d89e751654082e76ee7167f2dd"/></dir></dir><dir name="images"><dir name="miragedesign"><dir name="pinterest"><file name="feed-icon.png" hash="997d37ed0159ac43b2862af0d66c6770"/><file name="follow-on-pinterest-button.png" hash="6b3da71de3bb885a3b17f22af8fdecbb"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Miragedesign_Pinterest.csv" hash="f80229646ce5a4bf8951f4d9243cad2e"/></dir></target><target name="mageetc"><dir name="modules"><file name="Miragedesign_Pinterest.xml" hash="3448b63aef6988ef012fecfec37c6c53"/></dir></target></contents>
39
  <compatible/>
40
  <dependencies/>
41
  </package>