Advanced Ads - Version 1.6.4

Version Description

COOL: newsletter subscribers now receive 2 free add-ons

  • changed newsletter subscription text
  • display description of visitor conditions, if selected
  • minor fix to display conditions ui
  • updated German translation
Download this release

Release Info

Developer webzunft
Plugin Icon 128x128 Advanced Ads
Version 1.6.4
Comparing to
See all releases

Code changes from version 1.6.3 to 1.6.4

admin/assets/css/admin.css CHANGED
@@ -109,10 +109,12 @@
109
  #advads-visitor-conditions select,
110
  #advads-visitor-conditions input { margin: 0; padding: 3px; }
111
  #advads-visitor-conditions label { float: left; }
112
- #advads-visitor-conditions select { margin-left: 1em; }
113
  #advads-visitor-conditions tbody tr:first-child { display: none; }
114
  #advads-visitor-conditions td { padding: 0 5px; position: relative; top: 0; left: 0; }
115
- #advads-visitor-conditions td hr { float: right; width: 80%;}
 
 
 
116
  #advads-visitor-conditions td.advads-visitor-conditions-operator-or > hr { display: none; }
117
  #advads-visitor-conditions-new .advads-buttonset label { text-transform: uppercase; }
118
  #advads-visitor-conditions-new .advads-buttonset { float: left; }
109
  #advads-visitor-conditions select,
110
  #advads-visitor-conditions input { margin: 0; padding: 3px; }
111
  #advads-visitor-conditions label { float: left; }
 
112
  #advads-visitor-conditions tbody tr:first-child { display: none; }
113
  #advads-visitor-conditions td { padding: 0 5px; position: relative; top: 0; left: 0; }
114
+ #advads-visitor-conditions td hr { float: right; width: 85%;}
115
+ #advads-visitor-conditions td:nth-child(2) { padding-top: 0.5em; vertical-align: top; font-weight: bold; }
116
+ .advads-visitor-conditions-connector-and,
117
+ .advads-visitor-conditions-connector-or { text-transform: uppercase; }
118
  #advads-visitor-conditions td.advads-visitor-conditions-operator-or > hr { display: none; }
119
  #advads-visitor-conditions-new .advads-buttonset label { text-transform: uppercase; }
120
  #advads-visitor-conditions-new .advads-buttonset { float: left; }
admin/assets/js/admin.js CHANGED
@@ -338,7 +338,7 @@ function advads_toggle_single_display_conditions(checkbox) {
338
  jQuery( checkbox ).parents( '.advanced-ad-display-condition' ).find( '.advads-conditions-single' ).addClass( 'disabled' ).find( 'input' ).attr( 'disabled', 'disabled' );
339
  } else {
340
  // activate buttonsets
341
- jQuery( checkbox ).parents( '.advanced-ad-display-condition' ).find( '.advads-conditions-single' ).buttonset();
342
  jQuery( checkbox ).parents( '.advanced-ad-display-condition' ).find( '.advads-conditions-single' ).removeClass( 'disabled' ).find( 'input' ).removeAttr( 'disabled' );
343
  }
344
  }
338
  jQuery( checkbox ).parents( '.advanced-ad-display-condition' ).find( '.advads-conditions-single' ).addClass( 'disabled' ).find( 'input' ).attr( 'disabled', 'disabled' );
339
  } else {
340
  // activate buttonsets
341
+ jQuery( checkbox ).parents( '.advanced-ad-display-condition' ).find( '.advads-conditions-single.advads-buttonset' ).buttonset();
342
  jQuery( checkbox ).parents( '.advanced-ad-display-condition' ).find( '.advads-conditions-single' ).removeClass( 'disabled' ).find( 'input' ).removeAttr( 'disabled' );
343
  }
344
  }
admin/class-advanced-ads-admin.php CHANGED
@@ -162,7 +162,7 @@ class Advanced_Ads_Admin {
162
  * @since 1.0.0
163
  */
164
  public function enqueue_admin_styles() {
165
- wp_enqueue_style( $this->plugin_slug . '-admin-styles', plugins_url( 'assets/css/admin.css', __FILE__ ), array(), Advanced_Ads::VERSION );
166
  wp_enqueue_style( 'jquery-style', '//code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css' );
167
  }
168
 
@@ -176,7 +176,7 @@ class Advanced_Ads_Admin {
176
  public function enqueue_admin_scripts() {
177
 
178
  // global js script
179
- wp_enqueue_script( $this->plugin_slug . '-admin-global-script', plugins_url( 'assets/js/admin-global.js', __FILE__ ), array('jquery'), Advanced_Ads::VERSION );
180
 
181
  /**
182
  * only include on
@@ -200,13 +200,13 @@ class Advanced_Ads_Admin {
200
  $screen->id === 'advanced-ads_page_advanced-ads-settings' || // settings
201
  $screen->id === 'toplevel_page_advanced-ads' // overview
202
  ){
203
- wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'assets/js/admin.js', __FILE__ ), array('jquery', 'jquery-ui-autocomplete'), Advanced_Ads::VERSION );
204
  // jquery ui
205
  wp_enqueue_script( 'jquery-ui-accordion' );
206
  wp_enqueue_script( 'jquery-ui-button' );
207
 
208
  // just register this script for later inclusion on ad group list page
209
- wp_register_script( 'inline-edit-group-ads', plugins_url( 'assets/js/inline-edit-group-ads.js', __FILE__ ), array('jquery'), Advanced_Ads::VERSION );
210
  }
211
 
212
  }
162
  * @since 1.0.0
163
  */
164
  public function enqueue_admin_styles() {
165
+ wp_enqueue_style( $this->plugin_slug . '-admin-styles', plugins_url( 'assets/css/admin.css', __FILE__ ), array(), ADVADS_VERSION );
166
  wp_enqueue_style( 'jquery-style', '//code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css' );
167
  }
168
 
176
  public function enqueue_admin_scripts() {
177
 
178
  // global js script
179
+ wp_enqueue_script( $this->plugin_slug . '-admin-global-script', plugins_url( 'assets/js/admin-global.js', __FILE__ ), array('jquery'), ADVADS_VERSION );
180
 
181
  /**
182
  * only include on
200
  $screen->id === 'advanced-ads_page_advanced-ads-settings' || // settings
201
  $screen->id === 'toplevel_page_advanced-ads' // overview
202
  ){
203
+ wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'assets/js/admin.js', __FILE__ ), array('jquery', 'jquery-ui-autocomplete'), ADVADS_VERSION );
204
  // jquery ui
205
  wp_enqueue_script( 'jquery-ui-accordion' );
206
  wp_enqueue_script( 'jquery-ui-button' );
207
 
208
  // just register this script for later inclusion on ad group list page
209
+ wp_register_script( 'inline-edit-group-ads', plugins_url( 'assets/js/inline-edit-group-ads.js', __FILE__ ), array('jquery'), ADVADS_VERSION );
210
  }
211
 
212
  }
admin/includes/class-display-condition-callbacks.php CHANGED
@@ -84,7 +84,7 @@ class Advanced_Ads_Display_Condition_Callbacks {
84
 
85
  ?><h4><label class="advads-conditions-all"><input type="checkbox" name="advanced_ad[conditions][categoryids][all]" value="1" <?php checked( $_all, 1 ); ?>><?php
86
  _e( 'Display for all <strong>categories, tags and taxonomies</strong>.', ADVADS_SLUG ); ?></label></h4><?php
87
- ?><div class="advads-conditions-single"><h5 class="header"><?php _e( 'Display here', ADVADS_SLUG ); ?></h5><p class="description"><?php _e( 'Choose terms from public categories, tags and other taxonomies a post must belong to in order to have ads.', ADVADS_SLUG ); ?></p>
88
  <table><?php
89
  self::_display_taxonomy_term_list( $_includes, 'include', 'advanced_ad[conditions][categoryids][include][]', 'categoryids' );
90
  ?></table><?php
@@ -196,7 +196,7 @@ foreach ( $terms as $_term ) :
196
  ?><h4><label class="advads-conditions-all"><input type="checkbox" name="advanced_ad[conditions][categoryarchiveids][all]" value="1" <?php checked( $_all, 1 ); ?>><?php
197
  _e( 'Display on all <strong>category archive pages</strong>.', ADVADS_SLUG ); ?></label></h4><?php
198
  $taxonomies = get_taxonomies( array('public' => true, 'publicly_queryable' => true), 'objects', 'or' );
199
- ?><div class="advads-conditions-single"><table>
200
  <p class="description"><?php _e( 'Choose the terms from public categories, tags and other taxonomies on which\'s archive page ads can appear', ADVADS_SLUG ); ?></p>
201
  <table><?php
202
  self::_display_taxonomy_term_list( $_includes, 'include', 'advanced_ad[conditions][categoryarchiveids][include][]', 'categoryarchiveids' );
84
 
85
  ?><h4><label class="advads-conditions-all"><input type="checkbox" name="advanced_ad[conditions][categoryids][all]" value="1" <?php checked( $_all, 1 ); ?>><?php
86
  _e( 'Display for all <strong>categories, tags and taxonomies</strong>.', ADVADS_SLUG ); ?></label></h4><?php
87
+ ?><div class="advads-conditions-single advads-buttonset"><h5 class="header"><?php _e( 'Display here', ADVADS_SLUG ); ?></h5><p class="description"><?php _e( 'Choose terms from public categories, tags and other taxonomies a post must belong to in order to have ads.', ADVADS_SLUG ); ?></p>
88
  <table><?php
89
  self::_display_taxonomy_term_list( $_includes, 'include', 'advanced_ad[conditions][categoryids][include][]', 'categoryids' );
90
  ?></table><?php
196
  ?><h4><label class="advads-conditions-all"><input type="checkbox" name="advanced_ad[conditions][categoryarchiveids][all]" value="1" <?php checked( $_all, 1 ); ?>><?php
197
  _e( 'Display on all <strong>category archive pages</strong>.', ADVADS_SLUG ); ?></label></h4><?php
198
  $taxonomies = get_taxonomies( array('public' => true, 'publicly_queryable' => true), 'objects', 'or' );
199
+ ?><div class="advads-conditions-single advads-buttonset"><table>
200
  <p class="description"><?php _e( 'Choose the terms from public categories, tags and other taxonomies on which\'s archive page ads can appear', ADVADS_SLUG ); ?></p>
201
  <table><?php
202
  self::_display_taxonomy_term_list( $_includes, 'include', 'advanced_ad[conditions][categoryarchiveids][include][]', 'categoryarchiveids' );
admin/includes/class-notices.php CHANGED
@@ -149,9 +149,9 @@ class Advanced_Ads_Admin_Notices {
149
  $closed = isset($options['closed']) ? $options['closed'] : array();
150
  $queue = isset($options['queue']) ? $options['queue'] : array();
151
 
152
- // offer email tutorial right after activation
153
- if ( ! $this->is_subscribed() && ( ! in_array( 'nl_first_steps', $queue ) && $activation < $now && ! isset($closed['nl_first_steps'])) ) {
154
- $this->notices[] = 'nl_first_steps';
155
  }
156
  }
157
 
149
  $closed = isset($options['closed']) ? $options['closed'] : array();
150
  $queue = isset($options['queue']) ? $options['queue'] : array();
151
 
152
+ // offer free add-ons if not yet subscribed
153
+ if ( ! $this->is_subscribed() && ! in_array( 'nl_free_addons', $queue )) {
154
+ $this->notices[] = 'nl_free_addons';
155
  }
156
  }
157
 
admin/includes/class-overview-widgets.php CHANGED
@@ -50,6 +50,8 @@ class Advanced_Ads_Overview_Widgets_Callbacks {
50
  array('Advanced_Ads_Overview_Widgets_Callbacks', 'render_support'), $screen->id, 'normal', 'high');
51
 
52
  // add widgets for pro add ons
 
 
53
  add_meta_box('advads_overview_addon_tracking', __( 'Tracking and Stats', ADVADS_SLUG ),
54
  array('Advanced_Ads_Overview_Widgets_Callbacks', 'render_add_on_tracking'), $screen->id, 'side', 'high');
55
  add_meta_box('advads_overview_addon_responsive', __( 'Responsive and Mobile ads', ADVADS_SLUG ),
@@ -72,11 +74,19 @@ class Advanced_Ads_Overview_Widgets_Callbacks {
72
 
73
  $is_subscribed = Advanced_Ads_Admin_Notices::get_instance()->is_subscribed();
74
  $options = Advanced_Ads_Admin_Notices::get_instance()->options();
75
- $_notice = 'nl_adsense';
76
 
77
- if ( ! isset($options['closed'][ $_notice ] ) && ! $is_subscribed ) {
 
 
 
 
 
 
 
 
 
78
  ?><div class="advads-admin-notice">
79
- <p><?php _e( 'Learn more about how and <strong>how much you can earn with AdSense</strong> and Advanced Ads from my dedicated newsletter.', ADVADS_SLUG ); ?></p>
80
  <button type="button" class="button-primary advads-notices-button-subscribe" data-notice="<?php echo $_notice ?>"><?php _e('Subscribe me now', ADVADS_SLUG); ?></button>
81
  </div><?php
82
  }
@@ -153,6 +163,19 @@ foreach ( $next_steps as $_step ){
153
  _e( 'Get an offer', ADVADS_SLUG ); ?></a></p><?php
154
  }
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  /**
157
  * tracking add-on widget
158
  */
50
  array('Advanced_Ads_Overview_Widgets_Callbacks', 'render_support'), $screen->id, 'normal', 'high');
51
 
52
  // add widgets for pro add ons
53
+ add_meta_box('advads_overview_addon_pro', __( 'Advanced Ads Pro', ADVADS_SLUG ),
54
+ array('Advanced_Ads_Overview_Widgets_Callbacks', 'render_add_on_pro'), $screen->id, 'side', 'high');
55
  add_meta_box('advads_overview_addon_tracking', __( 'Tracking and Stats', ADVADS_SLUG ),
56
  array('Advanced_Ads_Overview_Widgets_Callbacks', 'render_add_on_tracking'), $screen->id, 'side', 'high');
57
  add_meta_box('advads_overview_addon_responsive', __( 'Responsive and Mobile ads', ADVADS_SLUG ),
74
 
75
  $is_subscribed = Advanced_Ads_Admin_Notices::get_instance()->is_subscribed();
76
  $options = Advanced_Ads_Admin_Notices::get_instance()->options();
 
77
 
78
+ $_notice = 'nl_free_addons';
79
+ if ( ! isset($options['closed'][ $_notice ] ) && ! $is_subscribed ) {
80
+ ?><div class="advads-admin-notice">
81
+ <p><?php _e( 'Get 2 <strong>free add-ons</strong> for joining the newsletter.', ADVADS_SLUG ); ?></p>
82
+ <button type="button" class="button-primary advads-notices-button-subscribe" data-notice="<?php echo $_notice ?>"><?php _e('Join now', ADVADS_SLUG); ?></button>
83
+ </div><?php
84
+ }
85
+
86
+ $_notice = 'nl_adsense';
87
+ if ( ! isset($options['closed'][ $_notice ] ) ) {
88
  ?><div class="advads-admin-notice">
89
+ <p><?php _e( 'Learn more about how and <strong>how much you can earn with AdSense</strong> and Advanced Ads from the dedicated newsletter group.', ADVADS_SLUG ); ?></p>
90
  <button type="button" class="button-primary advads-notices-button-subscribe" data-notice="<?php echo $_notice ?>"><?php _e('Subscribe me now', ADVADS_SLUG); ?></button>
91
  </div><?php
92
  }
163
  _e( 'Get an offer', ADVADS_SLUG ); ?></a></p><?php
164
  }
165
 
166
+ /**
167
+ * pro add-on widget
168
+ */
169
+ public static function render_add_on_pro(){
170
+
171
+ ?><p><?php _e( 'Ad management for advanced websites.', ADVADS_SLUG ); ?></p><ul class='list'>
172
+ <li><?php _e( 'Cache-busting', ADVADS_SLUG ); ?></li>
173
+ <li><?php _e( 'Advanced visitor conditions', ADVADS_SLUG ); ?></li>
174
+ <li><?php _e( 'Flash ads with fallback', ADVADS_SLUG ); ?></li>
175
+ </ul><p><a class="button button-primary" href="<?php echo ADVADS_URL; ?>add-ons/advanced-ads-pro/" target="_blank"><?php
176
+ _e( 'Get Pro', ADVADS_SLUG ); ?></a></p><?php
177
+ }
178
+
179
  /**
180
  * tracking add-on widget
181
  */
admin/includes/notices.php CHANGED
@@ -8,12 +8,18 @@ $advanced_ads_admin_notices = array(
8
  'type' => 'update',
9
  'text' => 'Advanced Ads 1.4.5 changes the behavior of some display conditions. Please read this <a href="http://wpadvancedads.com/advanced-ads-1-4-5/" target="_blank">update post</a> to learn if this change should concern you.',
10
  ),
11
- // newsletter after activation
12
  'nl_first_steps' => array(
13
  'type' => 'subscribe',
14
  'text' => __( 'Thank you for activating <strong>Advanced Ads</strong>. Would you like to receive the first steps via email?', ADVADS_SLUG ),
15
  'confirm_text' => __( 'Yes, send it', ADVADS_SLUG )
16
  ),
 
 
 
 
 
 
17
  // adsense newsletter group
18
  'nl_adsense' => array(
19
  'type' => 'subscribe',
8
  'type' => 'update',
9
  'text' => 'Advanced Ads 1.4.5 changes the behavior of some display conditions. Please read this <a href="http://wpadvancedads.com/advanced-ads-1-4-5/" target="_blank">update post</a> to learn if this change should concern you.',
10
  ),
11
+ // email tutorial
12
  'nl_first_steps' => array(
13
  'type' => 'subscribe',
14
  'text' => __( 'Thank you for activating <strong>Advanced Ads</strong>. Would you like to receive the first steps via email?', ADVADS_SLUG ),
15
  'confirm_text' => __( 'Yes, send it', ADVADS_SLUG )
16
  ),
17
+ // free add-ons
18
+ 'nl_free_addons' => array(
19
+ 'type' => 'subscribe',
20
+ 'text' => __( 'Thank you for using <strong>Advanced Ads</strong>. Stay informed and receive <strong>2 free add-ons</strong> for joining the newsletter.', ADVADS_SLUG ),
21
+ 'confirm_text' => __( 'Add me now', ADVADS_SLUG )
22
+ ),
23
  // adsense newsletter group
24
  'nl_adsense' => array(
25
  'type' => 'subscribe',
admin/views/ad-visitor-metabox.php CHANGED
@@ -14,10 +14,10 @@ foreach ( $options as $_options ) :
14
  }
15
  if ( method_exists( $metabox[0], $metabox[1] ) ) {
16
  $_connector = isset( $_options['connector'] ) ? esc_attr( $_options['connector'] ) : 'and';
17
- ?><tr><td colspan="3" class="advads-visitor-conditions-connector-<?php echo $_connector; ?>"><?php echo $_connector ?><hr/></td></tr><?php
18
- ?><tr><td></td><td><?php
19
  call_user_func( array( $metabox[0], $metabox[1] ), $_options, $i++ );
20
- ?></td><td><button type="button" class="advads-visitor-conditions-remove button">x</button></td></tr><?php
21
  }
22
  endforeach;
23
  endif;
@@ -51,6 +51,7 @@ endif; ?>
51
  jQuery( document ).ready(function ($) {
52
  $('#advads-visitor-conditions-new button').click(function(){
53
  var visitor_condition_type = $('#advads-visitor-conditions-new select').val();
 
54
  if ( $('#advads-visitor-conditions-new .advads-buttonset :checked').length ){
55
  var visitor_condition_connector = $('#advads-visitor-conditions-new .advads-buttonset :checked').val();
56
  } else {
@@ -70,8 +71,8 @@ jQuery( document ).ready(function ($) {
70
  success: function (r, textStatus, XMLHttpRequest) {
71
  // add
72
  if (r) {
73
- var newline = '<tr class="advads-visitor-conditions-connector"><td colspan="3" class="advads-visitor-conditions-connector-' + visitor_condition_connector + '">' + visitor_condition_connector + '<hr/></td></tr>' +
74
- '<tr><td></td><td>' + r + '</td><td><button type="button" class="advads-visitor-conditions-remove button">x</button></td></tr>';
75
  $( '#advads-visitor-conditions table tbody' ).append( newline );
76
  // increase count
77
  visitor_condition_index++;
14
  }
15
  if ( method_exists( $metabox[0], $metabox[1] ) ) {
16
  $_connector = isset( $_options['connector'] ) ? esc_attr( $_options['connector'] ) : 'and';
17
+ ?><tr><td colspan="4" class="advads-visitor-conditions-connector-<?php echo $_connector; ?>"><?php echo $_connector ?><hr/></td></tr><?php
18
+ ?><tr><td></td><td><?php echo $visitor_conditions[ $_options['type'] ]['label']; ?></td><td><?php
19
  call_user_func( array( $metabox[0], $metabox[1] ), $_options, $i++ );
20
+ ?></td><td><button type="button" class="advads-visitor-conditions-remove button">x</button></td></tr><?php
21
  }
22
  endforeach;
23
  endif;
51
  jQuery( document ).ready(function ($) {
52
  $('#advads-visitor-conditions-new button').click(function(){
53
  var visitor_condition_type = $('#advads-visitor-conditions-new select').val();
54
+ var visitor_condition_title = $('#advads-visitor-conditions-new select option:selected').text();
55
  if ( $('#advads-visitor-conditions-new .advads-buttonset :checked').length ){
56
  var visitor_condition_connector = $('#advads-visitor-conditions-new .advads-buttonset :checked').val();
57
  } else {
71
  success: function (r, textStatus, XMLHttpRequest) {
72
  // add
73
  if (r) {
74
+ var newline = '<tr class="advads-visitor-conditions-connector"><td colspan="4" class="advads-visitor-conditions-connector-' + visitor_condition_connector + '">' + visitor_condition_connector + '<hr/></td></tr>' +
75
+ '<tr><td></td><td>' + visitor_condition_title + '</td><td>' + r + '</td><td><button type="button" class="advads-visitor-conditions-remove button">x</button></td></tr>';
76
  $( '#advads-visitor-conditions table tbody' ).append( newline );
77
  // increase count
78
  visitor_condition_index++;
advanced-ads.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: https://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
- * Version: 1.6.3
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
@@ -38,7 +38,7 @@ define( 'ADVADS_BASE_DIR', dirname( plugin_basename( __FILE__ ) ) ); // director
38
  // general and global slug, e.g. to store options in WP, textdomain
39
  define( 'ADVADS_SLUG', 'advanced-ads' );
40
  define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
41
- define( 'ADVADS_VERSION', '1.6.3' );
42
 
43
  /*----------------------------------------------------------------------------*
44
  * Autoloading, modules and functions
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: https://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
+ * Version: 1.6.4
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
38
  // general and global slug, e.g. to store options in WP, textdomain
39
  define( 'ADVADS_SLUG', 'advanced-ads' );
40
  define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
41
+ define( 'ADVADS_VERSION', '1.6.4' );
42
 
43
  /*----------------------------------------------------------------------------*
44
  * Autoloading, modules and functions
classes/ad-ajax.php CHANGED
@@ -59,6 +59,9 @@ class Advanced_Ads_Ajax {
59
  $content = $selector->get_ad_by_method( $id, $method, $arguments );
60
  $adIds = array_slice( $advads->current_ads, $l ); // ads loaded by this request
61
 
 
 
 
62
  $response = array( 'status' => 'success', 'item' => $content, 'id' => $id, 'method' => $method, 'ads' => $adIds );
63
  } else {
64
  // report error
59
  $content = $selector->get_ad_by_method( $id, $method, $arguments );
60
  $adIds = array_slice( $advads->current_ads, $l ); // ads loaded by this request
61
 
62
+ // TODO: find another filter name; maybe don’t load whole ad again
63
+ $content = apply_filters( 'advanced-ads-output-inside-wrapper', $content, new Advanced_Ads_Ad($id) );
64
+
65
  $response = array( 'status' => 'success', 'item' => $content, 'id' => $id, 'method' => $method, 'ads' => $adIds );
66
  } else {
67
  // report error
classes/plugin.php CHANGED
@@ -99,7 +99,7 @@ class Advanced_Ads_Plugin {
99
  * @since 1.0.0
100
  */
101
  public function enqueue_styles() {
102
- // wp_enqueue_style( $this->get_plugin_slug() . '-plugin-styles', plugins_url('assets/css/public.css', __FILE__), array(), Advanced_Ads::VERSION);
103
  }
104
 
105
  /**
@@ -118,10 +118,10 @@ class Advanced_Ads_Plugin {
118
  * @since 1.0.0
119
  */
120
  public function enqueue_scripts() {
121
- // wp_enqueue_script( $this->get_plugin_slug() . '-plugin-script', plugins_url('assets/js/public.js', __FILE__), array('jquery'), Advanced_Ads::VERSION);
122
  $options = $this->options();
123
  if ( ! empty($options['advanced-js']) ){
124
- wp_enqueue_script( $this->get_plugin_slug() . '-advanced-js', ADVADS_BASE_URL . 'public/assets/js/advanced.js', array( 'jquery' ), Advanced_Ads::VERSION );
125
  }
126
  }
127
 
99
  * @since 1.0.0
100
  */
101
  public function enqueue_styles() {
102
+ // wp_enqueue_style( $this->get_plugin_slug() . '-plugin-styles', plugins_url('assets/css/public.css', __FILE__), array(), ADVADS_VERSION);
103
  }
104
 
105
  /**
118
  * @since 1.0.0
119
  */
120
  public function enqueue_scripts() {
121
+ // wp_enqueue_script( $this->get_plugin_slug() . '-plugin-script', plugins_url('assets/js/public.js', __FILE__), array('jquery'), ADVADS_VERSION);
122
  $options = $this->options();
123
  if ( ! empty($options['advanced-js']) ){
124
+ wp_enqueue_script( $this->get_plugin_slug() . '-advanced-js', ADVADS_BASE_URL . 'public/assets/js/advanced.js', array( 'jquery' ), ADVADS_VERSION );
125
  }
126
  }
127
 
classes/visitor-conditions.php CHANGED
@@ -81,15 +81,13 @@ class Advanced_Ads_Visitor_Conditions {
81
  $operator = isset( $options['operator'] ) ? $options['operator'] : 'is';
82
  $connector = isset( $options['connector'] ) ? $options['connector'] : 'and';
83
 
84
- ?><p>
85
- <input type="hidden" name="<?php echo $name; ?>[type]" value="<?php echo $options['type']; ?>"/>
86
  <input type="hidden" name="<?php echo $name; ?>[connector]" value="<?php echo $connector; ?>"/>
87
- <label><?php
88
- echo $type_options[ $options['type'] ]['label'];
89
- ?><select name="<?php echo $name; ?>[operator]">
90
  <option value="is" <?php selected( 'is', $operator ); ?>><?php _e( 'is' ); ?></option>
91
  <option value="is_not" <?php selected( 'is_not', $operator ); ?>><?php _e( 'is not' ); ?></option>
92
- </select></label></p><?php
 
93
  }
94
 
95
  /**
@@ -116,15 +114,14 @@ class Advanced_Ads_Visitor_Conditions {
116
  $operator = isset( $options['operator'] ) ? $options['operator'] : 'is_equal';
117
  $connector = isset( $options['connector'] ) ? $options['connector'] : 'and';
118
 
119
- ?><p>
120
- <input type="hidden" name="<?php echo $name; ?>[type]" value="<?php echo $options['type']; ?>"/>
121
  <input type="hidden" name="<?php echo $name; ?>[connector]" value="<?php echo $connector; ?>"/>
122
- <label><?php echo $type_options[ $options['type'] ]['label'];
123
  ?><select name="<?php echo $name; ?>[operator]">
124
  <option value="is_equal" <?php selected( 'is_equal', $operator ); ?>><?php _e( 'equal', ADVADS_SLUG ); ?></option>
125
  <option value="is_higher" <?php selected( 'is_higher', $operator ); ?>><?php _e( 'equal or higher', ADVADS_SLUG ); ?></option>
126
  <option value="is_lower" <?php selected( 'is_lower', $operator ); ?>><?php _e( 'equal or lower', ADVADS_SLUG ); ?></option>
127
- </select></label><input type="number" name="<?php echo $name; ?>[value]" value="<?php echo absint( $value ); ?>"/></p><?php
 
128
  }
129
 
130
  /**
@@ -151,11 +148,9 @@ class Advanced_Ads_Visitor_Conditions {
151
  $operator = isset( $options['operator'] ) ? $options['operator'] : 'contains';
152
  $connector = isset( $options['connector'] ) ? $options['connector'] : 'and';
153
 
154
- ?><p>
155
- <input type="hidden" name="<?php echo $name; ?>[type]" value="<?php echo $options['type']; ?>"/>
156
  <input type="hidden" name="<?php echo $name; ?>[connector]" value="<?php echo $connector; ?>"/>
157
- <label><?php echo $type_options[ $options['type'] ]['label'];
158
- ?><select name="<?php echo $name; ?>[operator]">
159
  <option value="contain" <?php selected( 'contain', $operator ); ?>><?php _e( 'contains', ADVADS_SLUG ); ?></option>
160
  <option value="start" <?php selected( 'start', $operator ); ?>><?php _e( 'starts with', ADVADS_SLUG ); ?></option>
161
  <option value="end" <?php selected( 'end', $operator ); ?>><?php _e( 'ends with', ADVADS_SLUG ); ?></option>
@@ -166,7 +161,8 @@ class Advanced_Ads_Visitor_Conditions {
166
  <option value="end_not" <?php selected( 'end_not', $operator ); ?>><?php _e( 'does not end with', ADVADS_SLUG ); ?></option>
167
  <option value="match_not" <?php selected( 'match_not', $operator ); ?>><?php _e( 'does not match', ADVADS_SLUG ); ?></option>
168
  <option value="regex_not" <?php selected( 'regex_not', $operator ); ?>><?php _e( 'does not match regex', ADVADS_SLUG ); ?></option>
169
- </select></label><input type="text" name="<?php echo $name; ?>[value]" value="<?php echo $value; ?>"/></p><?php
 
170
  }
171
 
172
  /**
81
  $operator = isset( $options['operator'] ) ? $options['operator'] : 'is';
82
  $connector = isset( $options['connector'] ) ? $options['connector'] : 'and';
83
 
84
+ ?><input type="hidden" name="<?php echo $name; ?>[type]" value="<?php echo $options['type']; ?>"/>
 
85
  <input type="hidden" name="<?php echo $name; ?>[connector]" value="<?php echo $connector; ?>"/>
86
+ <select name="<?php echo $name; ?>[operator]">
 
 
87
  <option value="is" <?php selected( 'is', $operator ); ?>><?php _e( 'is' ); ?></option>
88
  <option value="is_not" <?php selected( 'is_not', $operator ); ?>><?php _e( 'is not' ); ?></option>
89
+ </select>
90
+ <p class="description"><?php echo $type_options[ $options['type'] ]['description']; ?></p><?php
91
  }
92
 
93
  /**
114
  $operator = isset( $options['operator'] ) ? $options['operator'] : 'is_equal';
115
  $connector = isset( $options['connector'] ) ? $options['connector'] : 'and';
116
 
117
+ ?><input type="hidden" name="<?php echo $name; ?>[type]" value="<?php echo $options['type']; ?>"/>
 
118
  <input type="hidden" name="<?php echo $name; ?>[connector]" value="<?php echo $connector; ?>"/>
 
119
  ?><select name="<?php echo $name; ?>[operator]">
120
  <option value="is_equal" <?php selected( 'is_equal', $operator ); ?>><?php _e( 'equal', ADVADS_SLUG ); ?></option>
121
  <option value="is_higher" <?php selected( 'is_higher', $operator ); ?>><?php _e( 'equal or higher', ADVADS_SLUG ); ?></option>
122
  <option value="is_lower" <?php selected( 'is_lower', $operator ); ?>><?php _e( 'equal or lower', ADVADS_SLUG ); ?></option>
123
+ </select><input type="number" name="<?php echo $name; ?>[value]" value="<?php echo absint( $value ); ?>"/>
124
+ <p class="description"><?php echo $type_options[ $options['type'] ]['description']; ?></p><?php
125
  }
126
 
127
  /**
148
  $operator = isset( $options['operator'] ) ? $options['operator'] : 'contains';
149
  $connector = isset( $options['connector'] ) ? $options['connector'] : 'and';
150
 
151
+ ?><input type="hidden" name="<?php echo $name; ?>[type]" value="<?php echo $options['type']; ?>"/>
 
152
  <input type="hidden" name="<?php echo $name; ?>[connector]" value="<?php echo $connector; ?>"/>
153
+ <select name="<?php echo $name; ?>[operator]">
 
154
  <option value="contain" <?php selected( 'contain', $operator ); ?>><?php _e( 'contains', ADVADS_SLUG ); ?></option>
155
  <option value="start" <?php selected( 'start', $operator ); ?>><?php _e( 'starts with', ADVADS_SLUG ); ?></option>
156
  <option value="end" <?php selected( 'end', $operator ); ?>><?php _e( 'ends with', ADVADS_SLUG ); ?></option>
161
  <option value="end_not" <?php selected( 'end_not', $operator ); ?>><?php _e( 'does not end with', ADVADS_SLUG ); ?></option>
162
  <option value="match_not" <?php selected( 'match_not', $operator ); ?>><?php _e( 'does not match', ADVADS_SLUG ); ?></option>
163
  <option value="regex_not" <?php selected( 'regex_not', $operator ); ?>><?php _e( 'does not match regex', ADVADS_SLUG ); ?></option>
164
+ </select><input type="text" name="<?php echo $name; ?>[value]" value="<?php echo $value; ?>"/>
165
+ <p class="description"><?php echo $type_options[ $options['type'] ]['description']; ?></p><?php
166
  }
167
 
168
  /**
languages/advanced-ads-de_DE.mo CHANGED
Binary file
languages/advanced-ads-de_DE.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Advanved Ads\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
5
  "POT-Creation-Date: 2015-01-27 16:47+0100\n"
6
- "PO-Revision-Date: Fri Jul 03 2015 23:59:47 GMT+0200 (CEST)\n"
7
  "Last-Translator: admin <post@webzunft.de>\n"
8
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
9
  "Language: German\n"
@@ -611,53 +611,65 @@ msgid "Manual and Support"
611
  msgstr "Anleitung und Support"
612
 
613
  #: ../admin/includes/class-overview-widgets.php:53
 
 
 
 
614
  msgid "Tracking and Stats"
615
  msgstr "Tracking und Statistik"
616
 
617
- #: ../admin/includes/class-overview-widgets.php:55
618
  msgid "Responsive and Mobile ads"
619
  msgstr "Responsive und Mobile Anzeigen"
620
 
621
- #: ../admin/includes/class-overview-widgets.php:57
622
  msgid "Sticky ads"
623
  msgstr "Sticky (fixierte) Anzeigen"
624
 
625
- #: ../admin/includes/class-overview-widgets.php:59
626
  msgid "PopUps and Layers"
627
  msgstr "PopUps und Layer"
628
 
629
- #: ../admin/includes/class-overview-widgets.php:61
630
  msgid "Ad Slider"
631
  msgstr "Anzeigen-Slideshow"
632
 
633
- #: ../admin/includes/class-overview-widgets.php:79 ../admin/includes/notices.php:20
 
 
 
 
 
 
 
 
634
  msgid ""
635
  "Learn more about how and <strong>how much you can earn with AdSense</strong> "
636
- "and Advanced Ads from my dedicated newsletter."
637
  msgstr ""
638
- "Erfahren Sie im Newsletter mehr darüber, wie und <strong>wie viel Sie mit "
639
- "AdSense verdienen</strong> können (engl.)."
640
 
641
- #: ../admin/includes/class-overview-widgets.php:80 ../admin/includes/notices.php:
642
- #: 21 ../admin/views/notices/inline.php:3 ../admin/views/notices/subscribe.php:3
643
  msgid "Subscribe me now"
644
  msgstr "Jetzt abonnieren"
645
 
646
- #: ../admin/includes/class-overview-widgets.php:87
647
  msgid "Get the first steps and more tutorials to your inbox."
648
  msgstr ""
649
  "Erhalten Sie die Ersten Schritte und weitere Tutorials direkt in Ihr "
650
  "Postfach."
651
 
652
- #: ../admin/includes/class-overview-widgets.php:88
653
  msgid "Send it now"
654
  msgstr "Jetzt senden"
655
 
656
- #: ../admin/includes/class-overview-widgets.php:111
657
  msgid "Create your first ad"
658
  msgstr "Erstellen Sie Ihre erste Anzeige"
659
 
660
- #: ../admin/includes/class-overview-widgets.php:114
661
  msgid ""
662
  "Ad Groups contain ads and are currently used to rotate multiple ads on a "
663
  "single spot."
@@ -665,47 +677,47 @@ msgstr ""
665
  "Anzeigengruppen enthalten Anzeigen und werden verwendet, um mehrere Anzeigen "
666
  "an einer Stelle zu rotieren."
667
 
668
- #: ../admin/includes/class-overview-widgets.php:116
669
  msgid "Create your first group"
670
  msgstr "Erstellen Sie Ihre erste Gruppe"
671
 
672
- #: ../admin/includes/class-overview-widgets.php:119
673
  msgid "Ad Placements are the best way to manage where to display ads and groups."
674
  msgstr ""
675
  "Anzeigen-Platzierungen sind am besten geeignet um zu bestimmen, wo Anzeigen "
676
  "und Gruppen veröffentlicht werden."
677
 
678
- #: ../admin/includes/class-overview-widgets.php:121
679
  msgid "Create your first placement"
680
  msgstr "Erstellen Sie Ihre erste Platzierung"
681
 
682
- #: ../admin/includes/class-overview-widgets.php:126
683
  msgid "Next steps"
684
  msgstr "Nächste Schritte"
685
 
686
- #: ../admin/includes/class-overview-widgets.php:138
687
  #, php-format
688
  msgid "<a href=\"%s\" target=\"_blank\">Plugin Homepage</a>"
689
  msgstr "<a href=\"%s\" target=\"_blank\">Plugin Homepage</a>"
690
 
691
- #: ../admin/includes/class-overview-widgets.php:139
692
  #, php-format
693
  msgid "<a href=\"%s\" target=\"_blank\">Manual</a>"
694
  msgstr "<a href=\"%s\" target=\"_blank\">Anleitung (engl.)</a>"
695
 
696
- #: ../admin/includes/class-overview-widgets.php:140
697
  #, php-format
698
  msgid "Ask other users in the <a href=\"%s\" target=\"_blank\">wordpress.org forum</a>"
699
  msgstr ""
700
  "Andere Nutzer auf <a href=\"%s\" target=\"_blank\">wordpress.org</a> um Hilfe "
701
  "bitten."
702
 
703
- #: ../admin/includes/class-overview-widgets.php:141
704
  #, php-format
705
  msgid "Vote for a <a href=\"%s\" target=\"_blank\">feature</a>"
706
  msgstr "Über <a href=\"%s\" target=\"_blank\">neue Funktionen</a> abstimmen."
707
 
708
- #: ../admin/includes/class-overview-widgets.php:142
709
  #, php-format
710
  msgid ""
711
  "Thank the developer with a &#9733;&#9733;&#9733;&#9733;&#9733; review on <a "
@@ -714,7 +726,7 @@ msgstr ""
714
  "Dem Entwickler mit einem &#9733;&#9733;&#9733;&#9733;&#9733; Review auf <a "
715
  "href=\"%s\" target=\"_blank\">wordpress.org</a> danken."
716
 
717
- #: ../admin/includes/class-overview-widgets.php:151
718
  msgid ""
719
  "Need help to set up and optimize your ads? Need custom coding on your site? "
720
  "Ask me for a quote."
@@ -723,62 +735,82 @@ msgstr ""
723
  "Benötigen Sie einen erfahrenen, deutschsprachigen WordPress-Entwickler? "
724
  "Kontaktieren Sie mich bzgl. eines Angebotes."
725
 
726
- #: ../admin/includes/class-overview-widgets.php:152
727
  #, php-format
728
  msgid "Help with ads on %s"
729
  msgstr "Unterstützung von %s"
730
 
731
- #: ../admin/includes/class-overview-widgets.php:153
732
  msgid "Get an offer"
733
  msgstr "Angebot erfragen"
734
 
735
- #: ../admin/includes/class-overview-widgets.php:161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
736
  msgid "Track the impressions of and clicks on your ads."
737
  msgstr "Einblendungen und Klicks von Anzeigen erfassen und auswerten."
738
 
739
- #: ../admin/includes/class-overview-widgets.php:162
740
  msgid "2 methods to count impressions"
741
  msgstr "2 Zählmethoden"
742
 
743
- #: ../admin/includes/class-overview-widgets.php:163
744
  msgid "beautiful stats for all or single ads"
745
  msgstr "Wunderschöne Statistiken"
746
 
747
- #: ../admin/includes/class-overview-widgets.php:164
748
  msgid "get stats for predefined and custom persiods"
749
  msgstr "Statistiken für vorgewählte oder eigene Zeiträume"
750
 
751
- #: ../admin/includes/class-overview-widgets.php:165
752
  msgid "group stats by day, week or month"
753
  msgstr "Statistik nach Tag, Woche oder Monat"
754
 
755
- #: ../admin/includes/class-overview-widgets.php:167
756
  msgid "Get the Tracking add-on"
757
  msgstr "Tracking-Erweiterung holen"
758
 
759
- #: ../admin/includes/class-overview-widgets.php:175
760
  msgid "Display ads based on the size of your visitor’s browser or device."
761
  msgstr ""
762
  "Anzeigen anhand der Browserbreite der Besucher ausliefern. DIE Lösung für "
763
  "mobile Layouts."
764
 
765
- #: ../admin/includes/class-overview-widgets.php:176
766
  msgid "set a range (from … to …) pixels for the browser size"
767
  msgstr "von … bis … Browserbreiten für Anzeigen angeben"
768
 
769
- #: ../admin/includes/class-overview-widgets.php:177
770
  msgid "set custom sizes for AdSense responsive ads"
771
  msgstr "Größen von AdSense Responsive Ads feinsteuern"
772
 
773
- #: ../admin/includes/class-overview-widgets.php:178
774
  msgid "list all ads by their responsive settings"
775
  msgstr "aller responsiven Anzeigen auf einem Blick listen\n"
776
 
777
- #: ../admin/includes/class-overview-widgets.php:180
778
  msgid "Get the Responsive add-on"
779
  msgstr "Responsive-Erweiterung holen\n"
780
 
781
- #: ../admin/includes/class-overview-widgets.php:188 ../admin/views/ad-info-top.
782
  #: php:30
783
  msgid ""
784
  "Fix ads to the browser while users are scrolling and create best performing "
@@ -787,46 +819,46 @@ msgstr ""
787
  "Erstellen Sie stark performande Anzeigen durch mitscrollende Anzeigen am "
788
  "Browserfenster."
789
 
790
- #: ../admin/includes/class-overview-widgets.php:189
791
  msgid "position ads that don’t scroll with the screen"
792
  msgstr "Anzeigen erstellen, die beim Scrollen nicht verschwinden"
793
 
794
- #: ../admin/includes/class-overview-widgets.php:190
795
  msgid "build anchor ads not only on mobile devices"
796
  msgstr "Anchor-Anzeigen auch für Desktop-Geräte"
797
 
798
- #: ../admin/includes/class-overview-widgets.php:192 ../admin/views/ad-info-top.
799
  #: php:32
800
  msgid "Get the Sticky add-on"
801
  msgstr "Sticky-Erweiterung holen"
802
 
803
- #: ../admin/includes/class-overview-widgets.php:200 ../admin/views/ad-info-top.
804
  #: php:37
805
  msgid "Display content and ads in layers and popups on custom events."
806
  msgstr "Anzeigen und Inhalte in Layern und PopUps einblenden."
807
 
808
- #: ../admin/includes/class-overview-widgets.php:201
809
  msgid "display a popup after a user interaction like scrolling"
810
  msgstr "verschiedene Auslöser, z.B. nach Scrollen oder auf 2. Seitenhälfte"
811
 
812
- #: ../admin/includes/class-overview-widgets.php:202
813
  msgid "optional backgroup overlay"
814
  msgstr "optionale Hintergrundeinfärbung"
815
 
816
- #: ../admin/includes/class-overview-widgets.php:203
817
  msgid "allow users to close the popup"
818
  msgstr "Nutzern das Schließen des PopUps erlauben"
819
 
820
- #: ../admin/includes/class-overview-widgets.php:205 ../admin/views/ad-info-top.
821
  #: php:39
822
  msgid "Get the PopUp and Layer add-on"
823
  msgstr "PopUp und Layer Erweiterung holen\n"
824
 
825
- #: ../admin/includes/class-overview-widgets.php:213
826
  msgid "Create a beautiful and simple slider from your ads."
827
  msgstr "Erstelle einen Slider aus deinen Anzeigen."
828
 
829
- #: ../admin/includes/class-overview-widgets.php:215
830
  msgid "Get the Slider add-on"
831
  msgstr "Slider-Erweiterung holen"
832
 
@@ -842,6 +874,26 @@ msgstr ""
842
  msgid "Yes, send it"
843
  msgstr "Ja, jetzt senden"
844
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
845
  #: ../admin/views/ad-display-metabox.php:8
846
  msgid "Choose where to display the ad and where to hide it."
847
  msgstr "Wählen Sie, wo die Anzeige sichtbar und wo sie versteckt ist."
@@ -1304,7 +1356,7 @@ msgstr ""
1304
  "geben Sie die genaue Browserbreite an, für die diese Anzeige sichtbar sein "
1305
  "sollen.\n"
1306
 
1307
- #: ../admin/views/ad-visitor-metabox.php:105
1308
  msgid ""
1309
  "The visitor conditions below are deprecated. Please use the new version of "
1310
  "visitor conditions to replace it."
@@ -1312,15 +1364,15 @@ msgstr ""
1312
  "Die unten aufgeführten Besucherbedingungen sind veraltet. Bitte nutzen Sie "
1313
  "die neueren Versionen oben."
1314
 
1315
- #: ../admin/views/ad-visitor-metabox.php:111
1316
  msgid "Display on all devices"
1317
  msgstr "Auf allen Geräten anzeigen"
1318
 
1319
- #: ../admin/views/ad-visitor-metabox.php:115
1320
  msgid "only on mobile devices"
1321
  msgstr "Nur auf mobilen Geräten"
1322
 
1323
- #: ../admin/views/ad-visitor-metabox.php:119
1324
  msgid "not on mobile devices"
1325
  msgstr "Nicht auf mobilen Endgeräten"
1326
 
@@ -1737,63 +1789,63 @@ msgstr ""
1737
  "Anzeigen nur für angemeldete Nutzer anzeigen oder verstecken\n"
1738
  "\n"
1739
 
1740
- #: ../classes/visitor-conditions.php:90
1741
  msgid "is"
1742
  msgstr "ist"
1743
 
1744
- #: ../classes/visitor-conditions.php:91
1745
  msgid "is not"
1746
  msgstr "ist nicht"
1747
 
1748
- #: ../classes/visitor-conditions.php:124
1749
  msgid "equal"
1750
  msgstr "ist gleich"
1751
 
1752
- #: ../classes/visitor-conditions.php:125
1753
  msgid "equal or higher"
1754
  msgstr "gleich oder höher"
1755
 
1756
- #: ../classes/visitor-conditions.php:126
1757
  msgid "equal or lower"
1758
  msgstr "gleich oder niedriger"
1759
 
1760
- #: ../classes/visitor-conditions.php:159
1761
  msgid "contains"
1762
  msgstr "enthält"
1763
 
1764
- #: ../classes/visitor-conditions.php:160
1765
  msgid "starts with"
1766
  msgstr "beginnt mit"
1767
 
1768
- #: ../classes/visitor-conditions.php:161
1769
  msgid "ends with"
1770
  msgstr "endet mit"
1771
 
1772
- #: ../classes/visitor-conditions.php:162
1773
  msgid "matches"
1774
  msgstr "entspricht"
1775
 
1776
- #: ../classes/visitor-conditions.php:163
1777
  msgid "matches regex"
1778
  msgstr "regulärer Ausdruck"
1779
 
1780
- #: ../classes/visitor-conditions.php:164
1781
  msgid "does not contain"
1782
  msgstr "enthält nicht"
1783
 
1784
- #: ../classes/visitor-conditions.php:165
1785
  msgid "does not start with"
1786
  msgstr "beginnt nicht mit"
1787
 
1788
- #: ../classes/visitor-conditions.php:166
1789
  msgid "does not end with"
1790
  msgstr "endet nicht mit"
1791
 
1792
- #: ../classes/visitor-conditions.php:167
1793
  msgid "does not match"
1794
  msgstr "entspricht nicht"
1795
 
1796
- #: ../classes/visitor-conditions.php:168
1797
  msgid "does not match regex"
1798
  msgstr "entspricht nicht reg. Ausdruck"
1799
 
3
  "Project-Id-Version: Advanved Ads\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
5
  "POT-Creation-Date: 2015-01-27 16:47+0100\n"
6
+ "PO-Revision-Date: Sun Jul 05 2015 20:31:52 GMT+0200 (CEST)\n"
7
  "Last-Translator: admin <post@webzunft.de>\n"
8
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
9
  "Language: German\n"
611
  msgstr "Anleitung und Support"
612
 
613
  #: ../admin/includes/class-overview-widgets.php:53
614
+ msgid "Advanced Ads Pro"
615
+ msgstr ""
616
+
617
+ #: ../admin/includes/class-overview-widgets.php:55
618
  msgid "Tracking and Stats"
619
  msgstr "Tracking und Statistik"
620
 
621
+ #: ../admin/includes/class-overview-widgets.php:57
622
  msgid "Responsive and Mobile ads"
623
  msgstr "Responsive und Mobile Anzeigen"
624
 
625
+ #: ../admin/includes/class-overview-widgets.php:59
626
  msgid "Sticky ads"
627
  msgstr "Sticky (fixierte) Anzeigen"
628
 
629
+ #: ../admin/includes/class-overview-widgets.php:61
630
  msgid "PopUps and Layers"
631
  msgstr "PopUps und Layer"
632
 
633
+ #: ../admin/includes/class-overview-widgets.php:63
634
  msgid "Ad Slider"
635
  msgstr "Anzeigen-Slideshow"
636
 
637
+ #: ../admin/includes/class-overview-widgets.php:81
638
+ msgid "Get 2 <strong>free add-ons</strong> for joining the newsletter."
639
+ msgstr "Abonniere den Newsletter und erhalte <strong>2 kostenlose Add-ons</strong>.\n"
640
+
641
+ #: ../admin/includes/class-overview-widgets.php:82
642
+ msgid "Join now"
643
+ msgstr "Jetzt abonnieren"
644
+
645
+ #: ../admin/includes/class-overview-widgets.php:89
646
  msgid ""
647
  "Learn more about how and <strong>how much you can earn with AdSense</strong> "
648
+ "and Advanced Ads from the dedicated newsletter group."
649
  msgstr ""
650
+ "Erfahre mehr darüber wie und <strong>wie viel man mit AdSense "
651
+ "verdienen</strong> in der AdSense-Gruppe des Newsletters."
652
 
653
+ #: ../admin/includes/class-overview-widgets.php:90 ../admin/includes/notices.php:
654
+ #: 27 ../admin/views/notices/inline.php:3 ../admin/views/notices/subscribe.php:3
655
  msgid "Subscribe me now"
656
  msgstr "Jetzt abonnieren"
657
 
658
+ #: ../admin/includes/class-overview-widgets.php:97
659
  msgid "Get the first steps and more tutorials to your inbox."
660
  msgstr ""
661
  "Erhalten Sie die Ersten Schritte und weitere Tutorials direkt in Ihr "
662
  "Postfach."
663
 
664
+ #: ../admin/includes/class-overview-widgets.php:98
665
  msgid "Send it now"
666
  msgstr "Jetzt senden"
667
 
668
+ #: ../admin/includes/class-overview-widgets.php:121
669
  msgid "Create your first ad"
670
  msgstr "Erstellen Sie Ihre erste Anzeige"
671
 
672
+ #: ../admin/includes/class-overview-widgets.php:124
673
  msgid ""
674
  "Ad Groups contain ads and are currently used to rotate multiple ads on a "
675
  "single spot."
677
  "Anzeigengruppen enthalten Anzeigen und werden verwendet, um mehrere Anzeigen "
678
  "an einer Stelle zu rotieren."
679
 
680
+ #: ../admin/includes/class-overview-widgets.php:126
681
  msgid "Create your first group"
682
  msgstr "Erstellen Sie Ihre erste Gruppe"
683
 
684
+ #: ../admin/includes/class-overview-widgets.php:129
685
  msgid "Ad Placements are the best way to manage where to display ads and groups."
686
  msgstr ""
687
  "Anzeigen-Platzierungen sind am besten geeignet um zu bestimmen, wo Anzeigen "
688
  "und Gruppen veröffentlicht werden."
689
 
690
+ #: ../admin/includes/class-overview-widgets.php:131
691
  msgid "Create your first placement"
692
  msgstr "Erstellen Sie Ihre erste Platzierung"
693
 
694
+ #: ../admin/includes/class-overview-widgets.php:136
695
  msgid "Next steps"
696
  msgstr "Nächste Schritte"
697
 
698
+ #: ../admin/includes/class-overview-widgets.php:148
699
  #, php-format
700
  msgid "<a href=\"%s\" target=\"_blank\">Plugin Homepage</a>"
701
  msgstr "<a href=\"%s\" target=\"_blank\">Plugin Homepage</a>"
702
 
703
+ #: ../admin/includes/class-overview-widgets.php:149
704
  #, php-format
705
  msgid "<a href=\"%s\" target=\"_blank\">Manual</a>"
706
  msgstr "<a href=\"%s\" target=\"_blank\">Anleitung (engl.)</a>"
707
 
708
+ #: ../admin/includes/class-overview-widgets.php:150
709
  #, php-format
710
  msgid "Ask other users in the <a href=\"%s\" target=\"_blank\">wordpress.org forum</a>"
711
  msgstr ""
712
  "Andere Nutzer auf <a href=\"%s\" target=\"_blank\">wordpress.org</a> um Hilfe "
713
  "bitten."
714
 
715
+ #: ../admin/includes/class-overview-widgets.php:151
716
  #, php-format
717
  msgid "Vote for a <a href=\"%s\" target=\"_blank\">feature</a>"
718
  msgstr "Über <a href=\"%s\" target=\"_blank\">neue Funktionen</a> abstimmen."
719
 
720
+ #: ../admin/includes/class-overview-widgets.php:152
721
  #, php-format
722
  msgid ""
723
  "Thank the developer with a &#9733;&#9733;&#9733;&#9733;&#9733; review on <a "
726
  "Dem Entwickler mit einem &#9733;&#9733;&#9733;&#9733;&#9733; Review auf <a "
727
  "href=\"%s\" target=\"_blank\">wordpress.org</a> danken."
728
 
729
+ #: ../admin/includes/class-overview-widgets.php:161
730
  msgid ""
731
  "Need help to set up and optimize your ads? Need custom coding on your site? "
732
  "Ask me for a quote."
735
  "Benötigen Sie einen erfahrenen, deutschsprachigen WordPress-Entwickler? "
736
  "Kontaktieren Sie mich bzgl. eines Angebotes."
737
 
738
+ #: ../admin/includes/class-overview-widgets.php:162
739
  #, php-format
740
  msgid "Help with ads on %s"
741
  msgstr "Unterstützung von %s"
742
 
743
+ #: ../admin/includes/class-overview-widgets.php:163
744
  msgid "Get an offer"
745
  msgstr "Angebot erfragen"
746
 
747
+ #: ../admin/includes/class-overview-widgets.php:171
748
+ msgid "Ad management for advanced websites."
749
+ msgstr "Anzeigenverwaltung für Fortgeschrittene."
750
+
751
+ #: ../admin/includes/class-overview-widgets.php:172
752
+ msgid "Cache-busting"
753
+ msgstr "Cache-busting"
754
+
755
+ #: ../admin/includes/class-overview-widgets.php:173
756
+ msgid "Advanced visitor conditions"
757
+ msgstr "Erweiterte Besucherbedingungen"
758
+
759
+ #: ../admin/includes/class-overview-widgets.php:174
760
+ msgid "Flash ads with fallback"
761
+ msgstr "Flash-Anzeigen"
762
+
763
+ #: ../admin/includes/class-overview-widgets.php:176
764
+ msgid "Get Pro"
765
+ msgstr "Pro holen"
766
+
767
+ #: ../admin/includes/class-overview-widgets.php:184
768
  msgid "Track the impressions of and clicks on your ads."
769
  msgstr "Einblendungen und Klicks von Anzeigen erfassen und auswerten."
770
 
771
+ #: ../admin/includes/class-overview-widgets.php:185
772
  msgid "2 methods to count impressions"
773
  msgstr "2 Zählmethoden"
774
 
775
+ #: ../admin/includes/class-overview-widgets.php:186
776
  msgid "beautiful stats for all or single ads"
777
  msgstr "Wunderschöne Statistiken"
778
 
779
+ #: ../admin/includes/class-overview-widgets.php:187
780
  msgid "get stats for predefined and custom persiods"
781
  msgstr "Statistiken für vorgewählte oder eigene Zeiträume"
782
 
783
+ #: ../admin/includes/class-overview-widgets.php:188
784
  msgid "group stats by day, week or month"
785
  msgstr "Statistik nach Tag, Woche oder Monat"
786
 
787
+ #: ../admin/includes/class-overview-widgets.php:190
788
  msgid "Get the Tracking add-on"
789
  msgstr "Tracking-Erweiterung holen"
790
 
791
+ #: ../admin/includes/class-overview-widgets.php:198
792
  msgid "Display ads based on the size of your visitor’s browser or device."
793
  msgstr ""
794
  "Anzeigen anhand der Browserbreite der Besucher ausliefern. DIE Lösung für "
795
  "mobile Layouts."
796
 
797
+ #: ../admin/includes/class-overview-widgets.php:199
798
  msgid "set a range (from … to …) pixels for the browser size"
799
  msgstr "von … bis … Browserbreiten für Anzeigen angeben"
800
 
801
+ #: ../admin/includes/class-overview-widgets.php:200
802
  msgid "set custom sizes for AdSense responsive ads"
803
  msgstr "Größen von AdSense Responsive Ads feinsteuern"
804
 
805
+ #: ../admin/includes/class-overview-widgets.php:201
806
  msgid "list all ads by their responsive settings"
807
  msgstr "aller responsiven Anzeigen auf einem Blick listen\n"
808
 
809
+ #: ../admin/includes/class-overview-widgets.php:203
810
  msgid "Get the Responsive add-on"
811
  msgstr "Responsive-Erweiterung holen\n"
812
 
813
+ #: ../admin/includes/class-overview-widgets.php:211 ../admin/views/ad-info-top.
814
  #: php:30
815
  msgid ""
816
  "Fix ads to the browser while users are scrolling and create best performing "
819
  "Erstellen Sie stark performande Anzeigen durch mitscrollende Anzeigen am "
820
  "Browserfenster."
821
 
822
+ #: ../admin/includes/class-overview-widgets.php:212
823
  msgid "position ads that don’t scroll with the screen"
824
  msgstr "Anzeigen erstellen, die beim Scrollen nicht verschwinden"
825
 
826
+ #: ../admin/includes/class-overview-widgets.php:213
827
  msgid "build anchor ads not only on mobile devices"
828
  msgstr "Anchor-Anzeigen auch für Desktop-Geräte"
829
 
830
+ #: ../admin/includes/class-overview-widgets.php:215 ../admin/views/ad-info-top.
831
  #: php:32
832
  msgid "Get the Sticky add-on"
833
  msgstr "Sticky-Erweiterung holen"
834
 
835
+ #: ../admin/includes/class-overview-widgets.php:223 ../admin/views/ad-info-top.
836
  #: php:37
837
  msgid "Display content and ads in layers and popups on custom events."
838
  msgstr "Anzeigen und Inhalte in Layern und PopUps einblenden."
839
 
840
+ #: ../admin/includes/class-overview-widgets.php:224
841
  msgid "display a popup after a user interaction like scrolling"
842
  msgstr "verschiedene Auslöser, z.B. nach Scrollen oder auf 2. Seitenhälfte"
843
 
844
+ #: ../admin/includes/class-overview-widgets.php:225
845
  msgid "optional backgroup overlay"
846
  msgstr "optionale Hintergrundeinfärbung"
847
 
848
+ #: ../admin/includes/class-overview-widgets.php:226
849
  msgid "allow users to close the popup"
850
  msgstr "Nutzern das Schließen des PopUps erlauben"
851
 
852
+ #: ../admin/includes/class-overview-widgets.php:228 ../admin/views/ad-info-top.
853
  #: php:39
854
  msgid "Get the PopUp and Layer add-on"
855
  msgstr "PopUp und Layer Erweiterung holen\n"
856
 
857
+ #: ../admin/includes/class-overview-widgets.php:236
858
  msgid "Create a beautiful and simple slider from your ads."
859
  msgstr "Erstelle einen Slider aus deinen Anzeigen."
860
 
861
+ #: ../admin/includes/class-overview-widgets.php:238
862
  msgid "Get the Slider add-on"
863
  msgstr "Slider-Erweiterung holen"
864
 
874
  msgid "Yes, send it"
875
  msgstr "Ja, jetzt senden"
876
 
877
+ #: ../admin/includes/notices.php:20
878
+ msgid ""
879
+ "Thank you for using <strong>Advanced Ads</strong>. Stay informed and receive "
880
+ "<strong>2 free add-ons</strong> for joining the newsletter."
881
+ msgstr ""
882
+ "Danke, dass Sie <strong>Advanced Ads</strong> benutzen. Abonieren Sie den "
883
+ "Newsletter und erhalten <strong>2 Add-ons kostenfrei</strong>."
884
+
885
+ #: ../admin/includes/notices.php:21
886
+ msgid "Add me now"
887
+ msgstr "Jetzt abonnieren"
888
+
889
+ #: ../admin/includes/notices.php:26
890
+ msgid ""
891
+ "Learn more about how and <strong>how much you can earn with AdSense</strong> "
892
+ "and Advanced Ads from my dedicated newsletter."
893
+ msgstr ""
894
+ "Erfahren Sie im Newsletter mehr darüber, wie und <strong>wie viel Sie mit "
895
+ "AdSense verdienen</strong> können (engl.)."
896
+
897
  #: ../admin/views/ad-display-metabox.php:8
898
  msgid "Choose where to display the ad and where to hide it."
899
  msgstr "Wählen Sie, wo die Anzeige sichtbar und wo sie versteckt ist."
1356
  "geben Sie die genaue Browserbreite an, für die diese Anzeige sichtbar sein "
1357
  "sollen.\n"
1358
 
1359
+ #: ../admin/views/ad-visitor-metabox.php:106
1360
  msgid ""
1361
  "The visitor conditions below are deprecated. Please use the new version of "
1362
  "visitor conditions to replace it."
1364
  "Die unten aufgeführten Besucherbedingungen sind veraltet. Bitte nutzen Sie "
1365
  "die neueren Versionen oben."
1366
 
1367
+ #: ../admin/views/ad-visitor-metabox.php:112
1368
  msgid "Display on all devices"
1369
  msgstr "Auf allen Geräten anzeigen"
1370
 
1371
+ #: ../admin/views/ad-visitor-metabox.php:116
1372
  msgid "only on mobile devices"
1373
  msgstr "Nur auf mobilen Geräten"
1374
 
1375
+ #: ../admin/views/ad-visitor-metabox.php:120
1376
  msgid "not on mobile devices"
1377
  msgstr "Nicht auf mobilen Endgeräten"
1378
 
1789
  "Anzeigen nur für angemeldete Nutzer anzeigen oder verstecken\n"
1790
  "\n"
1791
 
1792
+ #: ../classes/visitor-conditions.php:87
1793
  msgid "is"
1794
  msgstr "ist"
1795
 
1796
+ #: ../classes/visitor-conditions.php:88
1797
  msgid "is not"
1798
  msgstr "ist nicht"
1799
 
1800
+ #: ../classes/visitor-conditions.php:120
1801
  msgid "equal"
1802
  msgstr "ist gleich"
1803
 
1804
+ #: ../classes/visitor-conditions.php:121
1805
  msgid "equal or higher"
1806
  msgstr "gleich oder höher"
1807
 
1808
+ #: ../classes/visitor-conditions.php:122
1809
  msgid "equal or lower"
1810
  msgstr "gleich oder niedriger"
1811
 
1812
+ #: ../classes/visitor-conditions.php:154
1813
  msgid "contains"
1814
  msgstr "enthält"
1815
 
1816
+ #: ../classes/visitor-conditions.php:155
1817
  msgid "starts with"
1818
  msgstr "beginnt mit"
1819
 
1820
+ #: ../classes/visitor-conditions.php:156
1821
  msgid "ends with"
1822
  msgstr "endet mit"
1823
 
1824
+ #: ../classes/visitor-conditions.php:157
1825
  msgid "matches"
1826
  msgstr "entspricht"
1827
 
1828
+ #: ../classes/visitor-conditions.php:158
1829
  msgid "matches regex"
1830
  msgstr "regulärer Ausdruck"
1831
 
1832
+ #: ../classes/visitor-conditions.php:159
1833
  msgid "does not contain"
1834
  msgstr "enthält nicht"
1835
 
1836
+ #: ../classes/visitor-conditions.php:160
1837
  msgid "does not start with"
1838
  msgstr "beginnt nicht mit"
1839
 
1840
+ #: ../classes/visitor-conditions.php:161
1841
  msgid "does not end with"
1842
  msgstr "endet nicht mit"
1843
 
1844
+ #: ../classes/visitor-conditions.php:162
1845
  msgid "does not match"
1846
  msgstr "entspricht nicht"
1847
 
1848
+ #: ../classes/visitor-conditions.php:163
1849
  msgid "does not match regex"
1850
  msgstr "entspricht nicht reg. Ausdruck"
1851
 
languages/advanced-ads.pot CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Advanved Ads\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7
  "POT-Creation-Date: 2015-01-27 16:47+0100\n"
8
- "POT-Revision-Date: Fri Jul 03 2015 23:56:30 GMT+0200 (CEST)\n"
9
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
11
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
@@ -555,203 +555,235 @@ msgid "Manual and Support"
555
  msgstr ""
556
 
557
  #: ../admin/includes/class-overview-widgets.php:53
558
- msgid "Tracking and Stats"
559
  msgstr ""
560
 
561
  #: ../admin/includes/class-overview-widgets.php:55
562
- msgid "Responsive and Mobile ads"
563
  msgstr ""
564
 
565
  #: ../admin/includes/class-overview-widgets.php:57
566
- msgid "Sticky ads"
567
  msgstr ""
568
 
569
  #: ../admin/includes/class-overview-widgets.php:59
570
- msgid "PopUps and Layers"
571
  msgstr ""
572
 
573
  #: ../admin/includes/class-overview-widgets.php:61
 
 
 
 
574
  msgid "Ad Slider"
575
  msgstr ""
576
 
577
- #: ../admin/includes/class-overview-widgets.php:79 ../admin/includes/notices.php:20
 
 
 
 
 
 
 
 
578
  msgid ""
579
  "Learn more about how and <strong>how much you can earn with AdSense</strong> "
580
- "and Advanced Ads from my dedicated newsletter."
581
  msgstr ""
582
 
583
- #: ../admin/includes/class-overview-widgets.php:80 ../admin/includes/notices.php:
584
- #: 21 ../admin/views/notices/inline.php:3 ../admin/views/notices/subscribe.php:3
585
  msgid "Subscribe me now"
586
  msgstr ""
587
 
588
- #: ../admin/includes/class-overview-widgets.php:87
589
  msgid "Get the first steps and more tutorials to your inbox."
590
  msgstr ""
591
 
592
- #: ../admin/includes/class-overview-widgets.php:88
593
  msgid "Send it now"
594
  msgstr ""
595
 
596
- #: ../admin/includes/class-overview-widgets.php:111
597
  msgid "Create your first ad"
598
  msgstr ""
599
 
600
- #: ../admin/includes/class-overview-widgets.php:114
601
  msgid ""
602
  "Ad Groups contain ads and are currently used to rotate multiple ads on a "
603
  "single spot."
604
  msgstr ""
605
 
606
- #: ../admin/includes/class-overview-widgets.php:116
607
  msgid "Create your first group"
608
  msgstr ""
609
 
610
- #: ../admin/includes/class-overview-widgets.php:119
611
  msgid "Ad Placements are the best way to manage where to display ads and groups."
612
  msgstr ""
613
 
614
- #: ../admin/includes/class-overview-widgets.php:121
615
  msgid "Create your first placement"
616
  msgstr ""
617
 
618
- #: ../admin/includes/class-overview-widgets.php:126
619
  msgid "Next steps"
620
  msgstr ""
621
 
622
- #: ../admin/includes/class-overview-widgets.php:138
623
  #, php-format
624
  msgid "<a href=\"%s\" target=\"_blank\">Plugin Homepage</a>"
625
  msgstr ""
626
 
627
- #: ../admin/includes/class-overview-widgets.php:139
628
  #, php-format
629
  msgid "<a href=\"%s\" target=\"_blank\">Manual</a>"
630
  msgstr ""
631
 
632
- #: ../admin/includes/class-overview-widgets.php:140
633
  #, php-format
634
  msgid "Ask other users in the <a href=\"%s\" target=\"_blank\">wordpress.org forum</a>"
635
  msgstr ""
636
 
637
- #: ../admin/includes/class-overview-widgets.php:141
638
  #, php-format
639
  msgid "Vote for a <a href=\"%s\" target=\"_blank\">feature</a>"
640
  msgstr ""
641
 
642
- #: ../admin/includes/class-overview-widgets.php:142
643
  #, php-format
644
  msgid ""
645
  "Thank the developer with a &#9733;&#9733;&#9733;&#9733;&#9733; review on <a "
646
  "href=\"%s\" target=\"_blank\">wordpress.org</a>"
647
  msgstr ""
648
 
649
- #: ../admin/includes/class-overview-widgets.php:151
650
  msgid ""
651
  "Need help to set up and optimize your ads? Need custom coding on your site? "
652
  "Ask me for a quote."
653
  msgstr ""
654
 
655
- #: ../admin/includes/class-overview-widgets.php:152
656
  #, php-format
657
  msgid "Help with ads on %s"
658
  msgstr ""
659
 
660
- #: ../admin/includes/class-overview-widgets.php:153
661
  msgid "Get an offer"
662
  msgstr ""
663
 
664
- #: ../admin/includes/class-overview-widgets.php:161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  msgid "Track the impressions of and clicks on your ads."
666
  msgstr ""
667
 
668
- #: ../admin/includes/class-overview-widgets.php:162
669
  msgid "2 methods to count impressions"
670
  msgstr ""
671
 
672
- #: ../admin/includes/class-overview-widgets.php:163
673
  msgid "beautiful stats for all or single ads"
674
  msgstr ""
675
 
676
- #: ../admin/includes/class-overview-widgets.php:164
677
  msgid "get stats for predefined and custom persiods"
678
  msgstr ""
679
 
680
- #: ../admin/includes/class-overview-widgets.php:165
681
  msgid "group stats by day, week or month"
682
  msgstr ""
683
 
684
- #: ../admin/includes/class-overview-widgets.php:167
685
  msgid "Get the Tracking add-on"
686
  msgstr ""
687
 
688
- #: ../admin/includes/class-overview-widgets.php:175
689
  msgid "Display ads based on the size of your visitor’s browser or device."
690
  msgstr ""
691
 
692
- #: ../admin/includes/class-overview-widgets.php:176
693
  msgid "set a range (from … to …) pixels for the browser size"
694
  msgstr ""
695
 
696
- #: ../admin/includes/class-overview-widgets.php:177
697
  msgid "set custom sizes for AdSense responsive ads"
698
  msgstr ""
699
 
700
- #: ../admin/includes/class-overview-widgets.php:178
701
  msgid "list all ads by their responsive settings"
702
  msgstr ""
703
 
704
- #: ../admin/includes/class-overview-widgets.php:180
705
  msgid "Get the Responsive add-on"
706
  msgstr ""
707
 
708
- #: ../admin/includes/class-overview-widgets.php:188 ../admin/views/ad-info-top.
709
  #: php:30
710
  msgid ""
711
  "Fix ads to the browser while users are scrolling and create best performing "
712
  "anchor ads."
713
  msgstr ""
714
 
715
- #: ../admin/includes/class-overview-widgets.php:189
716
  msgid "position ads that don’t scroll with the screen"
717
  msgstr ""
718
 
719
- #: ../admin/includes/class-overview-widgets.php:190
720
  msgid "build anchor ads not only on mobile devices"
721
  msgstr ""
722
 
723
- #: ../admin/includes/class-overview-widgets.php:192 ../admin/views/ad-info-top.
724
  #: php:32
725
  msgid "Get the Sticky add-on"
726
  msgstr ""
727
 
728
- #: ../admin/includes/class-overview-widgets.php:200 ../admin/views/ad-info-top.
729
  #: php:37
730
  msgid "Display content and ads in layers and popups on custom events."
731
  msgstr ""
732
 
733
- #: ../admin/includes/class-overview-widgets.php:201
734
  msgid "display a popup after a user interaction like scrolling"
735
  msgstr ""
736
 
737
- #: ../admin/includes/class-overview-widgets.php:202
738
  msgid "optional backgroup overlay"
739
  msgstr ""
740
 
741
- #: ../admin/includes/class-overview-widgets.php:203
742
  msgid "allow users to close the popup"
743
  msgstr ""
744
 
745
- #: ../admin/includes/class-overview-widgets.php:205 ../admin/views/ad-info-top.
746
  #: php:39
747
  msgid "Get the PopUp and Layer add-on"
748
  msgstr ""
749
 
750
- #: ../admin/includes/class-overview-widgets.php:213
751
  msgid "Create a beautiful and simple slider from your ads."
752
  msgstr ""
753
 
754
- #: ../admin/includes/class-overview-widgets.php:215
755
  msgid "Get the Slider add-on"
756
  msgstr ""
757
 
@@ -765,6 +797,22 @@ msgstr ""
765
  msgid "Yes, send it"
766
  msgstr ""
767
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
768
  #: ../admin/views/ad-display-metabox.php:8
769
  msgid "Choose where to display the ad and where to hide it."
770
  msgstr ""
@@ -1189,21 +1237,21 @@ msgid ""
1189
  "<a href=\"%s\" target=\"_blank\">Responsive add-on</a>."
1190
  msgstr ""
1191
 
1192
- #: ../admin/views/ad-visitor-metabox.php:105
1193
  msgid ""
1194
  "The visitor conditions below are deprecated. Please use the new version of "
1195
  "visitor conditions to replace it."
1196
  msgstr ""
1197
 
1198
- #: ../admin/views/ad-visitor-metabox.php:111
1199
  msgid "Display on all devices"
1200
  msgstr ""
1201
 
1202
- #: ../admin/views/ad-visitor-metabox.php:115
1203
  msgid "only on mobile devices"
1204
  msgstr ""
1205
 
1206
- #: ../admin/views/ad-visitor-metabox.php:119
1207
  msgid "not on mobile devices"
1208
  msgstr ""
1209
 
@@ -1570,63 +1618,63 @@ msgstr ""
1570
  msgid "Whether the visitor has to be logged in or not in order to see the ads."
1571
  msgstr ""
1572
 
1573
- #: ../classes/visitor-conditions.php:90
1574
  msgid "is"
1575
  msgstr ""
1576
 
1577
- #: ../classes/visitor-conditions.php:91
1578
  msgid "is not"
1579
  msgstr ""
1580
 
1581
- #: ../classes/visitor-conditions.php:124
1582
  msgid "equal"
1583
  msgstr ""
1584
 
1585
- #: ../classes/visitor-conditions.php:125
1586
  msgid "equal or higher"
1587
  msgstr ""
1588
 
1589
- #: ../classes/visitor-conditions.php:126
1590
  msgid "equal or lower"
1591
  msgstr ""
1592
 
1593
- #: ../classes/visitor-conditions.php:159
1594
  msgid "contains"
1595
  msgstr ""
1596
 
1597
- #: ../classes/visitor-conditions.php:160
1598
  msgid "starts with"
1599
  msgstr ""
1600
 
1601
- #: ../classes/visitor-conditions.php:161
1602
  msgid "ends with"
1603
  msgstr ""
1604
 
1605
- #: ../classes/visitor-conditions.php:162
1606
  msgid "matches"
1607
  msgstr ""
1608
 
1609
- #: ../classes/visitor-conditions.php:163
1610
  msgid "matches regex"
1611
  msgstr ""
1612
 
1613
- #: ../classes/visitor-conditions.php:164
1614
  msgid "does not contain"
1615
  msgstr ""
1616
 
1617
- #: ../classes/visitor-conditions.php:165
1618
  msgid "does not start with"
1619
  msgstr ""
1620
 
1621
- #: ../classes/visitor-conditions.php:166
1622
  msgid "does not end with"
1623
  msgstr ""
1624
 
1625
- #: ../classes/visitor-conditions.php:167
1626
  msgid "does not match"
1627
  msgstr ""
1628
 
1629
- #: ../classes/visitor-conditions.php:168
1630
  msgid "does not match regex"
1631
  msgstr ""
1632
 
5
  "Project-Id-Version: Advanved Ads\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7
  "POT-Creation-Date: 2015-01-27 16:47+0100\n"
8
+ "POT-Revision-Date: Sun Jul 05 2015 20:20:05 GMT+0200 (CEST)\n"
9
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
11
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
555
  msgstr ""
556
 
557
  #: ../admin/includes/class-overview-widgets.php:53
558
+ msgid "Advanced Ads Pro"
559
  msgstr ""
560
 
561
  #: ../admin/includes/class-overview-widgets.php:55
562
+ msgid "Tracking and Stats"
563
  msgstr ""
564
 
565
  #: ../admin/includes/class-overview-widgets.php:57
566
+ msgid "Responsive and Mobile ads"
567
  msgstr ""
568
 
569
  #: ../admin/includes/class-overview-widgets.php:59
570
+ msgid "Sticky ads"
571
  msgstr ""
572
 
573
  #: ../admin/includes/class-overview-widgets.php:61
574
+ msgid "PopUps and Layers"
575
+ msgstr ""
576
+
577
+ #: ../admin/includes/class-overview-widgets.php:63
578
  msgid "Ad Slider"
579
  msgstr ""
580
 
581
+ #: ../admin/includes/class-overview-widgets.php:81
582
+ msgid "Get 2 <strong>free add-ons</strong> for joining the newsletter."
583
+ msgstr ""
584
+
585
+ #: ../admin/includes/class-overview-widgets.php:82
586
+ msgid "Join now"
587
+ msgstr ""
588
+
589
+ #: ../admin/includes/class-overview-widgets.php:89
590
  msgid ""
591
  "Learn more about how and <strong>how much you can earn with AdSense</strong> "
592
+ "and Advanced Ads from the dedicated newsletter group."
593
  msgstr ""
594
 
595
+ #: ../admin/includes/class-overview-widgets.php:90 ../admin/includes/notices.php:
596
+ #: 27 ../admin/views/notices/inline.php:3 ../admin/views/notices/subscribe.php:3
597
  msgid "Subscribe me now"
598
  msgstr ""
599
 
600
+ #: ../admin/includes/class-overview-widgets.php:97
601
  msgid "Get the first steps and more tutorials to your inbox."
602
  msgstr ""
603
 
604
+ #: ../admin/includes/class-overview-widgets.php:98
605
  msgid "Send it now"
606
  msgstr ""
607
 
608
+ #: ../admin/includes/class-overview-widgets.php:121
609
  msgid "Create your first ad"
610
  msgstr ""
611
 
612
+ #: ../admin/includes/class-overview-widgets.php:124
613
  msgid ""
614
  "Ad Groups contain ads and are currently used to rotate multiple ads on a "
615
  "single spot."
616
  msgstr ""
617
 
618
+ #: ../admin/includes/class-overview-widgets.php:126
619
  msgid "Create your first group"
620
  msgstr ""
621
 
622
+ #: ../admin/includes/class-overview-widgets.php:129
623
  msgid "Ad Placements are the best way to manage where to display ads and groups."
624
  msgstr ""
625
 
626
+ #: ../admin/includes/class-overview-widgets.php:131
627
  msgid "Create your first placement"
628
  msgstr ""
629
 
630
+ #: ../admin/includes/class-overview-widgets.php:136
631
  msgid "Next steps"
632
  msgstr ""
633
 
634
+ #: ../admin/includes/class-overview-widgets.php:148
635
  #, php-format
636
  msgid "<a href=\"%s\" target=\"_blank\">Plugin Homepage</a>"
637
  msgstr ""
638
 
639
+ #: ../admin/includes/class-overview-widgets.php:149
640
  #, php-format
641
  msgid "<a href=\"%s\" target=\"_blank\">Manual</a>"
642
  msgstr ""
643
 
644
+ #: ../admin/includes/class-overview-widgets.php:150
645
  #, php-format
646
  msgid "Ask other users in the <a href=\"%s\" target=\"_blank\">wordpress.org forum</a>"
647
  msgstr ""
648
 
649
+ #: ../admin/includes/class-overview-widgets.php:151
650
  #, php-format
651
  msgid "Vote for a <a href=\"%s\" target=\"_blank\">feature</a>"
652
  msgstr ""
653
 
654
+ #: ../admin/includes/class-overview-widgets.php:152
655
  #, php-format
656
  msgid ""
657
  "Thank the developer with a &#9733;&#9733;&#9733;&#9733;&#9733; review on <a "
658
  "href=\"%s\" target=\"_blank\">wordpress.org</a>"
659
  msgstr ""
660
 
661
+ #: ../admin/includes/class-overview-widgets.php:161
662
  msgid ""
663
  "Need help to set up and optimize your ads? Need custom coding on your site? "
664
  "Ask me for a quote."
665
  msgstr ""
666
 
667
+ #: ../admin/includes/class-overview-widgets.php:162
668
  #, php-format
669
  msgid "Help with ads on %s"
670
  msgstr ""
671
 
672
+ #: ../admin/includes/class-overview-widgets.php:163
673
  msgid "Get an offer"
674
  msgstr ""
675
 
676
+ #: ../admin/includes/class-overview-widgets.php:171
677
+ msgid "Ad management for advanced websites."
678
+ msgstr ""
679
+
680
+ #: ../admin/includes/class-overview-widgets.php:172
681
+ msgid "Cache-busting"
682
+ msgstr ""
683
+
684
+ #: ../admin/includes/class-overview-widgets.php:173
685
+ msgid "Advanced visitor conditions"
686
+ msgstr ""
687
+
688
+ #: ../admin/includes/class-overview-widgets.php:174
689
+ msgid "Flash ads with fallback"
690
+ msgstr ""
691
+
692
+ #: ../admin/includes/class-overview-widgets.php:176
693
+ msgid "Get Pro"
694
+ msgstr ""
695
+
696
+ #: ../admin/includes/class-overview-widgets.php:184
697
  msgid "Track the impressions of and clicks on your ads."
698
  msgstr ""
699
 
700
+ #: ../admin/includes/class-overview-widgets.php:185
701
  msgid "2 methods to count impressions"
702
  msgstr ""
703
 
704
+ #: ../admin/includes/class-overview-widgets.php:186
705
  msgid "beautiful stats for all or single ads"
706
  msgstr ""
707
 
708
+ #: ../admin/includes/class-overview-widgets.php:187
709
  msgid "get stats for predefined and custom persiods"
710
  msgstr ""
711
 
712
+ #: ../admin/includes/class-overview-widgets.php:188
713
  msgid "group stats by day, week or month"
714
  msgstr ""
715
 
716
+ #: ../admin/includes/class-overview-widgets.php:190
717
  msgid "Get the Tracking add-on"
718
  msgstr ""
719
 
720
+ #: ../admin/includes/class-overview-widgets.php:198
721
  msgid "Display ads based on the size of your visitor’s browser or device."
722
  msgstr ""
723
 
724
+ #: ../admin/includes/class-overview-widgets.php:199
725
  msgid "set a range (from … to …) pixels for the browser size"
726
  msgstr ""
727
 
728
+ #: ../admin/includes/class-overview-widgets.php:200
729
  msgid "set custom sizes for AdSense responsive ads"
730
  msgstr ""
731
 
732
+ #: ../admin/includes/class-overview-widgets.php:201
733
  msgid "list all ads by their responsive settings"
734
  msgstr ""
735
 
736
+ #: ../admin/includes/class-overview-widgets.php:203
737
  msgid "Get the Responsive add-on"
738
  msgstr ""
739
 
740
+ #: ../admin/includes/class-overview-widgets.php:211 ../admin/views/ad-info-top.
741
  #: php:30
742
  msgid ""
743
  "Fix ads to the browser while users are scrolling and create best performing "
744
  "anchor ads."
745
  msgstr ""
746
 
747
+ #: ../admin/includes/class-overview-widgets.php:212
748
  msgid "position ads that don’t scroll with the screen"
749
  msgstr ""
750
 
751
+ #: ../admin/includes/class-overview-widgets.php:213
752
  msgid "build anchor ads not only on mobile devices"
753
  msgstr ""
754
 
755
+ #: ../admin/includes/class-overview-widgets.php:215 ../admin/views/ad-info-top.
756
  #: php:32
757
  msgid "Get the Sticky add-on"
758
  msgstr ""
759
 
760
+ #: ../admin/includes/class-overview-widgets.php:223 ../admin/views/ad-info-top.
761
  #: php:37
762
  msgid "Display content and ads in layers and popups on custom events."
763
  msgstr ""
764
 
765
+ #: ../admin/includes/class-overview-widgets.php:224
766
  msgid "display a popup after a user interaction like scrolling"
767
  msgstr ""
768
 
769
+ #: ../admin/includes/class-overview-widgets.php:225
770
  msgid "optional backgroup overlay"
771
  msgstr ""
772
 
773
+ #: ../admin/includes/class-overview-widgets.php:226
774
  msgid "allow users to close the popup"
775
  msgstr ""
776
 
777
+ #: ../admin/includes/class-overview-widgets.php:228 ../admin/views/ad-info-top.
778
  #: php:39
779
  msgid "Get the PopUp and Layer add-on"
780
  msgstr ""
781
 
782
+ #: ../admin/includes/class-overview-widgets.php:236
783
  msgid "Create a beautiful and simple slider from your ads."
784
  msgstr ""
785
 
786
+ #: ../admin/includes/class-overview-widgets.php:238
787
  msgid "Get the Slider add-on"
788
  msgstr ""
789
 
797
  msgid "Yes, send it"
798
  msgstr ""
799
 
800
+ #: ../admin/includes/notices.php:20
801
+ msgid ""
802
+ "Thank you for using <strong>Advanced Ads</strong>. Stay informed and receive "
803
+ "<strong>2 free add-ons</strong> for joining the newsletter."
804
+ msgstr ""
805
+
806
+ #: ../admin/includes/notices.php:21
807
+ msgid "Add me now"
808
+ msgstr ""
809
+
810
+ #: ../admin/includes/notices.php:26
811
+ msgid ""
812
+ "Learn more about how and <strong>how much you can earn with AdSense</strong> "
813
+ "and Advanced Ads from my dedicated newsletter."
814
+ msgstr ""
815
+
816
  #: ../admin/views/ad-display-metabox.php:8
817
  msgid "Choose where to display the ad and where to hide it."
818
  msgstr ""
1237
  "<a href=\"%s\" target=\"_blank\">Responsive add-on</a>."
1238
  msgstr ""
1239
 
1240
+ #: ../admin/views/ad-visitor-metabox.php:106
1241
  msgid ""
1242
  "The visitor conditions below are deprecated. Please use the new version of "
1243
  "visitor conditions to replace it."
1244
  msgstr ""
1245
 
1246
+ #: ../admin/views/ad-visitor-metabox.php:112
1247
  msgid "Display on all devices"
1248
  msgstr ""
1249
 
1250
+ #: ../admin/views/ad-visitor-metabox.php:116
1251
  msgid "only on mobile devices"
1252
  msgstr ""
1253
 
1254
+ #: ../admin/views/ad-visitor-metabox.php:120
1255
  msgid "not on mobile devices"
1256
  msgstr ""
1257
 
1618
  msgid "Whether the visitor has to be logged in or not in order to see the ads."
1619
  msgstr ""
1620
 
1621
+ #: ../classes/visitor-conditions.php:87
1622
  msgid "is"
1623
  msgstr ""
1624
 
1625
+ #: ../classes/visitor-conditions.php:88
1626
  msgid "is not"
1627
  msgstr ""
1628
 
1629
+ #: ../classes/visitor-conditions.php:120
1630
  msgid "equal"
1631
  msgstr ""
1632
 
1633
+ #: ../classes/visitor-conditions.php:121
1634
  msgid "equal or higher"
1635
  msgstr ""
1636
 
1637
+ #: ../classes/visitor-conditions.php:122
1638
  msgid "equal or lower"
1639
  msgstr ""
1640
 
1641
+ #: ../classes/visitor-conditions.php:154
1642
  msgid "contains"
1643
  msgstr ""
1644
 
1645
+ #: ../classes/visitor-conditions.php:155
1646
  msgid "starts with"
1647
  msgstr ""
1648
 
1649
+ #: ../classes/visitor-conditions.php:156
1650
  msgid "ends with"
1651
  msgstr ""
1652
 
1653
+ #: ../classes/visitor-conditions.php:157
1654
  msgid "matches"
1655
  msgstr ""
1656
 
1657
+ #: ../classes/visitor-conditions.php:158
1658
  msgid "matches regex"
1659
  msgstr ""
1660
 
1661
+ #: ../classes/visitor-conditions.php:159
1662
  msgid "does not contain"
1663
  msgstr ""
1664
 
1665
+ #: ../classes/visitor-conditions.php:160
1666
  msgid "does not start with"
1667
  msgstr ""
1668
 
1669
+ #: ../classes/visitor-conditions.php:161
1670
  msgid "does not end with"
1671
  msgstr ""
1672
 
1673
+ #: ../classes/visitor-conditions.php:162
1674
  msgid "does not match"
1675
  msgstr ""
1676
 
1677
+ #: ../classes/visitor-conditions.php:163
1678
  msgid "does not match regex"
1679
  msgstr ""
1680
 
public/class-advanced-ads.php CHANGED
@@ -18,14 +18,6 @@
18
  * @author Thomas Maier <thomas.maier@webgilde.com>
19
  */
20
  class Advanced_Ads {
21
- /**
22
- * Plugin version, used for cache-busting of style and script file references and update notices
23
- *
24
- * @since 1.0.0
25
- * @var string
26
- */
27
-
28
- const VERSION = '1.6.2';
29
 
30
  /**
31
  * post type slug
18
  * @author Thomas Maier <thomas.maier@webgilde.com>
19
  */
20
  class Advanced_Ads {
 
 
 
 
 
 
 
 
21
 
22
  /**
23
  * post type slug
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 3.5, PHP 5.3
6
  Tested up to: 4.2.2
7
- Stable tag: 1.6.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -73,8 +73,8 @@ display ads by conditions based on the visitor
73
 
74
  * display or hide ads for mobile visitors
75
  * display or hide ads for logged in visitors
76
- * display or hide ads based on previously visited website (referrer) – included in [Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/)
77
  * hide all ads from logged in users based on their role
 
78
  * display ads by exact browser width with the [Responsive add-on](https://wpadvancedads.com/add-ons/responsive-ads/)
79
 
80
  = ad injection =
@@ -178,6 +178,15 @@ There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way t
178
 
179
  == Changelog ==
180
 
 
 
 
 
 
 
 
 
 
181
  = 1.6.3 =
182
 
183
  * added visitor condition to check for logged in visitors
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 3.5, PHP 5.3
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.6.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
73
 
74
  * display or hide ads for mobile visitors
75
  * display or hide ads for logged in visitors
 
76
  * hide all ads from logged in users based on their role
77
+ * advanced visitor conditions: previous visited url (referrer), user capability, browser language, browser and device, url parameters included in [Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/)
78
  * display ads by exact browser width with the [Responsive add-on](https://wpadvancedads.com/add-ons/responsive-ads/)
79
 
80
  = ad injection =
178
 
179
  == Changelog ==
180
 
181
+ = 1.6.4 =
182
+
183
+ COOL: newsletter subscribers now receive 2 free add-ons
184
+
185
+ * changed newsletter subscription text
186
+ * display description of visitor conditions, if selected
187
+ * minor fix to display conditions ui
188
+ * updated German translation
189
+
190
  = 1.6.3 =
191
 
192
  * added visitor condition to check for logged in visitors