Version Notes
Please, feel free to contact us at store@belvg.com
Download this release
Release Info
Developer | Magento Core Team |
Extension | facebookfreebelvg |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
- app/code/community/Belvg/All/Block/Extensions.php +91 -0
- app/code/community/Belvg/All/Helper/Data.php +20 -33
- app/code/community/Belvg/All/Model/Feed.php +145 -0
- app/code/community/Belvg/All/Model/Source/Updates/Type.php +62 -0
- app/code/community/Belvg/All/etc/adminhtml.xml +36 -0
- app/code/community/Belvg/All/etc/config.xml +61 -1
- app/code/community/Belvg/All/etc/system.xml +46 -1
- app/code/community/Belvg/All/sql/belvgall_setup/mysql4-install-1.0.0.php +3 -0
- app/code/community/Belvg/All/sql/belvgall_setup/mysql4-upgrade-1.0.0-1.0.1.php +38 -0
- app/code/community/Belvg/FaceboookFree/Helper/Active.php +35 -0
- app/code/community/Belvg/FaceboookFree/Model/System/Config/Source/Font.php +46 -0
- app/code/community/Belvg/FaceboookFree/controllers/CustomerController.php +3 -3
- app/code/community/Belvg/FaceboookFree/etc/config.xml +10 -1
- app/code/community/Belvg/FaceboookFree/etc/system.xml +73 -0
- app/design/frontend/default/default/layout/facebookfree.xml +3 -0
- app/design/frontend/default/default/template/facebookfree/activity.phtml +36 -0
- app/etc/modules/Belvg_FacebookFree.xml +1 -1
- package.xml +4 -4
- skin/adminhtml/default/default/images/belvgall/bad.gif +0 -0
- skin/adminhtml/default/default/images/belvgall/delete.jpg +0 -0
- skin/adminhtml/default/default/images/belvgall/info.gif +0 -0
- skin/adminhtml/default/default/images/belvgall/ok.gif +0 -0
- skin/adminhtml/default/default/images/belvgall/update.gif +0 -0
app/code/community/Belvg/All/Block/Extensions.php
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Belvg_All_Block_Extensions extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
|
4 |
+
|
5 |
+
protected $_fieldRenderer;
|
6 |
+
protected $_values;
|
7 |
+
|
8 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
9 |
+
{
|
10 |
+
$html = $this->_getHeaderHtml($element);
|
11 |
+
$modules = array_keys((array) Mage::getConfig()->getNode('modules')->children());
|
12 |
+
|
13 |
+
sort($modules);
|
14 |
+
|
15 |
+
foreach ($modules as $moduleName) {
|
16 |
+
if (strstr($moduleName, 'Belvg_') === FALSE) {
|
17 |
+
continue;
|
18 |
+
}
|
19 |
+
|
20 |
+
if ($moduleName == 'Belvg_All') {
|
21 |
+
continue;
|
22 |
+
}
|
23 |
+
|
24 |
+
$html.= $this->_getFieldHtml($element, $moduleName);
|
25 |
+
}
|
26 |
+
$html .= $this->_getFooterHtml($element);
|
27 |
+
|
28 |
+
return $html;
|
29 |
+
}
|
30 |
+
|
31 |
+
|
32 |
+
protected function _getFieldRenderer()
|
33 |
+
{
|
34 |
+
if (empty($this->_fieldRenderer)) {
|
35 |
+
$this->_fieldRenderer = Mage::getBlockSingleton('adminhtml/system_config_form_field');
|
36 |
+
}
|
37 |
+
return $this->_fieldRenderer;
|
38 |
+
}
|
39 |
+
|
40 |
+
protected function _getFieldHtml($fieldset, $moduleCode)
|
41 |
+
{
|
42 |
+
$currentVer = Mage::getConfig()->getModuleConfig($moduleCode)->version;
|
43 |
+
if (!$currentVer)
|
44 |
+
return '';
|
45 |
+
|
46 |
+
$moduleName = substr($moduleCode, strpos($moduleCode, '_') + 1); // in case we have no data in the RSS
|
47 |
+
|
48 |
+
$allExtensions = unserialize(Mage::app()->loadCache('belvgall_extensions'));
|
49 |
+
|
50 |
+
$status = '<a target="_blank"><img src="' . $this->getSkinUrl('images/belvgall/ok.gif') . '" title="' . $this->__("Installed") . '"/></a>';
|
51 |
+
|
52 |
+
if ($allExtensions && isset($allExtensions[$moduleCode])) {
|
53 |
+
$ext = $allExtensions[$moduleCode];
|
54 |
+
|
55 |
+
$url = $ext['url'];
|
56 |
+
$name = $ext['name'];
|
57 |
+
$lastVer = $ext['version'];
|
58 |
+
|
59 |
+
$moduleName = '<a href="' . $url . '" target="_blank" title="' . $name . '">' . $name . "</a>";
|
60 |
+
|
61 |
+
if ($this->_convertVersion($currentVer) < $this->_convertVersion($lastVer)) {
|
62 |
+
$status = '<a href="' . $url . '" target="_blank"><img src="' . $this->getSkinUrl('images/belvgall/update.gif') . '" alt="' . $this->__("Update available") . '" title="' . $this->__("Update available") . '"/></a>';
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
//TODO check if module output disabled in future
|
67 |
+
|
68 |
+
$moduleName = $status . ' ' . $moduleName;
|
69 |
+
|
70 |
+
$field = $fieldset->addField($moduleCode, 'label', array(
|
71 |
+
'name' => 'dummy',
|
72 |
+
'label' => $moduleName,
|
73 |
+
'value' => $currentVer,
|
74 |
+
))->setRenderer($this->_getFieldRenderer());
|
75 |
+
|
76 |
+
return $field->toHtml();
|
77 |
+
}
|
78 |
+
|
79 |
+
protected function _convertVersion($v)
|
80 |
+
{
|
81 |
+
$digits = @explode(".", $v);
|
82 |
+
$version = 0;
|
83 |
+
if (is_array($digits)) {
|
84 |
+
foreach ($digits as $k => $v) {
|
85 |
+
$version += ($v * pow(10, max(0, (3 - $k))));
|
86 |
+
}
|
87 |
+
}
|
88 |
+
return $version;
|
89 |
+
}
|
90 |
+
|
91 |
+
}
|
app/code/community/Belvg/All/Helper/Data.php
CHANGED
@@ -1,34 +1,21 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
* DISCLAIMER *
|
22 |
-
*****************************************/
|
23 |
-
/* Do not edit or add to this file if you wish to upgrade Magento to newer
|
24 |
-
* versions in the future.
|
25 |
-
*****************************************************
|
26 |
-
* @category Belvg
|
27 |
-
* @package Belvg_All
|
28 |
-
* @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
|
29 |
-
* @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
|
30 |
-
*/
|
31 |
-
|
32 |
-
class Belvg_All_Helper_Data extends Mage_Core_Helper_Abstract{
|
33 |
-
|
34 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Belvg_All_Helper_Data extends Mage_Core_Helper_Abstract
|
4 |
+
{
|
5 |
+
public function isVersionLessThan($major=1, $minor=4)
|
6 |
+
{
|
7 |
+
$curr = explode('.', Mage::getVersion()); // 1.3. compatibility
|
8 |
+
$need = func_get_args();
|
9 |
+
foreach ($need as $k => $v){
|
10 |
+
if ($curr[$k] != $v)
|
11 |
+
return ($curr[$k] < $v);
|
12 |
+
}
|
13 |
+
return false;
|
14 |
+
}
|
15 |
+
|
16 |
+
public function isModuleActive($code)
|
17 |
+
{
|
18 |
+
return ('true' == (string)Mage::getConfig()->getNode('modules/'.$code.'/active'));
|
19 |
+
}
|
20 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
}
|
app/code/community/Belvg/All/Model/Feed.php
ADDED
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Belvg_All_Model_Feed extends Mage_AdminNotification_Model_Feed {
|
4 |
+
const XML_FREQUENCY_PATH = 'belvgall/feed/check_frequency';
|
5 |
+
const XML_LAST_UPDATE_PATH = 'belvgall/feed/last_update';
|
6 |
+
const XML_ITERESTS = 'belvgall/feed/interests';
|
7 |
+
|
8 |
+
const URL_EXTENSIONS = 'http://belvg.com/feed-news.xml';
|
9 |
+
const URL_NEWS = 'http://belvg.com/feed-news.xml';
|
10 |
+
|
11 |
+
public static function check()
|
12 |
+
{
|
13 |
+
return Mage::getModel('belvgall/feed')->checkUpdate();
|
14 |
+
}
|
15 |
+
|
16 |
+
public function checkUpdate()
|
17 |
+
{
|
18 |
+
if (($this->getFrequency() + $this->getLastUpdate()) > time()) {
|
19 |
+
return $this;
|
20 |
+
}
|
21 |
+
|
22 |
+
$this->setLastUpdate();
|
23 |
+
|
24 |
+
if (!extension_loaded('curl')) {
|
25 |
+
return $this;
|
26 |
+
}
|
27 |
+
|
28 |
+
// load all new and relevant updates into inbox
|
29 |
+
$feedData = array();
|
30 |
+
$feedXml = $this->getFeedData();
|
31 |
+
|
32 |
+
$wasInstalled = gmdate('Y-m-d H:i:s', Mage::getStoreConfig('belvgall/feed/installed'));
|
33 |
+
|
34 |
+
if ($feedXml && $feedXml->channel && $feedXml->channel->item) {
|
35 |
+
foreach ($feedXml->channel->item as $item) {
|
36 |
+
$date = $this->getDate((string) $item->pubDate);
|
37 |
+
|
38 |
+
// compare strings, but they are well-formmatted
|
39 |
+
if ($date < $wasInstalled) {
|
40 |
+
continue;
|
41 |
+
}
|
42 |
+
if (!$this->isInteresting($item)) {
|
43 |
+
continue;
|
44 |
+
}
|
45 |
+
|
46 |
+
$feedData[] = array(
|
47 |
+
'severity' => 3,
|
48 |
+
'date_added' => $this->getDate($date),
|
49 |
+
'title' => (string) $item->title,
|
50 |
+
'description' => (string) $item->description,
|
51 |
+
'url' => (string) $item->link,
|
52 |
+
);
|
53 |
+
}
|
54 |
+
if ($feedData) {
|
55 |
+
Mage::getModel('adminnotification/inbox')->parse($feedData);
|
56 |
+
}
|
57 |
+
}
|
58 |
+
|
59 |
+
//load all available extensions in the cache
|
60 |
+
$this->_feedUrl = self::URL_EXTENSIONS;
|
61 |
+
$feedData = array();
|
62 |
+
$feedXml = $this->getFeedData();
|
63 |
+
if ($feedXml && $feedXml->channel && $feedXml->channel->item) {
|
64 |
+
foreach ($feedXml->channel->item as $item) {
|
65 |
+
$feedData[(string) $item->code] = array(
|
66 |
+
'name' => (string) $item->title,
|
67 |
+
'url' => (string) $item->link,
|
68 |
+
'version' => (string) $item->version,
|
69 |
+
);
|
70 |
+
}
|
71 |
+
if ($feedData) {
|
72 |
+
Mage::app()->saveCache(serialize($feedData), 'belvgall_extensions');
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
+
return $this;
|
77 |
+
}
|
78 |
+
|
79 |
+
public function getFrequency()
|
80 |
+
{
|
81 |
+
return Mage::getStoreConfig(self::XML_FREQUENCY_PATH);
|
82 |
+
}
|
83 |
+
|
84 |
+
public function getLastUpdate()
|
85 |
+
{
|
86 |
+
return Mage::app()->loadCache('belvgall_notifications_lastcheck');
|
87 |
+
}
|
88 |
+
|
89 |
+
public function setLastUpdate()
|
90 |
+
{
|
91 |
+
Mage::app()->saveCache(time(), 'belvgall_notifications_lastcheck');
|
92 |
+
return $this;
|
93 |
+
}
|
94 |
+
|
95 |
+
public function getFeedUrl()
|
96 |
+
{
|
97 |
+
if (is_null($this->_feedUrl)) {
|
98 |
+
$this->_feedUrl = self::URL_NEWS;
|
99 |
+
}
|
100 |
+
$query = '?s=' . urlencode(Mage::getStoreConfig('web/unsecure/base_url'));
|
101 |
+
return $this->_feedUrl . $query;
|
102 |
+
}
|
103 |
+
|
104 |
+
protected function getInterests()
|
105 |
+
{
|
106 |
+
return Mage::getStoreConfig(self::XML_ITERESTS);
|
107 |
+
}
|
108 |
+
|
109 |
+
protected function isInteresting($item)
|
110 |
+
{
|
111 |
+
$interests = @explode(',', $this->getInterests());
|
112 |
+
$types = @explode(':', (string) $item->type);
|
113 |
+
|
114 |
+
$extenion = (string) $item->extension;
|
115 |
+
|
116 |
+
$selfUpgrades = array_search(Belvg_All_Model_Source_Updates_Type::TYPE_INSTALLED_UPDATE, $types);
|
117 |
+
|
118 |
+
foreach ($types as $type) {
|
119 |
+
if (array_search($type, $interests) !== false) {
|
120 |
+
return true;
|
121 |
+
}
|
122 |
+
|
123 |
+
if ($extenion && ($type == Belvg_All_Model_Source_Updates_Type::TYPE_UPDATE_RELEASE) && $selfUpgrades) {
|
124 |
+
if ($this->isExtensionInstalled($extenion)) {
|
125 |
+
return true;
|
126 |
+
}
|
127 |
+
}
|
128 |
+
}
|
129 |
+
|
130 |
+
return false;
|
131 |
+
}
|
132 |
+
|
133 |
+
protected function isExtensionInstalled($code)
|
134 |
+
{
|
135 |
+
$modules = array_keys((array) Mage::getConfig()->getNode('modules')->children());
|
136 |
+
foreach ($modules as $moduleName) {
|
137 |
+
if ($moduleName == $code) {
|
138 |
+
return true;
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
return false;
|
143 |
+
}
|
144 |
+
|
145 |
+
}
|
app/code/community/Belvg/All/Model/Source/Updates/Type.php
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Belvg_All_Model_Source_Updates_Type extends Mage_Eav_Model_Entity_Attribute_Source_Abstract {
|
4 |
+
const TYPE_PROMO = 'PROMO';
|
5 |
+
const TYPE_NEW_RELEASE = 'NEW_RELEASE';
|
6 |
+
const TYPE_UPDATE_RELEASE = 'UPDATE_RELEASE';
|
7 |
+
const TYPE_INFO = 'INFO';
|
8 |
+
const TYPE_INSTALLED_UPDATE = 'INSTALLED_UPDATE';
|
9 |
+
|
10 |
+
public function toOptionArray()
|
11 |
+
{
|
12 |
+
$hlp = Mage::helper('belvgall');
|
13 |
+
return array(
|
14 |
+
array('value' => self::TYPE_INSTALLED_UPDATE, 'label' => $hlp->__('My extensions updates')),
|
15 |
+
array('value' => self::TYPE_UPDATE_RELEASE, 'label' => $hlp->__('All extensions updates')),
|
16 |
+
array('value' => self::TYPE_NEW_RELEASE, 'label' => $hlp->__('New Releases')),
|
17 |
+
array('value' => self::TYPE_PROMO, 'label' => $hlp->__('Promotions/Discounts')),
|
18 |
+
array('value' => self::TYPE_INFO, 'label' => $hlp->__('Other information'))
|
19 |
+
);
|
20 |
+
}
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Retrive all attribute options
|
24 |
+
*
|
25 |
+
* @return array
|
26 |
+
*/
|
27 |
+
public function getAllOptions()
|
28 |
+
{
|
29 |
+
return $this->toOptionArray();
|
30 |
+
}
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Returns label for value
|
34 |
+
* @param string $value
|
35 |
+
* @return string
|
36 |
+
*/
|
37 |
+
public function getLabel($value)
|
38 |
+
{
|
39 |
+
$options = $this->toOptionArray();
|
40 |
+
foreach ($options as $v) {
|
41 |
+
if ($v['value'] == $value) {
|
42 |
+
return $v['label'];
|
43 |
+
}
|
44 |
+
}
|
45 |
+
return '';
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Returns array ready for use by grid
|
50 |
+
* @return array
|
51 |
+
*/
|
52 |
+
public function getGridOptions()
|
53 |
+
{
|
54 |
+
$items = $this->getAllOptions();
|
55 |
+
$out = array();
|
56 |
+
foreach ($items as $item) {
|
57 |
+
$out[$item['value']] = $item['label'];
|
58 |
+
}
|
59 |
+
return $out;
|
60 |
+
}
|
61 |
+
|
62 |
+
}
|
app/code/community/Belvg/All/etc/adminhtml.xml
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<acl>
|
4 |
+
<resources>
|
5 |
+
<all>
|
6 |
+
<title>Allow Everything</title>
|
7 |
+
</all>
|
8 |
+
<admin>
|
9 |
+
<children>
|
10 |
+
<system>
|
11 |
+
<children>
|
12 |
+
<config>
|
13 |
+
<children>
|
14 |
+
<belvgall>
|
15 |
+
<title>Belvg - Extensions</title>
|
16 |
+
</belvgall>
|
17 |
+
</children>
|
18 |
+
</config>
|
19 |
+
</children>
|
20 |
+
</system>
|
21 |
+
</children>
|
22 |
+
</admin>
|
23 |
+
</resources>
|
24 |
+
</acl>
|
25 |
+
<events>
|
26 |
+
<controller_action_predispatch>
|
27 |
+
<observers>
|
28 |
+
<belvgall_upds>
|
29 |
+
<type>singleton</type>
|
30 |
+
<class>belvgall/feed</class>
|
31 |
+
<method>check</method>
|
32 |
+
</belvgall_upds>
|
33 |
+
</observers>
|
34 |
+
</controller_action_predispatch>
|
35 |
+
</events>
|
36 |
+
</config>
|
app/code/community/Belvg/All/etc/config.xml
CHANGED
@@ -33,7 +33,7 @@
|
|
33 |
<config>
|
34 |
<modules>
|
35 |
<Belvg_All>
|
36 |
-
<version>1.0.
|
37 |
</Belvg_All>
|
38 |
</modules>
|
39 |
<global>
|
@@ -47,5 +47,65 @@
|
|
47 |
<class>Belvg_All_Helper</class>
|
48 |
</belvgall>
|
49 |
</helpers>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
</global>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</config>
|
33 |
<config>
|
34 |
<modules>
|
35 |
<Belvg_All>
|
36 |
+
<version>1.0.1</version>
|
37 |
</Belvg_All>
|
38 |
</modules>
|
39 |
<global>
|
47 |
<class>Belvg_All_Helper</class>
|
48 |
</belvgall>
|
49 |
</helpers>
|
50 |
+
<models>
|
51 |
+
<belvgall>
|
52 |
+
<class>Belvg_All_Model</class>
|
53 |
+
</belvgall>
|
54 |
+
</models>
|
55 |
+
<resources>
|
56 |
+
<belvgall_setup>
|
57 |
+
<setup>
|
58 |
+
<module>Belvg_All</module>
|
59 |
+
</setup>
|
60 |
+
<connection>
|
61 |
+
<use>core_setup</use>
|
62 |
+
</connection>
|
63 |
+
</belvgall_setup>
|
64 |
+
<belvgall_write>
|
65 |
+
<connection>
|
66 |
+
<use>core_write</use>
|
67 |
+
</connection>
|
68 |
+
</belvgall_write>
|
69 |
+
<belvgall_read>
|
70 |
+
<connection>
|
71 |
+
<use>core_read</use>
|
72 |
+
</connection>
|
73 |
+
</belvgall_read>
|
74 |
+
</resources>
|
75 |
</global>
|
76 |
+
<adminhtml>
|
77 |
+
<acl>
|
78 |
+
<resources>
|
79 |
+
<all>
|
80 |
+
<title>Allow Everything</title>
|
81 |
+
</all>
|
82 |
+
<admin>
|
83 |
+
<children>
|
84 |
+
<system>
|
85 |
+
<children>
|
86 |
+
<config>
|
87 |
+
<children>
|
88 |
+
<belvgall>
|
89 |
+
<title>Belvg - Extensions</title>
|
90 |
+
</belvgall>
|
91 |
+
</children>
|
92 |
+
</config>
|
93 |
+
</children>
|
94 |
+
</system>
|
95 |
+
</children>
|
96 |
+
</admin>
|
97 |
+
</resources>
|
98 |
+
</acl>
|
99 |
+
<events>
|
100 |
+
<controller_action_predispatch>
|
101 |
+
<observers>
|
102 |
+
<ambase_upds>
|
103 |
+
<type>singleton</type>
|
104 |
+
<class>belvgall/feed</class>
|
105 |
+
<method>check</method>
|
106 |
+
</ambase_upds>
|
107 |
+
</observers>
|
108 |
+
</controller_action_predispatch>
|
109 |
+
</events>
|
110 |
+
</adminhtml>
|
111 |
</config>
|
app/code/community/Belvg/All/etc/system.xml
CHANGED
@@ -33,8 +33,53 @@
|
|
33 |
<config>
|
34 |
<tabs>
|
35 |
<belvg translate="label" module="belvgall">
|
36 |
-
<label><![CDATA[<div style="background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJsAAAAUCAYAAACah0+BAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAA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gdh0FbJqSFkAmpOOPwjNdYCwUagtDSFMKeEp9qHG2NTQ4jXSvebaD7GkSIAQctaZLRML3fRk4hQOsjIUL0gsjmq0btNzce3EP3dRT2UqIVMUXK015hItpJjH3pGNOHKm0AIcSE3wOY26YWfo6K0/poJaYNqYUf3jtECH1CjG9SlTew4/KsH2M4Xciohd9yy8hTzfPrEPgBT77l46FRyL2Yu4eM5JqQeZcj3Qk83YQd+EPHQVceusZhAdb1XYRnsjH+joPwG1CKUbjSQ8r9Cea0xq8JGzz9NgPjxFAJN0WLoITxjVS9xYUMjMq2IswZX6EQmhHN3UniUTYix2kM2TeKZ43CyMtkgAwXia48zQmI5pKjqLmN50nkdnn1/3fbRpFH7ne0qeR69ssFO6r/Ps3xPz+qQxp+pyjunnf0r9IiTodVamnH87Qncc2FhN8yqscj1NAsgPHTSwiZRlAfoCWhRA44STmR9QpbInpYmRA+hPHspWduL/UEObSf4AQcfPvJ02tcT0WJqV4/FBW2lXOY3ObgeXOigHuINXcID3pjQWPU/lMX7i8urAvxPkuBRIym7ErBYs5YhXy35Kie465nxpl/aPyzArxIILrNLZUH2oNFb7b6t/BVWCn4V4ABAKbGYEMWkSgVAAAAAElFTkSuQmCC) no-repeat; width: 155px; height: 20px;"></div>]]
|
|
|
37 |
<sort_order>300</sort_order>
|
38 |
</belvg>
|
39 |
</tabs>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
</config>
|
33 |
<config>
|
34 |
<tabs>
|
35 |
<belvg translate="label" module="belvgall">
|
36 |
+
<label><![CDATA[<div style="background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJsAAAAUCAYAAACah0+BAAAAGXRFWHRTb2Z0d2FyZQB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MXaA/E+SelMnprMbDSFONVokrTWVZ08x+HrIiwjbi43Sx4kCElg06LnpRwFwnJBi8gdh0FbJqSFkAmpOOPwjNdYCwUagtDSFMKeEp9qHG2NTQ4jXSvebaD7GkSIAQctaZLRML3fRk4hQOsjIUL0gsjmq0btNzce3EP3dRT2UqIVMUXK015hItpJjH3pGNOHKm0AIcSE3wOY26YWfo6K0/poJaYNqYUf3jtECH1CjG9SlTew4/KsH2M4Xciohd9yy8hTzfPrEPgBT77l46FRyL2Yu4eM5JqQeZcj3Qk83YQd+EPHQVceusZhAdb1XYRnsjH+joPwG1CKUbjSQ8r9Cea0xq8JGzz9NgPjxFAJN0WLoITxjVS9xYUMjMq2IswZX6EQmhHN3UniUTYix2kM2TeKZ43CyMtkgAwXia48zQmI5pKjqLmN50nkdnn1/3fbRpFH7ne0qeR69ssFO6r/Ps3xPz+qQxp+pyjunnf0r9IiTodVamnH87Qncc2FhN8yqscj1NAsgPHTSwiZRlAfoCWhRA44STmR9QpbInpYmRA+hPHspWduL/UEObSf4AQcfPvJ02tcT0WJqV4/FBW2lXOY3ObgeXOigHuINXcID3pjQWPU/lMX7i8urAvxPkuBRIym7ErBYs5YhXy35Kie465nxpl/aPyzArxIILrNLZUH2oNFb7b6t/BVWCn4V4ABAKbGYEMWkSgVAAAAAElFTkSuQmCC) no-repeat; width: 155px; height: 20px;"></div>]]>
|
37 |
+
</label>
|
38 |
<sort_order>300</sort_order>
|
39 |
</belvg>
|
40 |
</tabs>
|
41 |
+
|
42 |
+
<sections>
|
43 |
+
<belvgall translate="label">
|
44 |
+
<label>General</label>
|
45 |
+
<tab>belvg</tab>
|
46 |
+
<frontend_type>text</frontend_type>
|
47 |
+
<sort_order>777</sort_order>
|
48 |
+
<show_in_default>1</show_in_default>
|
49 |
+
<show_in_website>1</show_in_website>
|
50 |
+
<show_in_store>1</show_in_store>
|
51 |
+
<groups>
|
52 |
+
<extensions translate="label">
|
53 |
+
<label>Installed Extensions</label>
|
54 |
+
<frontend_type>text</frontend_type>
|
55 |
+
<frontend_model>belvgall/extensions</frontend_model>
|
56 |
+
<sort_order>2</sort_order>
|
57 |
+
<show_in_default>1</show_in_default>
|
58 |
+
<show_in_website>1</show_in_website>
|
59 |
+
<show_in_store>1</show_in_store>
|
60 |
+
</extensions>
|
61 |
+
<feed>
|
62 |
+
<label>Notifications</label>
|
63 |
+
<frontend_type>text</frontend_type>
|
64 |
+
<sort_order>90</sort_order>
|
65 |
+
<show_in_default>1</show_in_default>
|
66 |
+
<show_in_website>1</show_in_website>
|
67 |
+
<show_in_store>1</show_in_store>
|
68 |
+
<fields>
|
69 |
+
<interests translate="label">
|
70 |
+
<label>I'd like to be informed by Belvg about:</label>
|
71 |
+
<comment></comment>
|
72 |
+
<frontend_type>multiselect</frontend_type>
|
73 |
+
<sort_order>100</sort_order>
|
74 |
+
<show_in_default>1</show_in_default>
|
75 |
+
<show_in_website>1</show_in_website>
|
76 |
+
<show_in_store>1</show_in_store>
|
77 |
+
<can_be_empty>1</can_be_empty>
|
78 |
+
<source_model>belvgall/source_updates_type</source_model>
|
79 |
+
</interests>
|
80 |
+
</fields>
|
81 |
+
</feed>
|
82 |
+
</groups>
|
83 |
+
</belvgall>
|
84 |
+
</sections>
|
85 |
</config>
|
app/code/community/Belvg/All/sql/belvgall_setup/mysql4-install-1.0.0.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$this->startSetup();
|
3 |
+
$this->endSetup();
|
app/code/community/Belvg/All/sql/belvgall_setup/mysql4-upgrade-1.0.0-1.0.1.php
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$this->startSetup();
|
3 |
+
|
4 |
+
Mage::getModel('core/config_data')
|
5 |
+
->setScope('default')
|
6 |
+
->setPath('belvgall/feed/installed')
|
7 |
+
->setValue(time())
|
8 |
+
->save();
|
9 |
+
|
10 |
+
Mage::getModel('core/config_data')
|
11 |
+
->setScope('default')
|
12 |
+
->setPath('belvgall/feed/check_frequency')
|
13 |
+
->setValue(3600*12)
|
14 |
+
->save();
|
15 |
+
|
16 |
+
Mage::getModel('core/config_data')
|
17 |
+
->setScope('default')
|
18 |
+
->setPath('belvgall/feed/last_update')
|
19 |
+
->setValue(0)
|
20 |
+
->save();
|
21 |
+
|
22 |
+
Mage::getModel('core/config_data')
|
23 |
+
->setScope('default')
|
24 |
+
->setPath('belvgall/feed/interests')
|
25 |
+
->setValue('INSTALLED_UPDATE,UPDATE_RELEASE,NEW_RELEASE,PROMO,INFO')
|
26 |
+
->save();
|
27 |
+
|
28 |
+
$feedData = array();
|
29 |
+
$feedData[] = array(
|
30 |
+
'severity' => 4,
|
31 |
+
'date_added' => gmdate('Y-m-d H:i:s', time()),
|
32 |
+
'title' => "Belvg's extension has been installed. Check the Admin > Configuration > Belvg Extensions.",
|
33 |
+
'description' => 'You can see versions of the installed extensions right in the admin, as well as configure notifications about major updates.',
|
34 |
+
'url' => 'http://store.belvg.com/blog/'
|
35 |
+
);
|
36 |
+
Mage::getModel('adminnotification/inbox')->parse($feedData);
|
37 |
+
|
38 |
+
$this->endSetup();
|
app/code/community/Belvg/FaceboookFree/Helper/Active.php
CHANGED
@@ -83,4 +83,39 @@ class Belvg_FaceboookFree_Helper_Active extends Mage_Core_Helper_Abstract {
|
|
83 |
return $img;
|
84 |
}
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
}
|
83 |
return $img;
|
84 |
}
|
85 |
|
86 |
+
public function isActiveActivity()
|
87 |
+
{
|
88 |
+
return Mage::getStoreConfig('facebookfree/activity/enabled');
|
89 |
+
}
|
90 |
+
|
91 |
+
public function getActivityWidth()
|
92 |
+
{
|
93 |
+
return Mage::getStoreConfig('facebookfree/activity/width');
|
94 |
+
}
|
95 |
+
|
96 |
+
public function getActivityHeight()
|
97 |
+
{
|
98 |
+
return Mage::getStoreConfig('facebookfree/activity/height');
|
99 |
+
}
|
100 |
+
|
101 |
+
public function getActivityHeader()
|
102 |
+
{
|
103 |
+
return Mage::getStoreConfig('facebookfree/activity/header')?'true':'false';
|
104 |
+
}
|
105 |
+
|
106 |
+
public function getActivityColor()
|
107 |
+
{
|
108 |
+
return Mage::getStoreConfig('facebookfree/activity/color');
|
109 |
+
}
|
110 |
+
|
111 |
+
public function getActivityRecommendations()
|
112 |
+
{
|
113 |
+
return Mage::getStoreConfig('facebookfree/activity/recommendations')?'true':'false';
|
114 |
+
}
|
115 |
+
|
116 |
+
public function getActivityMaxage()
|
117 |
+
{
|
118 |
+
return Mage::getStoreConfig('facebookfree/activity/maxage');
|
119 |
+
}
|
120 |
+
|
121 |
}
|
app/code/community/Belvg/FaceboookFree/Model/System/Config/Source/Font.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* BelVG LLC.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the EULA
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
|
11 |
+
*
|
12 |
+
/***************************************
|
13 |
+
* MAGENTO EDITION USAGE NOTICE *
|
14 |
+
*****************************************/
|
15 |
+
/* This package designed for Magento COMMUNITY edition
|
16 |
+
* BelVG does not guarantee correct work of this extension
|
17 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
+
* BelVG does not provide extension support in case of
|
19 |
+
* incorrect edition usage.
|
20 |
+
/***************************************
|
21 |
+
* DISCLAIMER *
|
22 |
+
*****************************************/
|
23 |
+
/* Do not edit or add to this file if you wish to upgrade Magento to newer
|
24 |
+
* versions in the future.
|
25 |
+
*****************************************************
|
26 |
+
* @category Belvg
|
27 |
+
* @package Belvg_FacebookFree
|
28 |
+
* @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
|
29 |
+
* @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
|
30 |
+
*/
|
31 |
+
|
32 |
+
class Belvg_FacebookFree_Model_System_Config_Source_Font
|
33 |
+
{
|
34 |
+
public function toOptionArray()
|
35 |
+
{
|
36 |
+
return array(
|
37 |
+
//array('value'=>'', 'label'=>''),
|
38 |
+
array('value'=>'arial', 'label'=>Mage::helper('facebookall')->__('Arial')),
|
39 |
+
array('value'=>'lucida grande', 'label'=>Mage::helper('facebookall')->__('Lucida Grande')),
|
40 |
+
array('value'=>'segoe ui', 'label'=>Mage::helper('facebookall')->__('Segoe Ui')),
|
41 |
+
array('value'=>'tahoma', 'label'=>Mage::helper('facebookall')->__('Tahoma')),
|
42 |
+
array('value'=>'trebuchet ms', 'label'=>Mage::helper('facebookall')->__('Trebuchet MS')),
|
43 |
+
array('value'=>'verdana', 'label'=>Mage::helper('facebookall')->__('Verdana')),
|
44 |
+
);
|
45 |
+
}
|
46 |
+
}
|
app/code/community/Belvg/FaceboookFree/controllers/CustomerController.php
CHANGED
@@ -157,14 +157,14 @@ class Belvg_FaceboookFree_CustomerController extends Mage_Core_Controller_Front_
|
|
157 |
{
|
158 |
$signed_request = $this->parse_signed_request($_COOKIE['fbsr_' . $app_id], $app_secret);
|
159 |
// $signed_request should now have most of the old elements
|
160 |
-
$signed_request[uid] = $signed_request[user_id]; // for compatibility
|
161 |
if (!is_null($signed_request)) {
|
162 |
// the cookie is valid/signed correctly
|
163 |
// lets change "code" into an "access_token"
|
164 |
$access_token_response = file_get_contents("https://graph.facebook.com/oauth/access_token?client_id=$app_id&redirect_uri=&client_secret=$app_secret&code=$signed_request[code]");
|
165 |
parse_str($access_token_response);
|
166 |
-
|
167 |
-
|
168 |
}
|
169 |
return $signed_request;
|
170 |
}
|
157 |
{
|
158 |
$signed_request = $this->parse_signed_request($_COOKIE['fbsr_' . $app_id], $app_secret);
|
159 |
// $signed_request should now have most of the old elements
|
160 |
+
$signed_request['uid'] = $signed_request['user_id']; // for compatibility
|
161 |
if (!is_null($signed_request)) {
|
162 |
// the cookie is valid/signed correctly
|
163 |
// lets change "code" into an "access_token"
|
164 |
$access_token_response = file_get_contents("https://graph.facebook.com/oauth/access_token?client_id=$app_id&redirect_uri=&client_secret=$app_secret&code=$signed_request[code]");
|
165 |
parse_str($access_token_response);
|
166 |
+
@$signed_request['access_token'] = $access_token;
|
167 |
+
@$signed_request['expires'] = time() + $expires;
|
168 |
}
|
169 |
return $signed_request;
|
170 |
}
|
app/code/community/Belvg/FaceboookFree/etc/config.xml
CHANGED
@@ -33,7 +33,7 @@
|
|
33 |
<config>
|
34 |
<modules>
|
35 |
<Belvg_FaceboookFree>
|
36 |
-
<version>1.0.
|
37 |
</Belvg_FaceboookFree>
|
38 |
</modules>
|
39 |
<frontend>
|
@@ -110,6 +110,15 @@
|
|
110 |
<layout>standart</layout>
|
111 |
<enabled>0</enabled>
|
112 |
</like>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
</facebookfree>
|
114 |
</default>
|
115 |
</config>
|
33 |
<config>
|
34 |
<modules>
|
35 |
<Belvg_FaceboookFree>
|
36 |
+
<version>1.0.6</version>
|
37 |
</Belvg_FaceboookFree>
|
38 |
</modules>
|
39 |
<frontend>
|
110 |
<layout>standart</layout>
|
111 |
<enabled>0</enabled>
|
112 |
</like>
|
113 |
+
<activity>
|
114 |
+
<enabled>0</enabled>
|
115 |
+
<width>200</width>
|
116 |
+
<height>300</height>
|
117 |
+
<header>1</header>
|
118 |
+
<color>light</color>
|
119 |
+
<recommendations>1</recommendations>
|
120 |
+
<maxage>0</maxage>
|
121 |
+
</activity>
|
122 |
</facebookfree>
|
123 |
</default>
|
124 |
</config>
|
app/code/community/Belvg/FaceboookFree/etc/system.xml
CHANGED
@@ -157,6 +157,79 @@
|
|
157 |
</width>
|
158 |
</fields>
|
159 |
</like>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
</groups>
|
161 |
</facebookfree>
|
162 |
</sections>
|
157 |
</width>
|
158 |
</fields>
|
159 |
</like>
|
160 |
+
<activity translate="label">
|
161 |
+
<label>Activity</label>
|
162 |
+
<frontend_type>text</frontend_type>
|
163 |
+
<sort_order>130</sort_order>
|
164 |
+
<show_in_default>1</show_in_default>
|
165 |
+
<show_in_website>1</show_in_website>
|
166 |
+
<show_in_store>1</show_in_store>
|
167 |
+
<fields>
|
168 |
+
<enabled translate="label comment">
|
169 |
+
<label>Enabled</label>
|
170 |
+
<frontend_type>select</frontend_type>
|
171 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
172 |
+
<sort_order>10</sort_order>
|
173 |
+
<show_in_default>1</show_in_default>
|
174 |
+
<show_in_website>1</show_in_website>
|
175 |
+
<show_in_store>1</show_in_store>
|
176 |
+
</enabled>
|
177 |
+
<width translate="label comment">
|
178 |
+
<label>Width</label>
|
179 |
+
<comment>in px</comment>
|
180 |
+
<frontend_type>text</frontend_type>
|
181 |
+
<sort_order>11</sort_order>
|
182 |
+
<show_in_default>1</show_in_default>
|
183 |
+
<show_in_website>1</show_in_website>
|
184 |
+
<show_in_store>1</show_in_store>
|
185 |
+
</width>
|
186 |
+
<height translate="label comment">
|
187 |
+
<label>Height</label>
|
188 |
+
<comment>in px</comment>
|
189 |
+
<frontend_type>text</frontend_type>
|
190 |
+
<sort_order>12</sort_order>
|
191 |
+
<show_in_default>1</show_in_default>
|
192 |
+
<show_in_website>1</show_in_website>
|
193 |
+
<show_in_store>1</show_in_store>
|
194 |
+
</height>
|
195 |
+
<header translate="label comment">
|
196 |
+
<label>Show Header</label>
|
197 |
+
<frontend_type>select</frontend_type>
|
198 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
199 |
+
<sort_order>13</sort_order>
|
200 |
+
<show_in_default>1</show_in_default>
|
201 |
+
<show_in_website>1</show_in_website>
|
202 |
+
<show_in_store>1</show_in_store>
|
203 |
+
</header>
|
204 |
+
<color translate="label">
|
205 |
+
<label>Color Scheme</label>
|
206 |
+
<frontend_type>select</frontend_type>
|
207 |
+
<source_model>facebookfree/system_config_source_color</source_model>
|
208 |
+
<sort_order>14</sort_order>
|
209 |
+
<show_in_default>1</show_in_default>
|
210 |
+
<show_in_website>1</show_in_website>
|
211 |
+
<show_in_store>1</show_in_store>
|
212 |
+
</color>
|
213 |
+
<recommendations translate="label comment">
|
214 |
+
<label>Add recommendations</label>
|
215 |
+
<frontend_type>select</frontend_type>
|
216 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
217 |
+
<sort_order>16</sort_order>
|
218 |
+
<show_in_default>1</show_in_default>
|
219 |
+
<show_in_website>1</show_in_website>
|
220 |
+
<show_in_store>1</show_in_store>
|
221 |
+
</recommendations>
|
222 |
+
<maxage translate="label comment">
|
223 |
+
<label>Max Age</label>
|
224 |
+
<comment>The default is 0 (we don’t take age into account). Otherwise the valid values are 1-180, which specifies the number of days. For example, if you specify '7' the plugin will only show URLs which were created in the past week.</comment>
|
225 |
+
<frontend_type>text</frontend_type>
|
226 |
+
<sort_order>17</sort_order>
|
227 |
+
<show_in_default>1</show_in_default>
|
228 |
+
<show_in_website>1</show_in_website>
|
229 |
+
<show_in_store>1</show_in_store>
|
230 |
+
</maxage>
|
231 |
+
</fields>
|
232 |
+
</activity>
|
233 |
</groups>
|
234 |
</facebookfree>
|
235 |
</sections>
|
app/design/frontend/default/default/layout/facebookfree.xml
CHANGED
@@ -51,6 +51,9 @@
|
|
51 |
</action>
|
52 |
</block>
|
53 |
</reference>
|
|
|
|
|
|
|
54 |
</default>
|
55 |
|
56 |
<catalog_product_view>
|
51 |
</action>
|
52 |
</block>
|
53 |
</reference>
|
54 |
+
<reference name="right">
|
55 |
+
<block type="facebookfree/active" name="fb.activity" template="facebookfree/activity.phtml" />
|
56 |
+
</reference>
|
57 |
</default>
|
58 |
|
59 |
<catalog_product_view>
|
app/design/frontend/default/default/template/facebookfree/activity.phtml
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* BelVG LLC.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the EULA
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
|
11 |
+
*
|
12 |
+
/***************************************
|
13 |
+
* MAGENTO EDITION USAGE NOTICE *
|
14 |
+
*****************************************/
|
15 |
+
/* This package designed for Magento COMMUNITY edition
|
16 |
+
* BelVG does not guarantee correct work of this extension
|
17 |
+
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
+
* BelVG does not provide extension support in case of
|
19 |
+
* incorrect edition usage.
|
20 |
+
/***************************************
|
21 |
+
* DISCLAIMER *
|
22 |
+
*****************************************/
|
23 |
+
/* Do not edit or add to this file if you wish to upgrade Magento to newer
|
24 |
+
* versions in the future.
|
25 |
+
*****************************************************
|
26 |
+
* @category Belvg
|
27 |
+
* @package Belvg_FacebookFree
|
28 |
+
* @copyright Copyright (c) 2010 - 2011 BelVG LLC. (http://www.belvg.com)
|
29 |
+
* @license http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<?php if($this->helper('facebookfree/active')->isActiveActivity()):?>
|
34 |
+
<?php preg_match('/[^.]+\.[^.]+$/', Mage::getBaseUrl(), $matches);?>
|
35 |
+
<fb:activity site="<?php echo $matches[0]?>" width="<?php echo $this->helper('facebookfree/active')->getActivityWidth()?>" height="<?php echo $this->helper('facebookfree/active')->getActivityHeight()?>" header="<?php echo $this->helper('facebookfree/active')->getActivityHeader()?>" colorscheme="<?php echo $this->helper('facebookfree/active')->getActivityColor()?>" recommendations="<?php echo $this->helper('facebookfree/active')->getActivityRecommendations()?>" max_age="<?php echo $this->helper('facebookfree/active')->getActivityMaxage()?>" />
|
36 |
+
<?php endif?>
|
app/etc/modules/Belvg_FacebookFree.xml
CHANGED
@@ -35,7 +35,7 @@
|
|
35 |
<Belvg_FaceboookFree>
|
36 |
<active>true</active>
|
37 |
<codePool>community</codePool>
|
38 |
-
<version>1.0.
|
39 |
</Belvg_FaceboookFree>
|
40 |
</modules>
|
41 |
</config>
|
35 |
<Belvg_FaceboookFree>
|
36 |
<active>true</active>
|
37 |
<codePool>community</codePool>
|
38 |
+
<version>1.0.6</version>
|
39 |
</Belvg_FaceboookFree>
|
40 |
</modules>
|
41 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>facebookfreebelvg</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt">BelVG EULA</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Facebook connect and publish extension allows to login into store using Facebook credentials. Allows to add configurable iLike button to the product page.</description>
|
11 |
<notes>Please, feel free to contact us at store@belvg.com</notes>
|
12 |
<authors><author><name>Belvg</name><user>auto-converted</user><email>store@belvg.com</email></author></authors>
|
13 |
-
<date>2011-12-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Belvg"><dir name="All"><dir name="Helper"><file name="Data.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>facebookfreebelvg</name>
|
4 |
+
<version>1.0.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://store.belvg.com/BelVG-LICENSE-COMMUNITY.txt">BelVG EULA</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Facebook connect and publish extension allows to login into store using Facebook credentials. Allows to add configurable iLike button to the product page.</description>
|
11 |
<notes>Please, feel free to contact us at store@belvg.com</notes>
|
12 |
<authors><author><name>Belvg</name><user>auto-converted</user><email>store@belvg.com</email></author></authors>
|
13 |
+
<date>2011-12-29</date>
|
14 |
+
<time>09:54:28</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Belvg"><dir name="All"><dir name="Block"><file name="Extensions.php" hash="ab6e5a12637e0a8a51a81e856918484e"/></dir><dir name="Helper"><file name="Data.php" hash="6c217e489096017e9d54c85e283d33a3"/></dir><dir name="Model"><dir name="Source"><dir name="Updates"><file name="Type.php" hash="82686a1617964af07e1304d5dbd50936"/></dir></dir><file name="Feed.php" hash="3c54cb74916efad6d953217b78df8552"/></dir><dir name="etc"><file name="adminhtml.xml" hash="bfd8ef99e1958f2b87edd03a84ad5504"/><file name="config.xml" hash="56762be7c640ceb65e8b896c40c9ce59"/><file name="system.xml" hash="b5e962aa832380538e469fdf17fbd64e"/></dir><dir name="sql"><dir name="belvgall_setup"><file name="mysql4-install-1.0.0.php" hash="ba30c778afd0f4a959ec9f86d439ea0a"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="5e95ac8153d421f304f5ee9af6d46250"/></dir></dir></dir><dir name="FaceboookFree"><dir name="Block"><file name="Active.php" hash="813d46911f6500338c30fa5c179e12d3"/><file name="Links.php" hash="a850aed6d41f7e377b1603b5791805e7"/></dir><dir name="Helper"><file name="Active.php" hash="6f566278c3998331b1edbf266310b67b"/><file name="Data.php" hash="1825805274bce0784ec27ce9bcd1f525"/></dir><dir name="Model"><dir name="Mysql4"><file name="FaceboookFree.php" hash="6638dee145ed01b0ec6ffe82807bebf9"/><file name="Setup.php" hash="5d7ef9e98a18c04c0d8d1457c96492aa"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Color.php" hash="bd27002596a4bc6018a52618a60b4fcc"/><file name="Font.php" hash="88d5212453523acc35ee12ab740ba687"/><file name="Layout.php" hash="d8b4cd4c2bb3ae2d40b0a43e84b2812f"/></dir></dir></dir><file name="FaceboookFree.php" hash="6ae1b5b8f461794a42960af5694a0540"/></dir><dir name="controllers"><file name="CustomerController.php" hash="ad2c56ac9f993fb1dca65e826fb0d62d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="918c2b409a939f35b4e28ce8d1a8d2e9"/><file name="config.xml" hash="7d73adf06e71462c64fb86f1de8c9080"/><file name="system.xml" hash="9db266fa5ccfb5d1abc2f254ac74f9ea"/></dir><dir name="sql"><dir name="facebookfree_setup"><file name="mysql4-install-1.0.1.php" hash="4fb61d52de12359987c0f4975093d4b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="facebookfree.xml" hash="5a4a28ddce5581acbba883eb8072983c"/></dir><dir name="template"><dir name="facebookfree"><dir name="like"><dir name="product"><dir name="view"><file name="addto.phtml" hash="2587002138a3be0944e98079309e8524"/></dir></dir><file name="head.phtml" hash="b618691ffc33a0e71ecf82c8137829e4"/></dir><file name="activity.phtml" hash="dac9de014353fbfc378b0a86b25426cf"/><file name="block.phtml" hash="48679d8096f0380022ed4901a8aff8f5"/><file name="checkoutlogin.phtml" hash="3f2fbfe2b973338bd595b1664f67d0b4"/><file name="login.phtml" hash="d229b7c2f3e704e1b51616f235024d0c"/><file name="top.links.phtml" hash="4b2e33ac3ab51f53c0616c09da1150ee"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="Facebook"><file name="Api.php" hash="daf56a2b2c80b069f92ce7e4bee1782f"/><file name="Exception.php" hash="6992e5cc68e456c0841a002cbd92a12b"/><file name="fb_ca_chain_bundle.crt" hash="c3055d03e94bbee13c7c6cc3a76083d9"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="belvg"><file name="facebookfree.css" hash="c211abe25deeef7c6c31059efa58d701"/></dir></dir><dir name="images"><dir name="belvg"><file name="fb.gif" hash="865312ef4436675a9c79bacb7c97407f"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="belvgall"><file name="bad.gif" hash="b8379f1ba7ab552ca46b9d5fd0452345"/><file name="delete.jpg" hash="6bb134dbca5cbde8e9873b4eb8f8faa8"/><file name="info.gif" hash="421f023bf6a8a17b9c0347ab851f167f"/><file name="ok.gif" hash="a38bc2ee6e116e39c6e2e3013ee50f5e"/><file name="update.gif" hash="8342e11f7739fcfa25134707f0536ed6"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Belvg_All.xml" hash="c288d8578bf4dc8c6c29ba1fe341f1d7"/><file name="Belvg_FacebookFree.xml" hash="1a8addeef2cdd64b4cb9036dc399e6a6"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
skin/adminhtml/default/default/images/belvgall/bad.gif
ADDED
Binary file
|
skin/adminhtml/default/default/images/belvgall/delete.jpg
ADDED
Binary file
|
skin/adminhtml/default/default/images/belvgall/info.gif
ADDED
Binary file
|
skin/adminhtml/default/default/images/belvgall/ok.gif
ADDED
Binary file
|
skin/adminhtml/default/default/images/belvgall/update.gif
ADDED
Binary file
|