Version Description
- Added support for Max character length addon for default website field
- Fixed possible issues with Email Confirmation on some domains
Download this release
Release Info
Developer | madalin.ungureanu |
Plugin | User registration & user profile – Profile Builder |
Version | 3.1.7 |
Comparing to | |
See all releases |
Code changes from version 3.1.6 to 3.1.7
- admin/manage-fields.php +20 -10
- features/email-confirmation/email-confirmation.php +45 -45
- front-end/default-fields/website/website.php +1 -1
- index.php +2 -2
- readme.txt +6 -2
- translation/profile-builder.catalog.php +3 -1
- translation/profile-builder.pot +31 -23
admin/manage-fields.php
CHANGED
@@ -1146,16 +1146,26 @@ function wppb_check_field_on_edit_add( $message, $fields, $required_fields, $met
|
|
1146 |
|
1147 |
// check for the correct the date-format
|
1148 |
if ( $posted_values['field'] == 'Datepicker' ){
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1159 |
}
|
1160 |
// END check for the correct the date-format
|
1161 |
|
1146 |
|
1147 |
// check for the correct the date-format
|
1148 |
if ( $posted_values['field'] == 'Datepicker' ){
|
1149 |
+
$date_format = trim( $posted_values['date-format'] );
|
1150 |
+
if( empty( $date_format ) )
|
1151 |
+
$message .= __( "You must enter a value for the date-format\n", 'profile-builder' );
|
1152 |
+
else {
|
1153 |
+
$date_format = preg_split("/(, | |\/|-|,)/", $date_format );
|
1154 |
+
$valid_pieces = array('d', 'dd', 'D', 'DD', 'o', 'oo', 'm', 'mm', 'M', 'MM', 'y', 'yy', '@');
|
1155 |
+
if ($date_format) {
|
1156 |
+
$invalid_format = false;
|
1157 |
+
foreach ($date_format as $piece) {
|
1158 |
+
if (!in_array($piece, $valid_pieces)) {
|
1159 |
+
$invalid_format = true;
|
1160 |
+
break;
|
1161 |
+
}
|
1162 |
+
}
|
1163 |
+
|
1164 |
+
if ($invalid_format)
|
1165 |
+
$message .= __("The entered value for the Datepicker is not a valid date-format\n", 'profile-builder');
|
1166 |
+
}
|
1167 |
+
}
|
1168 |
+
|
1169 |
}
|
1170 |
// END check for the correct the date-format
|
1171 |
|
features/email-confirmation/email-confirmation.php
CHANGED
@@ -5,10 +5,10 @@ function wppb_signup_schema( $oldVal, $newVal ){
|
|
5 |
global $wpdb, $wp_queries, $charset_collate;
|
6 |
|
7 |
if ($newVal['emailConfirmation'] == 'yes'){
|
8 |
-
|
9 |
//The database character collate.
|
10 |
$charset_collate = '';
|
11 |
-
|
12 |
if ( ! empty( $wpdb->charset ) )
|
13 |
$charset_collate = "DEFAULT CHARACTER SET ".$wpdb->charset;
|
14 |
if ( ! empty( $wpdb->collate ) )
|
@@ -17,7 +17,7 @@ function wppb_signup_schema( $oldVal, $newVal ){
|
|
17 |
|
18 |
$sql = "
|
19 |
CREATE TABLE $tableName (
|
20 |
-
domain varchar(
|
21 |
path varchar(100) NOT NULL default '',
|
22 |
title longtext NOT NULL,
|
23 |
user_login varchar(60) NOT NULL default '',
|
@@ -30,7 +30,7 @@ function wppb_signup_schema( $oldVal, $newVal ){
|
|
30 |
KEY activation_key (activation_key),
|
31 |
KEY domain (domain)
|
32 |
) $charset_collate;";
|
33 |
-
|
34 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
35 |
$res = dbDelta($sql);
|
36 |
}
|
@@ -41,33 +41,33 @@ add_action( 'update_option_wppb_general_settings', 'wppb_signup_schema', 10, 2 )
|
|
41 |
//function to add new tab in the default WP userlisting with all the users who didn't confirm their account yet
|
42 |
function wppb_add_pending_users_header_script(){
|
43 |
?>
|
44 |
-
<script type="text/javascript">
|
45 |
jQuery(document).ready(function() {
|
46 |
jQuery.post( ajaxurl , { action:"wppb_get_unconfirmed_email_number"}, function(response) {
|
47 |
jQuery('.wrap ul.subsubsub').append('<span id="separatorID"> |</span> <li class="listUsersWithUncofirmedEmail"><a class="unconfirmedEmailUsers" href="?page=unconfirmed_emails"><?php _e('Users with Unconfirmed Email Address', 'profile-builder');?></a> <font id="unconfirmedEmailNo" color="grey">('+response.number+')</font></li>');
|
48 |
-
});
|
49 |
});
|
50 |
-
|
51 |
function confirmECActionBulk( URL, message ) {
|
52 |
if ( confirm(message) )
|
53 |
window.location=URL;
|
54 |
}
|
55 |
-
|
56 |
// script to create a confirmation box for the user upon approving/unapproving a user
|
57 |
function confirmECAction( URL, todo, user_email, actionText ) {
|
58 |
actionText = '<?php _e( 'Do you want to', 'profile-builder' ); ?>' + ' ' + actionText;
|
59 |
-
|
60 |
if (confirm(actionText)) {
|
61 |
-
jQuery.post( ajaxurl , { action:"wppb_handle_email_confirmation_cases", URL:URL, todo:todo, user_email:user_email}, function(response) {
|
62 |
if (jQuery.trim(response) == 'ok')
|
63 |
window.location=URL;
|
64 |
-
|
65 |
else
|
66 |
alert( jQuery.trim(response) );
|
67 |
-
});
|
68 |
}
|
69 |
}
|
70 |
-
</script>
|
71 |
<?php
|
72 |
}
|
73 |
|
@@ -90,27 +90,27 @@ function wppb_get_unconfirmed_email_number(){
|
|
90 |
header( 'Content-type: application/json' );
|
91 |
die( json_encode( array( 'number' => $number_of_users ) ) );
|
92 |
}
|
93 |
-
|
94 |
|
95 |
function wppb_handle_email_confirmation_cases() {
|
96 |
global $wpdb;
|
97 |
|
98 |
$todo = sanitize_text_field($_POST['todo']);
|
99 |
$user_email = sanitize_email($_POST['user_email']);
|
100 |
-
|
101 |
if ( current_user_can( apply_filters( 'wppb_email_confirmation_user_capability', 'manage_options' ) ) )
|
102 |
if ( ( $todo != '' ) && ( $user_email != '' ) ){
|
103 |
|
104 |
$results = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM " . $wpdb->base_prefix . "signups WHERE active = 0 AND user_email = %s", $user_email ) );
|
105 |
-
|
106 |
if ( count( $results ) != 1 )
|
107 |
die( __( "There was an error performing that action!", "profile-builder" ) );
|
108 |
-
|
109 |
elseif ( $todo == 'delete' ){
|
110 |
$sql_result = $wpdb->delete( $wpdb->base_prefix.'signups', array( 'user_login' => $results[0]->user_login, 'user_email' => $results[0]->user_email ) );
|
111 |
if ( $sql_result )
|
112 |
die( 'ok' );
|
113 |
-
|
114 |
else
|
115 |
die( __( "The selected user couldn't be deleted", "profile-builder" ) );
|
116 |
|
@@ -119,13 +119,13 @@ function wppb_handle_email_confirmation_cases() {
|
|
119 |
|
120 |
}elseif ( $todo == 'resend' ){
|
121 |
$sql_result = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM " . $wpdb->base_prefix . "signups WHERE user_login = %s AND user_email = %s", $results[0]->user_login, $results[0]->user_email ), ARRAY_A );
|
122 |
-
|
123 |
if ( $sql_result ){
|
124 |
wppb_signup_user_notification( trim( $sql_result['user_login'] ), trim( $sql_result['user_email'] ), $sql_result['activation_key'], $sql_result['meta'] );
|
125 |
-
|
126 |
die( __( "Email notification resent to user", "profile-builder" ) );
|
127 |
}
|
128 |
-
|
129 |
}
|
130 |
}
|
131 |
|
@@ -136,7 +136,7 @@ function wppb_handle_email_confirmation_cases() {
|
|
136 |
|
137 |
// FUNCTIONS USED BOTH ON THE REGISTRATION PAGE AND THE EMAIL CONFIRMATION TABLE
|
138 |
|
139 |
-
// Hook to add AP user meta after signup autentification
|
140 |
add_action( 'wpmu_activate_user', 'wppb_add_meta_to_user_on_activation', 10, 3 );
|
141 |
|
142 |
//function that adds AP user meta after signup autentification and it is also used when editing the user uprofile
|
@@ -245,7 +245,7 @@ function wppb_add_meta_to_user_on_activation( $user_id, $password, $meta ){
|
|
245 |
}
|
246 |
}
|
247 |
break;
|
248 |
-
}
|
249 |
case 'Avatar':{
|
250 |
if ( isset( $meta[$value['meta-name']] ) ) {
|
251 |
if( !empty( $meta[$value['meta-name']] ) ) {
|
@@ -339,13 +339,13 @@ function wppb_signup_user( $username, $user_email, $meta = '' ) {
|
|
339 |
$wppb_user_registered = current_time( 'mysql', true );
|
340 |
}
|
341 |
|
342 |
-
if ( is_multisite() )
|
343 |
$wpdb->insert( $wpdb->signups, array('domain' => '', 'path' => '', 'title' => '', 'user_login' => $user, 'user_email' => $user_email, 'registered' => $wppb_user_registered, 'activation_key' => $activation_key, 'meta' => $meta ) );
|
344 |
else
|
345 |
$wpdb->insert( $wpdb->prefix.'signups', array('domain' => '', 'path' => '', 'title' => '', 'user_login' => $user, 'user_email' => $user_email, 'registered' => $wppb_user_registered, 'activation_key' => $activation_key, 'meta' => $meta ) );
|
346 |
-
|
347 |
do_action ( 'wppb_signup_user', $username, $user_email, $activation_key, $meta );
|
348 |
-
|
349 |
wppb_signup_user_notification( $username, $user_email, $activation_key, $meta );
|
350 |
}
|
351 |
|
@@ -368,13 +368,13 @@ function wppb_signup_user( $username, $user_email, $meta = '' ) {
|
|
368 |
function wppb_signup_user_notification( $user, $user_email, $activation_key, $meta = '' ) {
|
369 |
if ( !apply_filters( 'wppb_signup_user_notification_filter', $user, $user_email, $activation_key, $meta ) )
|
370 |
return false;
|
371 |
-
|
372 |
-
$wppb_general_settings = get_option( 'wppb_general_settings' );
|
373 |
$admin_email = get_site_option( 'admin_email' );
|
374 |
-
|
375 |
if ( $admin_email == '' )
|
376 |
$admin_email = 'support@' . $_SERVER['SERVER_NAME'];
|
377 |
-
|
378 |
$from_name = apply_filters ( 'wppb_signup_user_notification_email_from_field', get_bloginfo( 'name' ) );
|
379 |
|
380 |
//we don't use this anymore do we ?
|
@@ -387,7 +387,7 @@ function wppb_signup_user_notification( $user, $user_email, $activation_key, $me
|
|
387 |
}
|
388 |
|
389 |
$registration_page_url = apply_filters( 'wppb_ec_landing_page', $registration_page_url, $user, $activation_key, $meta );
|
390 |
-
|
391 |
if ( $registration_page_url == 'not_set' ){
|
392 |
global $post;
|
393 |
if( !empty( $post->ID ) )
|
@@ -402,7 +402,7 @@ function wppb_signup_user_notification( $user, $user_email, $activation_key, $me
|
|
402 |
|
403 |
$registration_page_url = ( ( strpos( $post_content, '[wppb-register' ) !== false ) ? add_query_arg( array( 'activation_key' => $activation_key ), $permalink ) : add_query_arg( array( 'activation_key' => $activation_key ), get_bloginfo( 'url' ) ) );
|
404 |
}
|
405 |
-
|
406 |
$subject = sprintf( __( '[%1$s] Activate %2$s', 'profile-builder'), $from_name, $user );
|
407 |
$subject = apply_filters( 'wppb_signup_user_notification_email_subject', $subject, $user_email, $user, $activation_key, $registration_page_url, $meta, $from_name, 'wppb_user_emailc_registr_w_email_confirm_email_subject' );
|
408 |
|
@@ -412,7 +412,7 @@ function wppb_signup_user_notification( $user, $user_email, $activation_key, $me
|
|
412 |
$message_context = 'email_user_activate';
|
413 |
|
414 |
wppb_mail( $user_email, $subject, $message, $from_name, $message_context );
|
415 |
-
|
416 |
return true;
|
417 |
}
|
418 |
|
@@ -448,13 +448,13 @@ function wppb_manual_activate_signup( $activation_key ) {
|
|
448 |
|
449 |
if ( !$user_id )
|
450 |
return __( 'Could not create user!', 'profile-builder' );
|
451 |
-
|
452 |
elseif ( isset( $user_already_exists ) && ( $user_already_exists == true ) )
|
453 |
return __( 'That username is already activated!', 'profile-builder' );
|
454 |
-
|
455 |
else{
|
456 |
$now = current_time('mysql', true);
|
457 |
-
|
458 |
$retVal = ( is_multisite() ? $wpdb->update( $wpdb->signups, array('active' => 1, 'activated' => $now), array('activation_key' => $activation_key) ) : $wpdb->update( $wpdb->base_prefix.'signups', array('active' => 1, 'activated' => $now), array('activation_key' => $activation_key) ) );
|
459 |
|
460 |
wppb_add_meta_to_user_on_activation( $user_id, '', $meta );
|
@@ -469,9 +469,9 @@ function wppb_manual_activate_signup( $activation_key ) {
|
|
469 |
//This is required so that the APC cached data is updated with the new password. Thanks to @foliovision
|
470 |
wp_cache_delete( $user_id, 'users' );
|
471 |
}
|
472 |
-
|
473 |
wppb_notify_user_registration_email( get_bloginfo( 'name' ), $user_login, $user_email, 'sending', $password, ( wppb_get_admin_approval_option_value() === 'yes' ? 'yes' : 'no' ) );
|
474 |
-
|
475 |
do_action('wppb_activate_user', $user_id, $password, $meta);
|
476 |
return ( $retVal ? 'ok' : __( 'There was an error while trying to activate the user', 'profile-builder' ) );
|
477 |
}
|
@@ -520,10 +520,10 @@ function wppb_notify_user_registration_email( $bloginfo, $user_name, $email, $se
|
|
520 |
|
521 |
//send email to the admin
|
522 |
$message_from = apply_filters( 'wppb_register_from_email_message_admin_email', $bloginfo );
|
523 |
-
|
524 |
$message_subject = '['.$message_from.'] '.__( 'A new subscriber has (been) registered!', 'profile-builder' );
|
525 |
$message_subject = apply_filters ('wppb_register_admin_email_subject_without_admin_approval', $message_subject, $email, $password, $message_from, 'wppb_admin_emailc_default_registration_email_subject' );
|
526 |
-
|
527 |
$message_content = sprintf( __( 'New subscriber on %1$s.<br/><br/>Username:%2$s<br/>E-mail:%3$s<br/>', 'profile-builder'), $message_from, $user_name, $email );
|
528 |
|
529 |
$message_context = 'email_admin_new_subscriber';
|
@@ -569,8 +569,8 @@ function wppb_notify_user_registration_email( $bloginfo, $user_name, $email, $se
|
|
569 |
wppb_mail( $admin_email, $message_subject, $message_content, $message_from, $message_context );
|
570 |
}
|
571 |
|
572 |
-
|
573 |
-
|
574 |
//send an email to the newly registered user, if this option was selected
|
575 |
if ( isset( $send_credentials_via_email ) && ( $send_credentials_via_email == 'sending' ) ){
|
576 |
$user_message_from = apply_filters( 'wppb_register_from_email_message_user_email', $bloginfo );
|
@@ -632,7 +632,7 @@ function wppb_notify_user_registration_email( $bloginfo, $user_name, $email, $se
|
|
632 |
$user_message_content = apply_filters( 'wppb_register_user_email_message_without_admin_approval', $user_message_content, $email, $password, $user_message_subject, 'wppb_user_emailc_default_registration_email_content' );
|
633 |
|
634 |
$message_sent = wppb_mail( $email, $user_message_subject, $user_message_content, $user_message_from, $user_message_context );
|
635 |
-
|
636 |
return ( ( $message_sent ) ? 2 : 1 );
|
637 |
}
|
638 |
}
|
@@ -656,7 +656,7 @@ function wppb_adminApproval_userEmailContent() {
|
|
656 |
|
657 |
|
658 |
// Set up the AJAX hooks
|
659 |
-
add_action( 'wp_ajax_wppb_get_unconfirmed_email_number', 'wppb_get_unconfirmed_email_number' );
|
660 |
add_action( 'wp_ajax_wppb_handle_email_confirmation_cases', 'wppb_handle_email_confirmation_cases' );
|
661 |
|
662 |
|
@@ -687,4 +687,4 @@ function wppb_delete_user_from_signups( $user_id ) {
|
|
687 |
$user = get_user_by( 'id', $user_id );
|
688 |
$wpdb->delete( $wpdb->base_prefix.'signups', array( 'user_email' => $user->user_email ) );
|
689 |
}
|
690 |
-
add_action( 'delete_user', 'wppb_delete_user_from_signups' );
|
5 |
global $wpdb, $wp_queries, $charset_collate;
|
6 |
|
7 |
if ($newVal['emailConfirmation'] == 'yes'){
|
8 |
+
|
9 |
//The database character collate.
|
10 |
$charset_collate = '';
|
11 |
+
|
12 |
if ( ! empty( $wpdb->charset ) )
|
13 |
$charset_collate = "DEFAULT CHARACTER SET ".$wpdb->charset;
|
14 |
if ( ! empty( $wpdb->collate ) )
|
17 |
|
18 |
$sql = "
|
19 |
CREATE TABLE $tableName (
|
20 |
+
domain varchar(191) NOT NULL default '',
|
21 |
path varchar(100) NOT NULL default '',
|
22 |
title longtext NOT NULL,
|
23 |
user_login varchar(60) NOT NULL default '',
|
30 |
KEY activation_key (activation_key),
|
31 |
KEY domain (domain)
|
32 |
) $charset_collate;";
|
33 |
+
|
34 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
35 |
$res = dbDelta($sql);
|
36 |
}
|
41 |
//function to add new tab in the default WP userlisting with all the users who didn't confirm their account yet
|
42 |
function wppb_add_pending_users_header_script(){
|
43 |
?>
|
44 |
+
<script type="text/javascript">
|
45 |
jQuery(document).ready(function() {
|
46 |
jQuery.post( ajaxurl , { action:"wppb_get_unconfirmed_email_number"}, function(response) {
|
47 |
jQuery('.wrap ul.subsubsub').append('<span id="separatorID"> |</span> <li class="listUsersWithUncofirmedEmail"><a class="unconfirmedEmailUsers" href="?page=unconfirmed_emails"><?php _e('Users with Unconfirmed Email Address', 'profile-builder');?></a> <font id="unconfirmedEmailNo" color="grey">('+response.number+')</font></li>');
|
48 |
+
});
|
49 |
});
|
50 |
+
|
51 |
function confirmECActionBulk( URL, message ) {
|
52 |
if ( confirm(message) )
|
53 |
window.location=URL;
|
54 |
}
|
55 |
+
|
56 |
// script to create a confirmation box for the user upon approving/unapproving a user
|
57 |
function confirmECAction( URL, todo, user_email, actionText ) {
|
58 |
actionText = '<?php _e( 'Do you want to', 'profile-builder' ); ?>' + ' ' + actionText;
|
59 |
+
|
60 |
if (confirm(actionText)) {
|
61 |
+
jQuery.post( ajaxurl , { action:"wppb_handle_email_confirmation_cases", URL:URL, todo:todo, user_email:user_email}, function(response) {
|
62 |
if (jQuery.trim(response) == 'ok')
|
63 |
window.location=URL;
|
64 |
+
|
65 |
else
|
66 |
alert( jQuery.trim(response) );
|
67 |
+
});
|
68 |
}
|
69 |
}
|
70 |
+
</script>
|
71 |
<?php
|
72 |
}
|
73 |
|
90 |
header( 'Content-type: application/json' );
|
91 |
die( json_encode( array( 'number' => $number_of_users ) ) );
|
92 |
}
|
93 |
+
|
94 |
|
95 |
function wppb_handle_email_confirmation_cases() {
|
96 |
global $wpdb;
|
97 |
|
98 |
$todo = sanitize_text_field($_POST['todo']);
|
99 |
$user_email = sanitize_email($_POST['user_email']);
|
100 |
+
|
101 |
if ( current_user_can( apply_filters( 'wppb_email_confirmation_user_capability', 'manage_options' ) ) )
|
102 |
if ( ( $todo != '' ) && ( $user_email != '' ) ){
|
103 |
|
104 |
$results = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM " . $wpdb->base_prefix . "signups WHERE active = 0 AND user_email = %s", $user_email ) );
|
105 |
+
|
106 |
if ( count( $results ) != 1 )
|
107 |
die( __( "There was an error performing that action!", "profile-builder" ) );
|
108 |
+
|
109 |
elseif ( $todo == 'delete' ){
|
110 |
$sql_result = $wpdb->delete( $wpdb->base_prefix.'signups', array( 'user_login' => $results[0]->user_login, 'user_email' => $results[0]->user_email ) );
|
111 |
if ( $sql_result )
|
112 |
die( 'ok' );
|
113 |
+
|
114 |
else
|
115 |
die( __( "The selected user couldn't be deleted", "profile-builder" ) );
|
116 |
|
119 |
|
120 |
}elseif ( $todo == 'resend' ){
|
121 |
$sql_result = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM " . $wpdb->base_prefix . "signups WHERE user_login = %s AND user_email = %s", $results[0]->user_login, $results[0]->user_email ), ARRAY_A );
|
122 |
+
|
123 |
if ( $sql_result ){
|
124 |
wppb_signup_user_notification( trim( $sql_result['user_login'] ), trim( $sql_result['user_email'] ), $sql_result['activation_key'], $sql_result['meta'] );
|
125 |
+
|
126 |
die( __( "Email notification resent to user", "profile-builder" ) );
|
127 |
}
|
128 |
+
|
129 |
}
|
130 |
}
|
131 |
|
136 |
|
137 |
// FUNCTIONS USED BOTH ON THE REGISTRATION PAGE AND THE EMAIL CONFIRMATION TABLE
|
138 |
|
139 |
+
// Hook to add AP user meta after signup autentification
|
140 |
add_action( 'wpmu_activate_user', 'wppb_add_meta_to_user_on_activation', 10, 3 );
|
141 |
|
142 |
//function that adds AP user meta after signup autentification and it is also used when editing the user uprofile
|
245 |
}
|
246 |
}
|
247 |
break;
|
248 |
+
}
|
249 |
case 'Avatar':{
|
250 |
if ( isset( $meta[$value['meta-name']] ) ) {
|
251 |
if( !empty( $meta[$value['meta-name']] ) ) {
|
339 |
$wppb_user_registered = current_time( 'mysql', true );
|
340 |
}
|
341 |
|
342 |
+
if ( is_multisite() )
|
343 |
$wpdb->insert( $wpdb->signups, array('domain' => '', 'path' => '', 'title' => '', 'user_login' => $user, 'user_email' => $user_email, 'registered' => $wppb_user_registered, 'activation_key' => $activation_key, 'meta' => $meta ) );
|
344 |
else
|
345 |
$wpdb->insert( $wpdb->prefix.'signups', array('domain' => '', 'path' => '', 'title' => '', 'user_login' => $user, 'user_email' => $user_email, 'registered' => $wppb_user_registered, 'activation_key' => $activation_key, 'meta' => $meta ) );
|
346 |
+
|
347 |
do_action ( 'wppb_signup_user', $username, $user_email, $activation_key, $meta );
|
348 |
+
|
349 |
wppb_signup_user_notification( $username, $user_email, $activation_key, $meta );
|
350 |
}
|
351 |
|
368 |
function wppb_signup_user_notification( $user, $user_email, $activation_key, $meta = '' ) {
|
369 |
if ( !apply_filters( 'wppb_signup_user_notification_filter', $user, $user_email, $activation_key, $meta ) )
|
370 |
return false;
|
371 |
+
|
372 |
+
$wppb_general_settings = get_option( 'wppb_general_settings' );
|
373 |
$admin_email = get_site_option( 'admin_email' );
|
374 |
+
|
375 |
if ( $admin_email == '' )
|
376 |
$admin_email = 'support@' . $_SERVER['SERVER_NAME'];
|
377 |
+
|
378 |
$from_name = apply_filters ( 'wppb_signup_user_notification_email_from_field', get_bloginfo( 'name' ) );
|
379 |
|
380 |
//we don't use this anymore do we ?
|
387 |
}
|
388 |
|
389 |
$registration_page_url = apply_filters( 'wppb_ec_landing_page', $registration_page_url, $user, $activation_key, $meta );
|
390 |
+
|
391 |
if ( $registration_page_url == 'not_set' ){
|
392 |
global $post;
|
393 |
if( !empty( $post->ID ) )
|
402 |
|
403 |
$registration_page_url = ( ( strpos( $post_content, '[wppb-register' ) !== false ) ? add_query_arg( array( 'activation_key' => $activation_key ), $permalink ) : add_query_arg( array( 'activation_key' => $activation_key ), get_bloginfo( 'url' ) ) );
|
404 |
}
|
405 |
+
|
406 |
$subject = sprintf( __( '[%1$s] Activate %2$s', 'profile-builder'), $from_name, $user );
|
407 |
$subject = apply_filters( 'wppb_signup_user_notification_email_subject', $subject, $user_email, $user, $activation_key, $registration_page_url, $meta, $from_name, 'wppb_user_emailc_registr_w_email_confirm_email_subject' );
|
408 |
|
412 |
$message_context = 'email_user_activate';
|
413 |
|
414 |
wppb_mail( $user_email, $subject, $message, $from_name, $message_context );
|
415 |
+
|
416 |
return true;
|
417 |
}
|
418 |
|
448 |
|
449 |
if ( !$user_id )
|
450 |
return __( 'Could not create user!', 'profile-builder' );
|
451 |
+
|
452 |
elseif ( isset( $user_already_exists ) && ( $user_already_exists == true ) )
|
453 |
return __( 'That username is already activated!', 'profile-builder' );
|
454 |
+
|
455 |
else{
|
456 |
$now = current_time('mysql', true);
|
457 |
+
|
458 |
$retVal = ( is_multisite() ? $wpdb->update( $wpdb->signups, array('active' => 1, 'activated' => $now), array('activation_key' => $activation_key) ) : $wpdb->update( $wpdb->base_prefix.'signups', array('active' => 1, 'activated' => $now), array('activation_key' => $activation_key) ) );
|
459 |
|
460 |
wppb_add_meta_to_user_on_activation( $user_id, '', $meta );
|
469 |
//This is required so that the APC cached data is updated with the new password. Thanks to @foliovision
|
470 |
wp_cache_delete( $user_id, 'users' );
|
471 |
}
|
472 |
+
|
473 |
wppb_notify_user_registration_email( get_bloginfo( 'name' ), $user_login, $user_email, 'sending', $password, ( wppb_get_admin_approval_option_value() === 'yes' ? 'yes' : 'no' ) );
|
474 |
+
|
475 |
do_action('wppb_activate_user', $user_id, $password, $meta);
|
476 |
return ( $retVal ? 'ok' : __( 'There was an error while trying to activate the user', 'profile-builder' ) );
|
477 |
}
|
520 |
|
521 |
//send email to the admin
|
522 |
$message_from = apply_filters( 'wppb_register_from_email_message_admin_email', $bloginfo );
|
523 |
+
|
524 |
$message_subject = '['.$message_from.'] '.__( 'A new subscriber has (been) registered!', 'profile-builder' );
|
525 |
$message_subject = apply_filters ('wppb_register_admin_email_subject_without_admin_approval', $message_subject, $email, $password, $message_from, 'wppb_admin_emailc_default_registration_email_subject' );
|
526 |
+
|
527 |
$message_content = sprintf( __( 'New subscriber on %1$s.<br/><br/>Username:%2$s<br/>E-mail:%3$s<br/>', 'profile-builder'), $message_from, $user_name, $email );
|
528 |
|
529 |
$message_context = 'email_admin_new_subscriber';
|
569 |
wppb_mail( $admin_email, $message_subject, $message_content, $message_from, $message_context );
|
570 |
}
|
571 |
|
572 |
+
|
573 |
+
|
574 |
//send an email to the newly registered user, if this option was selected
|
575 |
if ( isset( $send_credentials_via_email ) && ( $send_credentials_via_email == 'sending' ) ){
|
576 |
$user_message_from = apply_filters( 'wppb_register_from_email_message_user_email', $bloginfo );
|
632 |
$user_message_content = apply_filters( 'wppb_register_user_email_message_without_admin_approval', $user_message_content, $email, $password, $user_message_subject, 'wppb_user_emailc_default_registration_email_content' );
|
633 |
|
634 |
$message_sent = wppb_mail( $email, $user_message_subject, $user_message_content, $user_message_from, $user_message_context );
|
635 |
+
|
636 |
return ( ( $message_sent ) ? 2 : 1 );
|
637 |
}
|
638 |
}
|
656 |
|
657 |
|
658 |
// Set up the AJAX hooks
|
659 |
+
add_action( 'wp_ajax_wppb_get_unconfirmed_email_number', 'wppb_get_unconfirmed_email_number' );
|
660 |
add_action( 'wp_ajax_wppb_handle_email_confirmation_cases', 'wppb_handle_email_confirmation_cases' );
|
661 |
|
662 |
|
687 |
$user = get_user_by( 'id', $user_id );
|
688 |
$wpdb->delete( $wpdb->base_prefix.'signups', array( 'user_email' => $user->user_email ) );
|
689 |
}
|
690 |
+
add_action( 'delete_user', 'wppb_delete_user_from_signups' );
|
front-end/default-fields/website/website.php
CHANGED
@@ -22,7 +22,7 @@ function wppb_website_handler( $output, $form_location, $field, $user_id, $field
|
|
22 |
|
23 |
$output = '
|
24 |
<label for="website">'.$item_title.$error_mark.'</label>
|
25 |
-
<input class="text-input default_field_website '. apply_filters( 'wppb_fields_extra_css_class', '', $field ) .'" name="website" maxlength="'. apply_filters( 'wppb_maximum_character_length', 70 ) .'" type="text" id="website" value="'.esc_url( wp_unslash( $input_value ) ).'" '. $extra_attr .'/>';
|
26 |
if( !empty( $item_description ) )
|
27 |
$output .= '<span class="wppb-description-delimiter">'. $item_description .'</span>';
|
28 |
|
22 |
|
23 |
$output = '
|
24 |
<label for="website">'.$item_title.$error_mark.'</label>
|
25 |
+
<input class="text-input default_field_website '. apply_filters( 'wppb_fields_extra_css_class', '', $field ) .'" name="website" maxlength="'. apply_filters( 'wppb_maximum_character_length', 70, $field ) .'" type="text" id="website" value="'.esc_url( wp_unslash( $input_value ) ).'" '. $extra_attr .'/>';
|
26 |
if( !empty( $item_description ) )
|
27 |
$output .= '<span class="wppb-description-delimiter">'. $item_description .'</span>';
|
28 |
|
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: 3.1.
|
7 |
Author: Cozmoslabs
|
8 |
Author URI: https://www.cozmoslabs.com/
|
9 |
Text Domain: profile-builder
|
@@ -63,7 +63,7 @@ function wppb_free_plugin_init() {
|
|
63 |
*
|
64 |
*
|
65 |
*/
|
66 |
-
define('PROFILE_BUILDER_VERSION', '3.1.
|
67 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
68 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
69 |
define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
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: 3.1.7
|
7 |
Author: Cozmoslabs
|
8 |
Author URI: https://www.cozmoslabs.com/
|
9 |
Text Domain: profile-builder
|
63 |
*
|
64 |
*
|
65 |
*/
|
66 |
+
define('PROFILE_BUILDER_VERSION', '3.1.7' );
|
67 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
68 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
69 |
define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: cozmoslabs, reflectionmedia, sareiodata, adispiac, madalin.ungurea
|
|
3 |
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, profile
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 5.4.
|
7 |
-
Stable tag: 3.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -169,6 +169,10 @@ This plugin adds/removes user fields in the front-end. Both default and extra pr
|
|
169 |
12. Role Editor
|
170 |
|
171 |
== Changelog ==
|
|
|
|
|
|
|
|
|
172 |
= 3.1.6 =
|
173 |
* Fixed an issue with default value for Biographical Info Field
|
174 |
* Fixed a notice on register forms when the form did not pass a required check
|
3 |
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, profile
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 5.4.1
|
7 |
+
Stable tag: 3.1.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
169 |
12. Role Editor
|
170 |
|
171 |
== Changelog ==
|
172 |
+
= 3.1.7 =
|
173 |
+
* Added support for Max character length addon for default website field
|
174 |
+
* Fixed possible issues with Email Confirmation on some domains
|
175 |
+
|
176 |
= 3.1.6 =
|
177 |
* Fixed an issue with default value for Biographical Info Field
|
178 |
* Fixed a notice on register forms when the form did not pass a required check
|
translation/profile-builder.catalog.php
CHANGED
@@ -1066,8 +1066,8 @@
|
|
1066 |
<?php __("You must enter a value for the row number\n", "profile-builder"); ?>
|
1067 |
<?php __("You must enter the site key\n", "profile-builder"); ?>
|
1068 |
<?php __("You must enter the secret key\n", "profile-builder"); ?>
|
1069 |
-
<?php __("The entered value for the Datepicker is not a valid date-format\n", "profile-builder"); ?>
|
1070 |
<?php __("You must enter a value for the date-format\n", "profile-builder"); ?>
|
|
|
1071 |
<?php __("The meta-name cannot be empty\n", "profile-builder"); ?>
|
1072 |
<?php __("That meta-name can't be used, please choose another\n", "profile-builder"); ?>
|
1073 |
<?php __("That meta-name is already in use\n", "profile-builder"); ?>
|
@@ -1252,6 +1252,8 @@
|
|
1252 |
<?php __("Hide Repeater Fields from the back-end profile page", "profile-builder"); ?>
|
1253 |
<?php __("Repeater Fields from Profile Builder do not work on the back-end user profile page, they are just displayed. If you want to remove them completely, you can use this option.", "profile-builder"); ?>
|
1254 |
<?php __("You will still be able to use them from a front-end edit profile form.", "profile-builder"); ?>
|
|
|
|
|
1255 |
<?php __("Update database entries when changing meta key", "profile-builder"); ?>
|
1256 |
<?php __("If you activate this option, when changing the meta key of a field, existing entries from the database will be updated as well.", "profile-builder"); ?>
|
1257 |
<?php __("Allow or deny email domains from registering", "profile-builder"); ?>
|
1066 |
<?php __("You must enter a value for the row number\n", "profile-builder"); ?>
|
1067 |
<?php __("You must enter the site key\n", "profile-builder"); ?>
|
1068 |
<?php __("You must enter the secret key\n", "profile-builder"); ?>
|
|
|
1069 |
<?php __("You must enter a value for the date-format\n", "profile-builder"); ?>
|
1070 |
+
<?php __("The entered value for the Datepicker is not a valid date-format\n", "profile-builder"); ?>
|
1071 |
<?php __("The meta-name cannot be empty\n", "profile-builder"); ?>
|
1072 |
<?php __("That meta-name can't be used, please choose another\n", "profile-builder"); ?>
|
1073 |
<?php __("That meta-name is already in use\n", "profile-builder"); ?>
|
1252 |
<?php __("Hide Repeater Fields from the back-end profile page", "profile-builder"); ?>
|
1253 |
<?php __("Repeater Fields from Profile Builder do not work on the back-end user profile page, they are just displayed. If you want to remove them completely, you can use this option.", "profile-builder"); ?>
|
1254 |
<?php __("You will still be able to use them from a front-end edit profile form.", "profile-builder"); ?>
|
1255 |
+
<?php __("Remove All Extra Fields from Backend edit profile page.", "profile-builder"); ?>
|
1256 |
+
<?php __("If you activate this option, it will remove all custom fields from the backend profile page created with Profile Builder.", "profile-builder"); ?>
|
1257 |
<?php __("Update database entries when changing meta key", "profile-builder"); ?>
|
1258 |
<?php __("If you activate this option, when changing the meta key of a field, existing entries from the database will be updated as well.", "profile-builder"); ?>
|
1259 |
<?php __("Allow or deny email domains from registering", "profile-builder"); ?>
|
translation/profile-builder.pot
CHANGED
@@ -453,11 +453,11 @@ msgstr ""
|
|
453 |
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>"
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: ../pb-add-on-field-visibility/index.php:235, ../pb-add-on-labels-edit/pble.php:381, admin/manage-fields.php:
|
457 |
msgid "Edit"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: ../pb-add-on-field-visibility/index.php:235, admin/manage-fields.php:
|
461 |
msgid "Delete"
|
462 |
msgstr ""
|
463 |
|
@@ -683,7 +683,7 @@ msgstr ""
|
|
683 |
msgid "Replace labels with placeholders:"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: ../pb-add-on-placeholder-labels/pbpl.php:171, ../pb-add-on-social-connect/index.php:324, admin/general-settings.php:113, admin/general-settings.php:126, admin/general-settings.php:175, admin/general-settings.php:222, admin/general-settings.php:296, admin/private-website.php:60, admin/private-website.php:117, ../pb-add-on-customization-toolbox/includes/views/view-admin.php:18, ../pb-add-on-customization-toolbox/includes/views/view-admin.php:34, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:18, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:66, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:181, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:197, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:217, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:240, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:261, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:132, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:149, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:164, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:184, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:201, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:239, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:260, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:280, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:302, ../pb-add-on-customization-toolbox/includes/views/view-shortcodes.php:16, ../pb-add-on-customization-toolbox/includes/views/view-shortcodes.php:32, ../pb-add-on-customization-toolbox/includes/views/view-shortcodes.php:48, ../pb-add-on-customization-toolbox/includes/views/view-shortcodes.php:64, ../pb-add-on-customization-toolbox/includes/views/view-userlisting.php:53, ../pb-add-on-customization-toolbox/includes/views/view-userlisting.php:75, features/content-restriction/content-restriction.php:88, modules/multiple-forms/edit-profile-forms.php:206, modules/multiple-forms/register-forms.php:229, modules/multiple-forms/register-forms.php:230, modules/user-listing/userlisting.php:2394
|
687 |
msgid "Yes"
|
688 |
msgstr ""
|
689 |
|
@@ -4257,7 +4257,7 @@ msgstr ""
|
|
4257 |
msgid "Zimbabwe Dollar"
|
4258 |
msgstr ""
|
4259 |
|
4260 |
-
#: admin/manage-fields.php:1098, admin/manage-fields.php:
|
4261 |
msgid ""
|
4262 |
"You must select a field\n"
|
4263 |
""
|
@@ -4305,83 +4305,83 @@ msgid ""
|
|
4305 |
""
|
4306 |
msgstr ""
|
4307 |
|
4308 |
-
#: admin/manage-fields.php:
|
4309 |
msgid ""
|
4310 |
-
"
|
4311 |
""
|
4312 |
msgstr ""
|
4313 |
|
4314 |
-
#: admin/manage-fields.php:
|
4315 |
msgid ""
|
4316 |
-
"
|
4317 |
""
|
4318 |
msgstr ""
|
4319 |
|
4320 |
-
#: admin/manage-fields.php:
|
4321 |
msgid ""
|
4322 |
"The meta-name cannot be empty\n"
|
4323 |
""
|
4324 |
msgstr ""
|
4325 |
|
4326 |
-
#: admin/manage-fields.php:
|
4327 |
msgid ""
|
4328 |
"That meta-name can't be used, please choose another\n"
|
4329 |
""
|
4330 |
msgstr ""
|
4331 |
|
4332 |
-
#: admin/manage-fields.php:
|
4333 |
msgid ""
|
4334 |
"That meta-name is already in use\n"
|
4335 |
""
|
4336 |
msgstr ""
|
4337 |
|
4338 |
-
#: admin/manage-fields.php:
|
4339 |
msgid ""
|
4340 |
"The meta-name can only contain lowercase letters, numbers, _ , - and no spaces.\n"
|
4341 |
""
|
4342 |
msgstr ""
|
4343 |
|
4344 |
-
#: admin/manage-fields.php:
|
4345 |
msgid ""
|
4346 |
"The following option(s) did not coincide with the ones in the options list: %s\n"
|
4347 |
""
|
4348 |
msgstr ""
|
4349 |
|
4350 |
-
#: admin/manage-fields.php:
|
4351 |
msgid ""
|
4352 |
"The following option did not coincide with the ones in the options list: %s\n"
|
4353 |
""
|
4354 |
msgstr ""
|
4355 |
|
4356 |
-
#: admin/manage-fields.php:
|
4357 |
msgid ""
|
4358 |
"Please select at least one user role\n"
|
4359 |
""
|
4360 |
msgstr ""
|
4361 |
|
4362 |
-
#: admin/manage-fields.php:
|
4363 |
msgid ""
|
4364 |
"That field is already added in this form\n"
|
4365 |
""
|
4366 |
msgstr ""
|
4367 |
|
4368 |
-
#: admin/manage-fields.php:
|
4369 |
msgid "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-required\">Required</pre>"
|
4370 |
msgstr ""
|
4371 |
|
4372 |
-
#: admin/manage-fields.php:
|
4373 |
msgid "Use these shortcodes on the pages you want the forms to be displayed:"
|
4374 |
msgstr ""
|
4375 |
|
4376 |
-
#: admin/manage-fields.php:
|
4377 |
msgid "If you're interested in displaying different fields in the registration and edit profile forms, please use the Multiple Registration & Edit Profile Forms Modules."
|
4378 |
msgstr ""
|
4379 |
|
4380 |
-
#: admin/manage-fields.php:
|
4381 |
msgid "With Profile Builder Pro you can display different fields in the registration and edit profile forms, using the Multiple Registration & Edit Profile Forms module."
|
4382 |
msgstr ""
|
4383 |
|
4384 |
-
#: admin/manage-fields.php:
|
4385 |
msgid "Search Location"
|
4386 |
msgstr ""
|
4387 |
|
@@ -4497,7 +4497,7 @@ msgstr ""
|
|
4497 |
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."
|
4498 |
msgstr ""
|
4499 |
|
4500 |
-
#: admin/private-website.php:129, features/functions.php:851, ../pb-add-on-customization-toolbox/includes/views/view-admin.php:47, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:
|
4501 |
msgid "Save Changes"
|
4502 |
msgstr ""
|
4503 |
|
@@ -5070,10 +5070,18 @@ msgid "You will still be able to use them from a front-end edit profile form."
|
|
5070 |
msgstr ""
|
5071 |
|
5072 |
#: ../pb-add-on-customization-toolbox/includes/views/view-fields.php:257
|
5073 |
-
msgid "
|
5074 |
msgstr ""
|
5075 |
|
5076 |
#: ../pb-add-on-customization-toolbox/includes/views/view-fields.php:266
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5077 |
msgid "If you activate this option, when changing the meta key of a field, existing entries from the database will be updated as well."
|
5078 |
msgstr ""
|
5079 |
|
453 |
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>"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: ../pb-add-on-field-visibility/index.php:235, ../pb-add-on-labels-edit/pble.php:381, admin/manage-fields.php:1318, features/functions.php:872, features/functions.php:879, features/admin-approval/class-admin-approval.php:108, features/roles-editor/roles-editor.php:866, modules/custom-redirects/custom_redirects_admin.php:183, modules/custom-redirects/custom_redirects_admin.php:197, modules/custom-redirects/custom_redirects_admin.php:211, modules/custom-redirects/custom_redirects_admin.php:225, modules/multiple-forms/multiple-forms.php:406
|
457 |
msgid "Edit"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: ../pb-add-on-field-visibility/index.php:235, admin/manage-fields.php:1318, features/functions.php:865, features/functions.php:879, features/admin-approval/class-admin-approval.php:113, features/email-confirmation/class-email-confirmation.php:121, features/email-confirmation/class-email-confirmation.php:218, features/roles-editor/roles-editor.php:179, features/roles-editor/roles-editor.php:884, features/roles-editor/roles-editor.php:893, features/roles-editor/roles-editor.php:904, modules/custom-redirects/custom_redirects_admin.php:183, modules/custom-redirects/custom_redirects_admin.php:197, modules/custom-redirects/custom_redirects_admin.php:211, modules/custom-redirects/custom_redirects_admin.php:225, front-end/default-fields/gdpr-delete/gdpr-delete.php:18
|
461 |
msgid "Delete"
|
462 |
msgstr ""
|
463 |
|
683 |
msgid "Replace labels with placeholders:"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: ../pb-add-on-placeholder-labels/pbpl.php:171, ../pb-add-on-social-connect/index.php:324, admin/general-settings.php:113, admin/general-settings.php:126, admin/general-settings.php:175, admin/general-settings.php:222, admin/general-settings.php:296, admin/private-website.php:60, admin/private-website.php:117, ../pb-add-on-customization-toolbox/includes/views/view-admin.php:18, ../pb-add-on-customization-toolbox/includes/views/view-admin.php:34, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:18, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:66, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:181, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:197, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:217, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:240, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:261, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:279, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:132, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:149, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:164, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:184, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:201, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:239, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:260, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:280, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:302, ../pb-add-on-customization-toolbox/includes/views/view-shortcodes.php:16, ../pb-add-on-customization-toolbox/includes/views/view-shortcodes.php:32, ../pb-add-on-customization-toolbox/includes/views/view-shortcodes.php:48, ../pb-add-on-customization-toolbox/includes/views/view-shortcodes.php:64, ../pb-add-on-customization-toolbox/includes/views/view-userlisting.php:53, ../pb-add-on-customization-toolbox/includes/views/view-userlisting.php:75, features/content-restriction/content-restriction.php:88, modules/multiple-forms/edit-profile-forms.php:206, modules/multiple-forms/register-forms.php:229, modules/multiple-forms/register-forms.php:230, modules/user-listing/userlisting.php:2394
|
687 |
msgid "Yes"
|
688 |
msgstr ""
|
689 |
|
4257 |
msgid "Zimbabwe Dollar"
|
4258 |
msgstr ""
|
4259 |
|
4260 |
+
#: admin/manage-fields.php:1098, admin/manage-fields.php:1260
|
4261 |
msgid ""
|
4262 |
"You must select a field\n"
|
4263 |
""
|
4305 |
""
|
4306 |
msgstr ""
|
4307 |
|
4308 |
+
#: admin/manage-fields.php:1151
|
4309 |
msgid ""
|
4310 |
+
"You must enter a value for the date-format\n"
|
4311 |
""
|
4312 |
msgstr ""
|
4313 |
|
4314 |
+
#: admin/manage-fields.php:1165
|
4315 |
msgid ""
|
4316 |
+
"The entered value for the Datepicker is not a valid date-format\n"
|
4317 |
""
|
4318 |
msgstr ""
|
4319 |
|
4320 |
+
#: admin/manage-fields.php:1184
|
4321 |
msgid ""
|
4322 |
"The meta-name cannot be empty\n"
|
4323 |
""
|
4324 |
msgstr ""
|
4325 |
|
4326 |
+
#: admin/manage-fields.php:1190
|
4327 |
msgid ""
|
4328 |
"That meta-name can't be used, please choose another\n"
|
4329 |
""
|
4330 |
msgstr ""
|
4331 |
|
4332 |
+
#: admin/manage-fields.php:1198, admin/manage-fields.php:1209
|
4333 |
msgid ""
|
4334 |
"That meta-name is already in use\n"
|
4335 |
""
|
4336 |
msgstr ""
|
4337 |
|
4338 |
+
#: admin/manage-fields.php:1220
|
4339 |
msgid ""
|
4340 |
"The meta-name can only contain lowercase letters, numbers, _ , - and no spaces.\n"
|
4341 |
""
|
4342 |
msgstr ""
|
4343 |
|
4344 |
+
#: admin/manage-fields.php:1240
|
4345 |
msgid ""
|
4346 |
"The following option(s) did not coincide with the ones in the options list: %s\n"
|
4347 |
""
|
4348 |
msgstr ""
|
4349 |
|
4350 |
+
#: admin/manage-fields.php:1244
|
4351 |
msgid ""
|
4352 |
"The following option did not coincide with the ones in the options list: %s\n"
|
4353 |
""
|
4354 |
msgstr ""
|
4355 |
|
4356 |
+
#: admin/manage-fields.php:1251
|
4357 |
msgid ""
|
4358 |
"Please select at least one user role\n"
|
4359 |
""
|
4360 |
msgstr ""
|
4361 |
|
4362 |
+
#: admin/manage-fields.php:1267
|
4363 |
msgid ""
|
4364 |
"That field is already added in this form\n"
|
4365 |
""
|
4366 |
msgstr ""
|
4367 |
|
4368 |
+
#: admin/manage-fields.php:1318
|
4369 |
msgid "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-required\">Required</pre>"
|
4370 |
msgstr ""
|
4371 |
|
4372 |
+
#: admin/manage-fields.php:1333
|
4373 |
msgid "Use these shortcodes on the pages you want the forms to be displayed:"
|
4374 |
msgstr ""
|
4375 |
|
4376 |
+
#: admin/manage-fields.php:1342
|
4377 |
msgid "If you're interested in displaying different fields in the registration and edit profile forms, please use the Multiple Registration & Edit Profile Forms Modules."
|
4378 |
msgstr ""
|
4379 |
|
4380 |
+
#: admin/manage-fields.php:1344
|
4381 |
msgid "With Profile Builder Pro you can display different fields in the registration and edit profile forms, using the Multiple Registration & Edit Profile Forms module."
|
4382 |
msgstr ""
|
4383 |
|
4384 |
+
#: admin/manage-fields.php:1441
|
4385 |
msgid "Search Location"
|
4386 |
msgstr ""
|
4387 |
|
4497 |
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."
|
4498 |
msgstr ""
|
4499 |
|
4500 |
+
#: admin/private-website.php:129, features/functions.php:851, ../pb-add-on-customization-toolbox/includes/views/view-admin.php:47, ../pb-add-on-customization-toolbox/includes/views/view-fields.php:293, ../pb-add-on-customization-toolbox/includes/views/view-forms.php:321, ../pb-add-on-customization-toolbox/includes/views/view-shortcodes.php:77, ../pb-add-on-customization-toolbox/includes/views/view-userlisting.php:91, features/content-restriction/content-restriction.php:161, modules/class-mustache-templates/class-mustache-templates.php:390, ../pb-add-on-labels-edit/assets/lib/wck-api/wordpress-creation-kit.php:402, assets/lib/wck-api/wordpress-creation-kit.php:405
|
4501 |
msgid "Save Changes"
|
4502 |
msgstr ""
|
4503 |
|
5070 |
msgstr ""
|
5071 |
|
5072 |
#: ../pb-add-on-customization-toolbox/includes/views/view-fields.php:257
|
5073 |
+
msgid "Remove All Extra Fields from Backend edit profile page."
|
5074 |
msgstr ""
|
5075 |
|
5076 |
#: ../pb-add-on-customization-toolbox/includes/views/view-fields.php:266
|
5077 |
+
msgid "If you activate this option, it will remove all custom fields from the backend profile page created with Profile Builder."
|
5078 |
+
msgstr ""
|
5079 |
+
|
5080 |
+
#: ../pb-add-on-customization-toolbox/includes/views/view-fields.php:275
|
5081 |
+
msgid "Update database entries when changing meta key"
|
5082 |
+
msgstr ""
|
5083 |
+
|
5084 |
+
#: ../pb-add-on-customization-toolbox/includes/views/view-fields.php:284
|
5085 |
msgid "If you activate this option, when changing the meta key of a field, existing entries from the database will be updated as well."
|
5086 |
msgstr ""
|
5087 |
|