User registration & user profile – Profile Builder - Version 2.8.9

Version Description

  • Added Private Website functionality
  • Added a plugin notice for Private Website
  • Removed from the admin menu the pages that have a tab on the settings page
Download this release

Release Info

Developer madalin.ungureanu
Plugin Icon 128x128 User registration & user profile – Profile Builder
Version 2.8.9
Comparing to
See all releases

Code changes from version 2.8.8 to 2.8.9

admin/admin-functions.php CHANGED
@@ -254,15 +254,14 @@ function wppb_add_plugin_notifications() {
254
  /* initiate the plugin notifications class */
255
  $notifications = WPPB_Plugin_Notifications::get_instance();
256
  /* this must be unique */
257
- $notification_id = 'wppb_new_add_on_woocommerce';
258
 
259
- $message = '<img style="float: left; margin: 10px 12px 10px 0; max-width: 100px;" src="https://www.cozmoslabs.com/wp-content/themes/cozmiclight/img/pb_addon_small_woosync.png" alt="WooSync Addon"/>';
260
- $message .= '<p style="margin-top: 16px;">' . __( 'Extend WooCommerce checkout page with support for all the Profile Builder Pro custom field types, conditional logic and repeater fields with the latest <strong>WooSync addon</strong> for Profile Builder.', 'profile-builder' ) . '</p>';
261
  // be careful to use wppb_dismiss_admin_notification as query arg
262
- $message .= '<p><a href="' . add_query_arg( array( 'page' => 'profile-builder-add-ons', 'wppb_dismiss_admin_notification' => $notification_id ), admin_url( 'admin.php' ) ) . '" class="button-primary">' . __( 'Check it out!', 'profile-builder' ) . '</a></p>';
263
  $message .= '<a href="' . add_query_arg( array( 'wppb_dismiss_admin_notification' => $notification_id ) ) . '" type="button" class="notice-dismiss"><span class="screen-reader-text">' . __( 'Dismiss this notice.', 'profile-builder' ) . '</span></a>';
264
 
265
- $notifications->add_notification( $notification_id, $message, 'wppb-notice wppb-narrow notice notice-info', true, array( 'profile-builder-add-ons' ) );
266
  }
267
 
268
 
254
  /* initiate the plugin notifications class */
255
  $notifications = WPPB_Plugin_Notifications::get_instance();
256
  /* this must be unique */
257
+ $notification_id = 'wppb_new_feature_private_site';
258
 
259
+ $message = '<p style="margin-top: 16px;">' . __( 'Set up a Private Website in WordPress with the help of Profile Builder. This feature is now available in all versions.', 'profile-builder' ) . '</p>';
 
260
  // be careful to use wppb_dismiss_admin_notification as query arg
261
+ $message .= '<p><a href="' . add_query_arg( array( 'page' => 'profile-builder-private-website', 'wppb_dismiss_admin_notification' => $notification_id ), admin_url( 'admin.php' ) ) . '" class="button-primary">' . __( 'Check it out!', 'profile-builder' ) . '</a></p>';
262
  $message .= '<a href="' . add_query_arg( array( 'wppb_dismiss_admin_notification' => $notification_id ) ) . '" type="button" class="notice-dismiss"><span class="screen-reader-text">' . __( 'Dismiss this notice.', 'profile-builder' ) . '</span></a>';
263
 
264
+ $notifications->add_notification( $notification_id, $message, 'wppb-notice wppb-narrow notice notice-info', true, array( 'profile-builder-general-settings' ) );
265
  }
266
 
267
 
admin/general-settings.php CHANGED
@@ -8,6 +8,7 @@ function wppb_get_settings_pages(){
8
  'profile-builder-general-settings' => __( 'General Settings', 'profile-builder' ),
9
  'profile-builder-admin-bar-settings' => __( 'Admin Bar', 'profile-builder' ),
10
  'profile-builder-content_restriction' => __( 'Content Restriction', 'profile-builder' ),
 
11
  );
12
 
13
  if (file_exists(WPPB_PLUGIN_DIR . '/modules/modules.php')) {
8
  'profile-builder-general-settings' => __( 'General Settings', 'profile-builder' ),
9
  'profile-builder-admin-bar-settings' => __( 'Admin Bar', 'profile-builder' ),
10
  'profile-builder-content_restriction' => __( 'Content Restriction', 'profile-builder' ),
11
+ 'profile-builder-private-website' => __( 'Private Website', 'profile-builder' ),
12
  );
13
 
14
  if (file_exists(WPPB_PLUGIN_DIR . '/modules/modules.php')) {
admin/private-website.php ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Function that creates the "Private Website" submenu page
5
+ *
6
+ * @since v.2.0
7
+ *
8
+ * @return void
9
+ */
10
+ function wppb_private_website_submenu_page() {
11
+ add_submenu_page( null, __( 'Private Website', 'profile-builder' ), __( 'Private Website', 'profile-builder' ), 'manage_options', 'profile-builder-private-website', 'wppb_private_website_content' );
12
+ }
13
+ add_action( 'admin_menu', 'wppb_private_website_submenu_page' );
14
+
15
+
16
+ /**
17
+ * Function that generates the default settings for private page
18
+ */
19
+ function wppb_private_website_settings_defaults() {
20
+
21
+ add_option( 'wppb_private_website_settings',
22
+ array(
23
+ 'private_website' => 'no',
24
+ 'redirect_to' => '',
25
+ 'allowed_pages' => array(),
26
+ 'hide_menus' => 'no',
27
+ )
28
+ );
29
+
30
+ }
31
+
32
+ /**
33
+ * Function that generates the content for the settings page
34
+ */
35
+ function wppb_private_website_content() {
36
+
37
+ wppb_private_website_settings_defaults();
38
+
39
+ $wppb_private_website_settings = get_option( 'wppb_private_website_settings', 'not_found' );
40
+ $all_pages = get_pages();
41
+ ?>
42
+ <div class="wrap wppb-wrap wppb-private-website">
43
+ <h2><?php _e( 'Private Website Settings', 'profile-builder' );?></h2>
44
+
45
+ <?php wppb_generate_settings_tabs() ?>
46
+
47
+ <form method="post" action="options.php">
48
+ <?php settings_fields( 'wppb_private_website_settings' ); ?>
49
+
50
+ <table class="form-table">
51
+ <tbody>
52
+
53
+ <tr>
54
+ <th><?php _e( 'Enable Private Website', 'profile-builder' ); ?></th>
55
+ <td>
56
+ <select id="private-website-enable" class="wppb-select" name="wppb_private_website_settings[private_website]">
57
+ <option value="no" <?php echo ( ( $wppb_private_website_settings != 'not_found' && $wppb_private_website_settings['private_website'] == 'no' ) ? 'selected' : '' ); ?>><?php _e( 'No', 'profile-builder' ); ?></option>
58
+ <option value="yes" <?php echo ( ( $wppb_private_website_settings != 'not_found' && $wppb_private_website_settings['private_website'] == 'yes' ) ? 'selected' : '' ); ?>><?php _e( 'Yes', 'profile-builder' ); ?></option>
59
+ </select>
60
+ <ul>
61
+ <li class="description"><?php _e( 'Activate Private Website. It will restrict the content, RSS and REST API for your website', 'profile-builder' ); ?></li>
62
+ </ul>
63
+ </td>
64
+ </tr>
65
+
66
+ <tr>
67
+ <th><?php _e( 'Redirect to', 'profile-builder' ); ?></th>
68
+ <td>
69
+ <select id="private-website-redirect-to-login" class="wppb-select" name="wppb_private_website_settings[redirect_to]">
70
+ <option value=""><?php _e( 'Default WordPress login page', 'profile-builder' ); ?></option>
71
+ <?php
72
+ if( !empty( $all_pages ) ){
73
+ foreach ($all_pages as $page){
74
+ ?>
75
+ <option value="<?php echo $page->ID ?>" <?php echo ( ( $wppb_private_website_settings != 'not_found' && isset( $wppb_private_website_settings['allowed_pages'] ) && $wppb_private_website_settings['redirect_to'] == $page->ID ) ? 'selected' : '' ); ?>><?php echo $page->post_title ?></option>
76
+ <?php
77
+ }
78
+ }
79
+ ?>
80
+
81
+ </select>
82
+ <ul>
83
+ <li class="description"><?php _e( 'Redirects to this page if not logged in. We recommend this page contains the [wppb-login] shortcode.', 'profile-builder' ); ?></li>
84
+ <li class="description"><?php _e( 'You can force access to wp-login.php so you don\'t get locked out of the site by accessing the link:', 'profile-builder' ); ?> <a href="<?php echo wp_login_url().'?wppb_force_wp_login=true' ?>"><?php echo wp_login_url().'?wppb_force_wp_login=true' ?></a></li>
85
+ </ul>
86
+ </td>
87
+ </tr>
88
+
89
+ <tr>
90
+ <th><?php _e( 'Allowed Pages', 'profile-builder' ); ?></th>
91
+ <td>
92
+ <select id="private-website-allowed-pages" class="wppb-select" name="wppb_private_website_settings[allowed_pages][]" multiple="multiple">
93
+ <?php
94
+ if( !empty( $all_pages ) ){
95
+ foreach ($all_pages as $page){
96
+ ?>
97
+ <option value="<?php echo $page->ID ?>" <?php echo ( ( $wppb_private_website_settings != 'not_found' && isset( $wppb_private_website_settings['allowed_pages'] ) && in_array( $page->ID, $wppb_private_website_settings['allowed_pages'] ) ) ? 'selected' : '' ); ?>><?php echo $page->post_title ?></option>
98
+ <?php
99
+ }
100
+ }
101
+ ?>
102
+
103
+ </select>
104
+ <ul>
105
+ <li class="description"><?php _e( 'Allow these pages to be accessed even if you are not logged in', 'profile-builder' ); ?></li>
106
+ </ul>
107
+ </td>
108
+ </tr>
109
+
110
+ <tr>
111
+ <th><?php _e( 'Hide all Menus', 'profile-builder' ); ?></th>
112
+ <td>
113
+ <select id="private-website-menu-hide" class="wppb-select" name="wppb_private_website_settings[hide_menus]">
114
+ <option value="no" <?php echo ( ( $wppb_private_website_settings != 'not_found' && !empty($wppb_private_website_settings['hide_menus']) && $wppb_private_website_settings['hide_menus'] == 'no' ) ? 'selected' : '' ); ?>><?php _e( 'No', 'profile-builder' ); ?></option>
115
+ <option value="yes" <?php echo ( ( $wppb_private_website_settings != 'not_found' && !empty($wppb_private_website_settings['hide_menus']) && $wppb_private_website_settings['hide_menus'] == 'yes' ) ? 'selected' : '' ); ?>><?php _e( 'Yes', 'profile-builder' ); ?></option>
116
+ </select>
117
+ <ul>
118
+ <li class="description"><?php _e( 'Hide all menu items if you are not logged in.', 'profile-builder' ); ?></li>
119
+ <li class="description"><?php printf( __( 'We recommend "<a href="%s" target="_blank">Custom Profile Menus</a>" addon if you need different menu items for logged in / logged out users.', 'profile-builder' ), 'https://www.cozmoslabs.com/add-ons/custom-profile-menus/' ); ?></li>
120
+ </ul>
121
+ </td>
122
+ </tr>
123
+
124
+ </tbody>
125
+ </table>
126
+
127
+ <?php submit_button( __( 'Save Changes', 'profile-builder' ) ); ?>
128
+ </form>
129
+
130
+
131
+ </div>
132
+ <?php
133
+ }
assets/css/style-back-end.css CHANGED
@@ -350,8 +350,12 @@
350
  min-width:18em;
351
  }
352
 
 
 
 
 
353
  .wppb-wrap .form-table th {
354
- width: 400px;
355
  }
356
 
357
  .wppb-metabox label{
@@ -820,4 +824,10 @@ div.wppb-notice .notice-dismiss {
820
 
821
  .profile-builder_page_user-email-customizer #poststuff, .profile-builder_page_admin-email-customizer #poststuff{
822
  padding:0;
 
 
 
 
 
 
823
  }
350
  min-width:18em;
351
  }
352
 
353
+ .wppb-select.wppb-disabled, .wppb-disabled .select2-selection--single, .wppb-disabled .select2-selection--multiple{
354
+ background-color: #eee;
355
+ }
356
+
357
  .wppb-wrap .form-table th {
358
+ width: 330px;
359
  }
360
 
361
  .wppb-metabox label{
824
 
825
  .profile-builder_page_user-email-customizer #poststuff, .profile-builder_page_admin-email-customizer #poststuff{
826
  padding:0;
827
+ }
828
+
829
+ /* hide menu items */
830
+ .wp-submenu a[href="admin.php?page=profile-builder-admin-bar-settings"], .wp-submenu a[href="admin.php?page=profile-builder-content_restriction"],
831
+ .wp-submenu a[href="admin.php?page=admin-email-customizer"], .wp-submenu a[href="admin.php?page=user-email-customizer"]{
832
+ display:none !important;
833
  }
assets/js/jquery-pb-sitewide.js CHANGED
@@ -133,3 +133,34 @@ jQuery( function() {
133
  });
134
  }
135
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  });
134
  }
135
  });
136
+
137
+ /*
138
+ * Private Website Settings page
139
+ */
140
+
141
+ jQuery( function() {
142
+ if( jQuery( '.wppb-private-website' ).length != 0 ) {
143
+ jQuery('#private-website-redirect-to-login').select2();
144
+ jQuery('#private-website-allowed-pages').select2();
145
+
146
+ wppbDisablePrivatePageOptions(jQuery('#private-website-enable').val());
147
+
148
+ jQuery('#private-website-enable').change(function () {
149
+ wppbDisablePrivatePageOptions(jQuery(this).val());
150
+ });
151
+
152
+
153
+ function wppbDisablePrivatePageOptions(value) {
154
+ if (value == 'no') {
155
+ jQuery('#private-website-redirect-to-login').closest('tr').addClass("wppb-disabled");
156
+ jQuery('#private-website-allowed-pages').closest('tr').addClass("wppb-disabled");
157
+ jQuery('#private-website-menu-hide').addClass("wppb-disabled");
158
+ }
159
+ else if (value == 'yes') {
160
+ jQuery('#private-website-redirect-to-login').closest('tr').removeClass("wppb-disabled");
161
+ jQuery('#private-website-allowed-pages').closest('tr').removeClass("wppb-disabled");
162
+ jQuery('#private-website-menu-hide').removeClass("wppb-disabled");
163
+ }
164
+ }
165
+ }
166
+ });
features/functions.php CHANGED
@@ -18,6 +18,7 @@ function wppb_register_settings() {
18
  register_setting( 'reCaptchaSettings', 'reCaptchaSettings' );
19
  register_setting( 'emailCustomizer', 'emailCustomizer' );
20
  register_setting( 'wppb_content_restriction_settings', 'wppb_content_restriction_settings' );
 
21
  }
22
 
23
 
@@ -260,6 +261,11 @@ function wppb_print_cpt_script( $hook ){
260
  wp_enqueue_style( 'wppb-select2-style', WPPB_PLUGIN_URL . 'assets/css/select2/select2.min.css', false, PROFILE_BUILDER_VERSION );
261
  }
262
 
 
 
 
 
 
263
  if (( $hook == 'profile-builder_page_manage-fields' ) ||
264
  ( $hook == 'profile-builder_page_profile-builder-basic-info' ) ||
265
  ( $hook == 'profile-builder_page_profile-builder-modules' ) ||
@@ -278,7 +284,8 @@ function wppb_print_cpt_script( $hook ){
278
  ( $hook == 'profile-builder_page_profile-builder-content_restriction' ) ||
279
  ( strpos( $hook, 'profile-builder_page_' ) === 0 ) ||
280
  ( $hook == 'edit.php' && ( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'wppb-roles-editor' ) ) ||
281
- ( $hook == 'admin_page_profile-builder-pms-promo') ) {
 
282
  wp_enqueue_style( 'wppb-back-end-style', WPPB_PLUGIN_URL . 'assets/css/style-back-end.css', false, PROFILE_BUILDER_VERSION );
283
  }
284
 
@@ -307,13 +314,32 @@ function wppb_print_cpt_script( $hook ){
307
  wp_enqueue_style( 'wppb-back-end-style', WPPB_PLUGIN_URL . 'assets/css/style-back-end.css', array(), PROFILE_BUILDER_VERSION );
308
  }
309
  }
310
- if ( file_exists ( WPPB_PLUGIN_DIR.'/update/update-checker.php' ) ) {
311
  wp_enqueue_script( 'wppb-sitewide', WPPB_PLUGIN_URL . 'assets/js/jquery-pb-sitewide.js', array(), PROFILE_BUILDER_VERSION, true );
312
  }
313
  wp_enqueue_style( 'wppb-serial-notice-css', WPPB_PLUGIN_URL . 'assets/css/serial-notice.css', false, PROFILE_BUILDER_VERSION );
314
  }
315
  add_action( 'admin_enqueue_scripts', 'wppb_print_cpt_script' );
316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
 
318
  //the function used to overwrite the avatar across the wp installation
319
  function wppb_changeDefaultAvatar( $avatar, $id_or_email, $size, $default, $alt ){
@@ -1066,4 +1092,117 @@ function wppb_get_role_name($role){
1066
  return $wp_roles->role_names[$role];
1067
 
1068
  return $role;
1069
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  register_setting( 'reCaptchaSettings', 'reCaptchaSettings' );
19
  register_setting( 'emailCustomizer', 'emailCustomizer' );
20
  register_setting( 'wppb_content_restriction_settings', 'wppb_content_restriction_settings' );
21
+ register_setting( 'wppb_private_website_settings', 'wppb_private_website_settings' );
22
  }
23
 
24
 
261
  wp_enqueue_style( 'wppb-select2-style', WPPB_PLUGIN_URL . 'assets/css/select2/select2.min.css', false, PROFILE_BUILDER_VERSION );
262
  }
263
 
264
+ if ( $hook == 'admin_page_profile-builder-private-website' ){
265
+ wp_enqueue_script( 'wppb-select2', WPPB_PLUGIN_URL . 'assets/js/select2/select2.min.js', array(), PROFILE_BUILDER_VERSION, true );
266
+ wp_enqueue_style( 'wppb-select2-style', WPPB_PLUGIN_URL . 'assets/css/select2/select2.min.css', false, PROFILE_BUILDER_VERSION );
267
+ }
268
+
269
  if (( $hook == 'profile-builder_page_manage-fields' ) ||
270
  ( $hook == 'profile-builder_page_profile-builder-basic-info' ) ||
271
  ( $hook == 'profile-builder_page_profile-builder-modules' ) ||
284
  ( $hook == 'profile-builder_page_profile-builder-content_restriction' ) ||
285
  ( strpos( $hook, 'profile-builder_page_' ) === 0 ) ||
286
  ( $hook == 'edit.php' && ( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'wppb-roles-editor' ) ) ||
287
+ ( $hook == 'admin_page_profile-builder-pms-promo') ||
288
+ ( $hook == 'admin_page_profile-builder-private-website') ) {
289
  wp_enqueue_style( 'wppb-back-end-style', WPPB_PLUGIN_URL . 'assets/css/style-back-end.css', false, PROFILE_BUILDER_VERSION );
290
  }
291
 
314
  wp_enqueue_style( 'wppb-back-end-style', WPPB_PLUGIN_URL . 'assets/css/style-back-end.css', array(), PROFILE_BUILDER_VERSION );
315
  }
316
  }
317
+ if ( file_exists ( WPPB_PLUGIN_DIR.'/update/update-checker.php' ) || $hook == 'admin_page_profile-builder-private-website' ) {
318
  wp_enqueue_script( 'wppb-sitewide', WPPB_PLUGIN_URL . 'assets/js/jquery-pb-sitewide.js', array(), PROFILE_BUILDER_VERSION, true );
319
  }
320
  wp_enqueue_style( 'wppb-serial-notice-css', WPPB_PLUGIN_URL . 'assets/css/serial-notice.css', false, PROFILE_BUILDER_VERSION );
321
  }
322
  add_action( 'admin_enqueue_scripts', 'wppb_print_cpt_script' );
323
 
324
+ /**
325
+ * Highlight the settings page under Profile Builder in the admin menu for these pages
326
+ */
327
+ //add add_action( "admin_footer-$hook", "wppb_make_setting_menu_item_highlighted" ); for other pages that don't have a parent
328
+ add_action( "admin_footer-admin_page_profile-builder-private-website", "wppb_make_setting_menu_item_highlighted" );
329
+ add_action( "admin_footer-profile-builder_page_profile-builder-admin-bar-settings", "wppb_make_setting_menu_item_highlighted" );
330
+ add_action( "admin_footer-profile-builder_page_profile-builder-content_restriction", "wppb_make_setting_menu_item_highlighted" );
331
+ add_action( "admin_footer-profile-builder_page_profile-builder-content_restriction", "wppb_make_setting_menu_item_highlighted" );
332
+ add_action( "admin_footer-profile-builder_page_admin-email-customizer", "wppb_make_setting_menu_item_highlighted" );
333
+ add_action( "admin_footer-profile-builder_page_user-email-customizer", "wppb_make_setting_menu_item_highlighted" );
334
+ function wppb_make_setting_menu_item_highlighted(){
335
+ echo'<script type="text/javascript">
336
+ jQuery(document).ready( function($) {
337
+ $("#toplevel_page_profile-builder").addClass("current wp-has-current-submenu wp-menu-open");
338
+ $("a[href=\'admin.php?page=profile-builder-general-settings\']").closest("li").addClass("current");
339
+ });
340
+ </script>';
341
+ }
342
+
343
 
344
  //the function used to overwrite the avatar across the wp installation
345
  function wppb_changeDefaultAvatar( $avatar, $id_or_email, $size, $default, $alt ){
1092
  return $wp_roles->role_names[$role];
1093
 
1094
  return $role;
1095
+ }
1096
+
1097
+ /**
1098
+ * Functionality for Private Website start
1099
+ */
1100
+ add_action( 'template_redirect', 'wppb_private_website_functionality' );
1101
+ add_action( 'login_head', 'wppb_private_website_functionality', 1 );
1102
+ function wppb_private_website_functionality(){
1103
+ $wppb_private_website_settings = get_option( 'wppb_private_website_settings', 'not_found' );
1104
+ if( $wppb_private_website_settings != 'not_found' ){
1105
+ if( $wppb_private_website_settings['private_website'] == 'yes' ){
1106
+ if( !is_user_logged_in() ){
1107
+
1108
+ //force wp-login.php if you accidentally get locked out
1109
+ global $pagenow;
1110
+ if( $pagenow === 'wp-login.php' && isset( $_GET['wppb_force_wp_login'] ) )
1111
+ return;
1112
+
1113
+
1114
+ global $post;
1115
+ if( isset( $wppb_private_website_settings['allowed_pages'] ) )
1116
+ $allowed_pages = $wppb_private_website_settings['allowed_pages'];
1117
+ else{
1118
+ $allowed_pages = array();
1119
+ }
1120
+
1121
+ $redirect_to_id = $wppb_private_website_settings['redirect_to'];
1122
+ if( !empty( $redirect_to_id ) ) {
1123
+ $redirect_url = get_permalink($redirect_to_id);
1124
+ $allowed_pages[] = $redirect_to_id;
1125
+ }
1126
+ else {
1127
+ //don't redirect if we are already on the wp-login.php page
1128
+ if( $pagenow === 'wp-login.php' ){
1129
+ return;
1130
+ }
1131
+ else
1132
+ $redirect_url = wp_login_url(wppb_curpageurl());
1133
+ }
1134
+
1135
+ $redirect_url = apply_filters( 'wppb_private_website_redirect_url', $redirect_url );
1136
+ $allowed_pages = apply_filters( 'wppb_private_website_allowed_pages', $allowed_pages );
1137
+
1138
+ if( !in_array( $post->ID, $allowed_pages ) && ( $redirect_url !== wppb_curpageurl() ) ){
1139
+ wp_safe_redirect( $redirect_url );
1140
+ exit;
1141
+ }
1142
+
1143
+ }
1144
+ }
1145
+ }
1146
+ }
1147
+
1148
+
1149
+ /**
1150
+ * Disable RSS
1151
+ */
1152
+ add_action('do_feed', 'wppb_disable_feed', 1);
1153
+ add_action('do_feed_rdf', 'wppb_disable_feed', 1);
1154
+ add_action('do_feed_rss', 'wppb_disable_feed', 1);
1155
+ add_action('do_feed_rss2', 'wppb_disable_feed', 1);
1156
+ add_action('do_feed_atom', 'wppb_disable_feed', 1);
1157
+ add_action('do_feed_rss2_comments', 'wppb_disable_feed', 1);
1158
+ add_action('do_feed_atom_comments', 'wppb_disable_feed', 1);
1159
+ function wppb_disable_feed() {
1160
+ $wppb_private_website_settings = get_option( 'wppb_private_website_settings', 'not_found' );
1161
+ if( $wppb_private_website_settings != 'not_found' ) {
1162
+ if ($wppb_private_website_settings['private_website'] == 'yes') {
1163
+ if (!is_user_logged_in()) {
1164
+ wp_die( sprintf( __('No feed available,please visit our <a href="%s">homepage</a>!', 'profile-builder' ), get_bloginfo('url') ) );
1165
+ }
1166
+ }
1167
+ }
1168
+ }
1169
+
1170
+
1171
+ /**
1172
+ * Disable REST
1173
+ */
1174
+ add_filter('rest_enabled', 'wppb_disable_rest');
1175
+ add_filter('rest_jsonp_enabled', 'wppb_disable_rest');
1176
+ function wppb_disable_rest( $bool ){
1177
+ $wppb_private_website_settings = get_option( 'wppb_private_website_settings', 'not_found' );
1178
+ if( $wppb_private_website_settings != 'not_found' ) {
1179
+ if ($wppb_private_website_settings['private_website'] == 'yes') {
1180
+ if (!is_user_logged_in()) {
1181
+ return false;
1182
+ }
1183
+ }
1184
+ }
1185
+ return $bool;
1186
+ }
1187
+
1188
+
1189
+ /**
1190
+ * We can hide all menu items
1191
+ */
1192
+ add_filter('wp_nav_menu', 'wppb_hide_menus');
1193
+ add_filter('wp_page_menu', 'wppb_hide_menus');
1194
+ function wppb_hide_menus( $menu ){
1195
+ $wppb_private_website_settings = get_option( 'wppb_private_website_settings', 'not_found' );
1196
+ if( $wppb_private_website_settings != 'not_found' ) {
1197
+ if ($wppb_private_website_settings['private_website'] == 'yes') {
1198
+ if ( !is_user_logged_in() && ( !empty($wppb_private_website_settings['hide_menus']) && $wppb_private_website_settings['hide_menus'] == 'yes' ) ) {
1199
+ return '';
1200
+ }
1201
+ }
1202
+ }
1203
+ return $menu;
1204
+ }
1205
+
1206
+ /**
1207
+ * Functionality for Private Website end
1208
+ */
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Profile Builder
4
  Plugin URI: https://www.cozmoslabs.com/wordpress-profile-builder/
5
  Description: Login, registration and edit profile shortcodes for the front-end. Also you can choose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
6
- Version: 2.8.8
7
  Author: Cozmoslabs
8
  Author URI: https://www.cozmoslabs.com/
9
  Text Domain: profile-builder
@@ -75,7 +75,7 @@ function wppb_free_plugin_init() {
75
  *
76
  *
77
  */
78
- define('PROFILE_BUILDER_VERSION', '2.8.8' );
79
  define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
80
  define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
81
  define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
@@ -128,6 +128,7 @@ function wppb_free_plugin_init() {
128
  include_once(WPPB_PLUGIN_DIR . '/admin/basic-info.php');
129
  include_once(WPPB_PLUGIN_DIR . '/admin/general-settings.php');
130
  include_once(WPPB_PLUGIN_DIR . '/admin/admin-bar.php');
 
131
  include_once(WPPB_PLUGIN_DIR . '/admin/manage-fields.php');
132
  include_once(WPPB_PLUGIN_DIR . '/admin/pms-cross-promotion.php');
133
  include_once(WPPB_PLUGIN_DIR . '/admin/feedback.php');
3
  Plugin Name: Profile Builder
4
  Plugin URI: https://www.cozmoslabs.com/wordpress-profile-builder/
5
  Description: Login, registration and edit profile shortcodes for the front-end. Also you can choose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
6
+ Version: 2.8.9
7
  Author: Cozmoslabs
8
  Author URI: https://www.cozmoslabs.com/
9
  Text Domain: profile-builder
75
  *
76
  *
77
  */
78
+ define('PROFILE_BUILDER_VERSION', '2.8.9' );
79
  define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
80
  define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
81
  define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
128
  include_once(WPPB_PLUGIN_DIR . '/admin/basic-info.php');
129
  include_once(WPPB_PLUGIN_DIR . '/admin/general-settings.php');
130
  include_once(WPPB_PLUGIN_DIR . '/admin/admin-bar.php');
131
+ include_once(WPPB_PLUGIN_DIR . '/admin/private-website.php');
132
  include_once(WPPB_PLUGIN_DIR . '/admin/manage-fields.php');
133
  include_once(WPPB_PLUGIN_DIR . '/admin/pms-cross-promotion.php');
134
  include_once(WPPB_PLUGIN_DIR . '/admin/feedback.php');
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.cozmoslabs.com/wordpress-profile-builder/
4
  Tags: user registration, user profile, user registration form, user fields, extra user fields, edit profile, user custom fields, front-end login, front-end edit profile, front-end user registration, email confirmation, login form, content restriction, restrict content
5
  Requires at least: 3.1
6
  Tested up to: 4.9.8
7
- Stable tag: 2.8.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -57,6 +57,7 @@ Users with administrator rights have access to the following features:
57
  * **Content Restriction**: restrict content based on current users role or logged in status
58
  * Restrict WooCommerce shop page and products
59
  * Invisible reCAPTCHA support for both Profile Builder forms as well as default WordPress forms
 
60
 
61
  **PROFILE BUILDER PRO**
62
 
@@ -166,6 +167,11 @@ This plugin adds/removes user fields in the front-end. Both default and extra pr
166
  12. Role Editor
167
 
168
  == Changelog ==
 
 
 
 
 
169
  = 2.8.8 =
170
  * We no longer allow users to login with username is is set to login with email. added 'wppb_allow_login_with_username_when_is_set_to_email' filter to still allow it
171
  * Small css changes
4
  Tags: user registration, user profile, user registration form, user fields, extra user fields, edit profile, user custom fields, front-end login, front-end edit profile, front-end user registration, email confirmation, login form, content restriction, restrict content
5
  Requires at least: 3.1
6
  Tested up to: 4.9.8
7
+ Stable tag: 2.8.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
57
  * **Content Restriction**: restrict content based on current users role or logged in status
58
  * Restrict WooCommerce shop page and products
59
  * Invisible reCAPTCHA support for both Profile Builder forms as well as default WordPress forms
60
+ * **Private Website**: If you have a WordPress website that you wish is visible only to members then this feature is what you want.
61
 
62
  **PROFILE BUILDER PRO**
63
 
167
  12. Role Editor
168
 
169
  == Changelog ==
170
+ = 2.8.9 =
171
+ * Added Private Website functionality
172
+ * Added a plugin notice for Private Website
173
+ * Removed from the admin menu the pages that have a tab on the settings page
174
+
175
  = 2.8.8 =
176
  * We no longer allow users to login with username is is set to login with email. added 'wppb_allow_login_with_username_when_is_set_to_email' filter to still allow it
177
  * Small css changes
translation/profile-builder.catalog.php CHANGED
@@ -327,6 +327,8 @@
327
  <?php __("Communication Preferences Order", "profile-builder"); ?>
328
  <?php __("Save the communication preferences order", "profile-builder"); ?>
329
  <?php __("required", "profile-builder"); ?>
 
 
330
  <?php __("Uploaded file is not valid json!", "profile-builder"); ?>
331
  <?php __("Import successfully!", "profile-builder"); ?>
332
  <?php __("Please select a .json file to import!", "profile-builder"); ?>
@@ -435,7 +437,7 @@
435
  <?php __("If you enjoy using <strong> %1$s </strong> please <a href=\"%2$s\" target=\"_blank\">rate us on WordPress.org</a>. More happy users means more features, less bugs and better support for everyone. ", "profile-builder"); ?>
436
  <?php __("View Profile Builder documentation", "profile-builder"); ?>
437
  <?php __("Docs", "profile-builder"); ?>
438
- <?php __("Extend WooCommerce checkout page with support for all the Profile Builder Pro custom field types, conditional logic and repeater fields with the latest <strong>WooSync addon</strong> for Profile Builder.", "profile-builder"); ?>
439
  <?php __("Check it out!", "profile-builder"); ?>
440
  <?php __("Dismiss this notice.", "profile-builder"); ?>
441
  <?php __("Basic Information", "profile-builder"); ?>
@@ -525,6 +527,7 @@
525
  <?php __("Skip and Deactivate", "profile-builder"); ?>
526
  <?php __("Submit and Deactivate", "profile-builder"); ?>
527
  <?php __("Admin Bar", "profile-builder"); ?>
 
528
  <?php __("User Emails", "profile-builder"); ?>
529
  <?php __("Administrator Emails", "profile-builder"); ?>
530
  <?php __("Profile Builder Settings", "profile-builder"); ?>
@@ -1072,6 +1075,19 @@
1072
  <?php __("Accept user payments, create subscription plans and restrict content on your website.", "profile-builder"); ?>
1073
  <?php __("Step by Step Quick Setup", "profile-builder"); ?>
1074
  <?php __("Allow your users to have <strong>paid accounts with Profile Builder</strong>. %1$sFind out how >%2$s %3$sDismiss%4$s", "profile-builder"); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
1075
  <?php __("Register Your Version", "profile-builder"); ?>
1076
  <?php __("Register Version", "profile-builder"); ?>
1077
  <?php __("Profile Builder Register", "profile-builder"); ?>
@@ -1099,11 +1115,11 @@
1099
  <?php __("This field is required", "profile-builder"); ?>
1100
  <?php __("Please enter a (valid) reCAPTCHA value", "profile-builder"); ?>
1101
  <?php __("Incorrect phone number", "profile-builder"); ?>
1102
- <?php __("Save Changes", "profile-builder"); ?>
1103
  <?php __("Content", "profile-builder"); ?>
1104
  <?php __("<br><br>Also, you will be able to visit your site at ", "profile-builder"); ?>
1105
  <?php __("<br><br>You can visit your site at ", "profile-builder"); ?>
1106
  <?php __("You will soon be redirected automatically. If you see this page for more than %1$d seconds, please click %2$s.%3$s", "profile-builder"); ?>
 
1107
  <?php __("The role of the created user set to the default role. Only an administrator can register a user with the role assigned to this form.", "profile-builder"); ?>
1108
  <?php __("Only an administrator can add new users.", "profile-builder"); ?>
1109
  <?php __("Users can register themselves or you can manually create users here.", "profile-builder"); ?>
327
  <?php __("Communication Preferences Order", "profile-builder"); ?>
328
  <?php __("Save the communication preferences order", "profile-builder"); ?>
329
  <?php __("required", "profile-builder"); ?>
330
+ <?php __("Date", "profile-builder"); ?>
331
+ <?php __("Preference", "profile-builder"); ?>
332
  <?php __("Uploaded file is not valid json!", "profile-builder"); ?>
333
  <?php __("Import successfully!", "profile-builder"); ?>
334
  <?php __("Please select a .json file to import!", "profile-builder"); ?>
437
  <?php __("If you enjoy using <strong> %1$s </strong> please <a href=\"%2$s\" target=\"_blank\">rate us on WordPress.org</a>. More happy users means more features, less bugs and better support for everyone. ", "profile-builder"); ?>
438
  <?php __("View Profile Builder documentation", "profile-builder"); ?>
439
  <?php __("Docs", "profile-builder"); ?>
440
+ <?php __("Set up a Private Website in WordPress with the help of Profile Builder. This feature is now available in all versions.", "profile-builder"); ?>
441
  <?php __("Check it out!", "profile-builder"); ?>
442
  <?php __("Dismiss this notice.", "profile-builder"); ?>
443
  <?php __("Basic Information", "profile-builder"); ?>
527
  <?php __("Skip and Deactivate", "profile-builder"); ?>
528
  <?php __("Submit and Deactivate", "profile-builder"); ?>
529
  <?php __("Admin Bar", "profile-builder"); ?>
530
+ <?php __("Private Website", "profile-builder"); ?>
531
  <?php __("User Emails", "profile-builder"); ?>
532
  <?php __("Administrator Emails", "profile-builder"); ?>
533
  <?php __("Profile Builder Settings", "profile-builder"); ?>
1075
  <?php __("Accept user payments, create subscription plans and restrict content on your website.", "profile-builder"); ?>
1076
  <?php __("Step by Step Quick Setup", "profile-builder"); ?>
1077
  <?php __("Allow your users to have <strong>paid accounts with Profile Builder</strong>. %1$sFind out how >%2$s %3$sDismiss%4$s", "profile-builder"); ?>
1078
+ <?php __("Private Website Settings", "profile-builder"); ?>
1079
+ <?php __("Enable Private Website", "profile-builder"); ?>
1080
+ <?php __("Activate Private Website. It will restrict the content, RSS and REST API for your website", "profile-builder"); ?>
1081
+ <?php __("Redirect to", "profile-builder"); ?>
1082
+ <?php __("Default WordPress login page", "profile-builder"); ?>
1083
+ <?php __("Redirects to this page if not logged in. We recommend this page contains the [wppb-login] shortcode.", "profile-builder"); ?>
1084
+ <?php __("You can force access to wp-login.php so you don't get locked out of the site by accessing the link:", "profile-builder"); ?>
1085
+ <?php __("Allowed Pages", "profile-builder"); ?>
1086
+ <?php __("Allow these pages to be accessed even if you are not logged in", "profile-builder"); ?>
1087
+ <?php __("Hide all Menus", "profile-builder"); ?>
1088
+ <?php __("Hide all menu items if you are not logged in.", "profile-builder"); ?>
1089
+ <?php __("We recommend \"<a href=\"%s\" target=\"_blank\">Custom Profile Menus</a>\" addon if you need different menu items for logged in / logged out users.", "profile-builder"); ?>
1090
+ <?php __("Save Changes", "profile-builder"); ?>
1091
  <?php __("Register Your Version", "profile-builder"); ?>
1092
  <?php __("Register Version", "profile-builder"); ?>
1093
  <?php __("Profile Builder Register", "profile-builder"); ?>
1115
  <?php __("This field is required", "profile-builder"); ?>
1116
  <?php __("Please enter a (valid) reCAPTCHA value", "profile-builder"); ?>
1117
  <?php __("Incorrect phone number", "profile-builder"); ?>
 
1118
  <?php __("Content", "profile-builder"); ?>
1119
  <?php __("<br><br>Also, you will be able to visit your site at ", "profile-builder"); ?>
1120
  <?php __("<br><br>You can visit your site at ", "profile-builder"); ?>
1121
  <?php __("You will soon be redirected automatically. If you see this page for more than %1$d seconds, please click %2$s.%3$s", "profile-builder"); ?>
1122
+ <?php __("No feed available,please visit our <a href=\"%s\">homepage</a>!", "profile-builder"); ?>
1123
  <?php __("The role of the created user set to the default role. Only an administrator can register a user with the role assigned to this form.", "profile-builder"); ?>
1124
  <?php __("Only an administrator can add new users.", "profile-builder"); ?>
1125
  <?php __("Users can register themselves or you can manually create users here.", "profile-builder"); ?>
translation/profile-builder.pot CHANGED
@@ -393,63 +393,63 @@ msgstr ""
393
  msgid "The email confirmation does not match your email address."
394
  msgstr ""
395
 
396
- #: ../pb-add-on-field-visibility/index.php:202, ../profile-builder-2.0/admin/admin-bar.php:61
397
  msgid "Visibility"
398
  msgstr ""
399
 
400
- #: ../pb-add-on-field-visibility/index.php:202
401
  msgid "<strong>Admin Only</strong> field is visible only for administrators. <strong>User Locked</strong> field is visible for both administrators and users, but only administrators have the capability to edit it."
402
  msgstr ""
403
 
404
- #: ../pb-add-on-field-visibility/index.php:203
405
  msgid "User Role Visibility"
406
  msgstr ""
407
 
408
- #: ../pb-add-on-field-visibility/index.php:203
409
  msgid "Select which user roles see this field"
410
  msgstr ""
411
 
412
- #: ../pb-add-on-field-visibility/index.php:204
413
  msgid "Location Visibility"
414
  msgstr ""
415
 
416
- #: ../pb-add-on-field-visibility/index.php:204
417
  msgid "Select the locations you wish the field to appear"
418
  msgstr ""
419
 
420
- #: ../pb-add-on-field-visibility/index.php:222
421
  msgid "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-required\">Required</pre><pre class=\"wppb-mb-head-visibility\"></pre>"
422
  msgstr ""
423
 
424
- #: ../pb-add-on-field-visibility/index.php:222, ../pb-add-on-labels-edit/pble.php:354, ../profile-builder-2.0/admin/manage-fields.php:1236, ../profile-builder-2.0/features/functions.php:763, ../profile-builder-2.0/features/functions.php:770, ../profile-builder-2.0/features/admin-approval/class-admin-approval.php:108, ../profile-builder-2.0/features/roles-editor/roles-editor.php:866, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:183, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:197, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:211, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:225, ../profile-builder-2.0/modules/multiple-forms/multiple-forms.php:406
425
  msgid "Edit"
426
  msgstr ""
427
 
428
- #: ../pb-add-on-field-visibility/index.php:222, ../profile-builder-2.0/admin/manage-fields.php:1236, ../profile-builder-2.0/features/functions.php:756, ../profile-builder-2.0/features/functions.php:770, ../profile-builder-2.0/features/admin-approval/class-admin-approval.php:113, ../profile-builder-2.0/features/email-confirmation/class-email-confirmation.php:121, ../profile-builder-2.0/features/email-confirmation/class-email-confirmation.php:218, ../profile-builder-2.0/features/roles-editor/roles-editor.php:179, ../profile-builder-2.0/features/roles-editor/roles-editor.php:884, ../profile-builder-2.0/features/roles-editor/roles-editor.php:893, ../profile-builder-2.0/features/roles-editor/roles-editor.php:904, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:183, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:197, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:211, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:225
429
  msgid "Delete"
430
  msgstr ""
431
 
432
- #: ../pb-add-on-field-visibility/index.php:243
433
  msgid "This field is visible only for administrators."
434
  msgstr ""
435
 
436
- #: ../pb-add-on-field-visibility/index.php:246
437
  msgid "This field is visible for both administrators and users, but only administrators have the capability to edit it."
438
  msgstr ""
439
 
440
- #: ../pb-add-on-field-visibility/index.php:269
441
  msgid "This field is visible only for the following user roles: %1$s"
442
  msgstr ""
443
 
444
- #: ../pb-add-on-field-visibility/index.php:315
445
  msgid "This field is visible only in the following locations: %1$s"
446
  msgstr ""
447
 
448
- #: ../pb-add-on-field-visibility/index.php:457
449
  msgid "Get file"
450
  msgstr ""
451
 
452
- #: ../pb-add-on-field-visibility/index.php:586
453
  msgid "You do not have the capabilities necessary to edit this field."
454
  msgstr ""
455
 
@@ -653,11 +653,11 @@ msgstr ""
653
  msgid "Replace labels with placeholders:"
654
  msgstr ""
655
 
656
- #: ../pb-add-on-placeholder-labels/pbpl.php:171, ../pb-add-on-social-connect/index.php:323, ../profile-builder-2.0/admin/general-settings.php:110, ../profile-builder-2.0/admin/general-settings.php:123, ../profile-builder-2.0/admin/general-settings.php:172, ../profile-builder-2.0/admin/general-settings.php:219, ../profile-builder-2.0/features/content-restriction/content-restriction.php:86, ../profile-builder-2.0/modules/multiple-forms/edit-profile-forms.php:206, ../profile-builder-2.0/modules/multiple-forms/register-forms.php:229, ../profile-builder-2.0/modules/multiple-forms/register-forms.php:230, ../profile-builder-2.0/modules/user-listing/userlisting.php:2330
657
  msgid "Yes"
658
  msgstr ""
659
 
660
- #: ../pb-add-on-placeholder-labels/pbpl.php:172, ../pb-add-on-social-connect/index.php:324, ../profile-builder-2.0/admin/general-settings.php:124, ../profile-builder-2.0/admin/general-settings.php:173, ../profile-builder-2.0/admin/general-settings.php:218, ../profile-builder-2.0/features/content-restriction/content-restriction.php:85, ../profile-builder-2.0/modules/multiple-forms/edit-profile-forms.php:206, ../profile-builder-2.0/modules/multiple-forms/register-forms.php:229, ../profile-builder-2.0/modules/multiple-forms/register-forms.php:230
661
  msgid "No"
662
  msgstr ""
663
 
@@ -797,7 +797,7 @@ msgstr ""
797
  msgid "Default Social Connect CSS in the Front-end"
798
  msgstr ""
799
 
800
- #: ../pb-add-on-social-connect/index.php:236, ../profile-builder-2.0/admin/admin-functions.php:226, ../profile-builder-2.0/admin/general-settings.php:75, ../profile-builder-2.0/admin/general-settings.php:75
801
  msgid "Settings"
802
  msgstr ""
803
 
@@ -853,7 +853,7 @@ msgstr ""
853
  msgid "You will be redirected in 5 seconds. If not, click %%."
854
  msgstr ""
855
 
856
- #: ../pb-add-on-social-connect/index.php:390, ../profile-builder-2.0/features/functions.php:1035
857
  msgid "here"
858
  msgstr ""
859
 
@@ -1165,7 +1165,7 @@ msgstr ""
1165
  msgid "Click to edit"
1166
  msgstr ""
1167
 
1168
- #: ../pb-add-on-campaign-monitor-integration/admin/cmonitor-page.php:451, ../pb-add-on-mailchimp-integration/admin/mailchimp-page.php:171, ../profile-builder-2.0/features/functions.php:749, ../pb-add-on-labels-edit/assets/lib/wck-api/wordpress-creation-kit.php:403, ../profile-builder-2.0/assets/lib/wck-api/wordpress-creation-kit.php:395
1169
  msgid "Cancel"
1170
  msgstr ""
1171
 
@@ -1331,6 +1331,14 @@ msgstr ""
1331
  msgid "required"
1332
  msgstr ""
1333
 
 
 
 
 
 
 
 
 
1334
  #: ../pb-add-on-import-export/inc/class-pbie-import.php:64, ../pb-add-on-labels-edit/inc/class-pble-import.php:34
1335
  msgid "Uploaded file is not valid json!"
1336
  msgstr ""
@@ -1727,19 +1735,19 @@ msgstr ""
1727
  msgid "<strong>ERROR</strong>: The password must have the minimum length of %s characters"
1728
  msgstr ""
1729
 
1730
- #: ../profile-builder-2.0/admin/admin-functions.php:137, ../profile-builder-2.0/admin/general-settings.php:278
1731
  msgid "Very weak"
1732
  msgstr ""
1733
 
1734
- #: ../profile-builder-2.0/admin/admin-functions.php:137, ../profile-builder-2.0/admin/general-settings.php:279, ../profile-builder-2.0/features/functions.php:583, ../profile-builder-2.0/features/functions.php:607
1735
  msgid "Weak"
1736
  msgstr ""
1737
 
1738
- #: ../profile-builder-2.0/admin/admin-functions.php:137, ../profile-builder-2.0/admin/general-settings.php:280, ../profile-builder-2.0/features/functions.php:583, ../profile-builder-2.0/features/functions.php:607
1739
  msgid "Medium"
1740
  msgstr ""
1741
 
1742
- #: ../profile-builder-2.0/admin/admin-functions.php:137, ../profile-builder-2.0/admin/general-settings.php:281, ../profile-builder-2.0/features/functions.php:583, ../profile-builder-2.0/features/functions.php:607
1743
  msgid "Strong"
1744
  msgstr ""
1745
 
@@ -1767,15 +1775,15 @@ msgstr ""
1767
  msgid "Docs"
1768
  msgstr ""
1769
 
1770
- #: ../profile-builder-2.0/admin/admin-functions.php:260
1771
- msgid "Extend WooCommerce checkout page with support for all the Profile Builder Pro custom field types, conditional logic and repeater fields with the latest <strong>WooSync addon</strong> for Profile Builder."
1772
  msgstr ""
1773
 
1774
- #: ../profile-builder-2.0/admin/admin-functions.php:262
1775
  msgid "Check it out!"
1776
  msgstr ""
1777
 
1778
- #: ../profile-builder-2.0/admin/admin-functions.php:263
1779
  msgid "Dismiss this notice."
1780
  msgstr ""
1781
 
@@ -2019,7 +2027,7 @@ msgstr ""
2019
  msgid "To create a page containing the users registered to this current site/blog, insert the following shortcode in a page of your chosing: %s."
2020
  msgstr ""
2021
 
2022
- #: ../profile-builder-2.0/admin/basic-info.php:167, ../profile-builder-2.0/admin/general-settings.php:16, ../profile-builder-2.0/modules/modules.php:94
2023
  msgid "Email Customizer"
2024
  msgstr ""
2025
 
@@ -2127,123 +2135,127 @@ msgstr ""
2127
  msgid "Admin Bar"
2128
  msgstr ""
2129
 
2130
- #: ../profile-builder-2.0/admin/general-settings.php:18
2131
- msgid "User Emails"
2132
  msgstr ""
2133
 
2134
  #: ../profile-builder-2.0/admin/general-settings.php:19
 
 
 
 
2135
  msgid "Administrator Emails"
2136
  msgstr ""
2137
 
2138
- #: ../profile-builder-2.0/admin/general-settings.php:96
2139
  msgid "Profile Builder Settings"
2140
  msgstr ""
2141
 
2142
- #: ../profile-builder-2.0/admin/general-settings.php:107
2143
  msgid "Load Profile Builder's own CSS file in the front-end:"
2144
  msgstr ""
2145
 
2146
- #: ../profile-builder-2.0/admin/general-settings.php:112
2147
  msgid "You can find the default file here: %1$s"
2148
  msgstr ""
2149
 
2150
- #: ../profile-builder-2.0/admin/general-settings.php:119
2151
  msgid "\"Email Confirmation\" Activated:"
2152
  msgstr ""
2153
 
2154
- #: ../profile-builder-2.0/admin/general-settings.php:127
2155
  msgid "This works with front-end forms only. Recommended to redirect WP default registration to a Profile Builder one using \"Custom Redirects\" module."
2156
  msgstr ""
2157
 
2158
- #: ../profile-builder-2.0/admin/general-settings.php:129
2159
  msgid "You can find a list of unconfirmed email addresses %1$sUsers > All Users > Email Confirmation%2$s."
2160
  msgstr ""
2161
 
2162
- #: ../profile-builder-2.0/admin/general-settings.php:137
2163
  msgid "\"Email Confirmation\" Landing Page:"
2164
  msgstr ""
2165
 
2166
- #: ../profile-builder-2.0/admin/general-settings.php:142
2167
  msgid "Existing Pages"
2168
  msgstr ""
2169
 
2170
- #: ../profile-builder-2.0/admin/general-settings.php:157
2171
  msgid "Specify the page where the users will be directed when confirming the email account. This page can differ from the register page(s) and can be changed at any time. If none selected, a simple confirmation page will be displayed for the user."
2172
  msgstr ""
2173
 
2174
- #: ../profile-builder-2.0/admin/general-settings.php:168
2175
  msgid "\"Admin Approval\" Activated:"
2176
  msgstr ""
2177
 
2178
- #: ../profile-builder-2.0/admin/general-settings.php:176
2179
  msgid "You can find a list of users at %1$sUsers > All Users > Admin Approval%2$s."
2180
  msgstr ""
2181
 
2182
- #: ../profile-builder-2.0/admin/general-settings.php:183
2183
  msgid "\"Admin Approval\" on User Role:"
2184
  msgstr ""
2185
 
2186
- #: ../profile-builder-2.0/admin/general-settings.php:202
2187
  msgid "Select on what user roles to activate Admin Approval."
2188
  msgstr ""
2189
 
2190
- #: ../profile-builder-2.0/admin/general-settings.php:214
2191
  msgid "\"Roles Editor\" Activated:"
2192
  msgstr ""
2193
 
2194
- #: ../profile-builder-2.0/admin/general-settings.php:222
2195
  msgid "You can add / edit user roles at %1$sUsers > Roles Editor%2$s."
2196
  msgstr ""
2197
 
2198
- #: ../profile-builder-2.0/admin/general-settings.php:233
2199
  msgid "\"Admin Approval\" Feature:"
2200
  msgstr ""
2201
 
2202
- #: ../profile-builder-2.0/admin/general-settings.php:236
2203
  msgid "You decide who is a user on your website. Get notified via email or approve multiple users at once from the WordPress UI. Enable Admin Approval by upgrading to %1$sHobbyist or PRO versions%2$s."
2204
  msgstr ""
2205
 
2206
- #: ../profile-builder-2.0/admin/general-settings.php:243
2207
  msgid "Allow Users to Log in With:"
2208
  msgstr ""
2209
 
2210
- #: ../profile-builder-2.0/admin/general-settings.php:247
2211
  msgid "Username and Email"
2212
  msgstr ""
2213
 
2214
- #: ../profile-builder-2.0/admin/general-settings.php:248, ../profile-builder-2.0/admin/manage-fields.php:242, ../profile-builder-2.0/front-end/login.php:246, ../profile-builder-2.0/front-end/login.php:260, ../profile-builder-2.0/front-end/login.php:388, ../profile-builder-2.0/features/admin-approval/class-admin-approval.php:166, ../profile-builder-2.0/features/email-confirmation/class-email-confirmation.php:168, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:60, ../profile-builder-2.0/modules/email-customizer/email-customizer.php:28, ../profile-builder-2.0/modules/user-listing/userlisting.php:111, ../profile-builder-2.0/modules/user-listing/userlisting.php:303, ../profile-builder-2.0/modules/user-listing/userlisting.php:769, ../profile-builder-2.0/modules/user-listing/userlisting.php:2281
2215
  msgid "Username"
2216
  msgstr ""
2217
 
2218
- #: ../profile-builder-2.0/admin/general-settings.php:249, ../profile-builder-2.0/front-end/login.php:385, ../profile-builder-2.0/modules/email-customizer/email-customizer.php:29, ../profile-builder-2.0/modules/user-listing/userlisting.php:775, ../profile-builder-2.0/modules/user-listing/userlisting.php:2282
2219
  msgid "Email"
2220
  msgstr ""
2221
 
2222
- #: ../profile-builder-2.0/admin/general-settings.php:252
2223
  msgid "\"Username and Email\" - users can Log In with both Username and Email."
2224
  msgstr ""
2225
 
2226
- #: ../profile-builder-2.0/admin/general-settings.php:253
2227
  msgid "\"Username\" - users can Log In only with Username."
2228
  msgstr ""
2229
 
2230
- #: ../profile-builder-2.0/admin/general-settings.php:254
2231
  msgid "\"Email\" - users can Log In only with Email."
2232
  msgstr ""
2233
 
2234
- #: ../profile-builder-2.0/admin/general-settings.php:261
2235
  msgid "Minimum Password Length:"
2236
  msgstr ""
2237
 
2238
- #: ../profile-builder-2.0/admin/general-settings.php:266
2239
  msgid "Enter the minimum characters the password should have. Leave empty for no minimum limit"
2240
  msgstr ""
2241
 
2242
- #: ../profile-builder-2.0/admin/general-settings.php:273
2243
  msgid "Minimum Password Strength:"
2244
  msgstr ""
2245
 
2246
- #: ../profile-builder-2.0/admin/general-settings.php:277
2247
  msgid "Disabled"
2248
  msgstr ""
2249
 
@@ -4349,6 +4361,58 @@ msgstr ""
4349
  msgid "Allow your users to have <strong>paid accounts with Profile Builder</strong>. %1$sFind out how >%2$s %3$sDismiss%4$s"
4350
  msgstr ""
4351
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4352
  #: ../profile-builder-2.0/admin/register-version.php:14
4353
  msgid "Register Your Version"
4354
  msgstr ""
@@ -4421,62 +4485,62 @@ msgstr ""
4421
  msgid "<p>Your <strong>Profile Builder</strong> license is about to expire on %5$s. <br/>Please %1$sRenew Your Licence%2$s to continue receiving access to product downloads, automatic updates and support. %3$sRenew now and get 40&#37; off %4$s %6$sDismiss%7$s</p>"
4422
  msgstr ""
4423
 
4424
- #: ../profile-builder-2.0/features/functions.php:257
4425
  msgid "GDPR Checkbox"
4426
  msgstr ""
4427
 
4428
- #: ../profile-builder-2.0/features/functions.php:257
4429
  msgid "I allow the website to collect and store the data I submit through this form."
4430
  msgstr ""
4431
 
4432
- #: ../profile-builder-2.0/features/functions.php:557
4433
  msgid "Strength indicator"
4434
  msgstr ""
4435
 
4436
- #: ../profile-builder-2.0/features/functions.php:583, ../profile-builder-2.0/features/functions.php:607
4437
  msgid "Very Weak"
4438
  msgstr ""
4439
 
4440
- #: ../profile-builder-2.0/features/functions.php:597
4441
  msgid "Minimum length of %d characters."
4442
  msgstr ""
4443
 
4444
- #: ../profile-builder-2.0/features/functions.php:608
4445
  msgid "The password must have a minimum strength of %s."
4446
  msgstr ""
4447
 
4448
- #: ../profile-builder-2.0/features/functions.php:685
4449
  msgid "This field is required"
4450
  msgstr ""
4451
 
4452
- #: ../profile-builder-2.0/features/functions.php:723, ../profile-builder-2.0/front-end/default-fields/recaptcha/recaptcha.php:461, ../profile-builder-2.0/front-end/default-fields/recaptcha/recaptcha.php:470, ../profile-builder-2.0/front-end/default-fields/recaptcha/recaptcha.php:523, ../profile-builder-2.0/front-end/default-fields/recaptcha/recaptcha.php:568
4453
  msgid "Please enter a (valid) reCAPTCHA value"
4454
  msgstr ""
4455
 
4456
- #: ../profile-builder-2.0/features/functions.php:730
4457
  msgid "Incorrect phone number"
4458
  msgstr ""
4459
 
4460
- #: ../profile-builder-2.0/features/functions.php:742, ../profile-builder-2.0/features/content-restriction/content-restriction.php:159, ../profile-builder-2.0/modules/class-mustache-templates/class-mustache-templates.php:390, ../pb-add-on-labels-edit/assets/lib/wck-api/wordpress-creation-kit.php:402, ../profile-builder-2.0/assets/lib/wck-api/wordpress-creation-kit.php:394
4461
- msgid "Save Changes"
4462
- msgstr ""
4463
-
4464
- #: ../profile-builder-2.0/features/functions.php:770, ../pb-add-on-labels-edit/assets/lib/wck-api/wordpress-creation-kit.php:444, ../profile-builder-2.0/assets/lib/wck-api/wordpress-creation-kit.php:436
4465
  msgid "Content"
4466
  msgstr ""
4467
 
4468
- #: ../profile-builder-2.0/features/functions.php:937
4469
  msgid "<br><br>Also, you will be able to visit your site at "
4470
  msgstr ""
4471
 
4472
- #: ../profile-builder-2.0/features/functions.php:950
4473
  msgid "<br><br>You can visit your site at "
4474
  msgstr ""
4475
 
4476
- #: ../profile-builder-2.0/features/functions.php:1036
4477
  msgid "You will soon be redirected automatically. If you see this page for more than %1$d seconds, please click %2$s.%3$s"
4478
  msgstr ""
4479
 
 
 
 
 
4480
  #: ../profile-builder-2.0/front-end/class-formbuilder.php:124
4481
  msgid "The role of the created user set to the default role. Only an administrator can register a user with the role assigned to this form."
4482
  msgstr ""
393
  msgid "The email confirmation does not match your email address."
394
  msgstr ""
395
 
396
+ #: ../pb-add-on-field-visibility/index.php:203, ../profile-builder-2.0/admin/admin-bar.php:61
397
  msgid "Visibility"
398
  msgstr ""
399
 
400
+ #: ../pb-add-on-field-visibility/index.php:203
401
  msgid "<strong>Admin Only</strong> field is visible only for administrators. <strong>User Locked</strong> field is visible for both administrators and users, but only administrators have the capability to edit it."
402
  msgstr ""
403
 
404
+ #: ../pb-add-on-field-visibility/index.php:204
405
  msgid "User Role Visibility"
406
  msgstr ""
407
 
408
+ #: ../pb-add-on-field-visibility/index.php:204
409
  msgid "Select which user roles see this field"
410
  msgstr ""
411
 
412
+ #: ../pb-add-on-field-visibility/index.php:205
413
  msgid "Location Visibility"
414
  msgstr ""
415
 
416
+ #: ../pb-add-on-field-visibility/index.php:205
417
  msgid "Select the locations you wish the field to appear"
418
  msgstr ""
419
 
420
+ #: ../pb-add-on-field-visibility/index.php:223
421
  msgid "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-required\">Required</pre><pre class=\"wppb-mb-head-visibility\"></pre>"
422
  msgstr ""
423
 
424
+ #: ../pb-add-on-field-visibility/index.php:223, ../pb-add-on-labels-edit/pble.php:354, ../profile-builder-2.0/admin/manage-fields.php:1236, ../profile-builder-2.0/features/functions.php:789, ../profile-builder-2.0/features/functions.php:796, ../profile-builder-2.0/features/admin-approval/class-admin-approval.php:108, ../profile-builder-2.0/features/roles-editor/roles-editor.php:866, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:183, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:197, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:211, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:225, ../profile-builder-2.0/modules/multiple-forms/multiple-forms.php:406
425
  msgid "Edit"
426
  msgstr ""
427
 
428
+ #: ../pb-add-on-field-visibility/index.php:223, ../profile-builder-2.0/admin/manage-fields.php:1236, ../profile-builder-2.0/features/functions.php:782, ../profile-builder-2.0/features/functions.php:796, ../profile-builder-2.0/features/admin-approval/class-admin-approval.php:113, ../profile-builder-2.0/features/email-confirmation/class-email-confirmation.php:121, ../profile-builder-2.0/features/email-confirmation/class-email-confirmation.php:218, ../profile-builder-2.0/features/roles-editor/roles-editor.php:179, ../profile-builder-2.0/features/roles-editor/roles-editor.php:884, ../profile-builder-2.0/features/roles-editor/roles-editor.php:893, ../profile-builder-2.0/features/roles-editor/roles-editor.php:904, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:183, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:197, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:211, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:225
429
  msgid "Delete"
430
  msgstr ""
431
 
432
+ #: ../pb-add-on-field-visibility/index.php:244
433
  msgid "This field is visible only for administrators."
434
  msgstr ""
435
 
436
+ #: ../pb-add-on-field-visibility/index.php:247
437
  msgid "This field is visible for both administrators and users, but only administrators have the capability to edit it."
438
  msgstr ""
439
 
440
+ #: ../pb-add-on-field-visibility/index.php:270
441
  msgid "This field is visible only for the following user roles: %1$s"
442
  msgstr ""
443
 
444
+ #: ../pb-add-on-field-visibility/index.php:316
445
  msgid "This field is visible only in the following locations: %1$s"
446
  msgstr ""
447
 
448
+ #: ../pb-add-on-field-visibility/index.php:458
449
  msgid "Get file"
450
  msgstr ""
451
 
452
+ #: ../pb-add-on-field-visibility/index.php:587
453
  msgid "You do not have the capabilities necessary to edit this field."
454
  msgstr ""
455
 
653
  msgid "Replace labels with placeholders:"
654
  msgstr ""
655
 
656
+ #: ../pb-add-on-placeholder-labels/pbpl.php:171, ../pb-add-on-social-connect/index.php:323, ../profile-builder-2.0/admin/general-settings.php:111, ../profile-builder-2.0/admin/general-settings.php:124, ../profile-builder-2.0/admin/general-settings.php:173, ../profile-builder-2.0/admin/general-settings.php:220, ../profile-builder-2.0/admin/private-website.php:58, ../profile-builder-2.0/admin/private-website.php:115, ../profile-builder-2.0/features/content-restriction/content-restriction.php:86, ../profile-builder-2.0/modules/multiple-forms/edit-profile-forms.php:206, ../profile-builder-2.0/modules/multiple-forms/register-forms.php:229, ../profile-builder-2.0/modules/multiple-forms/register-forms.php:230, ../profile-builder-2.0/modules/user-listing/userlisting.php:2330
657
  msgid "Yes"
658
  msgstr ""
659
 
660
+ #: ../pb-add-on-placeholder-labels/pbpl.php:172, ../pb-add-on-social-connect/index.php:324, ../profile-builder-2.0/admin/general-settings.php:125, ../profile-builder-2.0/admin/general-settings.php:174, ../profile-builder-2.0/admin/general-settings.php:219, ../profile-builder-2.0/admin/private-website.php:57, ../profile-builder-2.0/admin/private-website.php:114, ../profile-builder-2.0/features/content-restriction/content-restriction.php:85, ../profile-builder-2.0/modules/multiple-forms/edit-profile-forms.php:206, ../profile-builder-2.0/modules/multiple-forms/register-forms.php:229, ../profile-builder-2.0/modules/multiple-forms/register-forms.php:230
661
  msgid "No"
662
  msgstr ""
663
 
797
  msgid "Default Social Connect CSS in the Front-end"
798
  msgstr ""
799
 
800
+ #: ../pb-add-on-social-connect/index.php:236, ../profile-builder-2.0/admin/admin-functions.php:226, ../profile-builder-2.0/admin/general-settings.php:76, ../profile-builder-2.0/admin/general-settings.php:76
801
  msgid "Settings"
802
  msgstr ""
803
 
853
  msgid "You will be redirected in 5 seconds. If not, click %%."
854
  msgstr ""
855
 
856
+ #: ../pb-add-on-social-connect/index.php:390, ../profile-builder-2.0/features/functions.php:1061
857
  msgid "here"
858
  msgstr ""
859
 
1165
  msgid "Click to edit"
1166
  msgstr ""
1167
 
1168
+ #: ../pb-add-on-campaign-monitor-integration/admin/cmonitor-page.php:451, ../pb-add-on-mailchimp-integration/admin/mailchimp-page.php:171, ../profile-builder-2.0/features/functions.php:775, ../pb-add-on-labels-edit/assets/lib/wck-api/wordpress-creation-kit.php:403, ../profile-builder-2.0/assets/lib/wck-api/wordpress-creation-kit.php:395
1169
  msgid "Cancel"
1170
  msgstr ""
1171
 
1331
  msgid "required"
1332
  msgstr ""
1333
 
1334
+ #: front-end/gdpr-communication-preferences.php:68
1335
+ msgid "Date"
1336
+ msgstr ""
1337
+
1338
+ #: front-end/gdpr-communication-preferences.php:68
1339
+ msgid "Preference"
1340
+ msgstr ""
1341
+
1342
  #: ../pb-add-on-import-export/inc/class-pbie-import.php:64, ../pb-add-on-labels-edit/inc/class-pble-import.php:34
1343
  msgid "Uploaded file is not valid json!"
1344
  msgstr ""
1735
  msgid "<strong>ERROR</strong>: The password must have the minimum length of %s characters"
1736
  msgstr ""
1737
 
1738
+ #: ../profile-builder-2.0/admin/admin-functions.php:137, ../profile-builder-2.0/admin/general-settings.php:279
1739
  msgid "Very weak"
1740
  msgstr ""
1741
 
1742
+ #: ../profile-builder-2.0/admin/admin-functions.php:137, ../profile-builder-2.0/admin/general-settings.php:280, ../profile-builder-2.0/features/functions.php:609, ../profile-builder-2.0/features/functions.php:633
1743
  msgid "Weak"
1744
  msgstr ""
1745
 
1746
+ #: ../profile-builder-2.0/admin/admin-functions.php:137, ../profile-builder-2.0/admin/general-settings.php:281, ../profile-builder-2.0/features/functions.php:609, ../profile-builder-2.0/features/functions.php:633
1747
  msgid "Medium"
1748
  msgstr ""
1749
 
1750
+ #: ../profile-builder-2.0/admin/admin-functions.php:137, ../profile-builder-2.0/admin/general-settings.php:282, ../profile-builder-2.0/features/functions.php:609, ../profile-builder-2.0/features/functions.php:633
1751
  msgid "Strong"
1752
  msgstr ""
1753
 
1775
  msgid "Docs"
1776
  msgstr ""
1777
 
1778
+ #: ../profile-builder-2.0/admin/admin-functions.php:259
1779
+ msgid "Set up a Private Website in WordPress with the help of Profile Builder. This feature is now available in all versions."
1780
  msgstr ""
1781
 
1782
+ #: ../profile-builder-2.0/admin/admin-functions.php:261
1783
  msgid "Check it out!"
1784
  msgstr ""
1785
 
1786
+ #: ../profile-builder-2.0/admin/admin-functions.php:262
1787
  msgid "Dismiss this notice."
1788
  msgstr ""
1789
 
2027
  msgid "To create a page containing the users registered to this current site/blog, insert the following shortcode in a page of your chosing: %s."
2028
  msgstr ""
2029
 
2030
+ #: ../profile-builder-2.0/admin/basic-info.php:167, ../profile-builder-2.0/admin/general-settings.php:17, ../profile-builder-2.0/modules/modules.php:94
2031
  msgid "Email Customizer"
2032
  msgstr ""
2033
 
2135
  msgid "Admin Bar"
2136
  msgstr ""
2137
 
2138
+ #: ../profile-builder-2.0/admin/general-settings.php:11, ../profile-builder-2.0/admin/private-website.php:11, ../profile-builder-2.0/admin/private-website.php:11
2139
+ msgid "Private Website"
2140
  msgstr ""
2141
 
2142
  #: ../profile-builder-2.0/admin/general-settings.php:19
2143
+ msgid "User Emails"
2144
+ msgstr ""
2145
+
2146
+ #: ../profile-builder-2.0/admin/general-settings.php:20
2147
  msgid "Administrator Emails"
2148
  msgstr ""
2149
 
2150
+ #: ../profile-builder-2.0/admin/general-settings.php:97
2151
  msgid "Profile Builder Settings"
2152
  msgstr ""
2153
 
2154
+ #: ../profile-builder-2.0/admin/general-settings.php:108
2155
  msgid "Load Profile Builder's own CSS file in the front-end:"
2156
  msgstr ""
2157
 
2158
+ #: ../profile-builder-2.0/admin/general-settings.php:113
2159
  msgid "You can find the default file here: %1$s"
2160
  msgstr ""
2161
 
2162
+ #: ../profile-builder-2.0/admin/general-settings.php:120
2163
  msgid "\"Email Confirmation\" Activated:"
2164
  msgstr ""
2165
 
2166
+ #: ../profile-builder-2.0/admin/general-settings.php:128
2167
  msgid "This works with front-end forms only. Recommended to redirect WP default registration to a Profile Builder one using \"Custom Redirects\" module."
2168
  msgstr ""
2169
 
2170
+ #: ../profile-builder-2.0/admin/general-settings.php:130
2171
  msgid "You can find a list of unconfirmed email addresses %1$sUsers > All Users > Email Confirmation%2$s."
2172
  msgstr ""
2173
 
2174
+ #: ../profile-builder-2.0/admin/general-settings.php:138
2175
  msgid "\"Email Confirmation\" Landing Page:"
2176
  msgstr ""
2177
 
2178
+ #: ../profile-builder-2.0/admin/general-settings.php:143
2179
  msgid "Existing Pages"
2180
  msgstr ""
2181
 
2182
+ #: ../profile-builder-2.0/admin/general-settings.php:158
2183
  msgid "Specify the page where the users will be directed when confirming the email account. This page can differ from the register page(s) and can be changed at any time. If none selected, a simple confirmation page will be displayed for the user."
2184
  msgstr ""
2185
 
2186
+ #: ../profile-builder-2.0/admin/general-settings.php:169
2187
  msgid "\"Admin Approval\" Activated:"
2188
  msgstr ""
2189
 
2190
+ #: ../profile-builder-2.0/admin/general-settings.php:177
2191
  msgid "You can find a list of users at %1$sUsers > All Users > Admin Approval%2$s."
2192
  msgstr ""
2193
 
2194
+ #: ../profile-builder-2.0/admin/general-settings.php:184
2195
  msgid "\"Admin Approval\" on User Role:"
2196
  msgstr ""
2197
 
2198
+ #: ../profile-builder-2.0/admin/general-settings.php:203
2199
  msgid "Select on what user roles to activate Admin Approval."
2200
  msgstr ""
2201
 
2202
+ #: ../profile-builder-2.0/admin/general-settings.php:215
2203
  msgid "\"Roles Editor\" Activated:"
2204
  msgstr ""
2205
 
2206
+ #: ../profile-builder-2.0/admin/general-settings.php:223
2207
  msgid "You can add / edit user roles at %1$sUsers > Roles Editor%2$s."
2208
  msgstr ""
2209
 
2210
+ #: ../profile-builder-2.0/admin/general-settings.php:234
2211
  msgid "\"Admin Approval\" Feature:"
2212
  msgstr ""
2213
 
2214
+ #: ../profile-builder-2.0/admin/general-settings.php:237
2215
  msgid "You decide who is a user on your website. Get notified via email or approve multiple users at once from the WordPress UI. Enable Admin Approval by upgrading to %1$sHobbyist or PRO versions%2$s."
2216
  msgstr ""
2217
 
2218
+ #: ../profile-builder-2.0/admin/general-settings.php:244
2219
  msgid "Allow Users to Log in With:"
2220
  msgstr ""
2221
 
2222
+ #: ../profile-builder-2.0/admin/general-settings.php:248
2223
  msgid "Username and Email"
2224
  msgstr ""
2225
 
2226
+ #: ../profile-builder-2.0/admin/general-settings.php:249, ../profile-builder-2.0/admin/manage-fields.php:242, ../profile-builder-2.0/front-end/login.php:246, ../profile-builder-2.0/front-end/login.php:260, ../profile-builder-2.0/front-end/login.php:388, ../profile-builder-2.0/features/admin-approval/class-admin-approval.php:166, ../profile-builder-2.0/features/email-confirmation/class-email-confirmation.php:168, ../profile-builder-2.0/modules/custom-redirects/custom_redirects_admin.php:60, ../profile-builder-2.0/modules/email-customizer/email-customizer.php:28, ../profile-builder-2.0/modules/user-listing/userlisting.php:111, ../profile-builder-2.0/modules/user-listing/userlisting.php:303, ../profile-builder-2.0/modules/user-listing/userlisting.php:769, ../profile-builder-2.0/modules/user-listing/userlisting.php:2281
2227
  msgid "Username"
2228
  msgstr ""
2229
 
2230
+ #: ../profile-builder-2.0/admin/general-settings.php:250, ../profile-builder-2.0/front-end/login.php:385, ../profile-builder-2.0/modules/email-customizer/email-customizer.php:29, ../profile-builder-2.0/modules/user-listing/userlisting.php:775, ../profile-builder-2.0/modules/user-listing/userlisting.php:2282
2231
  msgid "Email"
2232
  msgstr ""
2233
 
2234
+ #: ../profile-builder-2.0/admin/general-settings.php:253
2235
  msgid "\"Username and Email\" - users can Log In with both Username and Email."
2236
  msgstr ""
2237
 
2238
+ #: ../profile-builder-2.0/admin/general-settings.php:254
2239
  msgid "\"Username\" - users can Log In only with Username."
2240
  msgstr ""
2241
 
2242
+ #: ../profile-builder-2.0/admin/general-settings.php:255
2243
  msgid "\"Email\" - users can Log In only with Email."
2244
  msgstr ""
2245
 
2246
+ #: ../profile-builder-2.0/admin/general-settings.php:262
2247
  msgid "Minimum Password Length:"
2248
  msgstr ""
2249
 
2250
+ #: ../profile-builder-2.0/admin/general-settings.php:267
2251
  msgid "Enter the minimum characters the password should have. Leave empty for no minimum limit"
2252
  msgstr ""
2253
 
2254
+ #: ../profile-builder-2.0/admin/general-settings.php:274
2255
  msgid "Minimum Password Strength:"
2256
  msgstr ""
2257
 
2258
+ #: ../profile-builder-2.0/admin/general-settings.php:278
2259
  msgid "Disabled"
2260
  msgstr ""
2261
 
4361
  msgid "Allow your users to have <strong>paid accounts with Profile Builder</strong>. %1$sFind out how >%2$s %3$sDismiss%4$s"
4362
  msgstr ""
4363
 
4364
+ #: ../profile-builder-2.0/admin/private-website.php:43
4365
+ msgid "Private Website Settings"
4366
+ msgstr ""
4367
+
4368
+ #: ../profile-builder-2.0/admin/private-website.php:54
4369
+ msgid "Enable Private Website"
4370
+ msgstr ""
4371
+
4372
+ #: ../profile-builder-2.0/admin/private-website.php:61
4373
+ msgid "Activate Private Website. It will restrict the content, RSS and REST API for your website"
4374
+ msgstr ""
4375
+
4376
+ #: ../profile-builder-2.0/admin/private-website.php:67
4377
+ msgid "Redirect to"
4378
+ msgstr ""
4379
+
4380
+ #: ../profile-builder-2.0/admin/private-website.php:70
4381
+ msgid "Default WordPress login page"
4382
+ msgstr ""
4383
+
4384
+ #: ../profile-builder-2.0/admin/private-website.php:83
4385
+ msgid "Redirects to this page if not logged in. We recommend this page contains the [wppb-login] shortcode."
4386
+ msgstr ""
4387
+
4388
+ #: ../profile-builder-2.0/admin/private-website.php:84
4389
+ msgid "You can force access to wp-login.php so you don't get locked out of the site by accessing the link:"
4390
+ msgstr ""
4391
+
4392
+ #: ../profile-builder-2.0/admin/private-website.php:90
4393
+ msgid "Allowed Pages"
4394
+ msgstr ""
4395
+
4396
+ #: ../profile-builder-2.0/admin/private-website.php:105
4397
+ msgid "Allow these pages to be accessed even if you are not logged in"
4398
+ msgstr ""
4399
+
4400
+ #: ../profile-builder-2.0/admin/private-website.php:111
4401
+ msgid "Hide all Menus"
4402
+ msgstr ""
4403
+
4404
+ #: ../profile-builder-2.0/admin/private-website.php:118
4405
+ msgid "Hide all menu items if you are not logged in."
4406
+ msgstr ""
4407
+
4408
+ #: ../profile-builder-2.0/admin/private-website.php:119
4409
+ msgid "We recommend \"<a href=\"%s\" target=\"_blank\">Custom Profile Menus</a>\" addon if you need different menu items for logged in / logged out users."
4410
+ msgstr ""
4411
+
4412
+ #: ../profile-builder-2.0/admin/private-website.php:127, ../profile-builder-2.0/features/functions.php:768, ../profile-builder-2.0/features/content-restriction/content-restriction.php:159, ../profile-builder-2.0/modules/class-mustache-templates/class-mustache-templates.php:390, ../pb-add-on-labels-edit/assets/lib/wck-api/wordpress-creation-kit.php:402, ../profile-builder-2.0/assets/lib/wck-api/wordpress-creation-kit.php:394
4413
+ msgid "Save Changes"
4414
+ msgstr ""
4415
+
4416
  #: ../profile-builder-2.0/admin/register-version.php:14
4417
  msgid "Register Your Version"
4418
  msgstr ""
4485
  msgid "<p>Your <strong>Profile Builder</strong> license is about to expire on %5$s. <br/>Please %1$sRenew Your Licence%2$s to continue receiving access to product downloads, automatic updates and support. %3$sRenew now and get 40&#37; off %4$s %6$sDismiss%7$s</p>"
4486
  msgstr ""
4487
 
4488
+ #: ../profile-builder-2.0/features/functions.php:258
4489
  msgid "GDPR Checkbox"
4490
  msgstr ""
4491
 
4492
+ #: ../profile-builder-2.0/features/functions.php:258
4493
  msgid "I allow the website to collect and store the data I submit through this form."
4494
  msgstr ""
4495
 
4496
+ #: ../profile-builder-2.0/features/functions.php:583
4497
  msgid "Strength indicator"
4498
  msgstr ""
4499
 
4500
+ #: ../profile-builder-2.0/features/functions.php:609, ../profile-builder-2.0/features/functions.php:633
4501
  msgid "Very Weak"
4502
  msgstr ""
4503
 
4504
+ #: ../profile-builder-2.0/features/functions.php:623
4505
  msgid "Minimum length of %d characters."
4506
  msgstr ""
4507
 
4508
+ #: ../profile-builder-2.0/features/functions.php:634
4509
  msgid "The password must have a minimum strength of %s."
4510
  msgstr ""
4511
 
4512
+ #: ../profile-builder-2.0/features/functions.php:711
4513
  msgid "This field is required"
4514
  msgstr ""
4515
 
4516
+ #: ../profile-builder-2.0/features/functions.php:749, ../profile-builder-2.0/front-end/default-fields/recaptcha/recaptcha.php:461, ../profile-builder-2.0/front-end/default-fields/recaptcha/recaptcha.php:470, ../profile-builder-2.0/front-end/default-fields/recaptcha/recaptcha.php:523, ../profile-builder-2.0/front-end/default-fields/recaptcha/recaptcha.php:568
4517
  msgid "Please enter a (valid) reCAPTCHA value"
4518
  msgstr ""
4519
 
4520
+ #: ../profile-builder-2.0/features/functions.php:756
4521
  msgid "Incorrect phone number"
4522
  msgstr ""
4523
 
4524
+ #: ../profile-builder-2.0/features/functions.php:796, ../pb-add-on-labels-edit/assets/lib/wck-api/wordpress-creation-kit.php:444, ../profile-builder-2.0/assets/lib/wck-api/wordpress-creation-kit.php:436
 
 
 
 
4525
  msgid "Content"
4526
  msgstr ""
4527
 
4528
+ #: ../profile-builder-2.0/features/functions.php:963
4529
  msgid "<br><br>Also, you will be able to visit your site at "
4530
  msgstr ""
4531
 
4532
+ #: ../profile-builder-2.0/features/functions.php:976
4533
  msgid "<br><br>You can visit your site at "
4534
  msgstr ""
4535
 
4536
+ #: ../profile-builder-2.0/features/functions.php:1062
4537
  msgid "You will soon be redirected automatically. If you see this page for more than %1$d seconds, please click %2$s.%3$s"
4538
  msgstr ""
4539
 
4540
+ #: ../profile-builder-2.0/features/functions.php:1164
4541
+ msgid "No feed available,please visit our <a href=\"%s\">homepage</a>!"
4542
+ msgstr ""
4543
+
4544
  #: ../profile-builder-2.0/front-end/class-formbuilder.php:124
4545
  msgid "The role of the created user set to the default role. Only an administrator can register a user with the role assigned to this form."
4546
  msgstr ""