Website Monetization by MageNet - Version 1.0.5

Version Description

  • Changed readme file
Download this release

Release Info

Developer MageNet
Plugin Icon 128x128 Website Monetization by MageNet
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

Files changed (2) hide show
  1. monetization-by-magenet.php +6 -5
  2. readme.txt +35 -7
monetization-by-magenet.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Website Monetization by MageNet
4
  Description: Website Monetization by MageNet allows you to sell contextual ads from your pages automatically and receive payments with PayPal. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://magenet.com" target="_blank">Sign up for a MageNet Key</a>, and 3) Go to Settings > "Website Monetization by MageNet" configuration page, and save your MageNet Key.
5
- Version: 1.0.4
6
  Author: MageNet.com
7
  Author URI: http://magenet.com
8
  */
@@ -156,11 +156,12 @@ if (!class_exists('MagenetLinkAutoinstall')) {
156
  if ($result) {
157
  $wpdb->query("DELETE FROM {$this->tbl_magenet_links} WHERE 1");
158
  $new_links = json_decode($result, TRUE);
159
- foreach($new_links as $new_link) {
160
- if (isset($new_link['page_url']) && isset($new_link['issue_html'])) {
161
- $wpdb->query($wpdb->prepare("INSERT INTO {$this->tbl_magenet_links}(page_url, link_html) VALUES (%s, %s)", $new_link['page_url'], $new_link['issue_html']));
 
 
162
  }
163
- }
164
  update_option("magenet_links_last_update", time());
165
  }
166
  }
2
  /*
3
  Plugin Name: Website Monetization by MageNet
4
  Description: Website Monetization by MageNet allows you to sell contextual ads from your pages automatically and receive payments with PayPal. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://magenet.com" target="_blank">Sign up for a MageNet Key</a>, and 3) Go to Settings > "Website Monetization by MageNet" configuration page, and save your MageNet Key.
5
+ Version: 1.0.5
6
  Author: MageNet.com
7
  Author URI: http://magenet.com
8
  */
156
  if ($result) {
157
  $wpdb->query("DELETE FROM {$this->tbl_magenet_links} WHERE 1");
158
  $new_links = json_decode($result, TRUE);
159
+ if (count($new_links)>0)
160
+ foreach($new_links as $new_link) {
161
+ if (isset($new_link['page_url']) && isset($new_link['issue_html'])) {
162
+ $wpdb->query($wpdb->prepare("INSERT INTO {$this->tbl_magenet_links}(page_url, link_html) VALUES (%s, %s)", $new_link['page_url'], $new_link['issue_html']));
163
+ }
164
  }
 
165
  update_option("magenet_links_last_update", time());
166
  }
167
  }
readme.txt CHANGED
@@ -1,24 +1,47 @@
1
  === Website Monetization by MageNet ===
2
  Contributors: MageNet
3
- Tags: website monetization, advertising, contextual ads, sell links, earn money
4
  Requires at least: 3.0.1
5
  Tested up to: 3.7.1
6
- Stable tag: 1.0.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- Allows you to sell contextual ads from your pages automatically and receive payments with PayPal. To get started sign up for a MageNet.com Key.
11
 
12
  == Description ==
13
 
14
- Website Monetization by MageNet allows you to **sell contextual ads from your pages automatically** and receive payments with PayPal.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
  == Installation ==
17
 
18
- 1. Upload `monetization-by-magenet` directory into the `/wp-content/plugins/` directory
19
  2. Activate the plugin through the 'Plugins' menu in WordPress
20
- 3. Sign up for a MageNet Key at http://magenet.com
21
- 4. Go to Settings > "Website Monetization by MageNet" configuration page, and save your MageNet Key.
 
22
 
23
  == Frequently Asked Questions ==
24
 
@@ -57,9 +80,14 @@ MageNet crawler will index your sites the same way Google does. It will “read
57
  == Screenshots ==
58
 
59
  1. Plugin Settings
 
 
60
 
61
  == Changelog ==
62
 
 
 
 
63
  = 1.0.4 =
64
  * Change JSON lib
65
  * Bug fixes
1
  === Website Monetization by MageNet ===
2
  Contributors: MageNet
3
+ Tags: website monetization, advertising, contextual ads, sell links, earn money, contextual advertising, text link ads, sell ads
4
  Requires at least: 3.0.1
5
  Tested up to: 3.7.1
6
+ Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ Get additional income from your website or blog in easy & convenient way.
11
 
12
  == Description ==
13
 
14
+ Website Monetization Plugin by [MageNet](http://www.magenet.com/) is a WordPress plugin that allows you to sell contextual ads from your pages automatically and receive payments with PayPal.
15
+
16
+ To get started [sign up](http://www.magenet.com/) for a MageNet Key.
17
+
18
+ http://www.youtube.com/watch?v=DZAPP1LdlSI
19
+
20
+ **Hassle free**<br />
21
+ We deal with the advertisers and offer you relevant contextual ads to place. It's free and easy to use.
22
+
23
+ **Regular payouts**<br />
24
+ Withdraw your earnings with ease. Transfers are made every 3 days via PayPal.
25
+
26
+ **Full control**<br />
27
+ You are in control of pages available for advertising and prices for your ads.
28
+
29
+ **Safe and secure**<br />
30
+ All your personal data is safe. Your websites will only be available to our trusted advertisers.
31
+
32
+ **Statistics**<br />
33
+ Detailed information on all your current ads and listed pages of your sites.
34
+
35
+ **Affiliate**<br />
36
+ You will have access to awesome affiliate program available to our publishers.
37
 
38
  == Installation ==
39
 
40
+ 1. Upload `monetization-by-magenet` plugin into the `/wp-content/plugins/` directory
41
  2. Activate the plugin through the 'Plugins' menu in WordPress
42
+ 3. Sign up at http://magenet.com
43
+ 4. Get MageNet Key (Login at cp.magenet.com, go to "Your sites" menu and click "Not activated" in Placement plugin)
44
+ 5. Return to WP Dashboard, go to Settings > "Website Monetization by MageNet" configuration page, and save your MageNet Key.
45
 
46
  == Frequently Asked Questions ==
47
 
80
  == Screenshots ==
81
 
82
  1. Plugin Settings
83
+ 2. "Your sites" menu
84
+ 3. "Pages options" menu
85
 
86
  == Changelog ==
87
 
88
+ = 1.0.5 =
89
+ * Changed readme file
90
+
91
  = 1.0.4 =
92
  * Change JSON lib
93
  * Bug fixes