Subscribe2 - Version 10.17

Version Description

Download this release

Release Info

Developer tanaylakhani
Plugin Icon 128x128 Subscribe2
Version 10.17
Comparing to
See all releases

Code changes from version 10.16 to 10.17

ChangeLog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 10.16 =
2
 
3
  * XSS security fix
1
+ = 10.17 =
2
+
3
+ * Bug Fixes
4
+
5
  = 10.16 =
6
 
7
  * XSS security fix
ReadMe.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_butt
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
- Stable tag: 10.16
8
  License: GPL3
9
 
10
  Sends a list of subscribers an email notification when new posts are published to your blog. Automate user growth through ReadyGraph integration.
@@ -63,6 +63,19 @@ Track daily-new subscribers, daily invites, total traffic, and other key metrics
63
 
64
  ReadyGraph’s newsfeed is an optional overlay on your site where your users can engage with others in your community and recommend your content or products to each other. It is like having a social network that engages users embedded on your site. Users can leave comments, ‘like’ comments left by other subscribers and ‘follow’ other subscribers. Subscribers will receive automated email updates based on these actions.
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  If you have questions or concerns contact us anytime at [info@readygraph.com](mailto:info@readygraph.com)
67
 
68
  == Installation ==
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
+ Stable tag: 10.17
8
  License: GPL3
9
 
10
  Sends a list of subscribers an email notification when new posts are published to your blog. Automate user growth through ReadyGraph integration.
63
 
64
  ReadyGraph’s newsfeed is an optional overlay on your site where your users can engage with others in your community and recommend your content or products to each other. It is like having a social network that engages users embedded on your site. Users can leave comments, ‘like’ comments left by other subscribers and ‘follow’ other subscribers. Subscribers will receive automated email updates based on these actions.
65
 
66
+ = Want To Grow Even Faster? =
67
+
68
+ Try [ReadyGraph premium](https://readygraph.com/accounts/payment/) for free to get these advanced features:
69
+
70
+ 1. Monthly Promotion to 10,000 New Users
71
+ 2. Unlimited New Blog Post Emails
72
+ 3. Unlimited Viral Email Invites
73
+ 4. Unlimited Facebook Invites
74
+ 5. Many more premium features added all the time
75
+
76
+ [Get it here!](https://readygraph.com/accounts/payment/)
77
+
78
+
79
  If you have questions or concerns contact us anytime at [info@readygraph.com](mailto:info@readygraph.com)
80
 
81
  == Installation ==
extension/readygraph/admin.php CHANGED
@@ -185,20 +185,17 @@ If you have questions or concerns contact us anytime at <a href="mailto:info@rea
185
  <?php if(get_option('readygraph_tutorial') && get_option('readygraph_tutorial') == "true"){ ?>
186
  <div class="tutorial-true" style="margin: 5% auto;">
187
  <h3 style="font-weight: normal; text-align: center;"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/check.png"/>Congratulations! <?php echo $main_plugin_title; ?>'s ReadyGraph growth engine is now active.</h3>
188
- <h4 style="font-weight: normal; text-align: center;">Next take our tutorial to customize settings for:</h4>
189
- <div style="width: 225px; margin: 0 auto;"><h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/2.png" class="rg-small-icon"/>Optimized Signup Form</h4>
190
- <h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/3.png" class="rg-small-icon"/>Viral Friend Invites</h4>
191
- <h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/4.png" class="rg-small-icon"/>Automated Emails</h4>
192
 
193
- <div class="save-changes" style="font-weight: normal; text-align: center;"><button type="submit" class="btn btn-large btn-warning save-next" formaction="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>&ac=signup-popup&source=basic-settings" style="margin: 15px">Customize</button><br>
194
- <a href="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>&ac=basic-settings" style="margin: 15px">Skip</a>
195
  </div></div>
196
  </div>
197
  <?php } else { ?>
198
- <?php if(get_option('readygraph_upgrade_notice') && get_option('readygraph_upgrade_notice') == "true") { ?><div class="upgrade-notice"><div class="aa_close"><a href="<?php echo $_SERVER['REQUEST_URI']; ?>&readygraph_upgrade_notice=dismiss"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/dialog_close.png"></a></div>
199
- <div class="upgrade-notice-text">Want to grow your users even faster? Try <a href="https://readygraph.com/accounts/payment/?email=<?php echo get_option('readygraph_email', ''); ?>" target="_blank">ReadyGraph Premium</a> for free.</div>
200
- </div>
201
- <? } ?>
202
  <div class="tutorial-false" style="margin: 2% auto; width: 90%">
203
  <h3 style="font-weight: normal; text-align: center;">Settings - Make adjustments to grow and engage your userbase</h3>
204
  <div style="float: left;width: 75%;">
185
  <?php if(get_option('readygraph_tutorial') && get_option('readygraph_tutorial') == "true"){ ?>
186
  <div class="tutorial-true" style="margin: 5% auto;">
187
  <h3 style="font-weight: normal; text-align: center;"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/check.png"/>Congratulations! <?php echo $main_plugin_title; ?>'s ReadyGraph growth engine is now active.</h3>
188
+ <h3 style="font-weight: normal; text-align: center;">Consider going premium to grow even faster!</h3>
189
+ <div style="width: 60%; margin: 0 auto;"><h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/round-check.png" class="rg-small-icon"/>Your site promoted to 10,000 New Users Every Month in our Community Email Update</h4>
190
+ <h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/round-check.png" class="rg-small-icon"/>Unlimited Viral Email/Facebook Invites</h4>
191
+ <h4 class="rg-h4"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/round-check.png" class="rg-small-icon"/>Unlimited Blog Post Notifications and More!</h4>
192
 
193
+ <div class="save-changes" style="font-weight: normal; text-align: center;"><button type="submit" class="btn btn-large btn-warning save-next" formaction="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>&ac=signup-popup&source=basic-settings" style="margin: 15px">Learn more about Premium</button><br>
194
+ <strong>Or take <a href="<?php $current_url = explode("&", $_SERVER['REQUEST_URI']); echo $current_url[0];?>&ac=signup-popup&source=basic-settings">the tutorial</a> to customize your ReadyGraph settings</strong>
195
  </div></div>
196
  </div>
197
  <?php } else { ?>
198
+
 
 
 
199
  <div class="tutorial-false" style="margin: 2% auto; width: 90%">
200
  <h3 style="font-weight: normal; text-align: center;">Settings - Make adjustments to grow and engage your userbase</h3>
201
  <div style="float: left;width: 75%;">
extension/readygraph/assets/css/admin.css CHANGED
@@ -149,4 +149,7 @@ color: #b1c1ca;
149
  width: 29%;
150
  margin: 1% 2% 1%;
151
  border: 2px solid #2691CB;
 
 
 
152
  }
149
  width: 29%;
150
  margin: 1% 2% 1%;
151
  border: 2px solid #2691CB;
152
+ }
153
+ .rg-signup-icon{
154
+ margin: 5px;
155
  }
extension/readygraph/faq.php CHANGED
@@ -160,6 +160,7 @@ If you have questions or concerns contact us anytime at <a href="mailto:info@rea
160
  <p><a href="https://readygraph.com/accounts/payment/?email=<?php echo get_option('readygraph_email', '') ?>" target="_blank" style="color: #b1c1ca" ><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/go-premium.png" height="40px" style="margin:5px" /></a></p>
161
  </div>
162
  </div>
 
163
  <div class="tutorial-true" style="margin: 5% auto;">
164
  <h3 style="font-weight: normal; text-align: center;">Frequenty Asked Questions</h3>
165
 
160
  <p><a href="https://readygraph.com/accounts/payment/?email=<?php echo get_option('readygraph_email', '') ?>" target="_blank" style="color: #b1c1ca" ><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/go-premium.png" height="40px" style="margin:5px" /></a></p>
161
  </div>
162
  </div>
163
+
164
  <div class="tutorial-true" style="margin: 5% auto;">
165
  <h3 style="font-weight: normal; text-align: center;">Frequenty Asked Questions</h3>
166
 
extension/readygraph/signup-popup.php CHANGED
@@ -27,6 +27,7 @@ s2_rrmdir($dir);
27
 
28
  if(isset($_GET["action"]) && base64_decode($_GET["action"]) == "changeaccount")s2_disconnectReadyGraph();
29
  if(isset($_GET["action"]) && base64_decode($_GET["action"]) == "deleteaccount")s2_deleteReadyGraph();
 
30
  global $main_plugin_title;
31
  if (!get_option('readygraph_access_token') || strlen(get_option('readygraph_access_token')) <= 0) {
32
  //redirect to main page
@@ -152,6 +153,10 @@ s2_rrmdir($dir);
152
  </div>
153
  </div>
154
  <div><div><a href="#">Grow Users</a> > Signup Popup</div>
 
 
 
 
155
  <h3 style="font-weight: normal; text-align: center;">Increase signups with the Intelligent Signup Popup</h3>
156
  <h4 style="font-weight: normal; text-align: center;">Users instantly added to your list - One Click Signup - Automatically targets engaged users</h4>
157
  <div style="width: 90%; margin: 0 auto;">
27
 
28
  if(isset($_GET["action"]) && base64_decode($_GET["action"]) == "changeaccount")s2_disconnectReadyGraph();
29
  if(isset($_GET["action"]) && base64_decode($_GET["action"]) == "deleteaccount")s2_deleteReadyGraph();
30
+ if(isset($_GET["readygraph_upgrade_notice"]) && $_GET["readygraph_upgrade_notice"] == "dismiss") {update_option('readygraph_upgrade_notice', 'false');}
31
  global $main_plugin_title;
32
  if (!get_option('readygraph_access_token') || strlen(get_option('readygraph_access_token')) <= 0) {
33
  //redirect to main page
153
  </div>
154
  </div>
155
  <div><div><a href="#">Grow Users</a> > Signup Popup</div>
156
+ <?php if(get_option('readygraph_upgrade_notice') && get_option('readygraph_upgrade_notice') == "true") { ?><div class="upgrade-notice"><div class="aa_close"><a href="<?php echo $_SERVER['REQUEST_URI']; ?>&readygraph_upgrade_notice=dismiss"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/dialog_close.png"></a></div>
157
+ <div class="upgrade-notice-text">Want to grow your users even faster? Try <a href="https://readygraph.com/accounts/payment/?email=<?php echo get_option('readygraph_email', ''); ?>" target="_blank">ReadyGraph Premium</a> for free.</div>
158
+ </div>
159
+ <?php } ?>
160
  <h3 style="font-weight: normal; text-align: center;">Increase signups with the Intelligent Signup Popup</h3>
161
  <h4 style="font-weight: normal; text-align: center;">Users instantly added to your list - One Click Signup - Automatically targets engaged users</h4>
162
  <div style="width: 90%; margin: 0 auto;">
extension/readygraph/site-profile.php CHANGED
@@ -123,6 +123,10 @@ s2_rrmdir($dir);
123
  </div>
124
  </div>
125
  <div><div><a href="#">Basic Settings</a> > Site Profile</div>
 
 
 
 
126
  <h3 style="font-weight: normal; text-align: center;">Be sure your site profile is accurate!</h3>
127
  <h4 style="font-weight: normal; text-align: center;">This content is used in your site's features and emails</h4>
128
  <div style="margin: 0 5%;">
123
  </div>
124
  </div>
125
  <div><div><a href="#">Basic Settings</a> > Site Profile</div>
126
+ <?php if(get_option('readygraph_upgrade_notice') && get_option('readygraph_upgrade_notice') == "true") { ?><div class="upgrade-notice"><div class="aa_close"><a href="<?php echo $_SERVER['REQUEST_URI']; ?>&readygraph_upgrade_notice=dismiss"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/dialog_close.png"></a></div>
127
+ <div class="upgrade-notice-text">Want to grow your users even faster? Try <a href="https://readygraph.com/accounts/payment/?email=<?php echo get_option('readygraph_email', ''); ?>" target="_blank">ReadyGraph Premium</a> for free.</div>
128
+ </div>
129
+ <?php } ?>
130
  <h3 style="font-weight: normal; text-align: center;">Be sure your site profile is accurate!</h3>
131
  <h4 style="font-weight: normal; text-align: center;">This content is used in your site's features and emails</h4>
132
  <div style="margin: 0 5%;">
extension/readygraph/social-feed.php CHANGED
@@ -27,7 +27,7 @@ s2_rrmdir($dir);
27
 
28
  if(isset($_GET["action"]) && base64_decode($_GET["action"]) == "changeaccount")s2_disconnectReadyGraph();
29
  if(isset($_GET["action"]) && base64_decode($_GET["action"]) == "deleteaccount")s2_deleteReadyGraph();
30
-
31
  global $main_plugin_title;
32
  if (!get_option('readygraph_access_token') || strlen(get_option('readygraph_access_token')) <= 0) {
33
  //redirect to main page
@@ -141,6 +141,10 @@ s2_rrmdir($dir);
141
  </div>
142
  </div>
143
  <div><a href="#">Engage Users</a> > Social Feed</div>
 
 
 
 
144
  <div class="social-feed" style="margin: 2% auto; width: 80%">
145
 
146
  <h3 style="font-weight: normal; text-align: center;">Enable your social feed sidebar to build a community (Optional)</h3>
27
 
28
  if(isset($_GET["action"]) && base64_decode($_GET["action"]) == "changeaccount")s2_disconnectReadyGraph();
29
  if(isset($_GET["action"]) && base64_decode($_GET["action"]) == "deleteaccount")s2_deleteReadyGraph();
30
+ if(isset($_GET["readygraph_upgrade_notice"]) && $_GET["readygraph_upgrade_notice"] == "dismiss") {update_option('readygraph_upgrade_notice', 'false');}
31
  global $main_plugin_title;
32
  if (!get_option('readygraph_access_token') || strlen(get_option('readygraph_access_token')) <= 0) {
33
  //redirect to main page
141
  </div>
142
  </div>
143
  <div><a href="#">Engage Users</a> > Social Feed</div>
144
+ <?php if(get_option('readygraph_upgrade_notice') && get_option('readygraph_upgrade_notice') == "true") { ?><div class="upgrade-notice"><div class="aa_close"><a href="<?php echo $_SERVER['REQUEST_URI']; ?>&readygraph_upgrade_notice=dismiss"><img src="<?php echo plugin_dir_url( __FILE__ );?>assets/dialog_close.png"></a></div>
145
+ <div class="upgrade-notice-text">Want to grow your users even faster? Try <a href="https://readygraph.com/accounts/payment/?email=<?php echo get_option('readygraph_email', ''); ?>" target="_blank">ReadyGraph Premium</a> for free.</div>
146
+ </div>
147
+ <?php } ?>
148
  <div class="social-feed" style="margin: 2% auto; width: 80%">
149
 
150
  <h3 style="font-weight: normal; text-align: center;">Enable your social feed sidebar to build a community (Optional)</h3>
subscribe2.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted.
6
- Version: 10.16
7
  Author: Matthew Robinson, Tanay Lakhani
8
  Author URI: http://subscribe2.wordpress.com
9
  Licence: GPL3
@@ -55,7 +55,7 @@ if ( is_plugin_active_for_network(plugin_basename(__FILE__)) ) {
55
 
56
  // our version number. Don't touch this or any line below
57
  // unless you know exactly what you are doing
58
- define( 'S2VERSION', '10.16' );
59
  define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
60
  define( 'S2DIR', trailingslashit(dirname(plugin_basename(__FILE__))) );
61
  define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted.
6
+ Version: 10.17
7
  Author: Matthew Robinson, Tanay Lakhani
8
  Author URI: http://subscribe2.wordpress.com
9
  Licence: GPL3
55
 
56
  // our version number. Don't touch this or any line below
57
  // unless you know exactly what you are doing
58
+ define( 'S2VERSION', '10.17' );
59
  define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
60
  define( 'S2DIR', trailingslashit(dirname(plugin_basename(__FILE__))) );
61
  define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );