Version Notes
Its stable version for 1.7, 1.8 & 1.9.
Download this release
Release Info
Developer | Netsol |
Extension | Netsol_Social_Discount |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- app/code/community/Netsol/SocialDiscount/Block/Adminhtml/Report/Grid.php +2 -2
- app/code/community/Netsol/SocialDiscount/data/netsol_sd_setup/{data-install-1.0.4.php → data-install-1.0.5.php} +0 -0
- app/code/community/Netsol/SocialDiscount/data/netsol_sd_setup/data-upgrade-1.0.4-1.0.5.php +3 -0
- app/code/community/Netsol/SocialDiscount/etc/adminhtml.xml +9 -0
- app/code/community/Netsol/SocialDiscount/etc/config.xml +1 -1
- app/code/community/Netsol/SocialDiscount/etc/system.xml +1 -78
- app/code/community/Netsol/SocialDiscount/sql/netsol_sd_setup/{mysql4-install-1.0.4.php → mysql4-install-1.0.5.php} +0 -0
- app/code/community/Netsol/SocialDiscount/sql/netsol_sd_setup/mysql4-upgrade-1.0.4-1.0.5.php +3 -0
- package.xml +4 -4
app/code/community/Netsol/SocialDiscount/Block/Adminhtml/Report/Grid.php
CHANGED
@@ -40,7 +40,7 @@ class Netsol_SocialDiscount_Block_Adminhtml_Report_Grid extends Mage_Adminhtml_B
|
|
40 |
'index' => 'product_name',
|
41 |
'filter_condition_callback' => array($this, 'filterByProductCallback')
|
42 |
));
|
43 |
-
$this->addColumn('media', array(
|
44 |
'header' => $helper->__('Social Media'),
|
45 |
'index' => 'media',
|
46 |
'type' => 'options',
|
@@ -48,7 +48,7 @@ class Netsol_SocialDiscount_Block_Adminhtml_Report_Grid extends Mage_Adminhtml_B
|
|
48 |
'Facebook' => 'Facebook',
|
49 |
//'Twitter' => 'Twitter'
|
50 |
)
|
51 |
-
));
|
52 |
$this->addColumn('ip_address', array(
|
53 |
'header' => $helper->__('User IP'),
|
54 |
'index' => 'ip_address'
|
40 |
'index' => 'product_name',
|
41 |
'filter_condition_callback' => array($this, 'filterByProductCallback')
|
42 |
));
|
43 |
+
/* $this->addColumn('media', array(
|
44 |
'header' => $helper->__('Social Media'),
|
45 |
'index' => 'media',
|
46 |
'type' => 'options',
|
48 |
'Facebook' => 'Facebook',
|
49 |
//'Twitter' => 'Twitter'
|
50 |
)
|
51 |
+
)); */
|
52 |
$this->addColumn('ip_address', array(
|
53 |
'header' => $helper->__('User IP'),
|
54 |
'index' => 'ip_address'
|
app/code/community/Netsol/SocialDiscount/data/netsol_sd_setup/{data-install-1.0.4.php → data-install-1.0.5.php}
RENAMED
File without changes
|
app/code/community/Netsol/SocialDiscount/data/netsol_sd_setup/data-upgrade-1.0.4-1.0.5.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* No difference in database */
|
app/code/community/Netsol/SocialDiscount/etc/adminhtml.xml
CHANGED
@@ -15,6 +15,11 @@
|
|
15 |
<sort_order>2</sort_order>
|
16 |
<action>adminhtml/socialdiscount/report</action>
|
17 |
</sd_analytic_report>
|
|
|
|
|
|
|
|
|
|
|
18 |
</children>
|
19 |
</netsol_sd>
|
20 |
</menu>
|
@@ -45,6 +50,10 @@
|
|
45 |
<title>Analytic Report</title>
|
46 |
<sort_order>2</sort_order>
|
47 |
</sd_analytic_report>
|
|
|
|
|
|
|
|
|
48 |
</children>
|
49 |
</netsol_sd>
|
50 |
</children>
|
15 |
<sort_order>2</sort_order>
|
16 |
<action>adminhtml/socialdiscount/report</action>
|
17 |
</sd_analytic_report>
|
18 |
+
<sd_configuration module="netsol_sd">
|
19 |
+
<title>Configuration</title>
|
20 |
+
<sort_order>3</sort_order>
|
21 |
+
<action>adminhtml/system_config/edit/section/netsol_sd</action>
|
22 |
+
</sd_configuration>
|
23 |
</children>
|
24 |
</netsol_sd>
|
25 |
</menu>
|
50 |
<title>Analytic Report</title>
|
51 |
<sort_order>2</sort_order>
|
52 |
</sd_analytic_report>
|
53 |
+
<sd_configuration module="netsol_sd">
|
54 |
+
<title>Configuration</title>
|
55 |
+
<sort_order>3</sort_order>
|
56 |
+
</sd_configuration>
|
57 |
</children>
|
58 |
</netsol_sd>
|
59 |
</children>
|
app/code/community/Netsol/SocialDiscount/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Netsol_SocialDiscount>
|
5 |
-
<version>1.0.
|
6 |
</Netsol_SocialDiscount>
|
7 |
</modules>
|
8 |
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Netsol_SocialDiscount>
|
5 |
+
<version>1.0.5</version>
|
6 |
</Netsol_SocialDiscount>
|
7 |
</modules>
|
8 |
|
app/code/community/Netsol/SocialDiscount/etc/system.xml
CHANGED
@@ -145,7 +145,7 @@
|
|
145 |
</facebook_share>
|
146 |
<facebook_app_id translate="label">
|
147 |
<label>Facebook App Id</label>
|
148 |
-
<comment>Enter facebook app id</comment>
|
149 |
<frontend_type>text</frontend_type>
|
150 |
<sort_order>2</sort_order>
|
151 |
<show_in_default>1</show_in_default>
|
@@ -158,83 +158,6 @@
|
|
158 |
</facebook_app_id>
|
159 |
</fields>
|
160 |
</sd_facebook>
|
161 |
-
|
162 |
-
<!--sd_twitter translate="label" module="netsol_sd">
|
163 |
-
<label>Twitter Settings</label>
|
164 |
-
<frontend_type>text</frontend_type>
|
165 |
-
<sort_order>300</sort_order>
|
166 |
-
<show_in_default>1</show_in_default>
|
167 |
-
<show_in_website>1</show_in_website>
|
168 |
-
<show_in_store>1</show_in_store>
|
169 |
-
|
170 |
-
<fields>
|
171 |
-
<twitter_share translate="label">
|
172 |
-
<label>Twitter Share</label>
|
173 |
-
<comment>Enable twitter share</comment>
|
174 |
-
<frontend_type>select</frontend_type>
|
175 |
-
<sort_order>1</sort_order>
|
176 |
-
<show_in_default>1</show_in_default>
|
177 |
-
<show_in_website>1</show_in_website>
|
178 |
-
<show_in_store>1</show_in_store>
|
179 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
180 |
-
</twitter_share>
|
181 |
-
<twitter_access_token translate="label">
|
182 |
-
<label>Twitter Access Token</label>
|
183 |
-
<comment>Enter twitter access token from your twitter app</comment>
|
184 |
-
<frontend_type>text</frontend_type>
|
185 |
-
<sort_order>2</sort_order>
|
186 |
-
<show_in_default>1</show_in_default>
|
187 |
-
<show_in_website>1</show_in_website>
|
188 |
-
<show_in_store>1</show_in_store>
|
189 |
-
<validate>required-entry</validate>
|
190 |
-
<depends>
|
191 |
-
<twitter_share>1</twitter_share>
|
192 |
-
</depends>
|
193 |
-
</twitter_access_token>
|
194 |
-
<twitter_access_token_secret translate="label">
|
195 |
-
<label>Twitter Access Token Secret</label>
|
196 |
-
<comment>Enter twitter access token secret from your twitter app</comment>
|
197 |
-
<frontend_type>text</frontend_type>
|
198 |
-
<sort_order>3</sort_order>
|
199 |
-
<show_in_default>1</show_in_default>
|
200 |
-
<show_in_website>1</show_in_website>
|
201 |
-
<show_in_store>1</show_in_store>
|
202 |
-
<show_in_store>1</show_in_store>
|
203 |
-
<validate>required-entry</validate>
|
204 |
-
<depends>
|
205 |
-
<twitter_share>1</twitter_share>
|
206 |
-
</depends>
|
207 |
-
</twitter_access_token_secret>
|
208 |
-
<twitter_consumer_key translate="label">
|
209 |
-
<label>Twitter Consumer Key</label>
|
210 |
-
<comment>Enter twitter consumer key from your twitter app</comment>
|
211 |
-
<frontend_type>text</frontend_type>
|
212 |
-
<sort_order>4</sort_order>
|
213 |
-
<show_in_default>1</show_in_default>
|
214 |
-
<show_in_website>1</show_in_website>
|
215 |
-
<show_in_store>1</show_in_store>
|
216 |
-
<show_in_store>1</show_in_store>
|
217 |
-
<validate>required-entry</validate>
|
218 |
-
<depends>
|
219 |
-
<twitter_share>1</twitter_share>
|
220 |
-
</depends>
|
221 |
-
</twitter_consumer_key>
|
222 |
-
<twitter_consumer_secret translate="label">
|
223 |
-
<label>Twitter Consumer Secret</label>
|
224 |
-
<comment>Enter twitter consumer secret from your twitter app</comment>
|
225 |
-
<frontend_type>text</frontend_type>
|
226 |
-
<sort_order>5</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 |
-
<show_in_store>1</show_in_store>
|
231 |
-
<validate>required-entry</validate>
|
232 |
-
<depends>
|
233 |
-
<twitter_share>1</twitter_share>
|
234 |
-
</depends>
|
235 |
-
</twitter_consumer_secret>
|
236 |
-
</fields>
|
237 |
-
</sd_twitter-->
|
238 |
</groups>
|
239 |
</netsol_sd>
|
240 |
</sections>
|
145 |
</facebook_share>
|
146 |
<facebook_app_id translate="label">
|
147 |
<label>Facebook App Id</label>
|
148 |
+
<comment>Enter your facebook app id (<![CDATA[<a target="_blank" href="https://developers.facebook.com/docs/apps/register">Click here</a>]]> to create new facebook app). Your app should have public access and not in sandbox mode.</comment>
|
149 |
<frontend_type>text</frontend_type>
|
150 |
<sort_order>2</sort_order>
|
151 |
<show_in_default>1</show_in_default>
|
158 |
</facebook_app_id>
|
159 |
</fields>
|
160 |
</sd_facebook>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
</groups>
|
162 |
</netsol_sd>
|
163 |
</sections>
|
app/code/community/Netsol/SocialDiscount/sql/netsol_sd_setup/{mysql4-install-1.0.4.php → mysql4-install-1.0.5.php}
RENAMED
File without changes
|
app/code/community/Netsol/SocialDiscount/sql/netsol_sd_setup/mysql4-upgrade-1.0.4-1.0.5.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* No difference in database */
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Netsol_Social_Discount</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>It helps vendor's to promote their products on facebook. Customer share products on their facebook profile to get discounts.</description>
|
11 |
<notes>Its stable version for 1.7, 1.8 & 1.9.</notes>
|
12 |
<authors><author><name>Netsol</name><user>net_solutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
|
13 |
-
<date>2015-07-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Netsol"><dir name="SocialDiscount"><dir name="Block"><dir name="Adminhtml"><file name="Analyticreport.php" hash="ae6cdca1c14836e10ef5e2722b55cf9d"/><dir name="Report"><dir name="Analytic"><file name="Grid.php" hash="ecf944c240e30e59e9aea31067446d11"/></dir><file name="Grid.php" hash="
|
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>Netsol_Social_Discount</name>
|
4 |
+
<version>1.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>It helps vendor's to promote their products on facebook. Customer share products on their facebook profile to get discounts.</description>
|
11 |
<notes>Its stable version for 1.7, 1.8 & 1.9.</notes>
|
12 |
<authors><author><name>Netsol</name><user>net_solutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
|
13 |
+
<date>2015-07-21</date>
|
14 |
+
<time>10:01:16</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Netsol"><dir name="SocialDiscount"><dir name="Block"><dir name="Adminhtml"><file name="Analyticreport.php" hash="ae6cdca1c14836e10ef5e2722b55cf9d"/><dir name="Report"><dir name="Analytic"><file name="Grid.php" hash="ecf944c240e30e59e9aea31067446d11"/></dir><file name="Grid.php" hash="8a3b45507373b53b657978912d23f1b5"/></dir><file name="Report.php" hash="147d846461fbb66d0028dfe1ba07b305"/></dir><file name="Buttons.php" hash="648a6e0180ef937fc0feddd3d2588ea5"/></dir><dir name="Helper"><file name="Data.php" hash="510a8545456298a07b489f6bbb2163a3"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Analyticreport"><file name="Collection.php" hash="43693b19c86a630a59740feb498bc757"/></dir><dir name="Socialdiscount"><file name="Collection.php" hash="1328aea184ef16baf06bc3f7d39f7ec5"/></dir><file name="Socialdiscount.php" hash="831c3ec519200cd9fc5c975ee7949ba6"/></dir><file name="Observer.php" hash="155cb9325c199fc92091a56f0d46ebb6"/><file name="Socialdiscount.php" hash="ac9fdf0e1e3462e3a49a4e307fe309e0"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Couponpermission.php" hash="be48d1ca59040ffffbb5013a03a21be4"/><file name="Coupontype.php" hash="df769bd451b06d2138d2727fad21e940"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="SocialdiscountController.php" hash="1edee887ee546910c48ea522632c2a15"/></dir><file name="CouponController.php" hash="76a5892110067eb379dcfc9bafd2fb5b"/><file name="TwitterController.php" hash="29f0f9876542b4bebcf2c78d9f377380"/></dir><dir name="data"><dir name="netsol_sd_setup"><file name="data-install-1.0.5.php" hash="f03638a17e90376611c01d979b4ae057"/><file name="data-upgrade-1.0.0-1.0.1.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="data-upgrade-1.0.1-1.0.2.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="data-upgrade-1.0.2-1.0.3.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="data-upgrade-1.0.3-1.0.4.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="data-upgrade-1.0.4-1.0.5.php" hash="ecdaefef485fc41cecc9de89fad97737"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="f9ef9b70ce49ea023178c5022eab93ac"/><file name="config.xml" hash="14790acfc791e3aead2f6ab287914799"/><file name="system.xml" hash="2ecf0d5bbc421acce71e8e17489c27e5"/></dir><dir name="sql"><dir name="netsol_sd_setup"><file name="mysql4-install-1.0.5.php" hash="253615603cc39a494b45a8180b682f9f"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="ecdaefef485fc41cecc9de89fad97737"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="netsol_sd.xml" hash="d1e047e2ad2cdd99befa9d5a981d8883"/></dir><dir name="template"><dir name="netsol"><dir name="social_discount"><file name="buttons.phtml" hash="d2bf1968c83363f7e13ed28e8f5e0b79"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Netsol_SocialDiscount.xml" hash="df8f78d5cc2fa271fda41d7d143b79b3"/></dir></target><target name="magelib"><dir name="."><file name="TwitterAPIExchange.php" hash="431aa757cd8a4d138c5a25f48ff55a9d"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="sd_send_coupon_email.html" hash="a08438cc93f815c7ef9771318fc9f413"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="netsol"><file name="social_discount.css" hash="b55911a09d860e8b47e6e476d2f2fbba"/></dir></dir><dir name="images"><dir name="netsol"><file name="facebook.png" hash="7d2f8844253b3b3b4eddacceabd379b0"/><file name="social_loader.gif" hash="03b6aa9d61525f4f9dd41512ea7134a4"/><file name="twitter.png" hash="9ad336f9401d8ac9334e0c7ab0394f47"/></dir></dir><dir name="js"><dir name="netsol"><dir name="social_discount"><file name="jquery.min.2.0.js" hash="ac60b6cb5b378001dc935f43cc1f1f0d"/></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="netsol"><dir name="social_discount"><file name="jquery.min.2.0.js" hash="2edc942c0bd2476be8967a9f788d9e26"/></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>
|