Magmodules_Kiyoh - Version 1.0.6

Version Notes

First stable release

Download this release

Release Info

Developer Magento Core Team
Extension Magmodules_Kiyoh
Version 1.0.6
Comparing to
See all releases


Code changes from version 1.0.5 to 1.0.6

app/code/local/Magmodules/Kiyoh/Block/Reviews.php CHANGED
@@ -23,11 +23,6 @@ class Magmodules_Kiyoh_Block_Reviews extends Mage_Core_Block_Template {
23
 
24
  public function __construct() {
25
  parent::__construct();
26
-
27
- $this->addData(array(
28
- 'cache_lifetime' => 7200,
29
- 'cache_tags' => array(Mage_Cms_Model_Block::CACHE_TAG, Magmodules_Kiyoh_Model_Reviews::CACHE_TAG),
30
- ));
31
 
32
  // Load Reviews
33
  $collection = Mage::getModel('kiyoh/reviews')->getCollection();
23
 
24
  public function __construct() {
25
  parent::__construct();
 
 
 
 
 
26
 
27
  // Load Reviews
28
  $collection = Mage::getModel('kiyoh/reviews')->getCollection();
app/code/local/Magmodules/Kiyoh/Block/Sidebar.php CHANGED
@@ -79,6 +79,9 @@ class Magmodules_Kiyoh_Block_Sidebar extends Mage_Core_Block_Template {
79
 
80
  function getReviewsUrl($sidebar = 'left') {
81
 
 
 
 
82
  if($sidebar == 'left'):
83
  $link = Mage::getStoreConfig('kiyoh/sidebar/left_link');
84
  endif;
@@ -102,7 +105,9 @@ class Magmodules_Kiyoh_Block_Sidebar extends Mage_Core_Block_Template {
102
  }
103
 
104
  function getSnippetsEnabled($sidebar = 'left') {
105
-
 
 
106
  if($sidebar == 'left'):
107
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/left_snippets');
108
  endif;
@@ -110,9 +115,7 @@ class Magmodules_Kiyoh_Block_Sidebar extends Mage_Core_Block_Template {
110
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/right_snippets');
111
  endif;
112
 
113
- $homepage = Mage::getBlockSingleton('page/html_header')->getIsHomePage();
114
-
115
- if($enabled && $homepage) {
116
  return true;
117
  } else {
118
  return false;
79
 
80
  function getReviewsUrl($sidebar = 'left') {
81
 
82
+ $link = '';
83
+ $url = '';
84
+
85
  if($sidebar == 'left'):
86
  $link = Mage::getStoreConfig('kiyoh/sidebar/left_link');
87
  endif;
105
  }
106
 
107
  function getSnippetsEnabled($sidebar = 'left') {
108
+
109
+ $enabled = '';
110
+
111
  if($sidebar == 'left'):
112
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/left_snippets');
113
  endif;
115
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/right_snippets');
116
  endif;
117
 
118
+ if($enabled) {
 
 
119
  return true;
120
  } else {
121
  return false;
app/code/local/Magmodules/Kiyoh/Model/Api.php CHANGED
@@ -70,37 +70,31 @@ class Magmodules_Kiyoh_Model_Api extends Mage_Core_Model_Abstract {
70
  $api_url = Mage::getStoreConfig('kiyoh/general/api_url', $store_id);
71
  $api_email = Mage::getStoreConfig('kiyoh/invitation/company_email', $store_id);
72
  $delay = Mage::getStoreConfig('kiyoh/invitation/delay', $store_id);
73
- $min_order = Mage::getStoreConfig('kiyoh/invitation/min_order_total', $store_id);
74
  $inv_status = Mage::getStoreConfig('kiyoh/invitation/status', $store_id);
75
  $email = strtolower($order->getCustomerEmail());
76
- $order_total = $order->getGrandTotal();
77
 
78
- if($order_total >= $min_order || $min_order == 0) {
79
- if($order->getStatus() == $inv_status) {
80
- $http = new Varien_Http_Adapter_Curl();
81
- $http->setConfig(array('timeout' => 30, 'maxredirects' => 0));
82
 
83
- $url = 'https://' . $api_url. '/set.php';
84
- $request = "action=sendInvitation&connector=" . $api_key . "&targetMail=" . $email . "&delay=" . $delay . "&user=" . $api_email;
85
-
86
- $http->write(Zend_Http_Client::POST, $url, '1.1', array(), $request);
87
- $result = $http->read();
88
 
89
- if($result) {
90
- $lines = explode("\n", $result);
91
- $response_html = $lines[0];
92
- $lines = array_reverse($lines);
93
- $response_html .= ' - ' . $lines[0];
94
- } else {
95
- $response_html = 'No response from ' . $url;
96
- }
97
-
98
- // Write to log
99
- $writelog = Mage::getModel('kiyoh/log')->addToLog('invitation', $order->getStoreId(), '', $response_html, (microtime(true) - $start_time), $crontype, $url . '?' . $request, $order->getId());
100
- return true;
101
  }
102
- } else {
103
- return false;
 
 
104
  }
105
  }
106
 
70
  $api_url = Mage::getStoreConfig('kiyoh/general/api_url', $store_id);
71
  $api_email = Mage::getStoreConfig('kiyoh/invitation/company_email', $store_id);
72
  $delay = Mage::getStoreConfig('kiyoh/invitation/delay', $store_id);
 
73
  $inv_status = Mage::getStoreConfig('kiyoh/invitation/status', $store_id);
74
  $email = strtolower($order->getCustomerEmail());
 
75
 
76
+ if($order->getStatus() == $inv_status) {
77
+ $http = new Varien_Http_Adapter_Curl();
78
+ $http->setConfig(array('timeout' => 30, 'maxredirects' => 0));
 
79
 
80
+ $url = 'https://' . $api_url. '/set.php';
81
+ $request = "action=sendInvitation&connector=" . $api_key . "&targetMail=" . $email . "&delay=" . $delay . "&user=" . $api_email;
82
+
83
+ $http->write(Zend_Http_Client::POST, $url, '1.1', array(), $request);
84
+ $result = $http->read();
85
 
86
+ if($result) {
87
+ $lines = explode("\n", $result);
88
+ $response_html = $lines[0];
89
+ $lines = array_reverse($lines);
90
+ $response_html .= ' - ' . $lines[0];
91
+ } else {
92
+ $response_html = 'No response from ' . $url;
 
 
 
 
 
93
  }
94
+
95
+ // Write to log
96
+ $writelog = Mage::getModel('kiyoh/log')->addToLog('invitation', $order->getStoreId(), '', $response_html, (microtime(true) - $start_time), $crontype, $url . '?' . $request, $order->getId());
97
+ return true;
98
  }
99
  }
100
 
app/code/local/Magmodules/Kiyoh/Model/Observer.php CHANGED
@@ -87,7 +87,7 @@ class Magmodules_Kiyoh_Model_Observer {
87
  public function processFeedbackInvitationcallAfterShipment($observer) {
88
  $shipment = $observer->getEvent()->getShipment();
89
  $order = $shipment->getOrder();
90
- if((Mage::getStoreConfig('kiyoh/invitation/enabled', $order->getStoreId())) && (Mage::getStoreConfig('kiyoh/invitation/connector', $order->getStoreId()))):
91
  if($order->getStatus() == Mage::getStoreConfig('kiyoh/invitation/status', $order->getStoreId())):
92
  if(Mage::getStoreConfig('kiyoh/invitation/backlog', $order->getStoreId()) > 0):
93
  $date_diff = floor(time() - strtotime($order->getCreatedAt()))/(60*60*24);
@@ -103,7 +103,7 @@ class Magmodules_Kiyoh_Model_Observer {
103
 
104
  public function processFeedbackInvitationcall($observer) {
105
  $order = $observer->getEvent()->getOrder();
106
- if((Mage::getStoreConfig('kiyoh/invitation/enabled', $order->getStoreId())) && (Mage::getStoreConfig('kiyoh/invitation/connector', $order->getStoreId()))):
107
  if($order->getStatus() == Mage::getStoreConfig('kiyoh/invitation/status', $order->getStoreId())):
108
  if(Mage::getStoreConfig('kiyoh/invitation/backlog', $order->getStoreId()) > 0):
109
  $date_diff = floor(time() - strtotime($order->getCreatedAt()))/(60*60*24);
87
  public function processFeedbackInvitationcallAfterShipment($observer) {
88
  $shipment = $observer->getEvent()->getShipment();
89
  $order = $shipment->getOrder();
90
+ if((Mage::getStoreConfig('kiyoh/invitation/enabled', $order->getStoreId())) && (Mage::getStoreConfig('kiyoh/general/api_key', $order->getStoreId()))):
91
  if($order->getStatus() == Mage::getStoreConfig('kiyoh/invitation/status', $order->getStoreId())):
92
  if(Mage::getStoreConfig('kiyoh/invitation/backlog', $order->getStoreId()) > 0):
93
  $date_diff = floor(time() - strtotime($order->getCreatedAt()))/(60*60*24);
103
 
104
  public function processFeedbackInvitationcall($observer) {
105
  $order = $observer->getEvent()->getOrder();
106
+ if((Mage::getStoreConfig('kiyoh/invitation/enabled', $order->getStoreId())) && (Mage::getStoreConfig('kiyoh/general/api_key', $order->getStoreId()))):
107
  if($order->getStatus() == Mage::getStoreConfig('kiyoh/invitation/status', $order->getStoreId())):
108
  if(Mage::getStoreConfig('kiyoh/invitation/backlog', $order->getStoreId()) > 0):
109
  $date_diff = floor(time() - strtotime($order->getCreatedAt()))/(60*60*24);
app/code/local/Magmodules/Kiyoh/Model/Reviews.php CHANGED
@@ -128,7 +128,7 @@ class Magmodules_Kiyoh_Model_Reviews extends Mage_Core_Model_Abstract {
128
  }
129
 
130
  $config = new Mage_Core_Model_Config();
131
- $config->saveConfig('kiyoh/reviews/lastrun', now(), 'default', $storeid);
132
  $result = array();
133
  $result['review_updates'] = $updates;
134
  $result['review_new'] = $new;
128
  }
129
 
130
  $config = new Mage_Core_Model_Config();
131
+ $config->saveConfig('kiyoh/reviews/lastrun', now(), 'default', 0);
132
  $result = array();
133
  $result['review_updates'] = $updates;
134
  $result['review_new'] = $new;
app/code/local/Magmodules/Kiyoh/Model/Stats.php CHANGED
@@ -28,7 +28,7 @@ class Magmodules_Kiyoh_Model_Stats extends Mage_Core_Model_Abstract {
28
  public function processFeed($feed, $storeid = 0) {
29
  $shop_id = Mage::getStoreConfig('kiyoh/general/api_id', $storeid);
30
  $company = $feed->company->name;
31
-
32
  if($storeid == 0) {
33
  $config = new Mage_Core_Model_Config();
34
  $config->saveConfig('kiyoh/general/url', $feed->company->url, 'default', $storeid);
@@ -36,9 +36,12 @@ class Magmodules_Kiyoh_Model_Stats extends Mage_Core_Model_Abstract {
36
  } else {
37
  $config = new Mage_Core_Model_Config();
38
  $config->saveConfig('kiyoh/general/url', $feed->company->url, 'stores', $storeid);
39
- $config->saveConfig('kiyoh/general/company', $feed->company->name, 'stores', $storeid);
40
- $config->saveConfig('kiyoh/general/url', $feed->company->url, 'default', 0);
41
- $config->saveConfig('kiyoh/general/company', $feed->company->name, 'default', 0);
 
 
 
42
  }
43
 
44
  if($feed->company->total_reviews > 0) {
28
  public function processFeed($feed, $storeid = 0) {
29
  $shop_id = Mage::getStoreConfig('kiyoh/general/api_id', $storeid);
30
  $company = $feed->company->name;
31
+
32
  if($storeid == 0) {
33
  $config = new Mage_Core_Model_Config();
34
  $config->saveConfig('kiyoh/general/url', $feed->company->url, 'default', $storeid);
36
  } else {
37
  $config = new Mage_Core_Model_Config();
38
  $config->saveConfig('kiyoh/general/url', $feed->company->url, 'stores', $storeid);
39
+ if(!Mage::getStoreConfig('kiyoh/general/url', 0)) {
40
+ $config->saveConfig('kiyoh/general/url', $feed->company->url, 'default', 0);
41
+ }
42
+ if(!Mage::getStoreConfig('kiyoh/general/company', 0)) {
43
+ $config->saveConfig('kiyoh/general/company', $feed->company->name, 'default', 0);
44
+ }
45
  }
46
 
47
  if($feed->company->total_reviews > 0) {
app/code/local/Magmodules/Kiyoh/Model/System/Config/Source/Cronfrequency.php CHANGED
@@ -27,8 +27,8 @@ class Magmodules_Kiyoh_Model_System_Config_Source_Cronfrequency {
27
  '0 * * * *' => Mage::helper('kiyoh')->__('Every Hour'),
28
  '0 */2 * * *' => Mage::helper('kiyoh')->__('Every other Hour'),
29
  '0 8,20 * * *' => Mage::helper('kiyoh')->__('Twice a Day'),
30
- '0 02 * * *' => Mage::helper('kiyoh')->__('Once a Day'),
31
- '0 02 0 * *' => Mage::helper('kiyoh')->__('Once a Week'),
32
  );
33
  }
34
 
27
  '0 * * * *' => Mage::helper('kiyoh')->__('Every Hour'),
28
  '0 */2 * * *' => Mage::helper('kiyoh')->__('Every other Hour'),
29
  '0 8,20 * * *' => Mage::helper('kiyoh')->__('Twice a Day'),
30
+ '0 2 * * *' => Mage::helper('kiyoh')->__('Once a Day'),
31
+ '0 2 0 * *' => Mage::helper('kiyoh')->__('Once a Week'),
32
  );
33
  }
34
 
app/code/local/Magmodules/Kiyoh/etc/config.xml CHANGED
@@ -23,7 +23,7 @@
23
  <config>
24
  <modules>
25
  <Magmodules_Kiyoh>
26
- <version>1.0.5</version>
27
  </Magmodules_Kiyoh>
28
  </modules>
29
  <global>
23
  <config>
24
  <modules>
25
  <Magmodules_Kiyoh>
26
+ <version>1.0.6</version>
27
  </Magmodules_Kiyoh>
28
  </modules>
29
  <global>
app/code/local/Magmodules/Kiyoh/etc/system.xml CHANGED
@@ -266,7 +266,7 @@
266
  <show_in_website>1</show_in_website>
267
  <show_in_store>1</show_in_store>
268
  <depends><left>1</left></depends>
269
- <comment>You can only activate the Rich Snippets when this block is shown on your Homepage only</comment>
270
  </left_snippets>
271
  <left_link translate="label">
272
  <label>Link to</label>
@@ -326,7 +326,7 @@
326
  <depends><right>1</right></depends>
327
  </right_link>
328
  <right_snippets translate="label">
329
- <label>Add to Sidebar Homepage</label>
330
  <frontend_type>select</frontend_type>
331
  <source_model>adminhtml/system_config_source_yesno</source_model>
332
  <sort_order>66</sort_order>
@@ -334,7 +334,7 @@
334
  <show_in_website>1</show_in_website>
335
  <show_in_store>1</show_in_store>
336
  <depends><right>1</right></depends>
337
- <comment>You can only activate the Rich Snippets when this block is shown on your Homepage only</comment>
338
  </right_snippets>
339
  </fields>
340
  </sidebar>
266
  <show_in_website>1</show_in_website>
267
  <show_in_store>1</show_in_store>
268
  <depends><left>1</left></depends>
269
+ <comment>When using both sidebars make sure you only activate the Rich Snippets for only one sidebar</comment>
270
  </left_snippets>
271
  <left_link translate="label">
272
  <label>Link to</label>
326
  <depends><right>1</right></depends>
327
  </right_link>
328
  <right_snippets translate="label">
329
+ <label>Add Rich Snippets</label>
330
  <frontend_type>select</frontend_type>
331
  <source_model>adminhtml/system_config_source_yesno</source_model>
332
  <sort_order>66</sort_order>
334
  <show_in_website>1</show_in_website>
335
  <show_in_store>1</show_in_store>
336
  <depends><right>1</right></depends>
337
+ <comment>When using both sidebars make sure you only activate the Rich Snippets for only one sidebar</comment>
338
  </right_snippets>
339
  </fields>
340
  </sidebar>
app/design/frontend/base/default/template/magmodules/kiyoh/sidebar/left.phtml CHANGED
@@ -29,8 +29,7 @@
29
  </div>
30
  <?php if($total->getPercentage() > 0): ?>
31
  <?php if($this->getSnippetsEnabled('left')): ?>
32
- <div class="block-content" itemscope itemtype="http://schema.org/LocalBusiness">
33
- <p itemprop="name" class="company-name"><?php echo $total->getCompany(); ?></p>
34
  <div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
35
  <div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
36
  <p><strong><span itemprop="ratingValue"><?php echo $total->getStarsQty(); ?></span> / <span itemprop="bestRating">10</span></strong></p>
29
  </div>
30
  <?php if($total->getPercentage() > 0): ?>
31
  <?php if($this->getSnippetsEnabled('left')): ?>
32
+ <div class="block-content" itemscope itemtype="http://schema.org/WebPage">
 
33
  <div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
34
  <div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
35
  <p><strong><span itemprop="ratingValue"><?php echo $total->getStarsQty(); ?></span> / <span itemprop="bestRating">10</span></strong></p>
app/design/frontend/base/default/template/magmodules/kiyoh/sidebar/right.phtml CHANGED
@@ -29,8 +29,7 @@
29
  </div>
30
  <?php if($total->getPercentage() > 0): ?>
31
  <?php if($this->getSnippetsEnabled('right')): ?>
32
- <div class="block-content" itemscope itemtype="http://schema.org/LocalBusiness">
33
- <p itemprop="name" class="company-name"><?php echo $total->getCompany(); ?></p>
34
  <div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
35
  <div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
36
  <p><strong><span itemprop="ratingValue"><?php echo $total->getStarsQty(); ?></span> / <span itemprop="bestRating">10</span></strong></p>
29
  </div>
30
  <?php if($total->getPercentage() > 0): ?>
31
  <?php if($this->getSnippetsEnabled('right')): ?>
32
+ <div class="block-content" itemscope itemtype="http://schema.org/WebPage">
 
33
  <div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
34
  <div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
35
  <p><strong><span itemprop="ratingValue"><?php echo $total->getStarsQty(); ?></span> / <span itemprop="bestRating">10</span></strong></p>
app/locale/en_US/Magmodules_Kiyoh.csv CHANGED
@@ -33,7 +33,7 @@
33
  "Every 15 minutes","Every 15 minutes"
34
  "Every Hour","Every Hour"
35
  "Every other Hour","Every other Hour"
36
- "External (Kiyoh.nl)",External (Kiyoh.nl)"
37
  "General configuration","General configuration"
38
  "Internal (/kiyoh)","Internal (/kiyoh)"
39
  "Invitation","Invitation"
@@ -122,4 +122,5 @@
122
  "and total score updated.","and total score updated."
123
  "on","on"
124
  "total score updated","total score updated"
125
- "<p>The extension comes with two coded blocks.<br>With this blocks you can add your store rating in a Static block or CMS page.</p><p><br><strong>The Rich Snippets Block.<br></strong>Show your Store-rating with this block and generate results in the Google Search Engine Results better known as Rich Snippets.<br>Paste the code below at the desired location using a Static Block or a CMS page.</p><p>Code: {{block type=""kiyoh/snippets"" name=""kiyohsnippets""}}</p><p><br><strong>Custom Block.</strong><br>With this block you can create custom block for footer of header, you can paste the code below at the desired location using a Static Block or a CMS page.<br>To edit this block you need to edit the .phtml file located in the following path: app/design/frontend/base/default/template/magmodules/kiyoh/widget/custom.phtml</p><p>Code: {{block type=""kiyoh/custom"" name=""kiyoh""}}</p>","<p>The extension comes with two coded blocks.<br>With this blocks you can add your store rating in a Static block or CMS page.</p><p><br><strong>The Rich Snippets Block.<br></strong>Show your Store-rating with this block and generate results in the Google Search Engine Results better known as Rich Snippets.<br>Paste the code below at the desired location using a Static Block or a CMS page.</p><p>Code: {{block type=""kiyoh/snippets"" name=""kiyohsnippets""}}</p><p><br><strong>Custom Block.</strong><br>With this block you can create custom block for footer of header, you can paste the code below at the desired location using a Static Block or a CMS page.<br>To edit this block you need to edit the .phtml file located in the following path: app/design/frontend/base/default/template/magmodules/kiyoh/widget/custom.phtml</p><p>Code: {{block type=""kiyoh/custom"" name=""kiyoh""}}</p>"
 
33
  "Every 15 minutes","Every 15 minutes"
34
  "Every Hour","Every Hour"
35
  "Every other Hour","Every other Hour"
36
+ "External (Kiyoh.nl)","External (Kiyoh.nl)"
37
  "General configuration","General configuration"
38
  "Internal (/kiyoh)","Internal (/kiyoh)"
39
  "Invitation","Invitation"
122
  "and total score updated.","and total score updated."
123
  "on","on"
124
  "total score updated","total score updated"
125
+ "<p>The extension comes with two coded blocks.<br>With this blocks you can add your store rating in a Static block or CMS page.</p><p><br><strong>The Rich Snippets Block.<br></strong>Show your Store-rating with this block and generate results in the Google Search Engine Results better known as Rich Snippets.<br>Paste the code below at the desired location using a Static Block or a CMS page.</p><p>Code: {{block type=""kiyoh/snippets"" name=""kiyohsnippets""}}</p><p><br><strong>Custom Block.</strong><br>With this block you can create custom block for footer of header, you can paste the code below at the desired location using a Static Block or a CMS page.<br>To edit this block you need to edit the .phtml file located in the following path: app/design/frontend/base/default/template/magmodules/kiyoh/widget/custom.phtml</p><p>Code: {{block type=""kiyoh/custom"" name=""kiyoh""}}</p>","<p>The extension comes with two coded blocks.<br>With this blocks you can add your store rating in a Static block or CMS page.</p><p><br><strong>The Rich Snippets Block.<br></strong>Show your Store-rating with this block and generate results in the Google Search Engine Results better known as Rich Snippets.<br>Paste the code below at the desired location using a Static Block or a CMS page.</p><p>Code: {{block type=""kiyoh/snippets"" name=""kiyohsnippets""}}</p><p><br><strong>Custom Block.</strong><br>With this block you can create custom block for footer of header, you can paste the code below at the desired location using a Static Block or a CMS page.<br>To edit this block you need to edit the .phtml file located in the following path: app/design/frontend/base/default/template/magmodules/kiyoh/widget/custom.phtml</p><p>Code: {{block type=""kiyoh/custom"" name=""kiyoh""}}</p>"
126
+ "When using both sidebars make sure you only activate the Rich Snippets for only one sidebar","When using both sidebars make sure you only activate the Rich Snippets for only one sidebar"
app/locale/nl_NL/Magmodules_Kiyoh.csv CHANGED
@@ -73,10 +73,12 @@
73
  "Overall","Overall"
74
  "Please select item(s)","Selecteer item(s)"
75
  "Positive","Pluspunten"
 
76
  "Process Manually","Voer handmatig uit"
77
  "Rating %s based on %s customer reviews","Beoordeling %s gebaseerd op %s klantbeoordelingen"
78
  "Reaction","Reactie"
79
  "Recommend","Aanbevolen"
 
80
  "Recommendation","Aanbeveling"
81
  "Remove from Sidebar","Verwijder van sidebar"
82
  "Reviews","Beoordelingen"
@@ -93,6 +95,7 @@
93
  "Stats Cron","Statistieken Cron"
94
  "Succefully deleted all %s saved review(s).","Alle %s opgeslagen beoordelingen zijn succesvol verwijdert."
95
  "Suggestions","Suggesties"
 
96
  "Specify at which status you want to send the invitation. Default is ""Completed"","Specificeer vanaf welke status de herinnering verzonden dient te worden. Standaard is ""Completed""
97
  "Test API","Test API"
98
  "Time","Tijd"
@@ -123,4 +126,5 @@
123
  "on","via"
124
  "total score updated","totaal score geüpdate"
125
  "<p>The extension comes with two coded blocks.<br>With this blocks you can add your store rating in a Static block or CMS page.</p><p><br><strong>The Rich Snippets Block.<br></strong>Show your Store-rating with this block and generate results in the Google Search Engine Results better known as Rich Snippets.<br>Paste the code below at the desired location using a Static Block or a CMS page.</p><p>Code: {{block type=""kiyoh/snippets"" name=""kiyohsnippets""}}</p><p><br><strong>Custom Block.</strong><br>With this block you can create custom block for footer of header, you can paste the code below at the desired location using a Static Block or a CMS page.<br>To edit this block you need to edit the .phtml file located in the following path: app/design/frontend/base/default/template/magmodules/kiyoh/widget/custom.phtml</p><p>Code: {{block type=""kiyoh/custom"" name=""kiyoh""}}</p>","<p>Deze extensie komt met 2 verschillende blokken.<br>Met deze blokken kan je de winkelbeoordeling in een static-block of CMS pagina plaatsen.</p><p><br><strong>Het Rich Snippets blok.</strong><br></strong>Toon de webwinkel-waardering met in blok en genereer hiermee de zogenaamde Rich Snippets waarbij de winkelbeoordelingen worden getoond in de Zoekmachine resultaten van bijvoorbeeld Google. Plaat de onderstaande code op de gewenste plaats in een statische blok of een CMS-pagina.</p> <p><strong>De code: </strong>{{block type=""kiyoh/snippets"" name=""kiyohsnippets""}}</p><p><br><strong>Custom blok.</strong><br>Met dit custom blok is het mogelijk om eenvoudig een eigen blok creëren met daarin verschillende waardes als het aantal klanbeoordelingen, bedrijfsnaam en gemiddelde rating. Plaats de onderstaande code op de gewenste plek in een statisch blok of een CMS-pagina. Om dit blok naar wens te bewerken en eventueel aan te vullen met de geweneste informatie is het mogelijk om het .phtml bestand aan te passen. Deze is te vinden via de volgende path: app/design/frontend/base/default/template/magmodules/kiyoh/widget/custom.phtml </p><p><strong>De code:</strong> {{block type=""kiyoh/custom"" name=""kiyoh""}}</p>"
126
- "Rating %s based on %s customer reviews","totaal %s tevreden klanten op basis van %s beoordelingen"
 
73
  "Overall","Overall"
74
  "Please select item(s)","Selecteer item(s)"
75
  "Positive","Pluspunten"
76
+ "Positive points:","Positieve punten:"
77
  "Process Manually","Voer handmatig uit"
78
  "Rating %s based on %s customer reviews","Beoordeling %s gebaseerd op %s klantbeoordelingen"
79
  "Reaction","Reactie"
80
  "Recommend","Aanbevolen"
81
+ "Recommend:","Aanbevolen:"
82
  "Recommendation","Aanbeveling"
83
  "Remove from Sidebar","Verwijder van sidebar"
84
  "Reviews","Beoordelingen"
95
  "Stats Cron","Statistieken Cron"
96
  "Succefully deleted all %s saved review(s).","Alle %s opgeslagen beoordelingen zijn succesvol verwijdert."
97
  "Suggestions","Suggesties"
98
+ "Suggestions:","Suggesties"
99
  "Specify at which status you want to send the invitation. Default is ""Completed"","Specificeer vanaf welke status de herinnering verzonden dient te worden. Standaard is ""Completed""
100
  "Test API","Test API"
101
  "Time","Tijd"
126
  "on","via"
127
  "total score updated","totaal score geüpdate"
128
  "<p>The extension comes with two coded blocks.<br>With this blocks you can add your store rating in a Static block or CMS page.</p><p><br><strong>The Rich Snippets Block.<br></strong>Show your Store-rating with this block and generate results in the Google Search Engine Results better known as Rich Snippets.<br>Paste the code below at the desired location using a Static Block or a CMS page.</p><p>Code: {{block type=""kiyoh/snippets"" name=""kiyohsnippets""}}</p><p><br><strong>Custom Block.</strong><br>With this block you can create custom block for footer of header, you can paste the code below at the desired location using a Static Block or a CMS page.<br>To edit this block you need to edit the .phtml file located in the following path: app/design/frontend/base/default/template/magmodules/kiyoh/widget/custom.phtml</p><p>Code: {{block type=""kiyoh/custom"" name=""kiyoh""}}</p>","<p>Deze extensie komt met 2 verschillende blokken.<br>Met deze blokken kan je de winkelbeoordeling in een static-block of CMS pagina plaatsen.</p><p><br><strong>Het Rich Snippets blok.</strong><br></strong>Toon de webwinkel-waardering met in blok en genereer hiermee de zogenaamde Rich Snippets waarbij de winkelbeoordelingen worden getoond in de Zoekmachine resultaten van bijvoorbeeld Google. Plaat de onderstaande code op de gewenste plaats in een statische blok of een CMS-pagina.</p> <p><strong>De code: </strong>{{block type=""kiyoh/snippets"" name=""kiyohsnippets""}}</p><p><br><strong>Custom blok.</strong><br>Met dit custom blok is het mogelijk om eenvoudig een eigen blok creëren met daarin verschillende waardes als het aantal klanbeoordelingen, bedrijfsnaam en gemiddelde rating. Plaats de onderstaande code op de gewenste plek in een statisch blok of een CMS-pagina. Om dit blok naar wens te bewerken en eventueel aan te vullen met de geweneste informatie is het mogelijk om het .phtml bestand aan te passen. Deze is te vinden via de volgende path: app/design/frontend/base/default/template/magmodules/kiyoh/widget/custom.phtml </p><p><strong>De code:</strong> {{block type=""kiyoh/custom"" name=""kiyoh""}}</p>"
129
+ "Rating %s based on %s customer reviews","totaal %s tevreden klanten op basis van %s beoordelingen"
130
+ "When using both sidebars make sure you only activate the Rich Snippets for only one sidebar","Zorg ervoor dat er maar 1 Rich Snippet actief is bij gebruik van beide sidebars."
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Kiyoh</name>
4
- <version>1.0.5</version>
5
  <stability>stable</stability>
6
- <license>OSL 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Connect your Magento shop to KiyOh</summary>
10
  <description>Connect your Magento shop to KiyOh</description>
11
  <notes>First stable release</notes>
12
- <authors><author><name>Magmodules</name><user>magmodules</user><email>info@magmodules.nl</email></author></authors>
13
- <date>2015-04-13</date>
14
- <time>17:41:41</time>
15
- <contents><target name="magelocal"><dir name="Magmodules"><dir name="Kiyoh"><dir name="Block"><dir name="Adminhtml"><dir name="Kiyohlog"><file name="Grid.php" hash="39d3a230b792a146bcb7ea6fc5975d5a"/></dir><file name="Kiyohlog.php" hash="0499fae2c8246c1224e42003422dbb0f"/><dir name="Kiyohreviews"><file name="Grid.php" hash="e4326ccf1ea00dff4a664ecfbd03e9f7"/><dir name="Renderer"><file name="Experience.php" hash="abf99c6f9a07589b8fe2bcf63b9edb48"/></dir></dir><file name="Kiyohreviews.php" hash="bf7858406e19fe69785022922c1c4ae1"/><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="119648013568daa5953dc8db0a386868"/><file name="Test.php" hash="019586f9d0a4bc7bb431a3df2cf7c4d9"/></dir><dir name="Form"><file name="Heading.php" hash="6c99f624f1267ed1500a708f3e01fea3"/></dir><dir name="Grid"><file name="Log.php" hash="7971522fb582fdedaa1624f2878d1304"/><file name="Seconds.php" hash="ab77b3a2da42984db58388d119c2e07c"/><file name="Stars.php" hash="4544f1fec819ec465d69ad1c562ae31c"/></dir><dir name="Info"><file name="Info.php" hash="53ee9e0e47ad2a27b61f03884a25dedc"/></dir></dir></dir><file name="Custom.php" hash="c1c9496401966f3713cfa6241e900f55"/><file name="Reviews.php" hash="7bcd015d8b85db14758f96780af8831f"/><file name="Sidebar.php" hash="e08d1fb1cb3fb80137e4ad61d5e78b5a"/><file name="Snippets.php" hash="b5b26063a091c14c2b5cbcfd01007282"/></dir><dir name="Helper"><file name="Data.php" hash="26e039a882e0e89977c0b438fa51c681"/></dir><dir name="Model"><file name="Api.php" hash="c3682c35afb57c463e03051d7fb17ea2"/><file name="Log.php" hash="bcf9328adcf61b84164b86ff3e14914f"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="b9cc585b00e4e372a6fe2ce36677f546"/></dir><file name="Log.php" hash="e60478150048e9c4e6d4197ae12f6f16"/><dir name="Reviews"><file name="Collection.php" hash="0a16cd2660475f7fd498403437cd0bf7"/></dir><file name="Reviews.php" hash="de8cd145282dc3105e963cf845f45e25"/><dir name="Stats"><file name="Collection.php" hash="bdfb3db30e754ae539ba445678570eaf"/></dir><file name="Stats.php" hash="c917baef200f1ce4dfe391e7444bf280"/></dir><file name="Observer.php" hash="27441c1b02caae831d10888b9c6c6ac9"/><file name="Reviews.php" hash="2f670c038014619ab0a9ca7668a0de9c"/><file name="Stats.php" hash="ece361fe84475119e23d7ca89808fad4"/><dir name="System"><dir name="Config"><file name="Flushcache.php" hash="90f9342571a9f3ee9121436f8952fe49"/><dir name="Source"><file name="Cronfrequency.php" hash="83243ce547e81705df4497b7e94922fe"/><file name="Kiyoh.php" hash="239df03e58cf9a2ba7519384428bde8f"/><file name="Orderstatus.php" hash="7e42dbf2ab2e5f3544cf34da1fd1a04c"/><file name="Position.php" hash="74bc6ab7cb4560b682ebdbf82d891b08"/><file name="Sidebarlink.php" hash="c576f54e39f067bae18999aa26874fe1"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="KiyohlogController.php" hash="3a140fb6b7dd453b2148bd61e6461c62"/><file name="KiyohreviewsController.php" hash="f7d2ab10e84b2f40e5dfd70270426b49"/></dir><file name="IndexController.php" hash="09bd38e43ead00a123ded748281f3607"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d5a32f8a2cdc35d3bf688c488f1d2f3f"/><file name="config.xml" hash="20ef4f984051bd42e1256e209dc2cba0"/><file name="system.xml" hash="ee734d012962a3c1b58b1b582627e2e0"/></dir><dir name="sql"><dir name="kiyoh_setup"><file name="mysql4-install-1.0.0.php" hash="bf048fb7428e3aba9e078a06e38afe20"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_kiyoh.xml" hash="8e873ae1213e8db26169cc21a532cea6"/></dir><dir name="template"><dir name="magmodules"><dir name="kiyoh"><file name="index.phtml" hash="12b24e4ec169d7b11e31c0f5831a7553"/><dir name="sidebar"><file name="left.phtml" hash="4dc24d52c5da32a49a31fce39d8db4cb"/><file name="right.phtml" hash="aebc83a4492669b7b985647a32eb4375"/></dir><dir name="widget"><file name="custom.phtml" hash="cfd6918fd847a440d2cd555c1c67e6a9"/><file name="richsnippets.phtml" hash="3620ef28597f4efbee122129a4eb7125"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_kiyoh.xml" hash="ea960e10667c3a1d3df2527c7f1d0561"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Kiyoh.xml" hash="4ad6b4740e25b3587cc0692f444838e2"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Magmodules_Kiyoh.csv" hash="aebc857a62316eff52568e6f553653fb"/></dir><dir name="nl_NL"><file name="Magmodules_Kiyoh.csv" hash="7328e07b299d0ad348753c7c8f9e8abb"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="kiyoh"><dir><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="bkg_rating.gif" hash="0efa835d6b68d7f8042170b182ace2a9"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="logo.png" hash="89e94131c585fe977c77ef312cad3206"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir></dir><file name="richsnippets.css" hash="02e1731917f79a91e7b4c9f131d623c8"/><file name="sidebar.css" hash="ed9bac8878ed90310d364afd61b44bc1"/><file name="style.css" hash="b081241691d7042267d42d58c3417c6d"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="kiyoh"><file name="grid.css" hash="8236836bfb11ba1a52bec1cea1ea64b0"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Kiyoh</name>
4
+ <version>1.0.6</version>
5
  <stability>stable</stability>
6
+ <license/>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Connect your Magento shop to KiyOh</summary>
10
  <description>Connect your Magento shop to KiyOh</description>
11
  <notes>First stable release</notes>
12
+ <authors><author><name>Magmodules</name><user>auto-converted</user><email>info@magmodules.nl</email></author></authors>
13
+ <date>2015-05-01</date>
14
+ <time>13:55:54</time>
15
+ <contents><target name="magelocal"><dir name="Magmodules"><dir name="Kiyoh"><dir name="Block"><dir name="Adminhtml"><dir name="Kiyohlog"><file name="Grid.php" hash="39d3a230b792a146bcb7ea6fc5975d5a"/></dir><dir name="Kiyohreviews"><dir name="Renderer"><file name="Experience.php" hash="abf99c6f9a07589b8fe2bcf63b9edb48"/></dir><file name="Grid.php" hash="e4326ccf1ea00dff4a664ecfbd03e9f7"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="119648013568daa5953dc8db0a386868"/><file name="Test.php" hash="019586f9d0a4bc7bb431a3df2cf7c4d9"/></dir><dir name="Form"><file name="Heading.php" hash="6c99f624f1267ed1500a708f3e01fea3"/></dir><dir name="Grid"><file name="Log.php" hash="7971522fb582fdedaa1624f2878d1304"/><file name="Seconds.php" hash="ab77b3a2da42984db58388d119c2e07c"/><file name="Stars.php" hash="4544f1fec819ec465d69ad1c562ae31c"/></dir><dir name="Info"><file name="Info.php" hash="53ee9e0e47ad2a27b61f03884a25dedc"/></dir></dir><file name="Kiyohlog.php" hash="0499fae2c8246c1224e42003422dbb0f"/><file name="Kiyohreviews.php" hash="bf7858406e19fe69785022922c1c4ae1"/></dir><file name="Custom.php" hash="c1c9496401966f3713cfa6241e900f55"/><file name="Reviews.php" hash="52dfc5e33dabb7a2ef20f396c51d79ad"/><file name="Sidebar.php" hash="9c3e78b3b867aa44633788d6b0d450cf"/><file name="Snippets.php" hash="b5b26063a091c14c2b5cbcfd01007282"/></dir><dir name="Helper"><file name="Data.php" hash="26e039a882e0e89977c0b438fa51c681"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="b9cc585b00e4e372a6fe2ce36677f546"/></dir><dir name="Reviews"><file name="Collection.php" hash="0a16cd2660475f7fd498403437cd0bf7"/></dir><dir name="Stats"><file name="Collection.php" hash="bdfb3db30e754ae539ba445678570eaf"/></dir><file name="Log.php" hash="e60478150048e9c4e6d4197ae12f6f16"/><file name="Reviews.php" hash="de8cd145282dc3105e963cf845f45e25"/><file name="Stats.php" hash="c917baef200f1ce4dfe391e7444bf280"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Cronfrequency.php" hash="66d15d15237d5301fd42a88e37070d12"/><file name="Kiyoh.php" hash="239df03e58cf9a2ba7519384428bde8f"/><file name="Orderstatus.php" hash="7e42dbf2ab2e5f3544cf34da1fd1a04c"/><file name="Position.php" hash="74bc6ab7cb4560b682ebdbf82d891b08"/><file name="Sidebarlink.php" hash="c576f54e39f067bae18999aa26874fe1"/></dir><file name="Flushcache.php" hash="90f9342571a9f3ee9121436f8952fe49"/></dir></dir><file name="Api.php" hash="4f0ff2b0f5eef478bba61c68567d5c68"/><file name="Log.php" hash="bcf9328adcf61b84164b86ff3e14914f"/><file name="Observer.php" hash="157e2ccb96be50d3737e9ae271fabf84"/><file name="Reviews.php" hash="fe04d8ef866ba1d03e68671e69ebc9e2"/><file name="Stats.php" hash="1ebed4b32a8538fb2a21d273e52dbfce"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="KiyohlogController.php" hash="3a140fb6b7dd453b2148bd61e6461c62"/><file name="KiyohreviewsController.php" hash="f7d2ab10e84b2f40e5dfd70270426b49"/></dir><file name="IndexController.php" hash="09bd38e43ead00a123ded748281f3607"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d5a32f8a2cdc35d3bf688c488f1d2f3f"/><file name="config.xml" hash="b3820c0b6575241fbb0b49588fdcb965"/><file name="system.xml" hash="a182da17744652206f40fa2760e9f1e8"/></dir><dir name="sql"><dir name="kiyoh_setup"><file name="mysql4-install-1.0.0.php" hash="bf048fb7428e3aba9e078a06e38afe20"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_kiyoh.xml" hash="8e873ae1213e8db26169cc21a532cea6"/></dir><dir name="template"><dir name="magmodules"><dir name="kiyoh"><dir name="sidebar"><file name="left.phtml" hash="db416647f105de225583dfb7d88c091e"/><file name="right.phtml" hash="9d78bd644f26fae5e0a179b336639204"/></dir><dir name="widget"><file name="custom.phtml" hash="cfd6918fd847a440d2cd555c1c67e6a9"/><file name="richsnippets.phtml" hash="3620ef28597f4efbee122129a4eb7125"/></dir><file name="index.phtml" hash="12b24e4ec169d7b11e31c0f5831a7553"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_kiyoh.xml" hash="ea960e10667c3a1d3df2527c7f1d0561"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Kiyoh.xml" hash="4ad6b4740e25b3587cc0692f444838e2"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Kiyoh.csv" hash="591605112c7a04a8caa0eb95ffa8af04"/></dir><dir name="nl_NL"><file name="Magmodules_Kiyoh.csv" hash="5f0e3861fa7ae9546b9df5f56cc10bc7"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="kiyoh"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="bkg_rating.gif" hash="0efa835d6b68d7f8042170b182ace2a9"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="logo.png" hash="89e94131c585fe977c77ef312cad3206"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="02e1731917f79a91e7b4c9f131d623c8"/><file name="sidebar.css" hash="ed9bac8878ed90310d364afd61b44bc1"/><file name="style.css" hash="b081241691d7042267d42d58c3417c6d"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="kiyoh"><file name="grid.css" hash="8236836bfb11ba1a52bec1cea1ea64b0"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies/>
18
  </package>