Version Description
Download this release
Release Info
Developer | marnietave |
Plugin | Free Tools to Automate Your Site Growth |
Version | 1.17 |
Comparing to | |
See all releases |
Code changes from version 1.16 to 1.17
- Readme.txt +14 -8
- classes/class_sumome.php +21 -5
- js/general.php +1 -1
- js/preload.php +26 -10
- styles/media.css +19 -4
- styles/styles.css +7 -2
- sumome.php +4 -5
- views/landing.php +0 -5
- views/main.php +14 -12
- views/wordpress-dashboard-welcome-page.php +1 -4
Readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: SumoMe
|
|
3 |
Tags: MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost, popup, exit intent, growth, subscribers, twitter, facebook share, social plugin, social sharing, subscription, email form, share, sharing, social , social media buttons , links, click to tweet , analytics , newsletter, widget,lightbox, analytics, newsletter, newsletter, Facebook, floating social buttons, google plus, Image sharing, pinterest plugin, pintrest, share image, sharebar, sharing, social bookmarking, social plugin, sms, tweet button, heat map, heatmaps, twitter share, contact form, scroll box, content analytics, inbound marketing, mailing list, share buttons, welcome mat, landing page
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 4.2.1
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -331,13 +331,16 @@ Why you should encourage Twitter sharing
|
|
331 |
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
332 |
|
333 |
= 1.15 =
|
334 |
-
* Integration with WordPress Admin
|
335 |
-
* Statistics inside WordPress dashboard
|
336 |
-
* Better on-boarding
|
337 |
|
338 |
= 1.16 =
|
339 |
* CSS and pathname fixes
|
340 |
|
|
|
|
|
|
|
341 |
== Upgrade Notice ==
|
342 |
|
343 |
= 1.04 =
|
@@ -380,9 +383,12 @@ Why you should encourage Twitter sharing
|
|
380 |
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
381 |
|
382 |
= 1.15 =
|
383 |
-
* Integration with WordPress Admin
|
384 |
-
* Statistics inside WordPress dashboard
|
385 |
-
* Better on-boarding
|
386 |
|
387 |
= 1.16 =
|
388 |
-
* CSS and pathname fixes
|
|
|
|
|
|
3 |
Tags: MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost, popup, exit intent, growth, subscribers, twitter, facebook share, social plugin, social sharing, subscription, email form, share, sharing, social , social media buttons , links, click to tweet , analytics , newsletter, widget,lightbox, analytics, newsletter, newsletter, Facebook, floating social buttons, google plus, Image sharing, pinterest plugin, pintrest, share image, sharebar, sharing, social bookmarking, social plugin, sms, tweet button, heat map, heatmaps, twitter share, contact form, scroll box, content analytics, inbound marketing, mailing list, share buttons, welcome mat, landing page
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 4.2.1
|
6 |
+
Stable tag: 1.17
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
331 |
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
332 |
|
333 |
= 1.15 =
|
334 |
+
* Integration with WordPress Admin.
|
335 |
+
* Statistics inside WordPress dashboard.
|
336 |
+
* Better on-boarding.
|
337 |
|
338 |
= 1.16 =
|
339 |
* CSS and pathname fixes
|
340 |
|
341 |
+
= 1.17 =
|
342 |
+
* CSS, notification bubble, and more random Site ID
|
343 |
+
|
344 |
== Upgrade Notice ==
|
345 |
|
346 |
= 1.04 =
|
383 |
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
384 |
|
385 |
= 1.15 =
|
386 |
+
* Integration with WordPress Admin.
|
387 |
+
* Statistics inside WordPress dashboard.
|
388 |
+
* Better on-boarding.
|
389 |
|
390 |
= 1.16 =
|
391 |
+
* CSS and pathname fixes
|
392 |
+
|
393 |
+
= 1.17 =
|
394 |
+
* CSS, notification bubble, and more random Site ID
|
classes/class_sumome.php
CHANGED
@@ -15,6 +15,14 @@ class WP_Plugin_SumoMe {
|
|
15 |
if (get_option('endurance_user')==1) $this->dataSumoPlatform="wordpress-endurance";
|
16 |
}
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
public function admin_init() {
|
19 |
register_setting('sumome', 'sumome_site_id', array($this, 'sanitize_site_id'));
|
20 |
|
@@ -80,20 +88,24 @@ class WP_Plugin_SumoMe {
|
|
80 |
echo sprintf('<textarea type="text" name="%s" id="%s" class="sumome-site-id" />%s</textarea><button onclick="sumome_generate_site_id(); return false;" class="button">Get New Site ID</button>', $field, $field, esc_attr($value));
|
81 |
}
|
82 |
|
83 |
-
|
84 |
public function check_generate_site_id() {
|
85 |
$site_id = get_option('sumome_site_id');
|
86 |
|
87 |
if (!$site_id) {
|
88 |
-
$
|
89 |
-
|
90 |
-
|
|
|
|
|
|
|
|
|
91 |
}
|
92 |
|
93 |
update_option('sumome_site_id', $site_id);
|
94 |
}
|
95 |
}
|
96 |
|
|
|
97 |
public function append_script_code() {
|
98 |
$this->check_generate_site_id();
|
99 |
|
@@ -160,6 +172,10 @@ class WP_Plugin_SumoMe {
|
|
160 |
update_option('sumome_hide_dashboard_overlay', true);
|
161 |
}
|
162 |
|
|
|
|
|
|
|
|
|
163 |
public function dashboard_setup() {
|
164 |
add_meta_box( 'my_dashboard_widget', 'SumoMe', array($this , 'dashboard_widget'), 'dashboard', 'normal', 'high');
|
165 |
}
|
@@ -178,7 +194,7 @@ class WP_Plugin_SumoMe {
|
|
178 |
jQuery('.sumome-plugin-dashboard-widget').html(data);
|
179 |
});
|
180 |
</script>
|
181 |
-
<?php
|
182 |
}
|
183 |
|
184 |
}
|
15 |
if (get_option('endurance_user')==1) $this->dataSumoPlatform="wordpress-endurance";
|
16 |
}
|
17 |
|
18 |
+
public function activate_SumoMe_plugin() {
|
19 |
+
WP_Plugin_SumoMe::ajax_sumome_show_dashboard_overlay();
|
20 |
+
}
|
21 |
+
|
22 |
+
public function deactivate_SumoMe_plugin() {
|
23 |
+
WP_Plugin_SumoMe::ajax_sumome_show_dashboard_overlay();
|
24 |
+
}
|
25 |
+
|
26 |
public function admin_init() {
|
27 |
register_setting('sumome', 'sumome_site_id', array($this, 'sanitize_site_id'));
|
28 |
|
88 |
echo sprintf('<textarea type="text" name="%s" id="%s" class="sumome-site-id" />%s</textarea><button onclick="sumome_generate_site_id(); return false;" class="button">Get New Site ID</button>', $field, $field, esc_attr($value));
|
89 |
}
|
90 |
|
|
|
91 |
public function check_generate_site_id() {
|
92 |
$site_id = get_option('sumome_site_id');
|
93 |
|
94 |
if (!$site_id) {
|
95 |
+
list($usec, $sec) = explode(' ', microtime());
|
96 |
+
$sumoSeed=(float) $sec + ((float) $usec * 100000);
|
97 |
+
|
98 |
+
mt_srand($sumoSeed);
|
99 |
+
$site_id='';
|
100 |
+
for ($i=0;$i<8;$i++) {
|
101 |
+
$site_id.=substr(dechex(mt_rand()).'000000000',2,8);
|
102 |
}
|
103 |
|
104 |
update_option('sumome_site_id', $site_id);
|
105 |
}
|
106 |
}
|
107 |
|
108 |
+
|
109 |
public function append_script_code() {
|
110 |
$this->check_generate_site_id();
|
111 |
|
172 |
update_option('sumome_hide_dashboard_overlay', true);
|
173 |
}
|
174 |
|
175 |
+
public function ajax_sumome_show_dashboard_overlay() {
|
176 |
+
update_option('sumome_hide_dashboard_overlay', false);
|
177 |
+
}
|
178 |
+
|
179 |
public function dashboard_setup() {
|
180 |
add_meta_box( 'my_dashboard_widget', 'SumoMe', array($this , 'dashboard_widget'), 'dashboard', 'normal', 'high');
|
181 |
}
|
194 |
jQuery('.sumome-plugin-dashboard-widget').html(data);
|
195 |
});
|
196 |
</script>
|
197 |
+
<?php
|
198 |
}
|
199 |
|
200 |
}
|
js/general.php
CHANGED
@@ -173,7 +173,7 @@ function getLoadInformation() {
|
|
173 |
} else {
|
174 |
jQuery('.notification-count').remove();
|
175 |
if (data.unreadNotificationCount>0) {
|
176 |
-
jQuery('.sumo-notifications').append('<div class="notification-count">'+data.unreadNotificationCount+'</div>');
|
177 |
}
|
178 |
}
|
179 |
}
|
173 |
} else {
|
174 |
jQuery('.notification-count').remove();
|
175 |
if (data.unreadNotificationCount>0) {
|
176 |
+
jQuery('.sumo-notifications .item-tile-title').append('<div class="notification-count">'+data.unreadNotificationCount+'</div>');
|
177 |
}
|
178 |
}
|
179 |
}
|
js/preload.php
CHANGED
@@ -8,9 +8,17 @@ function __smReady(sumome) {
|
|
8 |
jQuery('.sumome-wp-dash-logged-out').addClass('status-logged-in');
|
9 |
});
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
function show_sumome_login() {
|
12 |
-
|
13 |
-
|
|
|
14 |
|
15 |
sumome.core.on('login', function() {
|
16 |
sumome_login_refresh();
|
@@ -21,6 +29,22 @@ function __smReady(sumome) {
|
|
21 |
show_sumome_login();
|
22 |
});
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
if (getCookie('__smUser')) {
|
25 |
sumome.core.on('removeCookie', function(cookie) {
|
26 |
if (cookie=='__smUser') {
|
@@ -57,14 +81,6 @@ function __smReady(sumome) {
|
|
57 |
jQuery('.sumome-logged-in-container-overlay').removeClass('dim');
|
58 |
});
|
59 |
|
60 |
-
|
61 |
-
|
62 |
-
/*
|
63 |
-
jQuery(document).on('click', '.sumome-modal-close',function () {
|
64 |
-
jQuery('.sumome-logged-in-container-overlay').removeClass('dim');
|
65 |
-
});
|
66 |
-
*/
|
67 |
-
|
68 |
jQuery(document).on('click', '.popup-container .site-ID button',function () {
|
69 |
function _sumome_r() {
|
70 |
return (Math.random().toString(16)+"000000000").substr(2,8);
|
8 |
jQuery('.sumome-wp-dash-logged-out').addClass('status-logged-in');
|
9 |
});
|
10 |
|
11 |
+
//auto populate form when clicking badge to login
|
12 |
+
if (!getCookie('__smUser')) {
|
13 |
+
sumome.core.on('startApp', function() {
|
14 |
+
sumo_plugin_populate_form();
|
15 |
+
});
|
16 |
+
}
|
17 |
+
|
18 |
function show_sumome_login() {
|
19 |
+
sumome.core.emit('startApp', {app: 'login', opts: { launch: false }});
|
20 |
+
|
21 |
+
sumo_plugin_populate_form();
|
22 |
|
23 |
sumome.core.on('login', function() {
|
24 |
sumome_login_refresh();
|
29 |
show_sumome_login();
|
30 |
});
|
31 |
|
32 |
+
jQuery(document).on('click','.sumome-login-login,.sumome-login-signup', function (e) {
|
33 |
+
sumo_plugin_populate_form();
|
34 |
+
});
|
35 |
+
|
36 |
+
function sumo_plugin_populate_form() {
|
37 |
+
var populateLoginInterval=setInterval(
|
38 |
+
function(){
|
39 |
+
if (jQuery('.sumome-login input[name=email]').is(':visible') || jQuery('.sumome-register input[name=email]').is(':visible')) {
|
40 |
+
jQuery('.sumome-login input[name=email]').val('<?php print esc_js(get_option('admin_email', ''))?>');
|
41 |
+
jQuery('.sumome-register input[name=email]').val('<?php print esc_js(get_option('admin_email', ''))?>');
|
42 |
+
clearInterval(populateLoginInterval);
|
43 |
+
}
|
44 |
+
}
|
45 |
+
, 100);
|
46 |
+
}
|
47 |
+
|
48 |
if (getCookie('__smUser')) {
|
49 |
sumome.core.on('removeCookie', function(cookie) {
|
50 |
if (cookie=='__smUser') {
|
81 |
jQuery('.sumome-logged-in-container-overlay').removeClass('dim');
|
82 |
});
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
jQuery(document).on('click', '.popup-container .site-ID button',function () {
|
85 |
function _sumome_r() {
|
86 |
return (Math.random().toString(16)+"000000000").substr(2,8);
|
styles/media.css
CHANGED
@@ -68,7 +68,6 @@
|
|
68 |
padding-top: 0%;
|
69 |
}
|
70 |
.sumome-plugin-main .footer {
|
71 |
-
height: 250px;
|
72 |
padding-top: 10px;
|
73 |
line-height: 25px;
|
74 |
}
|
@@ -105,7 +104,8 @@
|
|
105 |
|
106 |
|
107 |
/* top 2 tiles */
|
108 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-apps
|
|
|
109 |
width:98%;
|
110 |
float:left;
|
111 |
font-size:25px;
|
@@ -114,11 +114,18 @@
|
|
114 |
|
115 |
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-apps {
|
116 |
background-size: 90%;
|
117 |
-
|
|
|
118 |
}
|
119 |
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-store {
|
120 |
background-size: 80%;
|
121 |
background-position: -60px -35px;
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
}
|
123 |
|
124 |
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-apps .item-tile-title,
|
@@ -227,7 +234,7 @@
|
|
227 |
}
|
228 |
|
229 |
.sumome-plugin-main .sumome-logged-in-container .header-banner {
|
230 |
-
background-image: url('
|
231 |
background-repeat: no-repeat;
|
232 |
min-height: 150px;
|
233 |
background-position: top center;
|
@@ -243,5 +250,13 @@
|
|
243 |
}
|
244 |
|
245 |
|
|
|
246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
}
|
68 |
padding-top: 0%;
|
69 |
}
|
70 |
.sumome-plugin-main .footer {
|
|
|
71 |
padding-top: 10px;
|
72 |
line-height: 25px;
|
73 |
}
|
104 |
|
105 |
|
106 |
/* top 2 tiles */
|
107 |
+
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-apps,
|
108 |
+
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-store {
|
109 |
width:98%;
|
110 |
float:left;
|
111 |
font-size:25px;
|
114 |
|
115 |
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-apps {
|
116 |
background-size: 90%;
|
117 |
+
background-position: -120px -35px;
|
118 |
+
float:left;
|
119 |
}
|
120 |
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-store {
|
121 |
background-size: 80%;
|
122 |
background-position: -60px -35px;
|
123 |
+
float:left;
|
124 |
+
}
|
125 |
+
|
126 |
+
.sumome-plugin-main .sumome-logged-in-container .items div .item-tile-title {
|
127 |
+
top: 0%;
|
128 |
+
transform: none;
|
129 |
}
|
130 |
|
131 |
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-apps .item-tile-title,
|
234 |
}
|
235 |
|
236 |
.sumome-plugin-main .sumome-logged-in-container .header-banner {
|
237 |
+
background-image: url('../images/sumome-banner.jpg');
|
238 |
background-repeat: no-repeat;
|
239 |
min-height: 150px;
|
240 |
background-position: top center;
|
250 |
}
|
251 |
|
252 |
|
253 |
+
}
|
254 |
|
255 |
+
@media screen and (max-width: 475px) {
|
256 |
+
.sumome-plugin-main .sumome-logged-in-container .items .item-tile {
|
257 |
+
width: 100%;
|
258 |
+
}
|
259 |
+
.sumome-plugin-main .sumome-logged-in-container .items .item-tile:nth-child(even) {
|
260 |
+
float: none;
|
261 |
+
}
|
262 |
}
|
styles/styles.css
CHANGED
@@ -235,7 +235,6 @@
|
|
235 |
position:relative;
|
236 |
bottom:0px;
|
237 |
left:0px;
|
238 |
-
height:250px;
|
239 |
padding-top:60px;
|
240 |
line-height:25px;
|
241 |
margin-top:50px;
|
@@ -298,7 +297,6 @@
|
|
298 |
background-color:#fff;
|
299 |
color:#65717b;
|
300 |
height:200px;
|
301 |
-
line-height:200px;
|
302 |
margin:25px 1%;
|
303 |
cursor:pointer;
|
304 |
font-size:20px;
|
@@ -324,6 +322,13 @@
|
|
324 |
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-store {
|
325 |
white-space:nowrap;
|
326 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-apps .item-tile-title,
|
328 |
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-store .item-tile-title {
|
329 |
padding-right:100px;
|
235 |
position:relative;
|
236 |
bottom:0px;
|
237 |
left:0px;
|
|
|
238 |
padding-top:60px;
|
239 |
line-height:25px;
|
240 |
margin-top:50px;
|
297 |
background-color:#fff;
|
298 |
color:#65717b;
|
299 |
height:200px;
|
|
|
300 |
margin:25px 1%;
|
301 |
cursor:pointer;
|
302 |
font-size:20px;
|
322 |
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-store {
|
323 |
white-space:nowrap;
|
324 |
}
|
325 |
+
|
326 |
+
.sumome-plugin-main .sumome-logged-in-container .items div .item-tile-title {
|
327 |
+
position: relative;
|
328 |
+
top: 50%;
|
329 |
+
transform: translateY(-50%);
|
330 |
+
}
|
331 |
+
|
332 |
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-apps .item-tile-title,
|
333 |
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-store .item-tile-title {
|
334 |
padding-right:100px;
|
sumome.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SumoMe
|
4 |
Plugin URI: http://sumome.com
|
5 |
Description: Free Tools to grow your email list from SumoMe.com
|
6 |
-
Version: 1.
|
7 |
Author: SumoMe
|
8 |
Author URI: http://www.SumoMe.com
|
9 |
*/
|
@@ -12,12 +12,11 @@ define('SUMOME__PLUGIN_DIR', plugin_dir_path( __FILE__ ));
|
|
12 |
define('SUMOME__PLUGIN_FILE', __FILE__);
|
13 |
|
14 |
include 'classes/class_sumome.php';
|
15 |
-
|
16 |
-
//register_activation_hook(__FILE__, array('WP_Plugin_SumoMe', 'activate'));
|
17 |
-
//register_deactivation_hook(__FILE__, array('WP_Plugin_SumoMe', 'deactivate'));
|
18 |
-
|
19 |
$wp_plugin_sumome = new WP_Plugin_SumoMe();
|
20 |
|
|
|
|
|
|
|
21 |
function sumome_plugin_settings_link($links)
|
22 |
{
|
23 |
$settings_link = '<a href="options-general.php?page=sumome">Settings</a>';
|
3 |
Plugin Name: SumoMe
|
4 |
Plugin URI: http://sumome.com
|
5 |
Description: Free Tools to grow your email list from SumoMe.com
|
6 |
+
Version: 1.17
|
7 |
Author: SumoMe
|
8 |
Author URI: http://www.SumoMe.com
|
9 |
*/
|
12 |
define('SUMOME__PLUGIN_FILE', __FILE__);
|
13 |
|
14 |
include 'classes/class_sumome.php';
|
|
|
|
|
|
|
|
|
15 |
$wp_plugin_sumome = new WP_Plugin_SumoMe();
|
16 |
|
17 |
+
register_activation_hook( __FILE__, array('WP_Plugin_SumoMe', 'activate_SumoMe_plugin'));
|
18 |
+
register_deactivation_hook(__FILE__, array('WP_Plugin_SumoMe', 'deactivate_SumoMe_plugin'));
|
19 |
+
|
20 |
function sumome_plugin_settings_link($links)
|
21 |
{
|
22 |
$settings_link = '<a href="options-general.php?page=sumome">Settings</a>';
|
views/landing.php
CHANGED
@@ -1,12 +1,9 @@
|
|
1 |
<?php
|
2 |
-
//header("Access-Control-Allow-Origin: *");
|
3 |
if(isset($_COOKIE['__smUser'])) {
|
4 |
$sumomeStatus="status-logged-in";
|
5 |
} else{
|
6 |
$sumomeStatus="status-logged-out";
|
7 |
}
|
8 |
-
//print '<pre>'.print_r($_COOKIE,true).'</pre>';
|
9 |
-
|
10 |
?>
|
11 |
|
12 |
<div class="sumome-plugin-container">
|
@@ -24,8 +21,6 @@ if(isset($_COOKIE['__smUser'])) {
|
|
24 |
</div>
|
25 |
|
26 |
<?php
|
27 |
-
|
28 |
-
//include_once "siteID.php";
|
29 |
include_once "popup.php";
|
30 |
?>
|
31 |
|
1 |
<?php
|
|
|
2 |
if(isset($_COOKIE['__smUser'])) {
|
3 |
$sumomeStatus="status-logged-in";
|
4 |
} else{
|
5 |
$sumomeStatus="status-logged-out";
|
6 |
}
|
|
|
|
|
7 |
?>
|
8 |
|
9 |
<div class="sumome-plugin-container">
|
21 |
</div>
|
22 |
|
23 |
<?php
|
|
|
|
|
24 |
include_once "popup.php";
|
25 |
?>
|
26 |
|
views/main.php
CHANGED
@@ -20,17 +20,12 @@ $itemArray['Statistics']['columns']=1;
|
|
20 |
|
21 |
$itemArray['I Need Help']['data-name']="sumome-control-help";
|
22 |
$itemArray['I Need Help']['data-href']="http://help.sumome.com";
|
23 |
-
//$itemArray['I Need Help']['class']="sumome-popup-iframe";
|
24 |
$itemArray['I Need Help']['class']="sumome-popup-no-dim";
|
25 |
$itemArray['I Need Help']['columns']=1;
|
26 |
|
27 |
-
$itemArray['About
|
28 |
-
$itemArray['About
|
29 |
-
$itemArray['About
|
30 |
-
|
31 |
-
$itemArray['Site Settings']['data-name']="sumome-control-advanced-settings";
|
32 |
-
$itemArray['Site Settings']['class']="sumome-tile-advanced-settings sumome-popup-no-dim";
|
33 |
-
$itemArray['Site Settings']['columns']=1;
|
34 |
|
35 |
$itemArray['SumoMe Settings']['data-name']="sumome-control-settings";
|
36 |
$itemArray['SumoMe Settings']['class']="sumo-settings";
|
@@ -88,6 +83,16 @@ $itemArray['SumoMe Settings']['columns']=1;
|
|
88 |
</div>
|
89 |
</div>
|
90 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
</div>
|
92 |
</div>
|
93 |
|
@@ -97,11 +102,8 @@ $itemArray['SumoMe Settings']['columns']=1;
|
|
97 |
?>
|
98 |
<script>
|
99 |
jQuery(document).ready(function() {
|
100 |
-
|
101 |
})
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
</script>
|
107 |
|
20 |
|
21 |
$itemArray['I Need Help']['data-name']="sumome-control-help";
|
22 |
$itemArray['I Need Help']['data-href']="http://help.sumome.com";
|
|
|
23 |
$itemArray['I Need Help']['class']="sumome-popup-no-dim";
|
24 |
$itemArray['I Need Help']['columns']=1;
|
25 |
|
26 |
+
$itemArray['About']['data-name']="sumome-control-about";
|
27 |
+
$itemArray['About']['class']="sumome-tile-about sumome-popup-no-dim";
|
28 |
+
$itemArray['About']['columns']=1;
|
|
|
|
|
|
|
|
|
29 |
|
30 |
$itemArray['SumoMe Settings']['data-name']="sumome-control-settings";
|
31 |
$itemArray['SumoMe Settings']['class']="sumo-settings";
|
83 |
</div>
|
84 |
</div>
|
85 |
</div>
|
86 |
+
|
87 |
+
<!-- Site ID -->
|
88 |
+
<div class="row">
|
89 |
+
<div class="large-12 columns footer footer">
|
90 |
+
<div class="sumome-plugin-center">Need to restore an existing account?
|
91 |
+
<div class="sumome-plugin-linkalike sumome-link-button sumome-tile-advanced-settings item-tile sumome-popup-no-dim" data-name="sumome-control-advanced-settings" data-title="">Click here</div>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
|
96 |
</div>
|
97 |
</div>
|
98 |
|
102 |
?>
|
103 |
<script>
|
104 |
jQuery(document).ready(function() {
|
105 |
+
getLoadInformation();
|
106 |
})
|
107 |
|
|
|
|
|
|
|
108 |
</script>
|
109 |
|
views/wordpress-dashboard-welcome-page.php
CHANGED
@@ -22,9 +22,7 @@ if (!isset($noClose)) print '<div class="sumome-plugin-dashboard-widget-close-bu
|
|
22 |
|
23 |
|
24 |
<div class="sumome-popup-forms">
|
25 |
-
|
26 |
-
//include 'forms-logged-out.php';
|
27 |
-
?>
|
28 |
</div>
|
29 |
<div class="sumome-plugin-dashboard-widget-header-title">Please Connect SumoMe</div>
|
30 |
<div class="sumome-plugin-dashboard-widget-header-desc">SumoMe is the #1 plugin to grow your WordPress site.<br>
|
@@ -185,7 +183,6 @@ if (!isset($noClose)) print '<div class="sumome-plugin-dashboard-widget-close-bu
|
|
185 |
</div>
|
186 |
|
187 |
|
188 |
-
|
189 |
<script>
|
190 |
<?php
|
191 |
if (wp_is_mobile()) {
|
22 |
|
23 |
|
24 |
<div class="sumome-popup-forms">
|
25 |
+
|
|
|
|
|
26 |
</div>
|
27 |
<div class="sumome-plugin-dashboard-widget-header-title">Please Connect SumoMe</div>
|
28 |
<div class="sumome-plugin-dashboard-widget-header-desc">SumoMe is the #1 plugin to grow your WordPress site.<br>
|
183 |
</div>
|
184 |
|
185 |
|
|
|
186 |
<script>
|
187 |
<?php
|
188 |
if (wp_is_mobile()) {
|