Wp-Insert - Version 2.0.15

Version Description

Download this release

Release Info

Developer namith.jawahar
Plugin Icon 128x128 Wp-Insert
Version 2.0.15
Comparing to
See all releases

Code changes from version 2.0.14 to 2.0.15

includes/adwidgets/admin-page.php CHANGED
@@ -75,6 +75,8 @@ function wp_insert_adwidgets_content($post, $args) {
75
 
76
  $controls['styles'] = wp_insert_get_control('textarea', false, $name.'[styles]', $id.'-styles', $data['styles'], 'Styles:');
77
 
 
 
78
  echo $controls['status']['html'];
79
 
80
  $multiple_network_status = get_option('wp_insert_multiple_network_status');
@@ -101,6 +103,10 @@ function wp_insert_adwidgets_content($post, $args) {
101
  array(
102
  'title' => 'Styles',
103
  'content' => $controls['styles']['html']
 
 
 
 
104
  )
105
  );
106
  $controls['vtab'] = wp_insert_get_vtabs('vtab_'.$location, $tabData);
75
 
76
  $controls['styles'] = wp_insert_get_control('textarea', false, $name.'[styles]', $id.'-styles', $data['styles'], 'Styles:');
77
 
78
+ $controls['notes'] = wp_insert_get_control('textarea', false, $name.'[notes]', $id.'-notes', $data['notes'], 'Notes:', 'Add a note to this Ad block for your personal use. This note is not displayed anywhere on the site');
79
+
80
  echo $controls['status']['html'];
81
 
82
  $multiple_network_status = get_option('wp_insert_multiple_network_status');
103
  array(
104
  'title' => 'Styles',
105
  'content' => $controls['styles']['html']
106
+ ),
107
+ array(
108
+ 'title' => 'Notes',
109
+ 'content' => $controls['notes']['html']
110
  )
111
  );
112
  $controls['vtab'] = wp_insert_get_vtabs('vtab_'.$location, $tabData);
includes/common/support.php CHANGED
@@ -15,14 +15,14 @@ function wp_insert_support_admin_init() {
15
  }
16
  }
17
  add_settings_section('wp-insert-support-top', '', 'wp_insert_support_section', 'wp-insert-support');
18
- //add_meta_box('wp_insert_facebook', 'Like Us On Facebook', 'wp_insert_facebook_content', 'wp-insert-support-top', 'advanced', 'high');
19
- add_meta_box('wp_insert_hire_me', 'Hire Me', 'wp_insert_hire_me_content', 'wp-insert-support-top', 'advanced', 'high');
20
  add_meta_box('wp_insert_donate', 'Donate and Support Free Plugins', 'wp_insert_donate_content', 'wp-insert-support-bottom', 'advanced', 'high');
21
- add_meta_box('wp_insert_hate_campaign', 'Save Wp-Insert', 'wp_insert_hate_campaign_content', 'wp-insert-support-bottom', 'advanced', 'high');
22
- delete_option('wp_insert_showcase_submission');
 
23
  if(get_option('wp_insert_showcase_submission') != 'SUBMITTED') {
24
- //add_meta_box('wp_insert_showcase', 'Showcase your Site', 'wp_insert_showcase_content', 'wp-insert-support-bottom', 'advanced', 'high');
25
- }
26
  }
27
 
28
  function wp_insert_support_section() {
@@ -34,6 +34,7 @@ function wp_insert_support_section() {
34
  function wp_insert_hire_me_content() {
35
  echo '<div class="wp_insert_hireme">';
36
  echo '<a title="Hire me! on Freelancer.com" href="https://www.freelancer.com/affiliates/email/899781/" target="_blank">Namith Jawahar - Wordpress Expert</a>';
 
37
  echo '</div>';
38
  }
39
 
@@ -42,13 +43,15 @@ function wp_insert_facebook_content() {
42
  }
43
 
44
  function wp_insert_donate_content() {
45
- echo '<a href="http://www.wp-insert.smartlogix.co.in/support/"><img src="'.WP_INSERT_URL.'/includes/common/images/donate_btn.png" style="margin-top: 5px;" /></a><br /><small style="display: block; text-align: center;"><a href="http://wordpress.org/extend/plugins/wp-insert/">Rate the plugin in Wordpress Plugin Repository</a></small>';
 
 
46
  }
47
 
48
- function wp_insert_hate_campaign_content() {
49
  //echo '<p>Some users (most likely sponsored by some premium plugin) are spreading a Hate Campaign against Wp-Insert churning away Forum Posts and Negative reviews about the plugin on different sites.</p>';
50
  //echo '<p>Please help us defend these unscrupulous activities by writing a honest <a href="http://wordpress.org/support/view/plugin-reviews/wp-insert">review</a> about the plugin and <a href="http://wordpress.org/plugins/wp-insert">rating</a> the plugin in the Plugin Repository.</p>';
51
- echo '<p>Most of you will think about leaving a rating or visiting the forum only when something goes wrong while thousands are using the plugin satisfactorily which unfortunately is not Reported OR Documented.</p>';
52
  echo '<p style="font-weight: bold; color: #FF0000;"">IF YOU FIND THIS PLUGIN USEFUL DO LEAVE A HONEST <a href="http://wordpress.org/plugins/wp-insert">RATING</a> AND <a href="http://wordpress.org/support/view/plugin-reviews/wp-insert">REVIEW</a> IN THE REPOSITORY AND HELP US AGAINST THE MARKETING CAMPAIGN AIMED TO TARNISH A HIGHLY USEFUL, FREE, FEATURE RICH PLUGIN.</p>';
53
  }
54
 
15
  }
16
  }
17
  add_settings_section('wp-insert-support-top', '', 'wp_insert_support_section', 'wp-insert-support');
18
+ //add_meta_box('wp_insert_facebook', 'Like Us On Facebook', 'wp_insert_facebook_content', 'wp-insert-support-top', 'advanced', 'high');
 
19
  add_meta_box('wp_insert_donate', 'Donate and Support Free Plugins', 'wp_insert_donate_content', 'wp-insert-support-bottom', 'advanced', 'high');
20
+ add_meta_box('wp_insert_hire_me', 'Hire Me', 'wp_insert_hire_me_content', 'wp-insert-support-bottom', 'advanced', 'high');
21
+ add_meta_box('wp_insert_hate_campaign', 'Ratings and Reviews', 'wp_insert_ratings_and_reviews_content', 'wp-insert-support-bottom', 'advanced', 'high');
22
+ /*delete_option('wp_insert_showcase_submission');
23
  if(get_option('wp_insert_showcase_submission') != 'SUBMITTED') {
24
+ add_meta_box('wp_insert_showcase', 'Showcase your Site', 'wp_insert_showcase_content', 'wp-insert-support-bottom', 'advanced', 'high');
25
+ }*/
26
  }
27
 
28
  function wp_insert_support_section() {
34
  function wp_insert_hire_me_content() {
35
  echo '<div class="wp_insert_hireme">';
36
  echo '<a title="Hire me! on Freelancer.com" href="https://www.freelancer.com/affiliates/email/899781/" target="_blank">Namith Jawahar - Wordpress Expert</a>';
37
+ echo '<p><b>Hourly : $30</b><br />Minimum Hire Period 1 Hour / $30.</p>';
38
  echo '</div>';
39
  }
40
 
43
  }
44
 
45
  function wp_insert_donate_content() {
46
+ echo '<p style="text-align: justify; color: rgb(34, 34, 34); font-weight: bold; font-size: 13px;"><b style="text-align: center; display: block; margin: 0px 0px 5px; color: rgb(227, 25, 46); text-shadow: 1px 1px 1px rgb(34, 34, 34); text-transform: uppercase; letter-spacing: 0.5px; font-size: 16px;">Save the Plugin from Dying</b>Developing, Maintaining and Supporting a Popular Plugin requires a lot of time and effort to the tune of a few hours every day. The project is supposed to purely run on donations, yet the total amount received in Donations in the year 2014 is only $84.<br />A few bucks from you will help me spent more time on the plugin and add more amazing features. I am requesting every user of the plugin to spare a few dollars so that I can spent enough time on developing more advanced features for the plugin.</p>';
47
+ //echo '<a href="http://www.wp-insert.smartlogix.co.in/support/" target="_blank"><img src="'.WP_INSERT_URL.'/includes/common/images/donate_btn.png" style="margin-top: 5px;" /></a>';
48
+ echo '<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"><input type="hidden" name="cmd" value="_xclick"><input type="hidden" name="business" value="support@smartlogix.co.in"><input type="hidden" name="lc" value="IN"><input type="hidden" name="item_name" value="Wp-Insert Plugin Development Support"><input type="hidden" name="item_number" value="01234156"><input type="hidden" name="button_subtype" value="services"><input type="hidden" name="no_note" value="0"><input type="hidden" name="currency_code" value="USD"><input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynowCC_LG.gif:NonHostedGuest"><input type="hidden" name="on0" value="Choose your Denomination">Choose your Denomination <select name="os0" class="input widefat"><option value="1)">1) $9.00 USD</option><option value="2)">2) $19.00 USD</option><option value="3)">3) $29.00 USD</option><option value="4)">4) $49.00 USD</option><option value="5)">5) $99.00 USD</option><option value="6)">6) $199.00 USD</option><option value="7)">7) $299.00 USD</option><option value="8)">8) $399.00 USD</option><option value="9)">9) $599.00 USD</option><option value="10)">10) $999.00 USD</option></select><input type="hidden" name="currency_code" value="USD"><input type="hidden" name="option_select0" value="1)"><input type="hidden" name="option_amount0" value="9.00"><input type="hidden" name="option_select1" value="2)"><input type="hidden" name="option_amount1" value="19.00"><input type="hidden" name="option_select2" value="3)"><input type="hidden" name="option_amount2" value="29.00"><input type="hidden" name="option_select3" value="4)"><input type="hidden" name="option_amount3" value="49.00"><input type="hidden" name="option_select4" value="5)"><input type="hidden" name="option_amount4" value="99.00"><input type="hidden" name="option_select5" value="6)"><input type="hidden" name="option_amount5" value="199.00"><input type="hidden" name="option_select6" value="7)"><input type="hidden" name="option_amount6" value="299.00"><input type="hidden" name="option_select7" value="8)"><input type="hidden" name="option_amount7" value="399.00"><input type="hidden" name="option_select8" value="9)"><input type="hidden" name="option_amount8" value="599.00"><input type="hidden" name="option_select9" value="10)"><input type="hidden" name="option_amount9" value="999.00"><input type="hidden" name="option_index" value="0"><input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_paynowCC_LG.gif" style="margin: 10px auto 0px; display: block;" border="0" name="submit" alt="PayPal � The safer, easier way to pay online."><img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"></form>';
49
  }
50
 
51
+ function wp_insert_ratings_and_reviews_content() {
52
  //echo '<p>Some users (most likely sponsored by some premium plugin) are spreading a Hate Campaign against Wp-Insert churning away Forum Posts and Negative reviews about the plugin on different sites.</p>';
53
  //echo '<p>Please help us defend these unscrupulous activities by writing a honest <a href="http://wordpress.org/support/view/plugin-reviews/wp-insert">review</a> about the plugin and <a href="http://wordpress.org/plugins/wp-insert">rating</a> the plugin in the Plugin Repository.</p>';
54
+ //echo '<p>Most of you will think about leaving a rating or visiting the forum only when something goes wrong while thousands are using the plugin satisfactorily which unfortunately is not Reported OR Documented.</p>';
55
  echo '<p style="font-weight: bold; color: #FF0000;"">IF YOU FIND THIS PLUGIN USEFUL DO LEAVE A HONEST <a href="http://wordpress.org/plugins/wp-insert">RATING</a> AND <a href="http://wordpress.org/support/view/plugin-reviews/wp-insert">REVIEW</a> IN THE REPOSITORY AND HELP US AGAINST THE MARKETING CAMPAIGN AIMED TO TARNISH A HIGHLY USEFUL, FREE, FEATURE RICH PLUGIN.</p>';
56
  }
57
 
includes/inpostads/admin-page.php CHANGED
@@ -68,6 +68,8 @@ function wp_insert_inpostads_content($post, $args) {
68
 
69
  $controls['styles'] = wp_insert_get_control('textarea', false, $name.'[styles]', $id.'-styles', $data['styles'], 'Styles:');
70
 
 
 
71
  if($location == 'middle') {
72
  $controls['minimum_character_count'] = wp_insert_get_control('text', false, $name.'[minimum_character_count]', $id.'-minimum_character_count', $data['minimum_character_count'], 'Minimum Character Count', 'Show the ad only if the Content meets the minimum character count. If this parameter is set to 0 (or empty) minimum character count check will be deactivated.', null, 'input widefat');
73
  $controls['paragraph_buffer_count'] = wp_insert_get_control('text', false, $name.'[paragraph_buffer_count]', $id.'-paragraph_buffer_count', $data['paragraph_buffer_count'], 'Paragraph Buffer Count', 'Shows the ad after X number of Paragraphs. If this parameter is set to 0 (or empty) the ad will appear in the middle of the content.', null, 'input widefat');
@@ -99,6 +101,10 @@ function wp_insert_inpostads_content($post, $args) {
99
  array(
100
  'title' => 'Styles',
101
  'content' => $controls['styles']['html']
 
 
 
 
102
  )
103
  );
104
  if($location == 'middle') {
68
 
69
  $controls['styles'] = wp_insert_get_control('textarea', false, $name.'[styles]', $id.'-styles', $data['styles'], 'Styles:');
70
 
71
+ $controls['notes'] = wp_insert_get_control('textarea', false, $name.'[notes]', $id.'-notes', $data['notes'], 'Notes:', 'Add a note to this Ad block for your personal use. This note is not displayed anywhere on the site');
72
+
73
  if($location == 'middle') {
74
  $controls['minimum_character_count'] = wp_insert_get_control('text', false, $name.'[minimum_character_count]', $id.'-minimum_character_count', $data['minimum_character_count'], 'Minimum Character Count', 'Show the ad only if the Content meets the minimum character count. If this parameter is set to 0 (or empty) minimum character count check will be deactivated.', null, 'input widefat');
75
  $controls['paragraph_buffer_count'] = wp_insert_get_control('text', false, $name.'[paragraph_buffer_count]', $id.'-paragraph_buffer_count', $data['paragraph_buffer_count'], 'Paragraph Buffer Count', 'Shows the ad after X number of Paragraphs. If this parameter is set to 0 (or empty) the ad will appear in the middle of the content.', null, 'input widefat');
101
  array(
102
  'title' => 'Styles',
103
  'content' => $controls['styles']['html']
104
+ ),
105
+ array(
106
+ 'title' => 'Notes',
107
+ 'content' => $controls['notes']['html']
108
  )
109
  );
110
  if($location == 'middle') {
includes/templateads/admin-page.php CHANGED
@@ -75,6 +75,8 @@ function wp_insert_templateads_content($post, $args) {
75
 
76
  $controls['styles'] = wp_insert_get_control('textarea', false, $name.'[styles]', $id.'-styles', $data['styles'], 'Styles:');
77
 
 
 
78
  echo $controls['status']['html'];
79
 
80
  $multiple_network_status = get_option('wp_insert_multiple_network_status');
@@ -105,6 +107,10 @@ function wp_insert_templateads_content($post, $args) {
105
  array(
106
  'title' => 'Styles',
107
  'content' => $controls['styles']['html']
 
 
 
 
108
  )
109
  );
110
  $controls['vtab'] = wp_insert_get_vtabs('vtab_'.$location, $tabData);
75
 
76
  $controls['styles'] = wp_insert_get_control('textarea', false, $name.'[styles]', $id.'-styles', $data['styles'], 'Styles:');
77
 
78
+ $controls['notes'] = wp_insert_get_control('textarea', false, $name.'[notes]', $id.'-notes', $data['notes'], 'Notes:', 'Add a note to this Ad block for your personal use. This note is not displayed anywhere on the site');
79
+
80
  echo $controls['status']['html'];
81
 
82
  $multiple_network_status = get_option('wp_insert_multiple_network_status');
107
  array(
108
  'title' => 'Styles',
109
  'content' => $controls['styles']['html']
110
+ ),
111
+ array(
112
+ 'title' => 'Notes',
113
+ 'content' => $controls['notes']['html']
114
  )
115
  );
116
  $controls['vtab'] = wp_insert_get_vtabs('vtab_'.$location, $tabData);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:www.wp-insert.smartlogix.co.in/support
4
  Tags: adsense,google,widget,post,admin,plugin,ads,in post ads,feed logo,smartlogix,ads in feeds,analytics,google analytics,header,footer,ad management,advertisements,content,ad,advertising,privacy policy,privacy,policy,automatic privacy policy,blog,feed,feeds,formatting,html,javascript,manage,post,posts,seo,sidebar,widget,widgets,wordpress,tracking,syntex highlighter,highlighting,theme tools,plugin tools,developer tools,highlighting,theme editor,plugin editor,middle ad,ad filtration,pagewise ad filtration,template ads,ad tags,adbrite ads,adsense ready,easy adsense,adsense optimized,terms and conditions,terms,conditions,automatic terms and conditions
5
  Requires at least: 3.2
6
  Tested up to: 4.1
7
- Stable tag: 2.0.14
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: adsense,google,widget,post,admin,plugin,ads,in post ads,feed logo,smartlogix,ads in feeds,analytics,google analytics,header,footer,ad management,advertisements,content,ad,advertising,privacy policy,privacy,policy,automatic privacy policy,blog,feed,feeds,formatting,html,javascript,manage,post,posts,seo,sidebar,widget,widgets,wordpress,tracking,syntex highlighter,highlighting,theme tools,plugin tools,developer tools,highlighting,theme editor,plugin editor,middle ad,ad filtration,pagewise ad filtration,template ads,ad tags,adbrite ads,adsense ready,easy adsense,adsense optimized,terms and conditions,terms,conditions,automatic terms and conditions
5
  Requires at least: 3.2
6
  Tested up to: 4.1
7
+ Stable tag: 2.0.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
wp-insert.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Wp-Insert
4
  Plugin URI: http://www.wp-insert.smartlogix.co.in/
5
  Description: WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin (No1 Adsense Plugin for Wordpress)
6
- Version: 2.0.14
7
  Author: Namith Jawahar
8
  Author URI: http://www.smartlogix.co.in/
9
  WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin (No1 Adsense Plugin for Wordpress)
3
  Plugin Name: Wp-Insert
4
  Plugin URI: http://www.wp-insert.smartlogix.co.in/
5
  Description: WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin (No1 Adsense Plugin for Wordpress)
6
+ Version: 2.0.15
7
  Author: Namith Jawahar
8
  Author URI: http://www.smartlogix.co.in/
9
  WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin (No1 Adsense Plugin for Wordpress)