Version Notes
Version 2.0.1 - Stable release.
Download this release
Release Info
Developer | Krisjanis Cers |
Extension | MaxTraffic_Exit_Offers |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.0 to 2.0.1
app/code/community/Maxtraffic/WidgetTraffic/controllers/Adminhtml/TrafficController.php
CHANGED
@@ -66,7 +66,7 @@ class Maxtraffic_WidgetTraffic_Adminhtml_TrafficController extends Mage_Adminhtm
|
|
66 |
$salt = "MaxTraffic Pop-Up Plugin";
|
67 |
$crypted_data = trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $salt, $data, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND))));
|
68 |
|
69 |
-
$url = '
|
70 |
$response = json_decode(file_get_contents($url));
|
71 |
|
72 |
if(!$response->ok)
|
@@ -146,7 +146,7 @@ class Maxtraffic_WidgetTraffic_Adminhtml_TrafficController extends Mage_Adminhtm
|
|
146 |
return;
|
147 |
}
|
148 |
|
149 |
-
$url = '
|
150 |
|
151 |
$response = json_decode(file_get_contents($url));
|
152 |
|
@@ -240,7 +240,7 @@ class Maxtraffic_WidgetTraffic_Adminhtml_TrafficController extends Mage_Adminhtm
|
|
240 |
|
241 |
$query = $this->maxtTrafficData();
|
242 |
|
243 |
-
$url = '
|
244 |
|
245 |
$data = json_decode(file_get_contents($url));
|
246 |
|
66 |
$salt = "MaxTraffic Pop-Up Plugin";
|
67 |
$crypted_data = trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $salt, $data, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND))));
|
68 |
|
69 |
+
$url = 'https://e.maxtraffic.com/magento/login-response?data='. $crypted_data;
|
70 |
$response = json_decode(file_get_contents($url));
|
71 |
|
72 |
if(!$response->ok)
|
146 |
return;
|
147 |
}
|
148 |
|
149 |
+
$url = 'https://e.maxtraffic.com/magento/register?email='. $email .'&domain='. $domain .'&name='. $name .'&surname='. $surname;
|
150 |
|
151 |
$response = json_decode(file_get_contents($url));
|
152 |
|
240 |
|
241 |
$query = $this->maxtTrafficData();
|
242 |
|
243 |
+
$url = 'https://e.maxtraffic.com/magento/login-check?user='. $query['maxtraffic_user'] .'&website='. $query['maxtraffic_website'] .'&token='. $query['maxtraffic_token'];
|
244 |
|
245 |
$data = json_decode(file_get_contents($url));
|
246 |
|
app/code/community/Maxtraffic/WidgetTraffic/controllers/Adminhtml/redirect.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
<p>
|
18 |
Go to MaxTraffic to set up and manage your campaigns.
|
19 |
</p>
|
20 |
-
<a href="//e.maxtraffic.
|
21 |
</div>
|
22 |
</div>
|
23 |
<?php
|
17 |
<p>
|
18 |
Go to MaxTraffic to set up and manage your campaigns.
|
19 |
</p>
|
20 |
+
<a href="//e.maxtraffic.com/magento/login?user=<?php echo $query['maxtraffic_user'] .'&website='. $query['maxtraffic_website'] .'&token='. $query['maxtraffic_token'] ?>" target="_blank" class="button button-primary" style="padding:7px;border-radius:5px;color: #fff;background-color: #F77B08;border-color: #de6f07;text-shadow:none;box-shadow:0 1px 0 #C75800;-webkit-box-shadow:0 1px 0 #C75800;background-image:none;text-decoration:none;">Go to MaxTraffic</a>
|
21 |
</div>
|
22 |
</div>
|
23 |
<?php
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>MaxTraffic_Exit_Offers</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -19,11 +19,11 @@ Supported releases:
|
|
19 |
-1.9
|
20 |
-1.9.1
|
21 |
-1.9.2</description>
|
22 |
-
<notes>Version 2.0.
|
23 |
<authors><author><name>Krisjanis Cers</name><user>MaxTraffic</user><email>krisjanis@maxtraffic.eu</email></author></authors>
|
24 |
<date>2016-05-10</date>
|
25 |
-
<time>13:
|
26 |
-
<contents><target name="magecommunity"><dir name="Maxtraffic"><dir name="WidgetTraffic"><dir name="Block"><file name="Welcome.php" hash="5a4004e5b4b9b632b16c3ba6be576438"/></dir><dir name="Helper"><file name="Data.php" hash="210b54a4ab109fb00f328f9c1ad20583"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="TrafficController.php" hash="
|
27 |
<compatible/>
|
28 |
<dependencies><required><php><min>5.2.0</min><max>7.0.6</max></php></required></dependencies>
|
29 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>MaxTraffic_Exit_Offers</name>
|
4 |
+
<version>2.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
19 |
-1.9
|
20 |
-1.9.1
|
21 |
-1.9.2</description>
|
22 |
+
<notes>Version 2.0.1 - Stable release.</notes>
|
23 |
<authors><author><name>Krisjanis Cers</name><user>MaxTraffic</user><email>krisjanis@maxtraffic.eu</email></author></authors>
|
24 |
<date>2016-05-10</date>
|
25 |
+
<time>13:50:25</time>
|
26 |
+
<contents><target name="magecommunity"><dir name="Maxtraffic"><dir name="WidgetTraffic"><dir name="Block"><file name="Welcome.php" hash="5a4004e5b4b9b632b16c3ba6be576438"/></dir><dir name="Helper"><file name="Data.php" hash="210b54a4ab109fb00f328f9c1ad20583"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="TrafficController.php" hash="c4d606096966b8bc40274b901444f7d2"/><file name="redirect.php" hash="5281c0b162e9854a6dff192fc63a154b"/><file name="register.php" hash="2b0233d9c6680d4b2c093adb6cf56782"/><file name="welcome.php" hash="436fed3dd2a150bf4637b777456e8915"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="b522698621b3c0083d66622e605d1ad2"/><file name="config.xml" hash="3a4741b647fe65a8041b653b6b87dec1"/></dir><dir name="sql"><dir name="widgettraffic_setup"><file name="install-2.0.0.php" hash="2203bda4e1dbea79f1eaac0beeb43722"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Maxtraffic_WidgetTraffic.xml" hash="670e08b71fa3707e49eac1bae76ea728"/></dir></target></contents>
|
27 |
<compatible/>
|
28 |
<dependencies><required><php><min>5.2.0</min><max>7.0.6</max></php></required></dependencies>
|
29 |
</package>
|