Simple Download Monitor - Version 0.24

Version Description

  • Updated the examples (download-example.php, download-example-js.php) to be compatible with PHP 5.4.

  • Due to my (Pepak's) lack of time to work on this project anymore, I will be giving it to mra13 of "All In One WP Security & Firewall" who will be developing it further. This is the last version created by me. It has been good while it lasted, but now I have moved on and I don't want the plugin to die.

Download this release

Release Info

Developer pepak.net
Plugin Icon 128x128 Simple Download Monitor
Version 0.24
Comparing to
See all releases

Code changes from version 0.23 to 0.24

download-example-js.php CHANGED
@@ -9,7 +9,7 @@
9
 
10
  <div align="center">
11
  <br /><br />
12
- Your download will begin in 5 seconds! <br /> If it does not, <a href="/<? echo $filename; ?>?download=true" rel="nofollow">click here</a>.
13
  <br /><br />
14
  </div>
15
 
@@ -26,7 +26,7 @@ function updateIframe() {
26
  if(exec == true) {
27
  exec = false;
28
  var ifrm = document.getElementById("frame1");
29
- ifrm.src = "/<? echo $filename; ?>?download=true";
30
  }
31
  }
32
  </script>
9
 
10
  <div align="center">
11
  <br /><br />
12
+ Your download will begin in 5 seconds! <br /> If it does not, <a href="/<?php echo $filename; ?>?download=true" rel="nofollow">click here</a>.
13
  <br /><br />
14
  </div>
15
 
26
  if(exec == true) {
27
  exec = false;
28
  var ifrm = document.getElementById("frame1");
29
+ ifrm.src = "/<?php echo $filename; ?>?download=true";
30
  }
31
  }
32
  </script>
download-example.php CHANGED
@@ -18,7 +18,7 @@ function sdmon_redirect() {
18
  <div align="center">
19
  <br /><br />
20
  <p>Your download will begin in 5 seconds!</p>
21
- <p>If it does not, <a href="/<? echo $filename; ?>?download=true" rel="nofollow">click here</a>.</p>
22
  <br /><br />
23
  </div>
24
 
18
  <div align="center">
19
  <br /><br />
20
  <p>Your download will begin in 5 seconds!</p>
21
+ <p>If it does not, <a href="/<?php echo $filename; ?>?download=true" rel="nofollow">click here</a>.</p>
22
  <br /><br />
23
  </div>
24
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypa
4
  Tags: files, counter, count, tracking, download monitor, monitor, downloads, download
5
  Requires at least: 2.8.0
6
  Tested up to: 3.4.1
7
- Stable tag: 0.23
8
 
9
  Count the number of downloads without having to maintain a comprehensive download page.
10
 
@@ -118,6 +118,18 @@ http://www.pepak.net/wordpress/simple-download-monitor-plugin/#comment-4729
118
 
119
  == Changelog ==
120
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  = 0.23 =
122
 
123
  * Support for more detailed error messages which may help with setting up the
4
  Tags: files, counter, count, tracking, download monitor, monitor, downloads, download
5
  Requires at least: 2.8.0
6
  Tested up to: 3.4.1
7
+ Stable tag: 0.24
8
 
9
  Count the number of downloads without having to maintain a comprehensive download page.
10
 
118
 
119
  == Changelog ==
120
 
121
+ = 0.24 =
122
+
123
+ * Updated the examples (`download-example.php`, `download-example-js.php`)
124
+ to be compatible with PHP 5.4.
125
+
126
+ * Due to my (Pepak's) lack of time to work on this project anymore, I will
127
+ be giving it to mra13 of "All In One WP Security & Firewall" who will be
128
+ developing it further. This is the last version created by me. It has been
129
+ good while it lasted, but now I have moved on and I don't want the plugin
130
+ to die.
131
+
132
+
133
  = 0.23 =
134
 
135
  * Support for more detailed error messages which may help with setting up the
simple-download-monitor.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Simple Download Monitor
5
  Plugin URI: http://www.pepak.net/wordpress/simple-download-monitor-plugin
6
  Description: Count the number of downloads without having to maintain a comprehensive download page.
7
- Version: 0.23
8
  Author: Pepak | contributors: matheusbrat (http://matbra.com)
9
  Author URI: http://www.pepak.net
10
  */
@@ -31,7 +31,7 @@ if (!class_exists('SimpleDownloadMonitor'))
31
  class SimpleDownloadMonitor
32
  {
33
 
34
- const VERSION = '0.22';
35
  const PREFIX = 'sdmon_';
36
  const PREG_DELIMITER = '`';
37
  const GET_PARAM = 'sdmon';
4
  Plugin Name: Simple Download Monitor
5
  Plugin URI: http://www.pepak.net/wordpress/simple-download-monitor-plugin
6
  Description: Count the number of downloads without having to maintain a comprehensive download page.
7
+ Version: 0.24
8
  Author: Pepak | contributors: matheusbrat (http://matbra.com)
9
  Author URI: http://www.pepak.net
10
  */
31
  class SimpleDownloadMonitor
32
  {
33
 
34
+ const VERSION = '0.24';
35
  const PREFIX = 'sdmon_';
36
  const PREG_DELIMITER = '`';
37
  const GET_PARAM = 'sdmon';