Version Description
- Feature: Added Gutenberg Blocks for Register, Edit Profile, Login and Recover Password forms
- Fix: issue with Email Customizer not changing all emails in some cases
- Fix: incompatibility issue between Select2 and newer block themes
- Fix: some notices appearing in some cases
- Fix: issue between invisible reCaptcha and Paid Member Subscriptions Plans being present in the form
- Misc: added links to documentation on settings pages
- Misc: added a filter that can disable HTML in Emails sent by the plugin
wppb_mail_enable_html
Download this release
Release Info
Developer | raster02 |
Plugin | User registration & user profile – Profile Builder |
Version | 3.8.3 |
Comparing to | |
See all releases |
Code changes from version 3.8.2 to 3.8.3
- add-ons-free/import-export/import-export.php +1 -0
- admin/admin-bar.php +4 -1
- admin/advanced-settings/advanced-settings.php +4 -1
- admin/basic-info.php +1 -1
- admin/general-settings.php +5 -2
- admin/private-website.php +4 -1
- admin/register-version.php +4 -1
- assets/css/style-back-end.css +51 -1
- assets/js/jquery-pb-sitewide.js +68 -0
- assets/lib/wck-api/wordpress-creation-kit.php +5 -1
- assets/misc/elementor/widgets/class-pb-widget-base.php +2 -7
- assets/misc/gutenberg-blocks/assets/css/gutenberg-blocks.css +7 -0
- assets/misc/gutenberg-blocks/edit-profile.php +558 -0
- assets/misc/gutenberg-blocks/login.php +458 -0
- assets/misc/gutenberg-blocks/manage-blocks.php +65 -0
- assets/misc/gutenberg-blocks/recover-password.php +192 -0
- assets/misc/gutenberg-blocks/register.php +672 -0
- assets/misc/gutenberg-blocks/user-listing.php +839 -0
- features/content-restriction/content-restriction.php +4 -1
- features/email-confirmation/email-confirmation.php +1 -1
- features/email-customizer/email-customizer.php +32 -44
- features/functions.php +31 -1
- front-end/class-formbuilder.php +20 -19
- front-end/default-fields/recaptcha/recaptcha.php +2 -2
- front-end/login.php +2 -2
- front-end/recover.php +4 -2
- index.php +6 -2
- readme.txt +10 -1
- translation/profile-builder.catalog.php +11 -2
- translation/profile-builder.pot +271 -235
add-ons-free/import-export/import-export.php
CHANGED
@@ -46,6 +46,7 @@ function wppb_pbie_page() {
|
|
46 |
<?php
|
47 |
echo '<h2>';
|
48 |
esc_html_e( 'Import and Export', 'profile-builder' );
|
|
|
49 |
echo '</h2>';
|
50 |
|
51 |
if( isset ( $_GET['tab'] ) ) wppb_pbie_tabs( sanitize_text_field( $_GET['tab'] ) );
|
46 |
<?php
|
47 |
echo '<h2>';
|
48 |
esc_html_e( 'Import and Export', 'profile-builder' );
|
49 |
+
echo '<a href="https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/import-export-pb-settings/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px;"></a>';
|
50 |
echo '</h2>';
|
51 |
|
52 |
if( isset ( $_GET['tab'] ) ) wppb_pbie_tabs( sanitize_text_field( $_GET['tab'] ) );
|
admin/admin-bar.php
CHANGED
@@ -45,7 +45,10 @@ function wppb_show_hide_admin_bar_content() {
|
|
45 |
|
46 |
<div class="wrap wppb-wrap wppb-admin-bar">
|
47 |
|
48 |
-
<h2
|
|
|
|
|
|
|
49 |
|
50 |
<?php settings_errors(); ?>
|
51 |
|
45 |
|
46 |
<div class="wrap wppb-wrap wppb-admin-bar">
|
47 |
|
48 |
+
<h2>
|
49 |
+
<?php esc_html_e( 'Admin Bar Settings', 'profile-builder' );?>
|
50 |
+
<a href="https://www.cozmoslabs.com/docs/profile-builder-2/admin-bar-settings/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>
|
51 |
+
</h2>
|
52 |
|
53 |
<?php settings_errors(); ?>
|
54 |
|
admin/advanced-settings/advanced-settings.php
CHANGED
@@ -45,7 +45,10 @@ if( !class_exists('WPPB_toolbox') ){
|
|
45 |
$this->active_tab = sanitize_text_field( $_GET['tab'] );
|
46 |
?>
|
47 |
<div class="wrap wppb-wrap wppb-toolbox-wrap">
|
48 |
-
<h2
|
|
|
|
|
|
|
49 |
|
50 |
<?php settings_errors(); ?>
|
51 |
|
45 |
$this->active_tab = sanitize_text_field( $_GET['tab'] );
|
46 |
?>
|
47 |
<div class="wrap wppb-wrap wppb-toolbox-wrap">
|
48 |
+
<h2>
|
49 |
+
<?php esc_html_e( 'Advanced Settings', 'profile-builder'); ?>
|
50 |
+
<a href="https://www.cozmoslabs.com/docs/profile-builder-2/general-settings/advanced-settings/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>
|
51 |
+
</h2>
|
52 |
|
53 |
<?php settings_errors(); ?>
|
54 |
|
admin/basic-info.php
CHANGED
@@ -134,7 +134,7 @@ function wppb_basic_info_content() {
|
|
134 |
|
135 |
<ul style="float: left;">
|
136 |
<li><?php esc_html_e( 'Map', 'profile-builder' ); ?></li>
|
137 |
-
<li><?php esc_html_e( 'Select 2 Multiple', 'profile-builder' ); ?></li>
|
138 |
<li><?php esc_html_e( 'Phone', 'profile-builder' ); ?></li>
|
139 |
<li><?php esc_html_e( 'Hidden Input', 'profile-builder' ); ?></li>
|
140 |
<li><?php esc_html_e( 'Number', 'profile-builder' ); ?></li>
|
134 |
|
135 |
<ul style="float: left;">
|
136 |
<li><?php esc_html_e( 'Map', 'profile-builder' ); ?></li>
|
137 |
+
<li><?php esc_html_e( 'Select 2 (Multiple)', 'profile-builder' ); ?></li>
|
138 |
<li><?php esc_html_e( 'Phone', 'profile-builder' ); ?></li>
|
139 |
<li><?php esc_html_e( 'Hidden Input', 'profile-builder' ); ?></li>
|
140 |
<li><?php esc_html_e( 'Number', 'profile-builder' ); ?></li>
|
admin/general-settings.php
CHANGED
@@ -138,7 +138,10 @@ function wppb_general_settings_content() {
|
|
138 |
wppb_generate_default_settings_defaults();
|
139 |
?>
|
140 |
<div class="wrap wppb-wrap">
|
141 |
-
<h2
|
|
|
|
|
|
|
142 |
|
143 |
<?php settings_errors(); ?>
|
144 |
|
@@ -364,7 +367,7 @@ function wppb_general_settings_content() {
|
|
364 |
|
365 |
foreach ( $pages as $key => $value ){
|
366 |
echo '<option value="'.esc_attr( $value->guid ).'"';
|
367 |
-
if ( $wppb_generalSettings['lost_password_page'] == $value->guid )
|
368 |
echo ' selected';
|
369 |
|
370 |
echo '>' . esc_html( $value->post_title ) . '</option>';
|
138 |
wppb_generate_default_settings_defaults();
|
139 |
?>
|
140 |
<div class="wrap wppb-wrap">
|
141 |
+
<h2>
|
142 |
+
<?php esc_html_e( 'Profile Builder Settings', 'profile-builder' ); ?>
|
143 |
+
<a href="https://www.cozmoslabs.com/docs/profile-builder-2/general-settings/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>
|
144 |
+
</h2>
|
145 |
|
146 |
<?php settings_errors(); ?>
|
147 |
|
367 |
|
368 |
foreach ( $pages as $key => $value ){
|
369 |
echo '<option value="'.esc_attr( $value->guid ).'"';
|
370 |
+
if ( isset( $wppb_generalSettings['lost_password_page'] ) && $wppb_generalSettings['lost_password_page'] == $value->guid )
|
371 |
echo ' selected';
|
372 |
|
373 |
echo '>' . esc_html( $value->post_title ) . '</option>';
|
admin/private-website.php
CHANGED
@@ -50,7 +50,10 @@ function wppb_private_website_content() {
|
|
50 |
$all_pages = get_posts( $args );
|
51 |
?>
|
52 |
<div class="wrap wppb-wrap wppb-private-website">
|
53 |
-
<h2
|
|
|
|
|
|
|
54 |
|
55 |
<?php settings_errors(); ?>
|
56 |
|
50 |
$all_pages = get_posts( $args );
|
51 |
?>
|
52 |
<div class="wrap wppb-wrap wppb-private-website">
|
53 |
+
<h2>
|
54 |
+
<?php esc_html_e( 'Private Website Settings', 'profile-builder' );?>
|
55 |
+
<a href="https://www.cozmoslabs.com/docs/profile-builder-2/general-settings/private-website/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>
|
56 |
+
</h2>
|
57 |
|
58 |
<?php settings_errors(); ?>
|
59 |
|
admin/register-version.php
CHANGED
@@ -50,7 +50,10 @@ function wppb_serial_form(){
|
|
50 |
$license = wppb_get_serial_number();
|
51 |
?>
|
52 |
<div id="wppb-register-version-page" class="wrap">
|
53 |
-
<h2
|
|
|
|
|
|
|
54 |
|
55 |
<p><?php esc_html_e( 'Now that you acquired a copy of Profile Builder Pro, you should take the time and register it with the serial number you received.', 'profile-builder' ) ?></p>
|
56 |
|
50 |
$license = wppb_get_serial_number();
|
51 |
?>
|
52 |
<div id="wppb-register-version-page" class="wrap">
|
53 |
+
<h2>
|
54 |
+
<?php esc_html_e( "Register your version of Profile Builder", 'profile-builder' ); ?>
|
55 |
+
<a href="https://www.cozmoslabs.com/docs/profile-builder-2/basic-information-installation/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Register_your_version" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>
|
56 |
+
</h2>
|
57 |
|
58 |
<p><?php esc_html_e( 'Now that you acquired a copy of Profile Builder Pro, you should take the time and register it with the serial number you received.', 'profile-builder' ) ?></p>
|
59 |
|
assets/css/style-back-end.css
CHANGED
@@ -66,7 +66,7 @@
|
|
66 |
}
|
67 |
|
68 |
.wppb-badge.Hobbyist, .wppb-badge.Basic{
|
69 |
-
background:url(../images/pb-logo-
|
70 |
}
|
71 |
|
72 |
.wppb-badge.Free{
|
@@ -1000,4 +1000,54 @@ Advanced Settings or Toolbox (legacy addon)
|
|
1000 |
background-color: #ffa0a0 !important;
|
1001 |
border-color: #f04040 !important;
|
1002 |
color: #2c3338 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1003 |
}
|
66 |
}
|
67 |
|
68 |
.wppb-badge.Hobbyist, .wppb-badge.Basic{
|
69 |
+
background:url(../images/pb-logo-free.png) center no-repeat;
|
70 |
}
|
71 |
|
72 |
.wppb-badge.Free{
|
1000 |
background-color: #ffa0a0 !important;
|
1001 |
border-color: #f04040 !important;
|
1002 |
color: #2c3338 !important;
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
|
1006 |
+
/**********************************************************************************/
|
1007 |
+
/* Link (question mark icon) to PB Docs set in pages/custom-posts/settings titles
|
1008 |
+
/**********************************************************************************/
|
1009 |
+
.wp-admin a.wppb-docs-link {
|
1010 |
+
text-decoration: none;
|
1011 |
+
box-shadow: none;
|
1012 |
+
outline: none;
|
1013 |
+
height: auto;
|
1014 |
+
width: auto;
|
1015 |
+
font-size: 30px;
|
1016 |
+
}
|
1017 |
+
|
1018 |
+
[class*="profile-builder"].wp-admin .wrap form > h2 {
|
1019 |
+
line-height: 30px;
|
1020 |
+
}
|
1021 |
+
|
1022 |
+
.wp-admin.profile-builder_page_manage-fields #wppb-msf-side .wppb-docs-link,
|
1023 |
+
.wp-admin.profile-builder_page_custom-redirects .wck-post-box .wppb-docs-link,
|
1024 |
+
.wp-admin.post-type-wppb-ul-cpt #wppb-ul-themes-settings .inside .wppb-docs-link,
|
1025 |
+
.wp-admin.post-type-wppb-ul-cpt .wck-add-form .wppb-docs-link {
|
1026 |
+
position: absolute;
|
1027 |
+
right: 5px;
|
1028 |
+
top: 0;
|
1029 |
+
}
|
1030 |
+
|
1031 |
+
.wp-admin.post-type-wppb-ul-cpt #wppb-single-ul-templates .inside .wppb-docs-link,
|
1032 |
+
.wp-admin.post-type-wppb-ul-cpt #wppb-ul-templates .inside .wppb-docs-link {
|
1033 |
+
position: absolute;
|
1034 |
+
right: 1px;
|
1035 |
+
top: -5px;
|
1036 |
+
}
|
1037 |
+
|
1038 |
+
.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-edit-profile-approved-by-admin,
|
1039 |
+
.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-conditional-logic-enabled,
|
1040 |
+
.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-location-visibility,
|
1041 |
+
.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-user-role-visibility {
|
1042 |
+
line-height: 30px;
|
1043 |
+
}
|
1044 |
+
|
1045 |
+
.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-visibility .mb-right-column {
|
1046 |
+
position: relative;
|
1047 |
+
}
|
1048 |
+
|
1049 |
+
.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-visibility .mb-right-column .wppb-docs-link {
|
1050 |
+
position: absolute;
|
1051 |
+
top: 0;
|
1052 |
+
left: 255px;
|
1053 |
}
|
assets/js/jquery-pb-sitewide.js
CHANGED
@@ -238,4 +238,72 @@ jQuery( function() {
|
|
238 |
jQuery(document).on('select2:open', function() {
|
239 |
let allSelect2Found = document.querySelectorAll('.select2-container--open .select2-search__field');
|
240 |
allSelect2Found[allSelect2Found.length - 1].focus();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
});
|
238 |
jQuery(document).on('select2:open', function() {
|
239 |
let allSelect2Found = document.querySelectorAll('.select2-container--open .select2-search__field');
|
240 |
allSelect2Found[allSelect2Found.length - 1].focus();
|
241 |
+
});
|
242 |
+
|
243 |
+
/**
|
244 |
+
* Add Link to PB Docs next to page/setting titles
|
245 |
+
* */
|
246 |
+
jQuery(document).ready( function () {
|
247 |
+
// email customizer
|
248 |
+
jQuery('.wp-admin.profile-builder_page_user-email-customizer .wrap > h2').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-email-customizer/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
249 |
+
jQuery('.wp-admin.profile-builder_page_admin-email-customizer .wrap > h2').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/admin-email-customizer/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
250 |
+
|
251 |
+
// roles editor
|
252 |
+
jQuery('.wp-admin.post-type-wppb-roles-editor .wrap h1.wp-heading-inline').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/general-settings/roles-editor/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
253 |
+
|
254 |
+
// manage form fields
|
255 |
+
jQuery('.wp-admin.profile-builder_page_manage-fields .wrap > h2').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/manage-user-fields/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
256 |
+
jQuery('html').on('wpbFormMetaLoaded', function() {
|
257 |
+
// conditional logic
|
258 |
+
jQuery('.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-conditional-logic-enabled .mb-right-column label').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/manage-user-fields/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Conditional_Logic" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 10px"></a>');
|
259 |
+
// visibility
|
260 |
+
jQuery('.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-visibility .mb-right-column').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/field-visibility/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Visibility" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 10px"></a>');
|
261 |
+
// user role visibility
|
262 |
+
jQuery('.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-user-role-visibility .mb-right-column .wck-checkboxes').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/field-visibility/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#User_Role_Visibility" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
263 |
+
// location visibility
|
264 |
+
jQuery('.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-location-visibility .mb-right-column .wck-checkboxes').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/field-visibility/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Location_Visibility" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
265 |
+
// admin approval
|
266 |
+
jQuery('.wp-admin.profile-builder_page_manage-fields .update_container_wppb_manage_fields ul.mb-list-entry-fields li.row-edit-profile-approved-by-admin .mb-right-column .wck-checkboxes label').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/edit-profile-approved-by-admin/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 10px"></a>');
|
267 |
+
});
|
268 |
+
|
269 |
+
// register forms
|
270 |
+
jQuery('.wp-admin.post-type-wppb-rf-cpt .wrap h1.wp-heading-inline').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/multiple-registration-forms/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
271 |
+
|
272 |
+
// edit profile forms
|
273 |
+
jQuery('.wp-admin.post-type-wppb-epf-cpt .wrap h1.wp-heading-inline').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/multiple-edit-profile-forms/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
274 |
+
|
275 |
+
// user-listing
|
276 |
+
jQuery('.wp-admin.post-type-wppb-ul-cpt .wrap h1.wp-heading-inline').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-listing/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
277 |
+
// ul settings
|
278 |
+
jQuery('.wp-admin.post-type-wppb-ul-cpt #wppb_ul_page_settings').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-listing/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#User_Listing_Settings" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
279 |
+
// ul faceted menus
|
280 |
+
jQuery('.wp-admin.post-type-wppb-ul-cpt #wppb_ul_faceted_settings').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-listing/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Faceted_Menus" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
281 |
+
// ul search settings
|
282 |
+
jQuery('.wp-admin.post-type-wppb-ul-cpt #wppb_ul_search_settings').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-listing/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Search_Settings" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
283 |
+
// ul themes
|
284 |
+
jQuery('.wp-admin.post-type-wppb-ul-cpt #wppb-ul-themes-settings .inside').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-listing/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Themes" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
285 |
+
// ul all users template
|
286 |
+
jQuery('.wp-admin.post-type-wppb-ul-cpt #wppb-ul-templates .inside').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-listing/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#The_All-Userlisting_Template" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
287 |
+
// ul single user template
|
288 |
+
jQuery('.wp-admin.post-type-wppb-ul-cpt #wppb-single-ul-templates .inside').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-listing/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#The_Single-Userlisting_Template" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
289 |
+
|
290 |
+
// custom redirects
|
291 |
+
jQuery('.wp-admin.profile-builder_page_custom-redirects .wrap > h2').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/custom-redirects/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
292 |
+
// cr individual user
|
293 |
+
jQuery('.wp-admin.profile-builder_page_custom-redirects #wppb_custom_redirects_user .inside').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/custom-redirects/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Individual_User_Redirects" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
294 |
+
// cr user role based
|
295 |
+
jQuery('.wp-admin.profile-builder_page_custom-redirects #wppb_custom_redirects_role .inside').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/custom-redirects/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#User_Role_based_Redirects" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
296 |
+
// cr global
|
297 |
+
jQuery('.wp-admin.profile-builder_page_custom-redirects #wppb_custom_redirects_global .inside').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/custom-redirects/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Global_Redirects" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
298 |
+
// cr default wp pages
|
299 |
+
jQuery('.wp-admin.profile-builder_page_custom-redirects #wppb_custom_redirects_default_wp_pages .inside').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/modules/custom-redirects/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs#Redirect_Default_WordPress_Forms_and_Pages" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
300 |
+
|
301 |
+
// social connect
|
302 |
+
jQuery('.wp-admin.profile-builder_page_wppb-social-connect .wrap > h2').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/social-connect/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
303 |
+
|
304 |
+
// multi-step forms
|
305 |
+
jQuery('.wp-admin.profile-builder_page_manage-fields #wppb-msf-side .inside').prepend('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/multi-step-forms/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>');
|
306 |
+
|
307 |
+
// labels edit
|
308 |
+
jQuery('.wp-admin.profile-builder_page_pb-labels-edit .wrap > h2').append('<a href="https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/labels-edit/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px"></a>');
|
309 |
});
|
assets/lib/wck-api/wordpress-creation-kit.php
CHANGED
@@ -1385,7 +1385,11 @@ class Wordpress_Creation_Kit_PB{
|
|
1385 |
$title = esc_attr( __( 'This field is available in our paid plans.', 'profile-builder' ) );
|
1386 |
}
|
1387 |
|
1388 |
-
|
|
|
|
|
|
|
|
|
1389 |
return $optionOutput;
|
1390 |
}
|
1391 |
|
1385 |
$title = esc_attr( __( 'This field is available in our paid plans.', 'profile-builder' ) );
|
1386 |
}
|
1387 |
|
1388 |
+
if( isset( $value_attr['field_name'] ) )
|
1389 |
+
$optionOutput = '<option value="" '. esc_attr( $disabled ) . ( !empty( $disabled ) ? ' title="'. $title .'"' : '' ) . ' >'. esc_html( $label ) .'</option>';
|
1390 |
+
else
|
1391 |
+
$optionOutput = '<option value="'. esc_attr( $value_attr ) .'" '. selected( $value_attr, $current_value, false ) . ( !empty( $disabled ) ? ' title="'. $title .'"' : '' ) . ' >'. esc_html( $label ) .'</option>';
|
1392 |
+
|
1393 |
return $optionOutput;
|
1394 |
}
|
1395 |
|
assets/misc/elementor/widgets/class-pb-widget-base.php
CHANGED
@@ -248,12 +248,7 @@ abstract class PB_Elementor_Widget extends \Elementor\Widget_Base {
|
|
248 |
* @return bool
|
249 |
*/
|
250 |
protected function is_2fa_active(){
|
251 |
-
|
252 |
-
if( isset( $wppb_two_factor_authentication_settings['enabled'] ) && $wppb_two_factor_authentication_settings['enabled'] === 'yes' ) {
|
253 |
-
return true;
|
254 |
-
}
|
255 |
-
|
256 |
-
return false;
|
257 |
}
|
258 |
|
259 |
/**
|
@@ -315,7 +310,7 @@ abstract class PB_Elementor_Widget extends \Elementor\Widget_Base {
|
|
315 |
return wppb_front_end_login( $atts );
|
316 |
case 'rp':
|
317 |
include_once( WPPB_PLUGIN_DIR.'/front-end/recover.php' );
|
318 |
-
return wppb_front_end_password_recovery();
|
319 |
case 'ul':
|
320 |
if( defined( 'WPPB_PAID_PLUGIN_DIR' ) ){
|
321 |
include_once( WPPB_PAID_PLUGIN_DIR.'/add-ons/user-listing/userlisting.php' );
|
248 |
* @return bool
|
249 |
*/
|
250 |
protected function is_2fa_active(){
|
251 |
+
return wppb_is_2fa_active();
|
|
|
|
|
|
|
|
|
|
|
252 |
}
|
253 |
|
254 |
/**
|
310 |
return wppb_front_end_login( $atts );
|
311 |
case 'rp':
|
312 |
include_once( WPPB_PLUGIN_DIR.'/front-end/recover.php' );
|
313 |
+
return wppb_front_end_password_recovery( [] );
|
314 |
case 'ul':
|
315 |
if( defined( 'WPPB_PAID_PLUGIN_DIR' ) ){
|
316 |
include_once( WPPB_PAID_PLUGIN_DIR.'/add-ons/user-listing/userlisting.php' );
|
assets/misc/gutenberg-blocks/assets/css/gutenberg-blocks.css
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wppb-block-container{
|
2 |
+
pointer-events: none;
|
3 |
+
}
|
4 |
+
|
5 |
+
.pms-field-section.pms-price-breakdown__holder{
|
6 |
+
display: none;
|
7 |
+
}
|
assets/misc/gutenberg-blocks/edit-profile.php
ADDED
@@ -0,0 +1,558 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Exit if accessed directly
|
4 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Register: PHP.
|
8 |
+
*/
|
9 |
+
add_action(
|
10 |
+
'init',
|
11 |
+
function() {
|
12 |
+
wp_register_script(
|
13 |
+
'wppb-block-edit-profile',
|
14 |
+
add_query_arg( [ 'action' => 'wppb-block-edit-profile.js', ], admin_url( 'admin-ajax.php' ) ),
|
15 |
+
[ 'wp-blocks', 'wp-element', 'wp-editor' ],
|
16 |
+
microtime(),
|
17 |
+
true
|
18 |
+
);
|
19 |
+
register_block_type(
|
20 |
+
'wppb/edit-profile',
|
21 |
+
[
|
22 |
+
'api_version' => 2,
|
23 |
+
'title' => __( 'Edit Profile' , 'profile-builder' ),
|
24 |
+
'description' => __( 'Displays the Front End Edit Profile Form.' , 'profile-builder' ),
|
25 |
+
'category' => 'wppb-block',
|
26 |
+
'keywords' => [
|
27 |
+
__( 'Edit' , 'profile-builder' ),
|
28 |
+
__( 'Profile' , 'profile-builder' ),
|
29 |
+
__( 'Edit Profile' , 'profile-builder' ),
|
30 |
+
__( 'Form' , 'profile-builder' ),
|
31 |
+
],
|
32 |
+
'example' => [
|
33 |
+
'attributes' => [
|
34 |
+
'form_name' => '',
|
35 |
+
'redirect_url' => '',
|
36 |
+
'is_preview' => true,
|
37 |
+
],
|
38 |
+
],
|
39 |
+
'editor_script' => 'wppb-block-edit-profile',
|
40 |
+
'attributes' => [
|
41 |
+
'form_name' => [
|
42 |
+
'type' => 'string',
|
43 |
+
'default' => '',
|
44 |
+
],
|
45 |
+
'redirect_url' => [
|
46 |
+
'type' => 'string',
|
47 |
+
'default' => '',
|
48 |
+
|
49 |
+
],
|
50 |
+
'is_preview' => [
|
51 |
+
'type' => 'boolean',
|
52 |
+
'default' => false,
|
53 |
+
],
|
54 |
+
],
|
55 |
+
|
56 |
+
'render_callback' => function( $attributes, $content ) {
|
57 |
+
ob_start();
|
58 |
+
do_action( 'wppb/edit-profile/render_callback', $attributes, $content );
|
59 |
+
return ob_get_clean();
|
60 |
+
},
|
61 |
+
]
|
62 |
+
);
|
63 |
+
}
|
64 |
+
);
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Render: PHP.
|
68 |
+
*
|
69 |
+
* @param array $attributes Optional. Block attributes. Default empty array.
|
70 |
+
* @param string $content Optional. Block content. Default empty string.
|
71 |
+
*/
|
72 |
+
add_action(
|
73 |
+
'wppb/edit-profile/render_callback',
|
74 |
+
function( $attributes, $content ) {
|
75 |
+
if ( $attributes['is_preview'] ) {
|
76 |
+
echo '
|
77 |
+
<svg
|
78 |
+
xmlns="http://www.w3.org/2000/svg"
|
79 |
+
fill="none"
|
80 |
+
viewBox="0 0 230 430"
|
81 |
+
style="width: "100%";"
|
82 |
+
>
|
83 |
+
<title>Edit Profile Block Preview</title>
|
84 |
+
<rect
|
85 |
+
width="44.373241"
|
86 |
+
height="15"
|
87 |
+
x="27.955204"
|
88 |
+
y="27.950914"
|
89 |
+
rx="3.5329013"
|
90 |
+
id="rect6"
|
91 |
+
style="fill:#a0a5aa;stroke-width:0.84058326" />
|
92 |
+
<rect
|
93 |
+
width="6.177"
|
94 |
+
height="6.177"
|
95 |
+
x="27.955204"
|
96 |
+
y="388.05646"
|
97 |
+
rx="3"
|
98 |
+
id="rect38"
|
99 |
+
style="fill:#a0a5aa" />
|
100 |
+
<rect
|
101 |
+
width="35.717747"
|
102 |
+
height="15"
|
103 |
+
x="27.955204"
|
104 |
+
y="406.9473"
|
105 |
+
rx="2.8437696"
|
106 |
+
id="rect6-7"
|
107 |
+
style="fill:#a0a5aa;stroke-width:0.75415772" />
|
108 |
+
<rect
|
109 |
+
width="121.18815"
|
110 |
+
height="9.191123"
|
111 |
+
x="80.097206"
|
112 |
+
y="101.45288"
|
113 |
+
rx="6.5996327"
|
114 |
+
id="rect4-3-5"
|
115 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
116 |
+
<rect
|
117 |
+
width="169.35583"
|
118 |
+
height="4.6558123"
|
119 |
+
x="27.955204"
|
120 |
+
y="56.672096"
|
121 |
+
rx="9.2227373"
|
122 |
+
id="rect4-3-5-9"
|
123 |
+
style="fill:#a0a5aa;stroke-width:1.80013108" />
|
124 |
+
<rect
|
125 |
+
width="22.35239"
|
126 |
+
height="11.730559"
|
127 |
+
x="27.955204"
|
128 |
+
y="79.031174"
|
129 |
+
rx="1.2172608"
|
130 |
+
id="rect4-3-1"
|
131 |
+
style="fill:#a0a5aa;stroke-width:1.03807247" />
|
132 |
+
<rect
|
133 |
+
width="58.980843"
|
134 |
+
height="2.9058123"
|
135 |
+
x="80.097206"
|
136 |
+
y="112.6096"
|
137 |
+
rx="3.2119634"
|
138 |
+
id="rect4-3-5-2"
|
139 |
+
style="fill:#a0a5aa;stroke-width:0.83925813" />
|
140 |
+
<rect
|
141 |
+
width="121.18815"
|
142 |
+
height="9.191123"
|
143 |
+
x="80.097206"
|
144 |
+
y="121.21694"
|
145 |
+
rx="6.5996327"
|
146 |
+
id="rect4-3-5-7"
|
147 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
148 |
+
<rect
|
149 |
+
width="121.18815"
|
150 |
+
height="9.191123"
|
151 |
+
x="80.097206"
|
152 |
+
y="134.21693"
|
153 |
+
rx="6.5996327"
|
154 |
+
id="rect4-3-5-0"
|
155 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
156 |
+
<rect
|
157 |
+
width="121.18815"
|
158 |
+
height="9.191123"
|
159 |
+
x="80.097206"
|
160 |
+
y="147.15443"
|
161 |
+
rx="6.5996327"
|
162 |
+
id="rect4-3-5-93"
|
163 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
164 |
+
<rect
|
165 |
+
width="121.18815"
|
166 |
+
height="9.191123"
|
167 |
+
x="80.097206"
|
168 |
+
y="202.06604"
|
169 |
+
rx="6.5996327"
|
170 |
+
id="rect4-3-5-6"
|
171 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
172 |
+
<rect
|
173 |
+
width="121.18815"
|
174 |
+
height="9.191123"
|
175 |
+
x="80.097206"
|
176 |
+
y="215.05089"
|
177 |
+
rx="6.5996327"
|
178 |
+
id="rect4-3-5-06"
|
179 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
180 |
+
<rect
|
181 |
+
width="121.18815"
|
182 |
+
height="47.81683"
|
183 |
+
x="80.097206"
|
184 |
+
y="266.19736"
|
185 |
+
rx="6.5996327"
|
186 |
+
id="rect4-3-5-26"
|
187 |
+
style="fill:#a0a5aa;stroke-width:4.88007784" />
|
188 |
+
<rect
|
189 |
+
width="121.18815"
|
190 |
+
height="9.191123"
|
191 |
+
x="80.097206"
|
192 |
+
y="331.47766"
|
193 |
+
rx="6.5996327"
|
194 |
+
id="rect4-3-5-1"
|
195 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
196 |
+
<rect
|
197 |
+
width="121.18815"
|
198 |
+
height="9.191123"
|
199 |
+
x="80.097206"
|
200 |
+
y="351.15445"
|
201 |
+
rx="6.5996327"
|
202 |
+
id="rect4-3-5-8"
|
203 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
204 |
+
<rect
|
205 |
+
width="116.34488"
|
206 |
+
height="2.9058123"
|
207 |
+
x="80.097206"
|
208 |
+
y="316.20871"
|
209 |
+
rx="6.3358793"
|
210 |
+
id="rect4-3-5-2-7"
|
211 |
+
style="fill:#a0a5aa;stroke-width:1.17872834" />
|
212 |
+
<rect
|
213 |
+
width="52.793659"
|
214 |
+
height="2.9058123"
|
215 |
+
x="80.097206"
|
216 |
+
y="322.88547"
|
217 |
+
rx="2.8750234"
|
218 |
+
id="rect4-3-5-2-9"
|
219 |
+
style="fill:#a0a5aa;stroke-width:0.7940191" />
|
220 |
+
<rect
|
221 |
+
width="39.270241"
|
222 |
+
height="2.9058123"
|
223 |
+
x="80.097206"
|
224 |
+
y="342.66321"
|
225 |
+
rx="2.1385686"
|
226 |
+
id="rect4-3-5-2-2"
|
227 |
+
style="fill:#a0a5aa;stroke-width:0.68481278" />
|
228 |
+
<rect
|
229 |
+
width="51.114281"
|
230 |
+
height="2.9058123"
|
231 |
+
x="80.097206"
|
232 |
+
y="362.35513"
|
233 |
+
rx="2.7835681"
|
234 |
+
id="rect4-3-5-2-0"
|
235 |
+
style="fill:#a0a5aa;stroke-width:0.78128809" />
|
236 |
+
<rect
|
237 |
+
width="28.901199"
|
238 |
+
height="9.191123"
|
239 |
+
x="27.955204"
|
240 |
+
y="101.45288"
|
241 |
+
rx="1.573894"
|
242 |
+
id="rect4-3-5-5"
|
243 |
+
style="fill:#a0a5aa;stroke-width:1.04483688" />
|
244 |
+
<rect
|
245 |
+
width="27.651199"
|
246 |
+
height="9.191123"
|
247 |
+
x="27.955204"
|
248 |
+
y="121.21694"
|
249 |
+
rx="1.5058219"
|
250 |
+
id="rect4-3-5-5-9"
|
251 |
+
style="fill:#a0a5aa;stroke-width:1.02199209" />
|
252 |
+
<rect
|
253 |
+
width="26.151199"
|
254 |
+
height="9.191123"
|
255 |
+
x="27.955204"
|
256 |
+
y="134.21693"
|
257 |
+
rx="1.4241353"
|
258 |
+
id="rect4-3-5-5-2"
|
259 |
+
style="fill:#a0a5aa;stroke-width:0.99388552" />
|
260 |
+
<rect
|
261 |
+
width="29.151199"
|
262 |
+
height="9.191123"
|
263 |
+
x="27.955204"
|
264 |
+
y="147.15443"
|
265 |
+
rx="1.5875086"
|
266 |
+
id="rect4-3-5-5-28"
|
267 |
+
style="fill:#a0a5aa;stroke-width:1.04934609" />
|
268 |
+
<rect
|
269 |
+
width="19.901199"
|
270 |
+
height="9.191123"
|
271 |
+
x="27.955204"
|
272 |
+
y="202.06604"
|
273 |
+
rx="1.0837744"
|
274 |
+
id="rect4-3-5-5-97"
|
275 |
+
style="fill:#a0a5aa;stroke-width:0.8670221" />
|
276 |
+
<rect
|
277 |
+
width="20.026199"
|
278 |
+
height="9.191123"
|
279 |
+
x="27.955204"
|
280 |
+
y="215.05089"
|
281 |
+
rx="1.0905817"
|
282 |
+
id="rect4-3-5-5-3"
|
283 |
+
style="fill:#a0a5aa;stroke-width:0.86974072" />
|
284 |
+
<rect
|
285 |
+
width="42.526199"
|
286 |
+
height="9.191123"
|
287 |
+
x="27.955204"
|
288 |
+
y="266.19736"
|
289 |
+
rx="2.3158808"
|
290 |
+
id="rect4-3-5-5-6"
|
291 |
+
style="fill:#a0a5aa;stroke-width:1.26741493" />
|
292 |
+
<rect
|
293 |
+
width="27.526199"
|
294 |
+
height="9.191123"
|
295 |
+
x="27.955204"
|
296 |
+
y="331.47766"
|
297 |
+
rx="1.4990147"
|
298 |
+
id="rect4-3-5-5-1"
|
299 |
+
style="fill:#a0a5aa;stroke-width:1.01967943" />
|
300 |
+
<rect
|
301 |
+
width="45.901199"
|
302 |
+
height="9.191123"
|
303 |
+
x="27.955204"
|
304 |
+
y="351.15445"
|
305 |
+
rx="2.4996758"
|
306 |
+
id="rect4-3-5-5-29"
|
307 |
+
style="fill:#a0a5aa;stroke-width:1.31674767" />
|
308 |
+
<rect
|
309 |
+
width="37.85239"
|
310 |
+
height="11.730559"
|
311 |
+
x="27.955204"
|
312 |
+
y="180.14156"
|
313 |
+
rx="2.0613558"
|
314 |
+
id="rect4-3-1-31"
|
315 |
+
style="fill:#a0a5aa;stroke-width:1.3508662" />
|
316 |
+
<rect
|
317 |
+
width="46.10239"
|
318 |
+
height="11.730559"
|
319 |
+
x="27.955204"
|
320 |
+
y="244.31151"
|
321 |
+
rx="2.5106323"
|
322 |
+
id="rect4-3-1-9"
|
323 |
+
style="fill:#a0a5aa;stroke-width:1.49082756" />
|
324 |
+
<rect
|
325 |
+
width="79.401199"
|
326 |
+
height="9.191123"
|
327 |
+
x="35.0494"
|
328 |
+
y="386.54941"
|
329 |
+
rx="4.3240104"
|
330 |
+
id="rect4-3-5-5-29-4"
|
331 |
+
style="fill:#a0a5aa;stroke-width:1.73182523" />
|
332 |
+
</svg>';
|
333 |
+
} else {
|
334 |
+
$form_name = '';
|
335 |
+
if ( array_key_exists( 'form_name', $attributes ) ) {
|
336 |
+
$form_name = $attributes['form_name'];
|
337 |
+
}
|
338 |
+
if ( !$form_name || $form_name === '' ) {
|
339 |
+
$atts = [
|
340 |
+
'form_name' => '',
|
341 |
+
'redirect_url' => $attributes['redirect_url'] !== '' ? ' redirect_url="' . esc_url( $attributes['redirect_url'] ) . '"' : '',
|
342 |
+
];
|
343 |
+
} else {
|
344 |
+
$atts = [
|
345 |
+
'form_name' => ' form_name="' . $form_name . '"',
|
346 |
+
'redirect_url' => '',
|
347 |
+
];
|
348 |
+
}
|
349 |
+
echo '<div class="wppb-block-container">' . do_shortcode( '[wppb-edit-profile' . $atts['form_name'] . $atts['redirect_url'] . ' ]' ) . '</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
350 |
+
}
|
351 |
+
},
|
352 |
+
10,
|
353 |
+
2
|
354 |
+
);
|
355 |
+
|
356 |
+
/**
|
357 |
+
* Register: JavaScript.
|
358 |
+
*/
|
359 |
+
add_action(
|
360 |
+
'wp_ajax_wppb-block-edit-profile.js',
|
361 |
+
function() {
|
362 |
+
header( 'Content-Type: text/javascript' );
|
363 |
+
|
364 |
+
$args = array(
|
365 |
+
'post_type' => 'page',
|
366 |
+
'posts_per_page' => -1
|
367 |
+
);
|
368 |
+
|
369 |
+
if( function_exists( 'wc_get_page_id' ) )
|
370 |
+
$args['exclude'] = wc_get_page_id( 'shop' );
|
371 |
+
|
372 |
+
$all_pages = get_posts( $args );
|
373 |
+
?>
|
374 |
+
( function ( blocks, i18n, element, serverSideRender, blockEditor, components ) {
|
375 |
+
var { __ } = i18n;
|
376 |
+
var el = element.createElement;
|
377 |
+
var PanelBody = components.PanelBody;
|
378 |
+
var SelectControl = components.SelectControl;
|
379 |
+
var TextControl = components.TextControl;
|
380 |
+
var Button = components.Button;
|
381 |
+
var Text = components.__experimentalText;
|
382 |
+
var InspectorControls = wp.editor.InspectorControls;
|
383 |
+
|
384 |
+
blocks.registerBlockType( 'wppb/edit-profile', {
|
385 |
+
icon:
|
386 |
+
el('svg', {},
|
387 |
+
el( 'path',
|
388 |
+
{
|
389 |
+
d: "m 6.0748388,9.5111184 c -0.099,-0.038 -0.3519,-0.2294 -0.4445,-0.3021 -0.2808,-0.2202 -0.5499,-0.4486 -0.7896,-0.7139 -0.3274,-0.3624 -0.6189,-0.7523 -0.8327,-1.1938 -0.2727,-0.563 -0.4316,-1.1673 -0.4744,-1.7907 0,0 -0.011,-0.1397 -0.011,-0.1397 0,0 0,-0.5715 0,-0.5715 0,0 0.011,-0.127 0.011,-0.127 0.041,-0.5995 0.1724,-1.1913 0.4242,-1.7399 0.5843,-1.2728 1.7588,-2.28950004 3.0949,-2.70480004 0.5504,-0.1709 1.0894,-0.2356 1.6637,-0.2289 0,0 0.1397,0.012 0.1397,0.012 1.1751002,0.051 2.3266002,0.5475 3.1877002,1.34560004 0,0 0.2027,0.1916 0.2027,0.1916 0.5567,0.5821 0.9719,1.2857 1.2034,2.0574 0.089,0.2952 0.1506,0.5954 0.1834,0.9017 0,0 0.023,0.2413 0.023,0.2413 0,0 0.013,0.2667 0.013,0.2667 0,0 -0.013,0.3683 -0.013,0.3683 0,0.2138 -0.075,0.6249 -0.1255,0.8382 -0.3294,1.3871 -1.2433,2.4909 -2.3891,3.302 0.6849,0.2905 1.494,0.5944996 2.0955,1.0250996 0,0 0.2413,0.177 0.2413,0.177 0.1102,0.065 0.3181,0.1248 0.3358,0.2711 0.014,0.1159 -0.085,0.2251 -0.1545,0.3048 -0.1628,0.1872 -0.3068,0.3483 -0.575,0.2835 -0.051,-0.012 -0.093,-0.034 -0.1397,-0.058 0,0 -0.5588,-0.3592 -0.5588,-0.3592 -0.3912,-0.2347 -0.8643,-0.4613 -1.2954,-0.611 -2.1439002,-0.7439996 -4.5605002,-0.4705 -6.4897002,0.7249 -1.6213,1.0045 -2.8241,2.5675 -3.3528,4.401501 0,0 -0.097,0.3683 -0.097,0.3683 -0.063,0.2544 -0.1152,0.5525 -0.1463,0.8128 0,0 -0.034,0.3683 -0.034,0.3683 0.01,0.1204 0.027,0.2455 0.10599999,0.3424 0.1026,0.1269 0.3208,0.1654 0.4759,0.1656 0,0 4.9911,0 4.9911,0 0,0 2.7686,0 2.7686,0 0,0 0.1905,-0.013 0.1905,-0.013 0,0 1.3208002,0 1.3208002,0 0,0 0.1905,-0.013 0.1905,-0.013 0,0 0.6477,0 0.6477,0 0,0 0.2159,-0.013 0.2159,-0.013 0.2658,-3e-4 0.552,-0.016 0.8128,0.031 0.4383,0.079 0.8052,0.3029 1.1557,0.5678 0,0 0.3175,0.2498 0.3175,0.2498 0.053,0.042 0.119,0.083 0.1524,0.1422 0,0 -10.9855002,0 -10.9855002,0 0,0 -1.8669,0 -1.8669,0 0,0 -0.1397,-0.012 -0.1397,-0.012 -0.40049999,-0.027 -0.86169999,-0.085 -1.12069999,-0.433 -0.2141002,-0.2879 -0.20410019896,-0.6506 -0.2001002,-0.9906 0,-0.1616 0.055,-0.4918 0.084,-0.6604 0.06,-0.3549 0.1319,-0.7072 0.2284,-1.0541 0.1803,-0.6484 0.4123,-1.286301 0.73319999,-1.879601 0.5931,-1.0966 1.3661,-1.9912 2.371,-2.732 0.4948,-0.3647 1.1427,-0.7539 1.7018,-1.0104996 0,0 0.635,-0.278 0.635,-0.278 0,0 0.3175,-0.1324 0.3175,-0.1324 z m 2.2225,-8.54580004 c 0,0 -0.2413,0.028 -0.2413,0.028 -0.3083,0.042 -0.6099,0.11870004 -0.9017,0.22570004 -0.9628,0.353 -1.7756,1.0837 -2.2446,1.9932 -0.2473,0.4795 -0.4289,1.1231 -0.4351,1.6637 0,0 -0.013,0.2032 -0.013,0.2032 0,0 0.013,0.2286 0.013,0.2286 0,0.1545 0.04,0.3921 0.071,0.5461 0.095,0.4748 0.2701,0.9329 0.5234,1.3462 0.3003,0.4903 0.678,0.8906 1.1454,1.2246 0.3045,0.2177 0.6732,0.4094 1.0287,0.528 0.3581,0.1195 0.6406,0.1781 1.016,0.2154 0,0 0.127,0 0.127,0 0,0 0.127,0.013 0.127,0.013 0,0 0.3429,-0.013 0.3429,-0.013 0.1312,0 0.3877,-0.042 0.5207,-0.068 0.3128,-0.062 0.6662002,-0.1686 0.9525002,-0.3094 0,0 0.4191,-0.2243 0.4191,-0.2243 0.8838,-0.5502 1.5388,-1.4014 1.8142,-2.4077 0.066,-0.2429 0.1412,-0.6399 0.1416,-0.889 0,0 0,-0.4191 0,-0.4191 0,0 -0.012,-0.127 -0.012,-0.127 -0.016,-0.2261 -0.056,-0.4407 -0.1107,-0.6604 -0.3201,-1.2801 -1.3029,-2.3887 -2.5447,-2.8441 -0.3424002,-0.1255 -0.8554002,-0.25420004 -1.2192002,-0.25340004 0,0 -0.4572,0 -0.4572,0 0,0 -0.063,0 -0.063,0 z M 21.124339,6.8514184 c 0.13,-0.023 0.169,0.047 0.254,0.1324 0,0 0.3937,0.3937 0.3937,0.3937 0,0 1.7653,1.7653 1.7653,1.7653 0,0 0.4826,0.4826 0.4826,0.4826 0.065,0.065 0.1575,0.1366 0.1176,0.2413 -0.02,0.053 -0.1364,0.1584996 -0.1811,0.2031996 0,0 -0.3175,0.317 -0.3175,0.317 0,0 -0.127,0.115 -0.127,0.115 0,0 -1.5113,1.5111 -1.5113,1.5111 0,0 -2.3241,2.3241 -2.3241,2.3241 0,0 -0.4313,0.431801 -0.4313,0.431801 0,0 -0.2926,0.3048 -0.2926,0.3048 -0.095,0.095 -0.2788,0.2909 -0.381,0.3564 -0.089,0.057 -0.1807,0.081 -0.2794,0.1135 0,0 -0.4191,0.1397 -0.4191,0.1397 0,0 -1.3462,0.453 -1.3462,0.453 0,0 -0.8382,0.2794 -0.8382,0.2794 -0.3029,0.101 -0.5243,0.1858 -0.8509,0.182 -0.1179,0 -0.2656,-0.06 -0.381,-0.094 -0.057,-0.017 -0.1162,-0.032 -0.1343,-0.097 -0.022,-0.078 0.03,-0.1904 0.053,-0.2665 0,0 0.2001,-0.6477 0.2001,-0.6477 0,0 0.6986,-2.260601 0.6986,-2.260601 0,0 0.1777,-0.5715 0.1777,-0.5715 0.019,-0.057 0.056,-0.1991 0.083,-0.2413 0.026,-0.041 0.1157,-0.1263 0.1545,-0.1651 0,0 0.3048,-0.3048 0.3048,-0.3048 0,0 0.9525,-0.9525 0.9525,-0.9525 0,0 2.5781,-2.5780996 2.5781,-2.5780996 0,0 1.1049,-1.1049 1.1049,-1.1049 0,0 0.3048,-0.3048 0.3048,-0.3048 0.058,-0.058 0.1125,-0.1273 0.1905,-0.1578 z m 1.6891,2.9518 c 0,0 -1.2192,-1.2192 -1.2192,-1.2192 0,0 -0.3048,-0.3048 -0.3048,-0.3048 -0.027,-0.026 -0.089,-0.099 -0.127,-0.099 -0.032,0 -0.068,0.04 -0.089,0.061 0,0 -0.1905,0.1905 -0.1905,0.1905 0,0 -0.7747,0.7747 -0.7747,0.7747 0,0 -2.1463,2.1462996 -2.1463,2.1462996 0,0 -0.6858,0.6858 -0.6858,0.6858 -0.086,0.086 -0.3089,0.298 -0.3683,0.381 0,0 1.2192,1.2192 1.2192,1.2192 0,0 0.3048,0.3048 0.3048,0.3048 0.026,0.027 0.089,0.099 0.127,0.099 0.032,0 0.068,-0.04 0.089,-0.061 0,0 0.1905,-0.1905 0.1905,-0.1905 0,0 0.7747,-0.7747 0.7747,-0.7747 0,0 2.1463,-2.1463 2.1463,-2.1463 0,0 0.6858,-0.6858 0.6858,-0.6858 0.086,-0.086 0.3088,-0.2978996 0.3683,-0.3809996 z m -6.4897,3.3908996 c -0.051,0.059 -0.061,0.1437 -0.085,0.2159 0,0 -0.1493,0.4826 -0.1493,0.4826 0,0 -0.334,1.079501 -0.334,1.079501 0,0 -0.1305,0.4318 -0.1305,0.4318 0,0 0.381,-0.1228 0.381,-0.1228 0,0 0.6858,-0.2286 0.6858,-0.2286 0,0 0.7112,-0.237 0.7112,-0.237 0,0 0.3937,-0.135501 0.3937,-0.135501 0,0 -0.4953,-0.508 -0.4953,-0.508 0,0 -0.9779,-0.9779 -0.9779,-0.9779 z"
|
390 |
+
}
|
391 |
+
)
|
392 |
+
),
|
393 |
+
attributes: {
|
394 |
+
form_name : {
|
395 |
+
type: 'string',
|
396 |
+
default: ''
|
397 |
+
},
|
398 |
+
redirect_url : {
|
399 |
+
type: 'string',
|
400 |
+
default: '',
|
401 |
+
},
|
402 |
+
is_preview : {
|
403 |
+
type: 'boolean',
|
404 |
+
default: false,
|
405 |
+
},
|
406 |
+
},
|
407 |
+
|
408 |
+
edit: function ( props ) {
|
409 |
+
return [
|
410 |
+
el(
|
411 |
+
'div',
|
412 |
+
Object.assign( blockEditor.useBlockProps(), { key: 'wppb/edit-profile/render' } ),
|
413 |
+
el( serverSideRender,
|
414 |
+
{
|
415 |
+
block: 'wppb/edit-profile',
|
416 |
+
attributes: props.attributes,
|
417 |
+
}
|
418 |
+
)
|
419 |
+
),
|
420 |
+
el( InspectorControls, { key: 'wppb/edit-profile/inspector' },
|
421 |
+
[
|
422 |
+
el( PanelBody,
|
423 |
+
{
|
424 |
+
title: __( 'Form Settings' , 'profile-builder' ),
|
425 |
+
key: 'wppb/edit-profile/inspector/form-settings'
|
426 |
+
},
|
427 |
+
[
|
428 |
+
el( SelectControl,
|
429 |
+
{
|
430 |
+
label: __( 'Form' , 'profile-builder' ),
|
431 |
+
key: 'wppb/edit-profile/inspector/form_settings/form_name',
|
432 |
+
help: __( 'Select the desired Edit Profile form' , 'profile-builder' ),
|
433 |
+
value: props.attributes.form_name,
|
434 |
+
options: [
|
435 |
+
{
|
436 |
+
label: __( 'Default' , 'profile-builder' ),
|
437 |
+
value: ''
|
438 |
+
},
|
439 |
+
<?php
|
440 |
+
$wppb_module_settings = get_option( 'wppb_module_settings', 'not_found' );
|
441 |
+
|
442 |
+
if ( !( ( $wppb_module_settings !== 'not_found' && (
|
443 |
+
!isset( $wppb_module_settings['wppb_multipleEditProfileForms'] ) ||
|
444 |
+
$wppb_module_settings['wppb_multipleEditProfileForms'] !== 'show'
|
445 |
+
) ) ||
|
446 |
+
$wppb_module_settings === 'not_found' ) ){
|
447 |
+
$args = array(
|
448 |
+
'post_type' => 'wppb-epf-cpt',
|
449 |
+
'posts_per_page' => -1
|
450 |
+
);
|
451 |
+
|
452 |
+
$the_query = new WP_Query( $args );
|
453 |
+
|
454 |
+
if ( $the_query->have_posts() ) {
|
455 |
+
foreach ( $the_query->posts as $post ) {
|
456 |
+
?>
|
457 |
+
{
|
458 |
+
label: '<?php echo esc_html( $post->post_title ); ?>',
|
459 |
+
value: '<?php echo esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $post->post_title ) ); ?>'
|
460 |
+
},
|
461 |
+
<?php
|
462 |
+
}
|
463 |
+
wp_reset_postdata();
|
464 |
+
}
|
465 |
+
}
|
466 |
+
?>
|
467 |
+
],
|
468 |
+
onChange: ( value ) => { props.setAttributes( { form_name: value } ); }
|
469 |
+
}
|
470 |
+
),
|
471 |
+
props.attributes.form_name != '' ?
|
472 |
+
el( Text,
|
473 |
+
{
|
474 |
+
key: 'wppb/edit-profile/inspector/form_settings/notice'
|
475 |
+
},
|
476 |
+
[
|
477 |
+
__( 'Edit the Settings for this form ' , 'profile-builder' ),
|
478 |
+
el( Button,
|
479 |
+
{
|
480 |
+
key: 'wppb/edit-profile/inspector/form_settings/notice_button',
|
481 |
+
href: '<?php echo esc_url( admin_url( 'edit.php?post_type=wppb-epf-cpt' ) ); ?>',
|
482 |
+
target: '_blank',
|
483 |
+
text: __( 'here' , 'profile-builder' ),
|
484 |
+
variant: 'link'
|
485 |
+
}
|
486 |
+
)
|
487 |
+
]
|
488 |
+
) :
|
489 |
+
'',
|
490 |
+
]
|
491 |
+
),
|
492 |
+
props.attributes.form_name == '' ?
|
493 |
+
el( PanelBody,
|
494 |
+
{
|
495 |
+
title: __( 'Redirect' , 'profile-builder' ),
|
496 |
+
key: 'wppb/edit-profile/inspector/redirect'
|
497 |
+
},
|
498 |
+
el( SelectControl,
|
499 |
+
{
|
500 |
+
label: __( 'After Edit Profile' , 'profile-builder' ),
|
501 |
+
key: 'wppb/edit-profile/inspector/redirect/redirect_url',
|
502 |
+
help: __( 'Select a page for an After Edit Profile Redirect' , 'profile-builder' ),
|
503 |
+
value: props.attributes.redirect_url,
|
504 |
+
options: [
|
505 |
+
{
|
506 |
+
label: __( '' , 'profile-builder' ),
|
507 |
+
value: ''
|
508 |
+
},
|
509 |
+
<?php
|
510 |
+
if( !empty( $all_pages ) ){
|
511 |
+
foreach ( $all_pages as $page ){
|
512 |
+
?>
|
513 |
+
{
|
514 |
+
label: '<?php echo esc_html( $page->post_title ) ?>',
|
515 |
+
value: '<?php echo esc_url( get_page_link( $page->ID ) ) ?>'
|
516 |
+
},
|
517 |
+
<?php
|
518 |
+
}
|
519 |
+
}
|
520 |
+
?>
|
521 |
+
],
|
522 |
+
onChange: ( value ) => { props.setAttributes( { redirect_url: value } ); }
|
523 |
+
}
|
524 |
+
)
|
525 |
+
) :
|
526 |
+
'',
|
527 |
+
]
|
528 |
+
),
|
529 |
+
el( blockEditor.InspectorAdvancedControls, { key: 'wppb/edit-profile/inspector_advanced' },
|
530 |
+
[
|
531 |
+
props.attributes.form_name == '' ?
|
532 |
+
el( TextControl,
|
533 |
+
{
|
534 |
+
label: __( 'After Edit Profile' , 'profile-builder' ),
|
535 |
+
key: 'wppb/edit-profile/inspector_advanced/redirect/redirect_url',
|
536 |
+
help: __( 'Manually type in an After Edit Profile Redirect URL' , 'profile-builder' ),
|
537 |
+
value: props.attributes.redirect_url,
|
538 |
+
onChange: ( value ) => { props.setAttributes( { redirect_url: value } ); }
|
539 |
+
}
|
540 |
+
) :
|
541 |
+
''
|
542 |
+
]
|
543 |
+
)
|
544 |
+
];
|
545 |
+
}
|
546 |
+
} );
|
547 |
+
} )(
|
548 |
+
window.wp.blocks,
|
549 |
+
window.wp.i18n,
|
550 |
+
window.wp.element,
|
551 |
+
window.wp.serverSideRender,
|
552 |
+
window.wp.blockEditor,
|
553 |
+
window.wp.components
|
554 |
+
);
|
555 |
+
<?php
|
556 |
+
exit;
|
557 |
+
}
|
558 |
+
);
|
assets/misc/gutenberg-blocks/login.php
ADDED
@@ -0,0 +1,458 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Exit if accessed directly
|
4 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Register: PHP.
|
8 |
+
*/
|
9 |
+
add_action(
|
10 |
+
'init',
|
11 |
+
function() {
|
12 |
+
wp_register_script(
|
13 |
+
'wppb-block-login',
|
14 |
+
add_query_arg( [ 'action' => 'wppb-block-login.js', ], admin_url( 'admin-ajax.php' ) ),
|
15 |
+
[ 'wp-blocks', 'wp-element', 'wp-editor' ],
|
16 |
+
microtime(),
|
17 |
+
true
|
18 |
+
);
|
19 |
+
register_block_type(
|
20 |
+
'wppb/login',
|
21 |
+
[
|
22 |
+
'api_version' => 2,
|
23 |
+
'title' => __( 'Login' , 'profile-builder' ),
|
24 |
+
'description' => __( 'Displays the Front End Login form.' , 'profile-builder' ),
|
25 |
+
'category' => 'wppb-block',
|
26 |
+
'keywords' => [
|
27 |
+
__( 'Login' , 'profile-builder' ),
|
28 |
+
__( 'Form' , 'profile-builder' ),
|
29 |
+
__( 'Form' , 'profile-builder' ),
|
30 |
+
],
|
31 |
+
'example' => [
|
32 |
+
'attributes' => [
|
33 |
+
'register_url' => '',
|
34 |
+
'lostpassword_url' => '',
|
35 |
+
'auth_field' => false,
|
36 |
+
'redirect_url' => '',
|
37 |
+
'logout_redirect_url' => '',
|
38 |
+
'is_preview' => true,
|
39 |
+
'is_editor' => true,
|
40 |
+
],
|
41 |
+
],
|
42 |
+
'editor_script' => 'wppb-block-login',
|
43 |
+
'attributes' => [
|
44 |
+
'register_url' => [
|
45 |
+
'type' => 'string',
|
46 |
+
'default' => '',
|
47 |
+
],
|
48 |
+
'lostpassword_url' => [
|
49 |
+
'type' => 'string',
|
50 |
+
'default' => '',
|
51 |
+
],
|
52 |
+
'auth_field' => [
|
53 |
+
'type' => 'boolean',
|
54 |
+
'default' => false,
|
55 |
+
],
|
56 |
+
'redirect_url' => [
|
57 |
+
'type' => 'string',
|
58 |
+
'default' => '',
|
59 |
+
],
|
60 |
+
'logout_redirect_url' => [
|
61 |
+
'type' => 'string',
|
62 |
+
'default' => '',
|
63 |
+
],
|
64 |
+
'is_preview' => [
|
65 |
+
'type' => 'boolean',
|
66 |
+
'default' => false,
|
67 |
+
],
|
68 |
+
'is_editor' => [
|
69 |
+
'type' => 'boolean',
|
70 |
+
'default' => false,
|
71 |
+
],
|
72 |
+
],
|
73 |
+
|
74 |
+
'render_callback' => function( $attributes, $content ) {
|
75 |
+
ob_start();
|
76 |
+
do_action( 'wppb/login/render_callback', $attributes, $content );
|
77 |
+
return ob_get_clean();
|
78 |
+
},
|
79 |
+
]
|
80 |
+
);
|
81 |
+
}
|
82 |
+
);
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Render: PHP.
|
86 |
+
*
|
87 |
+
* @param array $attributes Optional. Block attributes. Default empty array.
|
88 |
+
* @param string $content Optional. Block content. Default empty string.
|
89 |
+
*/
|
90 |
+
add_action(
|
91 |
+
'wppb/login/render_callback',
|
92 |
+
function( $attributes, $content ) {
|
93 |
+
if ( $attributes['is_preview'] ) {
|
94 |
+
echo '
|
95 |
+
<svg
|
96 |
+
xmlns="http://www.w3.org/2000/svg"
|
97 |
+
fill="none"
|
98 |
+
viewBox="0 0 230 130"
|
99 |
+
style="width: "100%";"
|
100 |
+
>
|
101 |
+
<title>Login Block Preview</title>
|
102 |
+
<rect
|
103 |
+
width="36.328499"
|
104 |
+
height="10.030812"
|
105 |
+
x="35.712097"
|
106 |
+
y="82.629547"
|
107 |
+
rx="1.9783683"
|
108 |
+
id="rect4"
|
109 |
+
style="fill:#a0a5aa;stroke-width:1.22376513" />
|
110 |
+
<rect
|
111 |
+
width="32.748241"
|
112 |
+
height="15"
|
113 |
+
x="28.485535"
|
114 |
+
y="27.950914"
|
115 |
+
rx="2.6073439"
|
116 |
+
id="rect6"
|
117 |
+
style="fill:#a0a5aa;stroke-width:0.72212797" />
|
118 |
+
<rect
|
119 |
+
width="6.177"
|
120 |
+
height="6.177"
|
121 |
+
x="28.503256"
|
122 |
+
y="84.55645"
|
123 |
+
rx="3"
|
124 |
+
id="rect38"
|
125 |
+
style="fill:#a0a5aa" />
|
126 |
+
<rect
|
127 |
+
width="49.609749"
|
128 |
+
height="10.030812"
|
129 |
+
x="28.485535"
|
130 |
+
y="53.187717"
|
131 |
+
rx="2.7016351"
|
132 |
+
id="rect4-3"
|
133 |
+
style="fill:#a0a5aa;stroke-width:1.43007195" />
|
134 |
+
<rect
|
135 |
+
width="47.265999"
|
136 |
+
height="10.030812"
|
137 |
+
x="28.485535"
|
138 |
+
y="67.738503"
|
139 |
+
rx="2.5739999"
|
140 |
+
id="rect4-6"
|
141 |
+
style="fill:#a0a5aa;stroke-width:1.39588225" />
|
142 |
+
<rect
|
143 |
+
width="28.646679"
|
144 |
+
height="15"
|
145 |
+
x="28.485535"
|
146 |
+
y="95.820312"
|
147 |
+
rx="2.2807865"
|
148 |
+
id="rect6-7"
|
149 |
+
style="fill:#a0a5aa;stroke-width:0.67539418" />
|
150 |
+
<rect
|
151 |
+
width="120.60584"
|
152 |
+
height="10.030812"
|
153 |
+
x="81.445129"
|
154 |
+
y="53.187717"
|
155 |
+
rx="6.5679221"
|
156 |
+
id="rect4-3-5"
|
157 |
+
style="fill:#a0a5aa;stroke-width:2.22976208" />
|
158 |
+
<rect
|
159 |
+
width="120.60584"
|
160 |
+
height="10.030812"
|
161 |
+
x="81.445129"
|
162 |
+
y="67.738503"
|
163 |
+
rx="6.5679221"
|
164 |
+
id="rect4-3-5-5"
|
165 |
+
style="fill:#a0a5aa;stroke-width:2.22976208" />
|
166 |
+
</svg>';
|
167 |
+
} else {
|
168 |
+
$atts = [
|
169 |
+
'redirect_url' => $attributes['redirect_url'] !== '' ? ' redirect_url="' . esc_url( $attributes['redirect_url'] ) . '"' : '',
|
170 |
+
'logout_redirect_url' => $attributes['logout_redirect_url'] !== '' ? ' logout_redirect_url="' . esc_url( $attributes['logout_redirect_url'] ) . '"' : '',
|
171 |
+
'register_url' => $attributes['register_url'] !== '' ? ' register_url="' . esc_url( $attributes['register_url'] ) . '"' : '',
|
172 |
+
'lostpassword_url' => $attributes['lostpassword_url'] !== '' ? ' lostpassword_url="' . esc_url( $attributes['lostpassword_url'] ) . '"' : '',
|
173 |
+
'show_2fa_field' => $attributes['auth_field'] ? ' show_2fa_field="yes"' : '',
|
174 |
+
'block' => $attributes['is_editor'] ? ' block="true"' : '',
|
175 |
+
];
|
176 |
+
echo '<div class="wppb-block-container">' . do_shortcode( '[wppb-login' . $atts['redirect_url'] . $atts['logout_redirect_url'] . $atts['register_url'] . $atts['lostpassword_url'] . $atts['show_2fa_field'] . $atts['block'] . ' ]' ) . '</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
177 |
+
}
|
178 |
+
},
|
179 |
+
10,
|
180 |
+
2
|
181 |
+
);
|
182 |
+
|
183 |
+
/**
|
184 |
+
* Register: JavaScript.
|
185 |
+
*/
|
186 |
+
add_action(
|
187 |
+
'wp_ajax_wppb-block-login.js',
|
188 |
+
function() {
|
189 |
+
header( 'Content-Type: text/javascript' );
|
190 |
+
|
191 |
+
$args = array(
|
192 |
+
'post_type' => 'page',
|
193 |
+
'posts_per_page' => -1
|
194 |
+
);
|
195 |
+
|
196 |
+
if( function_exists( 'wc_get_page_id' ) )
|
197 |
+
$args['exclude'] = wc_get_page_id( 'shop' );
|
198 |
+
|
199 |
+
$all_pages = get_posts( $args );
|
200 |
+
?>
|
201 |
+
( function ( blocks, i18n, element, serverSideRender, blockEditor, components ) {
|
202 |
+
var { __ } = i18n;
|
203 |
+
var el = element.createElement;
|
204 |
+
var PanelBody = components.PanelBody;
|
205 |
+
var SelectControl = components.SelectControl;
|
206 |
+
var ToggleControl = components.ToggleControl;
|
207 |
+
var TextControl = components.TextControl;
|
208 |
+
var InspectorControls = wp.editor.InspectorControls;
|
209 |
+
|
210 |
+
blocks.registerBlockType( 'wppb/login', {
|
211 |
+
icon:
|
212 |
+
el('svg', {},
|
213 |
+
el( 'path',
|
214 |
+
{
|
215 |
+
d: "m 6.0706026,9.5351799 c -0.049,-0.058 -0.116,-0.093 -0.1778,-0.1361 0,0 -0.2921,-0.215 -0.2921,-0.215 -0.271,-0.209 -0.5276,-0.4398005 -0.7609,-0.6903005 -0.6574,-0.7057 -1.1049,-1.5984 -1.2531,-2.5527 -0.033,-0.2141 -0.056,-0.4312 -0.056,-0.6477 0,0 -0.013,-0.1905 -0.013,-0.1905 0,0 0.012,-0.127 0.012,-0.127 0,0 0,-0.2032 0,-0.2032 0,0 0.024,-0.2667 0.024,-0.2667 0.052,-0.524 0.1749,-1.0425 0.3921,-1.524 0.202,-0.448 0.4804,-0.897 0.8163,-1.2573 0.4289,-0.4601 0.8673,-0.82600002 1.4227,-1.12640002 0.4417,-0.2388 0.9181,-0.4034 1.4097,-0.5017 0.182,-0.036 0.5303,-0.086 0.7112,-0.086 0,0 0.5588,0 0.5588,0 0,0 0.127,0.012 0.127,0.012 0.4205,0.031 0.8586,0.1211 1.2573004,0.2594 0.228,0.079 0.4449,0.1769 0.6604,0.2846 0.428,0.214 0.881,0.52860002 1.2192,0.86680002 0,0 0.2264,0.2286 0.2264,0.2286 0.314,0.3471 0.586,0.7353 0.7926,1.1557 0.2328,0.4733 0.395,0.9891 0.4703,1.5113 0,0 0.048,0.4445 0.048,0.4445 0,0 0,0.1524 0,0.1524 0,0 0.012,0.127 0.012,0.127 0,0 -0.012,0.1651 -0.012,0.1651 0,0 0,0.1524 0,0.1524 0,0.1838 -0.055,0.501 -0.092,0.6858 -0.1916,0.9577 -0.6557,1.7812 -1.3078,2.5019 -0.2216,0.245 -0.489,0.4864005 -0.7471,0.6928005 0,0 -0.3683,0.2851 -0.3683,0.2851 0,0 0.7112,0.294 0.7112,0.294 0.4778,0.2051001 0.9765,0.4238001 1.397,0.7332001 0,0 0.2159,0.1606 0.2159,0.1606 0.114,0.07 0.3334,0.1273 0.3424,0.2854 0.01,0.1322 -0.083,0.2249 -0.1668,0.3175 -0.1531,0.1696 -0.2979,0.3206 -0.5439,0.2665 -0.056,-0.012 -0.089,-0.028 -0.1397,-0.054 0,0 -0.3683,-0.238 -0.3683,-0.238 0,0 -0.3302,-0.2031 -0.3302,-0.2031 -0.3462,-0.2023 -0.8018,-0.4102 -1.1811,-0.5419 -2.0699004,-0.7183001 -4.4065004,-0.4751 -6.2992004,0.6233 -1.1403,0.6618 -2.1261,1.6345 -2.7887,2.776 -0.3052,0.5258 -0.5014,0.9871 -0.6911,1.5621 -0.1602,0.4851 -0.243,0.969 -0.31009996,1.4732 -0.029,0.2171 -0.047,0.4918 0.14499996,0.6428 0.1112,0.088 0.2464,0.098 0.381,0.1077 0,0 0.3175,0.012 0.3175,0.012 0,0 0.2159,-0.013 0.2159,-0.013 0,0 5.4737,0 5.4737,0 0,0 2.4892004,0 2.4892004,0 0,0 0.1905,-0.013 0.1905,-0.013 0,0 0.9652,0 0.9652,0 0,0 0.1905,-0.013 0.1905,-0.013 0,0 0.5842,0 0.5842,0 0,0 0.1905,-0.013 0.1905,-0.013 0.1812,-2e-4 0.3537,8e-4 0.5334,0.031 0.4647,0.078 0.8372,0.3135 1.2065,0.5931 0.096,0.073 0.3826,0.2872 0.4445,0.3666 0,0 -10.9728004,0 -10.9728004,0 0,0 -1.9558,0 -1.9558,0 0,0 -0.2794,-0.024 -0.2794,-0.024 -0.38079996,-0.045 -0.75009996,-0.1458 -0.95949996,-0.4972 -0.1656,-0.2781 -0.149,-0.6159 -0.1454,-0.9271 0,0 0.06,-0.508 0.06,-0.508 0.056,-0.3828 0.1484,-0.821 0.2521,-1.1938 0.3774,-1.3579 0.94869996,-2.4793 1.89979996,-3.5306 0,0 0.1497,-0.1524 0.1497,-0.1524 0,0 0.091,-0.1004 0.091,-0.1004 0,0 0.1005,-0.091 0.1005,-0.091 0,0 0.1524,-0.1497 0.1524,-0.1497 0.44,-0.3982 0.8806,-0.7242 1.3843,-1.0362 0.4188,-0.2596 0.8591,-0.4819001 1.3081,-0.6843001 0,0 0.4191,-0.1765 0.4191,-0.1765 0.074,-0.03 0.1646,-0.072 0.2413,-0.086 z m 2.2987,-8.57130052 c 0,0 -0.2667,0.028 -0.2667,0.028 -0.2065,0.026 -0.4484,0.073 -0.6477,0.13260002 -0.9851,0.2936 -1.823,0.9193 -2.3675,1.7942 0,0 -0.1938,0.3429 -0.1938,0.3429 -0.2397,0.5043 -0.3866,1.0288 -0.411,1.5875 0,0 -0.012,0.1651 -0.012,0.1651 0,0 0,0.1143 0,0.1143 0,0 0.012,0.1397 0.012,0.1397 0.073,1.676 1.2024,3.165 2.7945,3.6957005 0.3376,0.1125 0.6741,0.18 1.0287,0.2044 0,0 0.127,0.012 0.127,0.012 0,0 0.2921,0 0.2921,0 0,0 0.1524,-0.012 0.1524,-0.012 0.5446,-0.037 1.0731,-0.179 1.5621004,-0.4235005 0.4517,-0.2258 0.8945,-0.5572 1.2283,-0.9366 0.3685,-0.4186 0.6334,-0.8589 0.8203,-1.3843 0.1129,-0.3175 0.2242,-0.8327 0.2247,-1.1684 0,0 0,-0.3937 0,-0.3937 0,-0.2412 -0.074,-0.6158 -0.1378,-0.8509 -0.2305,-0.8513 -0.7243,-1.5963 -1.4116,-2.1488 -0.3837,-0.3084 -0.8162,-0.5405 -1.2827004,-0.696 -0.3178,-0.1059 -0.6444,-0.16860002 -0.9779,-0.19160002 0,0 -0.1524,-0.01 -0.1524,-0.01 0,0 -0.2921,0 -0.2921,0 0,0 -0.089,0 -0.089,0 z M 19.964403,14.22148 c 0,0 -1.3462,-1.3462 -1.3462,-1.3462 0,0 -0.8255,-0.8255 -0.8255,-0.8255 0,0 -0.6477,-0.6477 -0.6477,-0.6477 -0.059,-0.059 -0.2252,-0.2057 -0.2427,-0.2794 -0.019,-0.082 0.052,-0.1392 0.103,-0.1905 0,0 0.381,-0.381 0.381,-0.381 0.051,-0.051 0.1097,-0.1189 0.1905,-0.09 0.06,0.022 0.2361,0.212 0.2921,0.268 0,0 0.635,0.635 0.635,0.635 0,0 2.2733,2.2733 2.2733,2.2733 0,0 0.7112,0.7112 0.7112,0.7112 0.063,0.063 0.2316,0.2042 0.2333,0.2921 0,0.088 -0.1709,0.2298 -0.2333,0.2921 0,0 -0.2921,0.2907 -0.2921,0.2907 0,0 -0.1397,0.1036 -0.1397,0.1036 0,0 -0.2921,0.2915 -0.2921,0.2915 0,0 -2.2606,2.2606 -2.2606,2.2606 0,0 -0.635,0.635 -0.635,0.635 -0.057,0.057 -0.2304,0.2454 -0.2921,0.2681 -0.077,0.028 -0.1388,-0.029 -0.1905,-0.078 0,0 -0.1662,-0.1773 -0.1662,-0.1773 0,0 -0.2148,-0.2159 -0.2148,-0.2159 -0.051,-0.051 -0.1251,-0.1091 -0.1036,-0.1905 0.019,-0.074 0.1719,-0.208 0.2306,-0.2667 0,0 0.5842,-0.5842 0.5842,-0.5842 0,0 0.7874,-0.7874 0.7874,-0.7874 0,0 1.2954,-1.2954 1.2954,-1.2954 0,0 -5.5118,0 -5.5118,0 0,0 -1.2827,0 -1.2827,0 0,0 -0.254,0 -0.254,0 -0.045,-6e-4 -0.089,0 -0.1194,-0.041 -0.024,-0.031 -0.02,-0.074 -0.02,-0.1114 0,0 0,-0.6731 0,-0.6731 9e-4,-0.1227 0.037,-0.1394 0.1524,-0.1397 0,0 7.2009,0 7.2009,0 z"
|
216 |
+
}
|
217 |
+
)
|
218 |
+
),
|
219 |
+
attributes: {
|
220 |
+
register_url : {
|
221 |
+
type: 'string',
|
222 |
+
default: ''
|
223 |
+
},
|
224 |
+
lostpassword_url : {
|
225 |
+
type: 'string',
|
226 |
+
default: '',
|
227 |
+
},
|
228 |
+
auth_field : {
|
229 |
+
type: 'boolean',
|
230 |
+
default: false,
|
231 |
+
},
|
232 |
+
redirect_url : {
|
233 |
+
type: 'string',
|
234 |
+
default: '',
|
235 |
+
},
|
236 |
+
logout_redirect_url : {
|
237 |
+
type: 'string',
|
238 |
+
default: '',
|
239 |
+
},
|
240 |
+
is_preview : {
|
241 |
+
type: 'boolean',
|
242 |
+
default: false,
|
243 |
+
},
|
244 |
+
is_editor : {
|
245 |
+
type: 'boolean',
|
246 |
+
default: true,
|
247 |
+
},
|
248 |
+
},
|
249 |
+
|
250 |
+
edit: function ( props ) {
|
251 |
+
return [
|
252 |
+
el(
|
253 |
+
'div',
|
254 |
+
Object.assign( blockEditor.useBlockProps(), { key: 'wppb/login/render' } ),
|
255 |
+
el( serverSideRender,
|
256 |
+
{
|
257 |
+
block: 'wppb/login',
|
258 |
+
attributes: props.attributes,
|
259 |
+
}
|
260 |
+
)
|
261 |
+
),
|
262 |
+
el( InspectorControls, { key: 'wppb/login/inspector' },
|
263 |
+
[
|
264 |
+
el( PanelBody,
|
265 |
+
{
|
266 |
+
title: __( 'Form Settings' , 'profile-builder' ),
|
267 |
+
key: 'wppb/login/inspector/form-settings'
|
268 |
+
},
|
269 |
+
[
|
270 |
+
el( SelectControl,
|
271 |
+
{
|
272 |
+
label: __( 'Registration Page' , 'profile-builder' ),
|
273 |
+
key: 'wppb/register/inspector/form_settings/register_url',
|
274 |
+
help: __( 'Add a link to a Registration Page' , 'profile-builder' ),
|
275 |
+
value: props.attributes.register_url,
|
276 |
+
options: [
|
277 |
+
{
|
278 |
+
label: __( '' , 'profile-builder' ),
|
279 |
+
value: ''
|
280 |
+
},
|
281 |
+
<?php
|
282 |
+
if( !empty( $all_pages ) ){
|
283 |
+
foreach ( $all_pages as $page ){
|
284 |
+
?>
|
285 |
+
{
|
286 |
+
label: '<?php echo esc_html( $page->post_title ) ?>',
|
287 |
+
value: '<?php echo esc_url( get_page_link( $page->ID ) ) ?>'
|
288 |
+
},
|
289 |
+
<?php
|
290 |
+
}
|
291 |
+
}
|
292 |
+
?>
|
293 |
+
],
|
294 |
+
onChange: ( value ) => { props.setAttributes( { register_url: value } ); }
|
295 |
+
}
|
296 |
+
),
|
297 |
+
el( SelectControl,
|
298 |
+
{
|
299 |
+
label: __( 'Recover Password Page' , 'profile-builder' ),
|
300 |
+
key: 'wppb/register/inspector/form_settings/lostpassword_url',
|
301 |
+
help: __( 'Add a link to a Recover Password Page' , 'profile-builder' ),
|
302 |
+
value: props.attributes.lostpassword_url,
|
303 |
+
options: [
|
304 |
+
{
|
305 |
+
label: __( '' , 'profile-builder' ),
|
306 |
+
value: ''
|
307 |
+
},
|
308 |
+
<?php
|
309 |
+
if( !empty( $all_pages ) ){
|
310 |
+
foreach ( $all_pages as $page ){
|
311 |
+
?>
|
312 |
+
{
|
313 |
+
label: '<?php echo esc_html( $page->post_title ) ?>',
|
314 |
+
value: '<?php echo esc_url( get_page_link( $page->ID ) ) ?>'
|
315 |
+
},
|
316 |
+
<?php
|
317 |
+
}
|
318 |
+
}
|
319 |
+
?>
|
320 |
+
],
|
321 |
+
onChange: ( value ) => { props.setAttributes( { lostpassword_url: value } ); }
|
322 |
+
}
|
323 |
+
),
|
324 |
+
<?php
|
325 |
+
if ( wppb_is_2fa_active() ) {
|
326 |
+
?>
|
327 |
+
el( ToggleControl,
|
328 |
+
{
|
329 |
+
label: __( 'Show Authenticator Code Field' , 'profile-builder' ),
|
330 |
+
key: 'wppb/login/inspector/form-settings/auth_field',
|
331 |
+
checked: props.attributes.auth_field,
|
332 |
+
onChange: ( value ) => { props.setAttributes( { auth_field: !props.attributes.auth_field } ); }
|
333 |
+
}
|
334 |
+
)
|
335 |
+
<?php
|
336 |
+
}
|
337 |
+
?>
|
338 |
+
]
|
339 |
+
),
|
340 |
+
el( PanelBody,
|
341 |
+
{
|
342 |
+
title: __( 'Redirects' , 'profile-builder' ),
|
343 |
+
key: 'wppb/login/inspector/redirects'
|
344 |
+
},
|
345 |
+
[
|
346 |
+
el( SelectControl,
|
347 |
+
{
|
348 |
+
label: __( 'After Login' , 'profile-builder' ),
|
349 |
+
key: 'wppb/login/inspector/form-settings/redirect_url',
|
350 |
+
help: __( 'Select a page for an After Login Redirect' , 'profile-builder' ),
|
351 |
+
value: props.attributes.redirect_url,
|
352 |
+
options: [
|
353 |
+
{
|
354 |
+
label: __( '' , 'profile-builder' ),
|
355 |
+
value: ''
|
356 |
+
},
|
357 |
+
<?php
|
358 |
+
if( !empty( $all_pages ) ){
|
359 |
+
foreach ( $all_pages as $page ){
|
360 |
+
?>
|
361 |
+
{
|
362 |
+
label: '<?php echo esc_html( $page->post_title ) ?>',
|
363 |
+
value: '<?php echo esc_url( get_page_link( $page->ID ) ) ?>'
|
364 |
+
},
|
365 |
+
<?php
|
366 |
+
}
|
367 |
+
}
|
368 |
+
?>
|
369 |
+
],
|
370 |
+
onChange: ( value ) => { props.setAttributes( { redirect_url: value } ); }
|
371 |
+
}
|
372 |
+
),
|
373 |
+
el( SelectControl,
|
374 |
+
{
|
375 |
+
label: __( 'After Logout' , 'profile-builder' ),
|
376 |
+
key: 'wppb/login/inspector/form-settings/logout_redirect_url',
|
377 |
+
help: __( 'Select a page for an After Logout Redirect' , 'profile-builder' ),
|
378 |
+
value: props.attributes.logout_redirect_url,
|
379 |
+
options: [
|
380 |
+
{
|
381 |
+
label: __( '' , 'profile-builder' ),
|
382 |
+
value: ''
|
383 |
+
},
|
384 |
+
<?php
|
385 |
+
if( !empty( $all_pages ) ){
|
386 |
+
foreach ( $all_pages as $page ){
|
387 |
+
?>
|
388 |
+
{
|
389 |
+
label: '<?php echo esc_html( $page->post_title ) ?>',
|
390 |
+
value: '<?php echo esc_url( get_page_link( $page->ID ) ) ?>'
|
391 |
+
},
|
392 |
+
<?php
|
393 |
+
}
|
394 |
+
}
|
395 |
+
?>
|
396 |
+
],
|
397 |
+
onChange: ( value ) => { props.setAttributes( { logout_redirect_url: value } ); }
|
398 |
+
}
|
399 |
+
)
|
400 |
+
]
|
401 |
+
)
|
402 |
+
]
|
403 |
+
),
|
404 |
+
el( blockEditor.InspectorAdvancedControls, { key: 'wppb/login/inspector_advanced' },
|
405 |
+
[
|
406 |
+
el( TextControl,
|
407 |
+
{
|
408 |
+
label: __( 'Registration URL' , 'profile-builder' ),
|
409 |
+
key: 'wppb/login/inspector_advanced/form-settings/register_url',
|
410 |
+
help: __( 'Manually type in a Registration Page URL' , 'profile-builder' ),
|
411 |
+
value: props.attributes.register_url,
|
412 |
+
onChange: ( value ) => { props.setAttributes( { register_url: value } ); }
|
413 |
+
},
|
414 |
+
),
|
415 |
+
el( TextControl,
|
416 |
+
{
|
417 |
+
label: __( 'Recover Password URL' , 'profile-builder' ),
|
418 |
+
key: 'wppb/login/inspector_advanced/form-settings/lostpassword_url',
|
419 |
+
help: __( 'Manually type in a Recover Password Page URL' , 'profile-builder' ),
|
420 |
+
value: props.attributes.lostpassword_url,
|
421 |
+
onChange: ( value ) => { props.setAttributes( { lostpassword_url: value } ); }
|
422 |
+
}
|
423 |
+
),
|
424 |
+
el( TextControl,
|
425 |
+
{
|
426 |
+
label: __( 'After Login' , 'profile-builder' ),
|
427 |
+
key: 'wppb/login/inspector_advanced/form-settings/redirect_url',
|
428 |
+
help: __( 'Manually type in an After Login Redirect URL' , 'profile-builder' ),
|
429 |
+
value: props.attributes.redirect_url,
|
430 |
+
onChange: ( value ) => { props.setAttributes( { redirect_url: value } ); }
|
431 |
+
}
|
432 |
+
),
|
433 |
+
el( TextControl,
|
434 |
+
{
|
435 |
+
label: __( 'After Logout' , 'profile-builder' ),
|
436 |
+
key: 'wppb/login/inspector_advanced/form-settings/logout_redirect_url',
|
437 |
+
help: __( 'Manually type in an After Logout Redirect URL' , 'profile-builder' ),
|
438 |
+
value: props.attributes.logout_redirect_url,
|
439 |
+
onChange: ( value ) => { props.setAttributes( { logout_redirect_url: value } ); }
|
440 |
+
}
|
441 |
+
)
|
442 |
+
]
|
443 |
+
)
|
444 |
+
];
|
445 |
+
}
|
446 |
+
} );
|
447 |
+
} )(
|
448 |
+
window.wp.blocks,
|
449 |
+
window.wp.i18n,
|
450 |
+
window.wp.element,
|
451 |
+
window.wp.serverSideRender,
|
452 |
+
window.wp.blockEditor,
|
453 |
+
window.wp.components
|
454 |
+
);
|
455 |
+
<?php
|
456 |
+
exit;
|
457 |
+
}
|
458 |
+
);
|
assets/misc/gutenberg-blocks/manage-blocks.php
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Exit if accessed directly
|
4 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
5 |
+
|
6 |
+
function wppb_block_editor_enqueue()
|
7 |
+
{
|
8 |
+
wp_enqueue_style('wppb_block_stylesheet', plugin_dir_url( __FILE__ ) . 'assets/css/gutenberg-blocks.css', PROFILE_BUILDER_VERSION);
|
9 |
+
|
10 |
+
wp_enqueue_style('wppb_stylesheet', WPPB_PLUGIN_URL . 'assets/css/style-front-end.css', array('wp-edit-blocks'), PROFILE_BUILDER_VERSION);
|
11 |
+
|
12 |
+
//Select
|
13 |
+
wp_enqueue_script('wppb_select2_js', WPPB_PLUGIN_URL . 'assets/js/select2/select2.min.js', array('jquery'), PROFILE_BUILDER_VERSION);
|
14 |
+
wp_enqueue_style('wppb_select2_css', WPPB_PLUGIN_URL . 'assets/css/select2/select2.min.css', array(), PROFILE_BUILDER_VERSION);
|
15 |
+
|
16 |
+
|
17 |
+
if (defined('WPPB_PAID_PLUGIN_URL')) {
|
18 |
+
if (defined('WPPB_PAID_PLUGIN_URL')) {
|
19 |
+
//Select2
|
20 |
+
wp_enqueue_style('wppb_sl2_css', WPPB_PAID_PLUGIN_URL . 'front-end/extra-fields/select2/select2.css', false, PROFILE_BUILDER_VERSION);
|
21 |
+
wp_enqueue_style('wppb-select-cpt-style', WPPB_PAID_PLUGIN_URL . 'front-end/extra-fields/select-cpt/style-front-end.css', array(), PROFILE_BUILDER_VERSION);
|
22 |
+
|
23 |
+
//Upload
|
24 |
+
wp_enqueue_style('wppb-upload-css', WPPB_PAID_PLUGIN_URL . 'front-end/extra-fields/upload/upload.css', false, PROFILE_BUILDER_VERSION);
|
25 |
+
|
26 |
+
//Multi-Step Forms compatibility
|
27 |
+
wp_enqueue_style('wppb-msf-style-frontend', WPPB_PAID_PLUGIN_URL . 'add-ons-advanced/multi-step-forms/assets/css/frontend-multi-step-forms.css', array(), PROFILE_BUILDER_VERSION);
|
28 |
+
}
|
29 |
+
|
30 |
+
//Userlisting
|
31 |
+
wp_enqueue_script('wppb-userlisting-js', WPPB_PAID_PLUGIN_URL . 'add-ons/user-listing/userlisting.js', array('jquery', 'jquery-touch-punch'), PROFILE_BUILDER_VERSION, true);
|
32 |
+
wp_localize_script('wppb-userlisting-js', 'wppb_userlisting_obj', array('pageSlug' => wppb_get_users_pagination_slug()));
|
33 |
+
wp_enqueue_style('wppb-ul-slider-css', WPPB_PAID_PLUGIN_URL . 'add-ons/user-listing/jquery-ui-slider.min.css', array(), PROFILE_BUILDER_VERSION);
|
34 |
+
wp_enqueue_script('jquery-ui-slider');
|
35 |
+
|
36 |
+
//Social Connect
|
37 |
+
wp_enqueue_style('wppb-sc-frontend-style', WPPB_PAID_PLUGIN_URL . 'add-ons-advanced/social-connect/assets/css/wppb_sc_main_frontend.css', false, PROFILE_BUILDER_VERSION);
|
38 |
+
}
|
39 |
+
}
|
40 |
+
add_action( 'enqueue_block_editor_assets', 'wppb_block_editor_enqueue' );
|
41 |
+
|
42 |
+
function register_layout_category( $categories ) {
|
43 |
+
|
44 |
+
$categories[] = array(
|
45 |
+
'slug' => 'wppb-block',
|
46 |
+
'title' => 'Profile Builder'
|
47 |
+
);
|
48 |
+
|
49 |
+
return $categories;
|
50 |
+
}
|
51 |
+
|
52 |
+
if ( version_compare( get_bloginfo( 'version' ), '5.8', '>=' ) ) {
|
53 |
+
add_filter( 'block_categories_all', 'register_layout_category' );
|
54 |
+
} else {
|
55 |
+
add_filter( 'block_categories', 'register_layout_category' );
|
56 |
+
}
|
57 |
+
|
58 |
+
include_once(WPPB_PLUGIN_DIR . '/assets/misc/gutenberg-blocks/login.php');
|
59 |
+
include_once(WPPB_PLUGIN_DIR . '/assets/misc/gutenberg-blocks/register.php');
|
60 |
+
include_once(WPPB_PLUGIN_DIR . '/assets/misc/gutenberg-blocks/edit-profile.php');
|
61 |
+
include_once(WPPB_PLUGIN_DIR . '/assets/misc/gutenberg-blocks/recover-password.php');
|
62 |
+
|
63 |
+
if( defined( 'WPPB_PAID_PLUGIN_URL' ) && wppb_check_if_add_on_is_active( 'wppb_userListing' ) ) {
|
64 |
+
include_once(WPPB_PLUGIN_DIR . '/assets/misc/gutenberg-blocks/user-listing.php');
|
65 |
+
}
|
assets/misc/gutenberg-blocks/recover-password.php
ADDED
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Exit if accessed directly
|
4 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Register: PHP.
|
8 |
+
*/
|
9 |
+
add_action(
|
10 |
+
'init',
|
11 |
+
function() {
|
12 |
+
wp_register_script(
|
13 |
+
'wppb-block-recover-password',
|
14 |
+
add_query_arg( [ 'action' => 'wppb-block-recover-password.js', ], admin_url( 'admin-ajax.php' ) ),
|
15 |
+
[ 'wp-blocks', 'wp-element', 'wp-editor' ],
|
16 |
+
microtime(),
|
17 |
+
true
|
18 |
+
);
|
19 |
+
register_block_type(
|
20 |
+
'wppb/recover-password',
|
21 |
+
[
|
22 |
+
'api_version' => 2,
|
23 |
+
'title' => __( 'Recover Password' , 'profile-builder' ),
|
24 |
+
'description' => __( 'Displays the Front End Recover Password Form.' , 'profile-builder' ),
|
25 |
+
'category' => 'wppb-block',
|
26 |
+
'keywords' => [
|
27 |
+
__( 'Recover' , 'profile-builder' ),
|
28 |
+
__( 'Password' , 'profile-builder' ),
|
29 |
+
__( 'Recover Password' , 'profile-builder' ),
|
30 |
+
__( 'Form' , 'profile-builder' ),
|
31 |
+
],
|
32 |
+
'example' => [
|
33 |
+
'attributes' => [
|
34 |
+
'is_preview' => true,
|
35 |
+
'is_editor' => true,
|
36 |
+
],
|
37 |
+
],
|
38 |
+
'editor_script' => 'wppb-block-recover-password',
|
39 |
+
'attributes' => [
|
40 |
+
'is_preview' => [
|
41 |
+
'type' => 'boolean',
|
42 |
+
'default' => false,
|
43 |
+
],
|
44 |
+
'is_editor' => [
|
45 |
+
'type' => 'boolean',
|
46 |
+
'default' => false,
|
47 |
+
],
|
48 |
+
],
|
49 |
+
|
50 |
+
'render_callback' => function( $attributes, $content ) {
|
51 |
+
ob_start();
|
52 |
+
do_action( 'wppb/recover-password/render_callback', $attributes, $content );
|
53 |
+
return ob_get_clean();
|
54 |
+
},
|
55 |
+
]
|
56 |
+
);
|
57 |
+
}
|
58 |
+
);
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Render: PHP.
|
62 |
+
*
|
63 |
+
* @param array $attributes Optional. Block attributes. Default empty array.
|
64 |
+
* @param string $content Optional. Block content. Default empty string.
|
65 |
+
*/
|
66 |
+
add_action(
|
67 |
+
'wppb/recover-password/render_callback',
|
68 |
+
function( $attributes, $content ) {
|
69 |
+
if ( $attributes['is_preview'] ) {
|
70 |
+
echo '
|
71 |
+
<svg
|
72 |
+
xmlns="http://www.w3.org/2000/svg"
|
73 |
+
fill="none"
|
74 |
+
viewBox="0 0 230 130"
|
75 |
+
style="width: "100%";"
|
76 |
+
>
|
77 |
+
<title>Recover Password Block Preview</title>
|
78 |
+
<rect
|
79 |
+
width="100.80727"
|
80 |
+
height="15"
|
81 |
+
x="28.485535"
|
82 |
+
y="27.950914"
|
83 |
+
rx="8.0260563"
|
84 |
+
id="rect6"
|
85 |
+
style="fill:#a0a5aa;stroke-width:1.26696932" />
|
86 |
+
<rect
|
87 |
+
width="146.85718"
|
88 |
+
height="4.0700259"
|
89 |
+
x="28.485535"
|
90 |
+
y="64.117226"
|
91 |
+
rx="7.9975109"
|
92 |
+
id="rect4-3-5-7"
|
93 |
+
style="fill:#a0a5aa;stroke-width:1.56730127" />
|
94 |
+
<rect
|
95 |
+
width="50.390999"
|
96 |
+
height="10.030812"
|
97 |
+
x="28.485535"
|
98 |
+
y="78.605385"
|
99 |
+
rx="2.7441804"
|
100 |
+
id="rect4-6"
|
101 |
+
style="fill:#a0a5aa;stroke-width:1.44128823" />
|
102 |
+
<rect
|
103 |
+
width="57.461281"
|
104 |
+
height="15"
|
105 |
+
x="28.485535"
|
106 |
+
y="100.59328"
|
107 |
+
rx="4.5749426"
|
108 |
+
id="rect6-7"
|
109 |
+
style="fill:#a0a5aa;stroke-width:0.95655036" />
|
110 |
+
<rect
|
111 |
+
width="115.16996"
|
112 |
+
height="4.0700259"
|
113 |
+
x="28.485535"
|
114 |
+
y="55.627056"
|
115 |
+
rx="6.2718964"
|
116 |
+
id="rect4-3-5"
|
117 |
+
style="fill:#a0a5aa;stroke-width:1.38795221" />
|
118 |
+
<rect
|
119 |
+
width="120.38487"
|
120 |
+
height="10.030812"
|
121 |
+
x="80.340279"
|
122 |
+
y="78.605385"
|
123 |
+
rx="6.5558887"
|
124 |
+
id="rect4-3-5-5"
|
125 |
+
style="fill:#a0a5aa;stroke-width:2.22771859" />
|
126 |
+
</svg>';
|
127 |
+
} else {
|
128 |
+
$atts = [
|
129 |
+
'block' => $attributes['is_editor'] ? ' block="true"' : '',
|
130 |
+
];
|
131 |
+
echo '<div class="wppb-block-container">' . do_shortcode( '[wppb-recover-password' . $atts['block'] . ' ]' ) . '</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
132 |
+
}
|
133 |
+
},
|
134 |
+
10,
|
135 |
+
2
|
136 |
+
);
|
137 |
+
|
138 |
+
/**
|
139 |
+
* Register: JavaScript.
|
140 |
+
*/
|
141 |
+
add_action(
|
142 |
+
'wp_ajax_wppb-block-recover-password.js',
|
143 |
+
function() {
|
144 |
+
header( 'Content-Type: text/javascript' );
|
145 |
+
?>
|
146 |
+
( function ( blocks, i18n, element, serverSideRender, blockEditor ) {
|
147 |
+
var { __ } = i18n;
|
148 |
+
var el = element.createElement;
|
149 |
+
|
150 |
+
blocks.registerBlockType( 'wppb/recover-password', {
|
151 |
+
icon:
|
152 |
+
el('svg', {},
|
153 |
+
el( 'path',
|
154 |
+
{
|
155 |
+
d: "m 6.0749198,9.5296124 c 0,0 -0.381,-0.275 -0.381,-0.275 -0.2779,-0.2122 -0.5737,-0.4602 -0.8116,-0.7156 -0.6116,-0.6563 -1.0463,-1.4197 -1.2405,-2.2987 -0.1066,-0.4834 -0.1253,-0.8802001 -0.1196,-1.3716001 0,0 0.012,-0.127 0.012,-0.127 0,0 0.012,-0.1778 0.012,-0.1778 0.082,-0.8431 0.3084,-1.5756 0.7811,-2.286 0.4413,-0.6632 1.0399,-1.2029 1.723,-1.60780004 0.5137,-0.3044 1.1011,-0.50569996 1.6891,-0.60299996 0.1599,-0.026 0.4261,-0.062 0.5842,-0.062 0,0 0.508,0 0.508,0 0,0 0.127,0.012 0.127,0.012 0.5033,0.034 0.9887,0.1478 1.4605002,0.32599996 0.5314,0.2006 0.9675,0.4662 1.4097,0.82060004 0.1683,0.1349 0.3245,0.2847 0.4711,0.442 0.2214,0.2379 0.4208,0.487 0.5951,0.762 0.6887,1.0874 0.9389,2.4628 0.671,3.7211001 -0.1661,0.7803 -0.5236,1.5111 -1.0209,2.1336 -0.2968,0.3715 -0.5672,0.6414 -0.9322,0.945 -0.1068,0.089 -0.3558,0.2917 -0.4699,0.3504 0,0 0.7239,0.3101 0.7239,0.3101 0.4765,0.2000996 0.9632,0.4262996 1.3843,0.7275996 0,0 0.2286,0.1697 0.2286,0.1697 0.117,0.071 0.3234,0.1201 0.3404,0.2785 0.012,0.1147 -0.091,0.2264 -0.1617,0.3048 -0.1525,0.1682 -0.2934,0.3378 -0.547,0.2836 -0.058,-0.012 -0.1003,-0.032 -0.1524,-0.058 0,0 -0.3302,-0.2168 -0.3302,-0.2168 0,0 -0.3429,-0.2116 -0.3429,-0.2116 -0.3795,-0.2217 -0.7912,-0.4104 -1.2065,-0.5546 -0.6924,-0.2403 -1.4643002,-0.3895 -2.1971002,-0.398 0,0 -0.1905,-0.013 -0.1905,-0.013 0,0 -0.4572,0.013 -0.4572,0.013 0,0 -0.127,0.012 -0.127,0.012 -0.3259,0.022 -0.6443,0.061 -0.9652,0.1256 -0.9263,0.1853 -1.7619,0.5133 -2.5654,1.0111 -1.5715,0.9737 -2.6868,2.4377 -3.2639,4.1857 -0.1095,0.3315 -0.2014,0.7347 -0.2592,1.0795 0,0 -0.071,0.5842 -0.071,0.5842 -2e-4,0.1756 -2e-4,0.3552 0.15249996,0.4759 0.1056,0.083 0.2399,0.098 0.3682,0.1105 0,0 0.5715,0.011 0.5715,0.011 0,0 0.2159,-0.013 0.2159,-0.013 0,0 5.4483,0 5.4483,0 0,0 2.4638002,0 2.4638002,0 0,0 0.1905,-0.013 0.1905,-0.013 0,0 0.889,0 0.889,0 0,0 0.1905,-0.013 0.1905,-0.013 0,0 0.5334,0 0.5334,0 0,0 0.2159,-0.013 0.2159,-0.013 0.1655,-2e-4 0.3324,0.011 0.4953,0.041 0.4683,0.087 0.8627,0.3513 1.2319,0.6391 0,0 0.381,0.3101 0.381,0.3101 0,0 -6.2484002,0 -6.2484002,0 0,0 -2.0828,0 -2.0828,0 0,0 -1.0414,0 -1.0414,0 0,0 -0.1905,0.013 -0.1905,0.013 0,0 -2.286,0 -2.286,0 0,0 -0.1905,-0.013 -0.1905,-0.013 0,0 -0.4064,0 -0.4064,0 -0.3852,0 -0.6989,0.018 -1.07949996,-0.078 -0.2581,-0.065 -0.4901,-0.1857 -0.6342,-0.4175 -0.048,-0.077 -0.08,-0.1543 -0.1059,-0.2413 -0.06,-0.2017 -0.062,-0.4139 -0.06,-0.6223 0,0 0.012,-0.127 0.012,-0.127 0,0 0.049,-0.4318 0.049,-0.4318 0.05,-0.3505 0.1223,-0.6979 0.2083,-1.0414 0.3609,-1.4441 1.03529996,-2.7673 2.06889996,-3.8481 0.5149,-0.5382 1.1081,-0.9966 1.7394,-1.3896 0.4309,-0.2685 0.8822,-0.4989996 1.3462,-0.7040996 0.1318,-0.058 0.5277,-0.2341 0.6477,-0.2558 z m 2.3241,-8.57070014 c 0,0 -0.2921,0.027 -0.2921,0.027 -0.2696,0.033 -0.5682,0.10020004 -0.8255,0.18690004 -0.8735,0.2948 -1.6186,0.8721 -2.1294,1.6383 -0.097,0.1455 -0.1916,0.2991 -0.2668,0.4572 -0.2187,0.4601 -0.3634,0.9512 -0.3989,1.4605 0,0 -0.012,0.127 -0.012,0.127 0,0 0,0.381 0,0.381 5e-4,0.2944 0.09,0.7457001 0.1781,1.0287001 0.3896,1.2534 1.3669,2.2761 2.6159,2.6924 0.3272,0.1091 0.6591,0.1802 1.0033,0.2043 0,0 0.127,0.012 0.127,0.012 0,0 0.3429,0 0.3429,0 0,0 0.1524,-0.012 0.1524,-0.012 0.494,-0.034 0.9722,-0.1593 1.4224002,-0.3655 0,0 0.1651,-0.078 0.1651,-0.078 0.3536,-0.1961 0.6417,-0.3856 0.9398,-0.6633 0.7667,-0.7143 1.2378,-1.7349 1.2832,-2.7802001 0,0 0.012,-0.1651 0.012,-0.1651 0,0 0,-0.1143 0,-0.1143 0,0 -0.012,-0.1397 -0.012,-0.1397 -0.078,-1.7902 -1.3786,-3.3431 -3.1120002,-3.7766 -0.2353,-0.059 -0.4696,-0.094 -0.7112,-0.11070004 0,0 -0.1524,-0.01 -0.1524,-0.01 0,0 -0.3302,0 -0.3302,0 z M 18.83842,10.484812 c 0,0 0.5207,0 0.5207,0 0,0 0.127,0.01 0.127,0.01 0.4751,0.038 0.9826,0.2268 1.3197,0.573 0.1892,0.1942 0.3274,0.4316 0.4196,0.6853 0.074,0.2043 0.1013,0.4201 0.1161,0.635 0,0 0.011,0.127 0.011,0.127 0,0.2948 -0.093,0.5481 -0.2121,0.8128 -0.1042,0.2314 -0.2408,0.4836 -0.3762,0.6985 0,0 -0.303,0.4572 -0.303,0.4572 0,0 -0.568,0.5715 -0.568,0.5715 -0.089,0.097 -0.1311,0.2781 -0.1681,0.4064 0,0 -0.1834,0.5842 -0.1834,0.5842 0,0 -0.065,0.2159 -0.065,0.2159 -0.011,0.035 -0.024,0.081 -0.057,0.1014 -0.026,0.015 -0.069,0.013 -0.099,0.013 0,0 -0.7874,0 -0.7874,0 -0.1088,-2e-4 -0.1171,0 -0.1142,-0.127 0,0 0.049,-0.4572 0.049,-0.4572 0.016,-0.1341 0.049,-0.36 0.097,-0.4826 0.048,-0.1219 0.1332,-0.2468 0.2058,-0.3556 0,0 0.3381,-0.4572 0.3381,-0.4572 0,0 0.6335,-0.6604 0.6335,-0.6604 0,0 0.1079,-0.1143 0.1079,-0.1143 0.047,-0.056 0.1221,-0.197 0.1619,-0.2667 0.1209,-0.2113 0.2984,-0.5947 0.2995,-0.8382 0,0 0,-0.089 0,-0.089 0,-0.4075 -0.2032,-0.8183 -0.5715,-1.0119 -0.1567,-0.082 -0.3947,-0.1289 -0.5715,-0.1311 -0.3419,0 -0.8056,0.1 -1.0155,0.3937 -0.1105,0.1546 -0.1689,0.327 -0.2201,0.508 -0.037,0.1316 -0.013,0.2012 -0.1614,0.2032 0,0 -0.7874,0 -0.7874,0 -0.032,0 -0.083,0 -0.1096,-0.02 -0.022,-0.026 -0.01,-0.064 0,-0.094 0,0 0.044,-0.1905 0.044,-0.1905 0.082,-0.3044 0.1722,-0.5596 0.3233,-0.8382 0.2473,-0.4562 0.7632,-0.7064 1.2534,-0.8101 0,0 0.3429,-0.051 0.3429,-0.051 z m -9.5758002,3.5406 c 0,0 0,-0.5842 0,-0.5842 10e-5,-0.089 0.01,-0.1698 0.068,-0.2408 0.1089,-0.1271 0.3227,-0.1159 0.4152,0.025 0.042,0.064 0.05,0.1414 0.05,0.2158 0,0 0,0.5842 0,0.5842 0,0 0.4445002,-0.2521 0.4445002,-0.2521 0.083,-0.047 0.18,-0.1081 0.2794,-0.099 0.2206,0.019 0.3014,0.2621 0.193,0.4148 -0.052,0.073 -0.1426,0.1153 -0.2184,0.1601 0,0 -0.4191,0.2337 -0.4191,0.2337 0,0 0,0.025 0,0.025 0,0 0.4318,0.2414 0.4318,0.2414 0.068,0.04 0.1603,0.087 0.2051,0.1524 0.1137,0.1661 0.015,0.4012 -0.1924,0.4142 -0.1031,0.01 -0.1935,-0.05 -0.2794,-0.099 0,0 -0.4445002,-0.2521 -0.4445002,-0.2521 0,0 0,0.5715 0,0.5715 -10e-5,0.079 -0.01,0.1599 -0.05,0.2285 -0.088,0.1337 -0.2938,0.1519 -0.4044,0.037 -0.066,-0.068 -0.078,-0.1496 -0.079,-0.24 0,0 0,-0.5969 0,-0.5969 0,0 -0.4318,0.2438 -0.4318,0.2438 -0.081,0.048 -0.1947,0.1154 -0.2921,0.1091 -0.1944,-0.012 -0.3081,-0.2409 -0.2036,-0.4037 0.055,-0.086 0.1319,-0.1168 0.2163,-0.1651 0.09,-0.052 0.3552,-0.2172 0.4318,-0.2413 0,0 0,-0.025 0,-0.025 0,0 -0.4064,-0.225 -0.4064,-0.225 -0.092,-0.053 -0.1947,-0.1 -0.2521,-0.1941 -0.025,-0.042 -0.027,-0.067 -0.027,-0.1143 -2e-4,-0.027 -9e-4,-0.063 0.01,-0.089 0.033,-0.1137 0.1554,-0.198 0.2729,-0.1881 0.087,0.01 0.1675,0.061 0.2413,0.1028 0,0 0.4445,0.2504 0.4445,0.2504 z m 2.9210002,0 c 0,0 0,-0.5715 0,-0.5715 10e-5,-0.083 0.01,-0.1717 0.059,-0.241 0.1054,-0.1466 0.3557,-0.1336 0.4372,0.038 0.044,0.092 0.037,0.2054 0.037,0.3048 0,0 0,0.4699 0,0.4699 0,0 0.4445,-0.2521 0.4445,-0.2521 0.088,-0.05 0.1737,-0.105 0.2794,-0.097 0.2159,0.016 0.3061,0.2531 0.193,0.4124 -0.052,0.073 -0.1426,0.1153 -0.2184,0.1601 0,0 -0.4191,0.2337 -0.4191,0.2337 0,0 0,0.025 0,0.025 0,0 0.4318,0.2412 0.4318,0.2412 0.082,0.048 0.1616,0.081 0.2141,0.1652 0.1066,0.1708 -0.01,0.4049 -0.2268,0.4041 -0.092,-2e-4 -0.1772,-0.057 -0.254,-0.1012 0,0 -0.4445,-0.2521 -0.4445,-0.2521 0,0 0,0.508 0,0.508 0,0.1038 0.01,0.2002 -0.05,0.292 -0.089,0.1346 -0.293,0.1528 -0.4044,0.037 -0.069,-0.071 -0.079,-0.1463 -0.079,-0.24 0,0 0,-0.5969 0,-0.5969 0,0 -0.4572,0.2593 -0.4572,0.2593 -0.079,0.045 -0.1716,0.1005 -0.2667,0.092 -0.2123,-0.018 -0.3083,-0.254 -0.193,-0.4148 0.055,-0.077 0.1737,-0.1342 0.2565,-0.1815 0,0 0.381,-0.2123 0.381,-0.2123 0,0 0,-0.025 0,-0.025 0,0 -0.4064,-0.225 -0.4064,-0.225 -0.076,-0.043 -0.1825,-0.097 -0.233,-0.1687 -0.1245,-0.1758 0.01,-0.4176 0.2203,-0.4168 0.088,2e-4 0.1928,0.065 0.2667,0.1095 0,0 0.4318,0.2438 0.4318,0.2438 z m 2.921,0 c 0,0 0,-0.5842 0,-0.5842 10e-5,-0.085 0.01,-0.1735 0.066,-0.2408 0.1147,-0.1302 0.3371,-0.1135 0.4261,0.038 0.03,0.051 0.04,0.1438 0.041,0.2032 0,0 0,0.5842 0,0.5842 0,0 0.4445,-0.2521 0.4445,-0.2521 0.084,-0.048 0.1786,-0.1045 0.2794,-0.097 0.212,0.016 0.3091,0.2505 0.193,0.4124 -0.053,0.074 -0.1417,0.1147 -0.2184,0.1601 -0.091,0.054 -0.3344,0.2026 -0.4191,0.2337 0,0 0,0.025 0,0.025 0,0 0.4318,0.2412 0.4318,0.2412 0.079,0.046 0.1629,0.085 0.2143,0.1652 0.114,0.1782 -0.025,0.4211 -0.2397,0.4022 -0.093,-0.01 -0.175,-0.062 -0.254,-0.1065 0,0 -0.4318,-0.2449 -0.4318,-0.2449 0,0 0,0.5842 0,0.5842 -10e-5,0.078 -0.01,0.1646 -0.056,0.2281 -0.1073,0.1356 -0.3304,0.1368 -0.4269,-0.012 -0.042,-0.065 -0.05,-0.1407 -0.05,-0.2159 0,0 0,-0.5842 0,-0.5842 0,0 -0.4445,0.2521 -0.4445,0.2521 -0.083,0.047 -0.18,0.1081 -0.2794,0.099 -0.2123,-0.018 -0.3083,-0.254 -0.193,-0.4148 0.055,-0.077 0.1737,-0.1342 0.2565,-0.1815 0,0 0.381,-0.2123 0.381,-0.2123 0,0 0,-0.025 0,-0.025 0,0 -0.4318,-0.2412 -0.4318,-0.2412 -0.074,-0.043 -0.1571,-0.081 -0.2076,-0.1525 -0.1202,-0.1716 5e-4,-0.4079 0.2076,-0.4178 0.092,0 0.1886,0.058 0.2667,0.1022 0,0 0.4445,0.2521 0.4445,0.2521 z m 3.7465,3.5107 c 0.1685,-0.021 0.3823,0 0.5207,0.1028 0.2757,0.2128 0.3023,0.7286 0.025,0.9519 -0.1464,0.118 -0.3049,0.1229 -0.4825,0.1209 -0.1389,0 -0.2934,-0.052 -0.3915,-0.1535 -0.2349,-0.2424 -0.2036,-0.7133 0.061,-0.921 0.078,-0.061 0.1715,-0.085 0.2667,-0.1011 z"
|
156 |
+
}
|
157 |
+
)
|
158 |
+
),
|
159 |
+
attributes: {
|
160 |
+
is_preview : {
|
161 |
+
type: 'boolean',
|
162 |
+
default: false,
|
163 |
+
},
|
164 |
+
is_editor : {
|
165 |
+
type: 'boolean',
|
166 |
+
default: true,
|
167 |
+
},
|
168 |
+
},
|
169 |
+
edit: function ( props ) {
|
170 |
+
return el(
|
171 |
+
'div',
|
172 |
+
Object.assign( blockEditor.useBlockProps(), { key: 'wppb/recover-password/render' } ),
|
173 |
+
el( serverSideRender,
|
174 |
+
{
|
175 |
+
block: 'wppb/recover-password',
|
176 |
+
attributes: props.attributes,
|
177 |
+
}
|
178 |
+
)
|
179 |
+
);
|
180 |
+
}
|
181 |
+
} );
|
182 |
+
} )(
|
183 |
+
window.wp.blocks,
|
184 |
+
window.wp.i18n,
|
185 |
+
window.wp.element,
|
186 |
+
window.wp.serverSideRender,
|
187 |
+
window.wp.blockEditor
|
188 |
+
);
|
189 |
+
<?php
|
190 |
+
exit;
|
191 |
+
}
|
192 |
+
);
|
assets/misc/gutenberg-blocks/register.php
ADDED
@@ -0,0 +1,672 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Exit if accessed directly
|
4 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Register: PHP.
|
8 |
+
*/
|
9 |
+
add_action(
|
10 |
+
'init',
|
11 |
+
function() {
|
12 |
+
wp_register_script(
|
13 |
+
'wppb-block-register',
|
14 |
+
add_query_arg( [ 'action' => 'wppb-block-register.js', ], admin_url( 'admin-ajax.php' ) ),
|
15 |
+
[ 'wp-blocks', 'wp-element', 'wp-editor' ],
|
16 |
+
microtime(),
|
17 |
+
true
|
18 |
+
);
|
19 |
+
register_block_type(
|
20 |
+
'wppb/register',
|
21 |
+
[
|
22 |
+
'api_version' => 2,
|
23 |
+
'title' => __( 'Register' , 'profile-builder' ),
|
24 |
+
'description' => __( 'Displays the Front End Registration Form.' , 'profile-builder' ),
|
25 |
+
'category' => 'wppb-block',
|
26 |
+
'keywords' => [
|
27 |
+
__( 'Register' , 'profile-builder' ),
|
28 |
+
__( 'Form' , 'profile-builder' ),
|
29 |
+
],
|
30 |
+
'example' => [
|
31 |
+
'attributes' => [
|
32 |
+
'form_name' => '',
|
33 |
+
'role' => '',
|
34 |
+
'automatic_login' => false,
|
35 |
+
'redirect_url' => '',
|
36 |
+
'logout_redirect_url' => '',
|
37 |
+
'is_preview' => true,
|
38 |
+
],
|
39 |
+
],
|
40 |
+
'editor_script' => 'wppb-block-register',
|
41 |
+
'attributes' => [
|
42 |
+
'form_name' => [
|
43 |
+
'type' => 'string',
|
44 |
+
'default' => '',
|
45 |
+
],
|
46 |
+
'role' => [
|
47 |
+
'type' => 'string',
|
48 |
+
'default' => '',
|
49 |
+
],
|
50 |
+
'automatic_login' => [
|
51 |
+
'type' => 'boolean',
|
52 |
+
'default' => false,
|
53 |
+
],
|
54 |
+
'redirect_url' => [
|
55 |
+
'type' => 'string',
|
56 |
+
'default' => '',
|
57 |
+
],
|
58 |
+
'logout_redirect_url' => [
|
59 |
+
'type' => 'string',
|
60 |
+
'default' => '',
|
61 |
+
],
|
62 |
+
'is_preview' => [
|
63 |
+
'type' => 'boolean',
|
64 |
+
'default' => false,
|
65 |
+
],
|
66 |
+
],
|
67 |
+
|
68 |
+
'render_callback' => function( $attributes, $content ) {
|
69 |
+
ob_start();
|
70 |
+
do_action( 'wppb/register/render_callback', $attributes, $content );
|
71 |
+
return ob_get_clean();
|
72 |
+
},
|
73 |
+
]
|
74 |
+
);
|
75 |
+
}
|
76 |
+
);
|
77 |
+
|
78 |
+
/**
|
79 |
+
* Render: PHP.
|
80 |
+
*
|
81 |
+
* @param array $attributes Optional. Block attributes. Default empty array.
|
82 |
+
* @param string $content Optional. Block content. Default empty string.
|
83 |
+
*/
|
84 |
+
add_action(
|
85 |
+
'wppb/register/render_callback',
|
86 |
+
function( $attributes, $content ) {
|
87 |
+
if ( $attributes['is_preview'] ) {
|
88 |
+
echo '
|
89 |
+
<svg
|
90 |
+
xmlns="http://www.w3.org/2000/svg"
|
91 |
+
fill="none"
|
92 |
+
viewBox="0 0 230 430"
|
93 |
+
style="width: "100%";"
|
94 |
+
>
|
95 |
+
<title>Register Block Preview</title>
|
96 |
+
<rect
|
97 |
+
width="44.373241"
|
98 |
+
height="15"
|
99 |
+
x="27.955204"
|
100 |
+
y="27.950914"
|
101 |
+
rx="3.5329013"
|
102 |
+
id="rect6"
|
103 |
+
style="fill:#a0a5aa;stroke-width:0.84058326" />
|
104 |
+
<rect
|
105 |
+
width="6.177"
|
106 |
+
height="6.177"
|
107 |
+
x="27.955204"
|
108 |
+
y="388.05646"
|
109 |
+
rx="3"
|
110 |
+
id="rect38"
|
111 |
+
style="fill:#a0a5aa" />
|
112 |
+
<rect
|
113 |
+
width="35.717747"
|
114 |
+
height="15"
|
115 |
+
x="27.955204"
|
116 |
+
y="406.9473"
|
117 |
+
rx="2.8437696"
|
118 |
+
id="rect6-7"
|
119 |
+
style="fill:#a0a5aa;stroke-width:0.75415772" />
|
120 |
+
<rect
|
121 |
+
width="121.18815"
|
122 |
+
height="9.191123"
|
123 |
+
x="80.097206"
|
124 |
+
y="101.45288"
|
125 |
+
rx="6.5996327"
|
126 |
+
id="rect4-3-5"
|
127 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
128 |
+
<rect
|
129 |
+
width="169.35583"
|
130 |
+
height="4.6558123"
|
131 |
+
x="27.955204"
|
132 |
+
y="56.672096"
|
133 |
+
rx="9.2227373"
|
134 |
+
id="rect4-3-5-9"
|
135 |
+
style="fill:#a0a5aa;stroke-width:1.80013108" />
|
136 |
+
<rect
|
137 |
+
width="22.35239"
|
138 |
+
height="11.730559"
|
139 |
+
x="27.955204"
|
140 |
+
y="79.031174"
|
141 |
+
rx="1.2172608"
|
142 |
+
id="rect4-3-1"
|
143 |
+
style="fill:#a0a5aa;stroke-width:1.03807247" />
|
144 |
+
<rect
|
145 |
+
width="58.980843"
|
146 |
+
height="2.9058123"
|
147 |
+
x="80.097206"
|
148 |
+
y="112.6096"
|
149 |
+
rx="3.2119634"
|
150 |
+
id="rect4-3-5-2"
|
151 |
+
style="fill:#a0a5aa;stroke-width:0.83925813" />
|
152 |
+
<rect
|
153 |
+
width="121.18815"
|
154 |
+
height="9.191123"
|
155 |
+
x="80.097206"
|
156 |
+
y="121.21694"
|
157 |
+
rx="6.5996327"
|
158 |
+
id="rect4-3-5-7"
|
159 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
160 |
+
<rect
|
161 |
+
width="121.18815"
|
162 |
+
height="9.191123"
|
163 |
+
x="80.097206"
|
164 |
+
y="134.21693"
|
165 |
+
rx="6.5996327"
|
166 |
+
id="rect4-3-5-0"
|
167 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
168 |
+
<rect
|
169 |
+
width="121.18815"
|
170 |
+
height="9.191123"
|
171 |
+
x="80.097206"
|
172 |
+
y="147.15443"
|
173 |
+
rx="6.5996327"
|
174 |
+
id="rect4-3-5-93"
|
175 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
176 |
+
<rect
|
177 |
+
width="121.18815"
|
178 |
+
height="9.191123"
|
179 |
+
x="80.097206"
|
180 |
+
y="202.06604"
|
181 |
+
rx="6.5996327"
|
182 |
+
id="rect4-3-5-6"
|
183 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
184 |
+
<rect
|
185 |
+
width="121.18815"
|
186 |
+
height="9.191123"
|
187 |
+
x="80.097206"
|
188 |
+
y="215.05089"
|
189 |
+
rx="6.5996327"
|
190 |
+
id="rect4-3-5-06"
|
191 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
192 |
+
<rect
|
193 |
+
width="121.18815"
|
194 |
+
height="47.81683"
|
195 |
+
x="80.097206"
|
196 |
+
y="266.19736"
|
197 |
+
rx="6.5996327"
|
198 |
+
id="rect4-3-5-26"
|
199 |
+
style="fill:#a0a5aa;stroke-width:4.88007784" />
|
200 |
+
<rect
|
201 |
+
width="121.18815"
|
202 |
+
height="9.191123"
|
203 |
+
x="80.097206"
|
204 |
+
y="331.47766"
|
205 |
+
rx="6.5996327"
|
206 |
+
id="rect4-3-5-1"
|
207 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
208 |
+
<rect
|
209 |
+
width="121.18815"
|
210 |
+
height="9.191123"
|
211 |
+
x="80.097206"
|
212 |
+
y="351.15445"
|
213 |
+
rx="6.5996327"
|
214 |
+
id="rect4-3-5-8"
|
215 |
+
style="fill:#a0a5aa;stroke-width:2.13954115" />
|
216 |
+
<rect
|
217 |
+
width="116.34488"
|
218 |
+
height="2.9058123"
|
219 |
+
x="80.097206"
|
220 |
+
y="316.20871"
|
221 |
+
rx="6.3358793"
|
222 |
+
id="rect4-3-5-2-7"
|
223 |
+
style="fill:#a0a5aa;stroke-width:1.17872834" />
|
224 |
+
<rect
|
225 |
+
width="52.793659"
|
226 |
+
height="2.9058123"
|
227 |
+
x="80.097206"
|
228 |
+
y="322.88547"
|
229 |
+
rx="2.8750234"
|
230 |
+
id="rect4-3-5-2-9"
|
231 |
+
style="fill:#a0a5aa;stroke-width:0.7940191" />
|
232 |
+
<rect
|
233 |
+
width="39.270241"
|
234 |
+
height="2.9058123"
|
235 |
+
x="80.097206"
|
236 |
+
y="342.66321"
|
237 |
+
rx="2.1385686"
|
238 |
+
id="rect4-3-5-2-2"
|
239 |
+
style="fill:#a0a5aa;stroke-width:0.68481278" />
|
240 |
+
<rect
|
241 |
+
width="51.114281"
|
242 |
+
height="2.9058123"
|
243 |
+
x="80.097206"
|
244 |
+
y="362.35513"
|
245 |
+
rx="2.7835681"
|
246 |
+
id="rect4-3-5-2-0"
|
247 |
+
style="fill:#a0a5aa;stroke-width:0.78128809" />
|
248 |
+
<rect
|
249 |
+
width="28.901199"
|
250 |
+
height="9.191123"
|
251 |
+
x="27.955204"
|
252 |
+
y="101.45288"
|
253 |
+
rx="1.573894"
|
254 |
+
id="rect4-3-5-5"
|
255 |
+
style="fill:#a0a5aa;stroke-width:1.04483688" />
|
256 |
+
<rect
|
257 |
+
width="27.651199"
|
258 |
+
height="9.191123"
|
259 |
+
x="27.955204"
|
260 |
+
y="121.21694"
|
261 |
+
rx="1.5058219"
|
262 |
+
id="rect4-3-5-5-9"
|
263 |
+
style="fill:#a0a5aa;stroke-width:1.02199209" />
|
264 |
+
<rect
|
265 |
+
width="26.151199"
|
266 |
+
height="9.191123"
|
267 |
+
x="27.955204"
|
268 |
+
y="134.21693"
|
269 |
+
rx="1.4241353"
|
270 |
+
id="rect4-3-5-5-2"
|
271 |
+
style="fill:#a0a5aa;stroke-width:0.99388552" />
|
272 |
+
<rect
|
273 |
+
width="29.151199"
|
274 |
+
height="9.191123"
|
275 |
+
x="27.955204"
|
276 |
+
y="147.15443"
|
277 |
+
rx="1.5875086"
|
278 |
+
id="rect4-3-5-5-28"
|
279 |
+
style="fill:#a0a5aa;stroke-width:1.04934609" />
|
280 |
+
<rect
|
281 |
+
width="19.901199"
|
282 |
+
height="9.191123"
|
283 |
+
x="27.955204"
|
284 |
+
y="202.06604"
|
285 |
+
rx="1.0837744"
|
286 |
+
id="rect4-3-5-5-97"
|
287 |
+
style="fill:#a0a5aa;stroke-width:0.8670221" />
|
288 |
+
<rect
|
289 |
+
width="20.026199"
|
290 |
+
height="9.191123"
|
291 |
+
x="27.955204"
|
292 |
+
y="215.05089"
|
293 |
+
rx="1.0905817"
|
294 |
+
id="rect4-3-5-5-3"
|
295 |
+
style="fill:#a0a5aa;stroke-width:0.86974072" />
|
296 |
+
<rect
|
297 |
+
width="42.526199"
|
298 |
+
height="9.191123"
|
299 |
+
x="27.955204"
|
300 |
+
y="266.19736"
|
301 |
+
rx="2.3158808"
|
302 |
+
id="rect4-3-5-5-6"
|
303 |
+
style="fill:#a0a5aa;stroke-width:1.26741493" />
|
304 |
+
<rect
|
305 |
+
width="27.526199"
|
306 |
+
height="9.191123"
|
307 |
+
x="27.955204"
|
308 |
+
y="331.47766"
|
309 |
+
rx="1.4990147"
|
310 |
+
id="rect4-3-5-5-1"
|
311 |
+
style="fill:#a0a5aa;stroke-width:1.01967943" />
|
312 |
+
<rect
|
313 |
+
width="45.901199"
|
314 |
+
height="9.191123"
|
315 |
+
x="27.955204"
|
316 |
+
y="351.15445"
|
317 |
+
rx="2.4996758"
|
318 |
+
id="rect4-3-5-5-29"
|
319 |
+
style="fill:#a0a5aa;stroke-width:1.31674767" />
|
320 |
+
<rect
|
321 |
+
width="37.85239"
|
322 |
+
height="11.730559"
|
323 |
+
x="27.955204"
|
324 |
+
y="180.14156"
|
325 |
+
rx="2.0613558"
|
326 |
+
id="rect4-3-1-31"
|
327 |
+
style="fill:#a0a5aa;stroke-width:1.3508662" />
|
328 |
+
<rect
|
329 |
+
width="46.10239"
|
330 |
+
height="11.730559"
|
331 |
+
x="27.955204"
|
332 |
+
y="244.31151"
|
333 |
+
rx="2.5106323"
|
334 |
+
id="rect4-3-1-9"
|
335 |
+
style="fill:#a0a5aa;stroke-width:1.49082756" />
|
336 |
+
<rect
|
337 |
+
width="79.401199"
|
338 |
+
height="9.191123"
|
339 |
+
x="35.0494"
|
340 |
+
y="386.54941"
|
341 |
+
rx="4.3240104"
|
342 |
+
id="rect4-3-5-5-29-4"
|
343 |
+
style="fill:#a0a5aa;stroke-width:1.73182523" />
|
344 |
+
</svg>';
|
345 |
+
} else {
|
346 |
+
$form_name = '';
|
347 |
+
if ( array_key_exists( 'form_name', $attributes ) ) {
|
348 |
+
$form_name = $attributes['form_name'];
|
349 |
+
}
|
350 |
+
if ( !$form_name || $form_name === '' ) {
|
351 |
+
$atts = [
|
352 |
+
'role' => $attributes['role'] !== '' ? ' role="' . esc_attr( $attributes['role'] ) . '"' : '',
|
353 |
+
'form_name' => '',
|
354 |
+
'redirect_url' => $attributes['redirect_url'] !== '' ? ' redirect_url="' . esc_url( $attributes['redirect_url'] ) . '"' : '',
|
355 |
+
'logout_redirect_url' => $attributes['logout_redirect_url'] !== '' ? ' logout_redirect_url="' . esc_url( $attributes['logout_redirect_url'] ) . '"' : '',
|
356 |
+
'automatic_login' => $attributes['automatic_login'] ? ' automatic_login="yes"' : '',
|
357 |
+
];
|
358 |
+
} else {
|
359 |
+
$atts = [
|
360 |
+
'role' => '',
|
361 |
+
'form_name' => ' form_name="' . $form_name . '"',
|
362 |
+
'redirect_url' => '',
|
363 |
+
'logout_redirect_url' => $attributes['logout_redirect_url'] !== '' ? ' logout_redirect_url="' . esc_url( $attributes['logout_redirect_url'] ) . '"' : '',
|
364 |
+
'automatic_login' => '',
|
365 |
+
];
|
366 |
+
}
|
367 |
+
echo '<div class="wppb-block-container">' . do_shortcode( '[wppb-register' . $atts['role'] . $atts['form_name'] . $atts['redirect_url'] . $atts['logout_redirect_url'] . $atts['automatic_login'] . ' ]' ) . '</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
368 |
+
}
|
369 |
+
},
|
370 |
+
10,
|
371 |
+
2
|
372 |
+
);
|
373 |
+
|
374 |
+
/**
|
375 |
+
* Register: JavaScript.
|
376 |
+
*/
|
377 |
+
add_action(
|
378 |
+
'wp_ajax_wppb-block-register.js',
|
379 |
+
function() {
|
380 |
+
header( 'Content-Type: text/javascript' );
|
381 |
+
|
382 |
+
$args = array(
|
383 |
+
'post_type' => 'page',
|
384 |
+
'posts_per_page' => -1
|
385 |
+
);
|
386 |
+
|
387 |
+
if( function_exists( 'wc_get_page_id' ) )
|
388 |
+
$args['exclude'] = wc_get_page_id( 'shop' );
|
389 |
+
|
390 |
+
$all_pages = get_posts( $args );
|
391 |
+
?>
|
392 |
+
( function ( blocks, i18n, element, serverSideRender, blockEditor, components ) {
|
393 |
+
var { __ } = i18n;
|
394 |
+
var el = element.createElement;
|
395 |
+
var PanelBody = components.PanelBody;
|
396 |
+
var SelectControl = components.SelectControl;
|
397 |
+
var ToggleControl = components.ToggleControl;
|
398 |
+
var TextControl = components.TextControl;
|
399 |
+
var Button = components.Button;
|
400 |
+
var Text = components.__experimentalText;
|
401 |
+
var InspectorControls = wp.editor.InspectorControls;
|
402 |
+
|
403 |
+
blocks.registerBlockType( 'wppb/register', {
|
404 |
+
icon:
|
405 |
+
el('svg', {},
|
406 |
+
el( 'path',
|
407 |
+
{
|
408 |
+
d: "m 6.060947,9.5388969 c -0.049,-0.058 -0.1159,-0.093 -0.1778,-0.1361 0,0 -0.2921,-0.215 -0.2921,-0.215 -0.271,-0.2089 -0.5275,-0.4398 -0.7608,-0.6903 -0.6133,-0.6582 -1.0671,-1.5116 -1.2277,-2.4003 -0.043,-0.2401 -0.081,-0.5187 -0.082,-0.762 0,0 -0.013,-0.2794 -0.013,-0.2794 0,0 0.012,-0.127 0.012,-0.127 0,0 0,-0.1651 0,-0.1651 0,0 0.012,-0.127 0.012,-0.127 0,0 0.049,-0.4318 0.049,-0.4318 0.1148,-0.7792 0.4319,-1.5308 0.9068,-2.159 0.5129,-0.6785 1.2601,-1.27849998 2.043,-1.61639998 0.5894,-0.2544 1.2241,-0.4081 1.8669,-0.4156 0,0 0.1651,-0.0130000022 0.1651,-0.0130000022 0,0 0.127,0.0120000021 0.127,0.0120000021 0,0 0.1651,0 0.1651,0 0,0 0.127,0.012 0.127,0.012 0.3658,0.025 0.729,0.096 1.0795,0.2041 1.3113,0.4033 2.4651,1.33699998 3.0701,2.57829998 0.6277,1.2874 0.7121,2.7812 0.1735,4.1148 -0.2399,0.5938 -0.5806,1.1109 -1.0063,1.5875 -0.2369,0.2653 -0.499,0.5094 -0.7768,0.7316 -0.089,0.072 -0.2831,0.2336 -0.381,0.2717 0,0 0,0.025 0,0.025 0,0 0.7112,0.2940999 0.7112,0.2940999 0.6331,0.2717002 1.0023,0.4378002 1.5621,0.8586002 0,0 0.3173,0.185 0.3173,0.185 0.213,0.1813 -0.071,0.4368 -0.203,0.5673 -0.041,0.041 -0.066,0.065 -0.1143,0.097 -0.05,0.034 -0.093,0.051 -0.1524,0.062 -0.1604,0.029 -0.3036,-0.053 -0.4318,-0.138 0,0 -0.381,-0.2499 -0.381,-0.2499 -0.5649,-0.3397 -1.0933,-0.5842 -1.7272,-0.7693 -0.7370002,-0.2153 -1.5072,-0.3063 -2.2733,-0.2975 0,0 -0.127,0.012 -0.127,0.012 0,0 -0.127,0 -0.127,0 0,0 -0.127,0.012 -0.127,0.012 0,0 -0.7366,0.087 -0.7366,0.087 -0.907,0.1512 -1.7832,0.4743 -2.5781,0.9356 -1.6257,0.9436 -2.9202,2.547 -3.4635,4.3507 -0.1191,0.3957 -0.1818,0.6592 -0.2501,1.0668 0,0 -0.0710001,0.6223 -0.0710001,0.6223 0,0.1503 0.042,0.3048 0.16490005,0.4015 0.1042,0.082 0.2529,0.1012 0.381,0.1071 0,0 0.254,0.012 0.254,0.012 0,0 0.2159,-0.013 0.2159,-0.013 0,0 5.4737,0 5.4737,0 0,0 2.4891998,0 2.4891998,0 0,0 0.1905002,-0.013 0.1905002,-0.013 0,0 0.9906,0 0.9906,0 0,0 0.1905,-0.013 0.1905,-0.013 0,0 0.5969,0 0.5969,0 0,0 0.1905,-0.013 0.1905,-0.013 0.2018,-2e-4 0.3568,0 0.5588,0.031 0.4647,0.078 0.8372,0.3136 1.2065,0.5931 0.096,0.073 0.3827,0.2873 0.4445,0.3666 0,0 -10.9728,0 -10.9728,0 0,0 -1.9431,0 -1.9431,0 0,0 -0.1524,-0.012 -0.1524,-0.012 -0.38190005,-0.027 -0.82500005,-0.1105 -1.05950005,-0.4457 -0.206,-0.2942 -0.189,-0.6494 -0.1851,-0.9906 0,0 0.071,-0.5842 0.071,-0.5842 0,0 0.1974,-0.9525 0.1974,-0.9525 0.3729,-1.4916 1.08010005,-2.8205 2.15750005,-3.9243 0,0 0.1776,-0.1656 0.1776,-0.1656 0.4393,-0.4201 0.9205,-0.7823 1.4351,-1.105 0.437,-0.2741 0.9107,-0.5223002 1.3843,-0.7268002 0.1284,-0.055 0.5215,-0.2298999 0.635,-0.2504999 z m 2.2987,-8.57070002 c 0,0 -0.2667,0.027 -0.2667,0.027 -0.2706,0.036 -0.5407,0.092 -0.8001,0.17870002 -1.0421,0.3475 -1.9575,1.1324 -2.4285,2.1291 -0.2717,0.5754 -0.4109,1.2057 -0.4036,1.8415 0,0 0.012,0.1397 0.012,0.1397 0.053,1.2058 0.6753,2.3521 1.6388,3.0748 0.3587,0.269 0.7435,0.4708 1.1684,0.6124 0.3321,0.1108 0.6673,0.1762 1.016,0.2002 0,0 0.127,0.012 0.127,0.012 0,0 0.2794,0 0.2794,0 0,0 0.1524,-0.012 0.1524,-0.012 0.5485,-0.038 1.0816998,-0.1768 1.5748,-0.4234 0.4468,-0.2234 0.8984,-0.5618 1.2284,-0.9367 0.3764,-0.4277 0.6455,-0.8846 0.833,-1.4224 0.1068,-0.3064 0.2114,-0.8199 0.2119,-1.143 0,0 0,-0.3683 0,-0.3683 0,-0.2176 -0.062,-0.561 -0.1159,-0.7747 -0.223,-0.8925 -0.7155,-1.6606 -1.4335,-2.2377 -0.3838,-0.3085 -0.8161,-0.5404 -1.2827002,-0.696 -0.3125998,-0.1042 -0.6365998,-0.1686 -0.9651998,-0.19160002 0,0 -0.1524,-0.01 -0.1524,-0.01 0,0 -0.3937,0 -0.3937,0 z m 7.4295,13.09190012 c 0,0 0,-2.8194 0,-2.8194 0,0 0,-0.7112 0,-0.7112 0,-0.1319 0.062,-0.1395 0.1778,-0.1397 0,0 0.635,0 0.635,0 0.123,0 0.1518,0.049 0.1524,0.1651 0,0 0,0.6858 0,0.6858 0,0 0,2.8194 0,2.8194 0,0 2.8194,0 2.8194,0 0,0 0.6985,0 0.6985,0 0.1339,0 0.1522,0.058 0.1524,0.1778 0,0 0,0.6477 0,0.6477 0,0.129 -0.05,0.1396 -0.1651,0.1397 0,0 -3.5052,0 -3.5052,0 0,0 0,2.8194 0,2.8194 0,0 0,0.7112 0,0.7112 0,0.129 -0.05,0.1396 -0.1651,0.1397 0,0 -0.6604,0 -0.6604,0 -0.1227,-8e-4 -0.1394,-0.037 -0.1397,-0.1524 0,0 0,-3.5179 0,-3.5179 0,0 -2.8194,0 -2.8194,0 0,0 -0.7112,0 -0.7112,0 -0.1299,-8e-4 -0.1395,-0.048 -0.1397,-0.1651 0,0 0,-0.6604 0,-0.6604 0,-0.113 0.043,-0.1381 0.1524,-0.1397 0,0 0.6985,0 0.6985,0 0,0 2.8194,0 2.8194,0 z"
|
409 |
+
}
|
410 |
+
)
|
411 |
+
),
|
412 |
+
attributes: {
|
413 |
+
form_name : {
|
414 |
+
type: 'string',
|
415 |
+
default: ''
|
416 |
+
},
|
417 |
+
role : {
|
418 |
+
type: 'string',
|
419 |
+
default: ''
|
420 |
+
},
|
421 |
+
automatic_login : {
|
422 |
+
type: 'boolean',
|
423 |
+
default: false
|
424 |
+
},
|
425 |
+
redirect_url : {
|
426 |
+
type: 'string',
|
427 |
+
default: ''
|
428 |
+
},
|
429 |
+
logout_redirect_url : {
|
430 |
+
type: 'string',
|
431 |
+
default: ''
|
432 |
+
},
|
433 |
+
is_preview : {
|
434 |
+
type: 'boolean',
|
435 |
+
default: false,
|
436 |
+
},
|
437 |
+
},
|
438 |
+
|
439 |
+
edit: function ( props ) {
|
440 |
+
return [
|
441 |
+
el(
|
442 |
+
'div',
|
443 |
+
Object.assign( blockEditor.useBlockProps(), { key: 'wppb/register/render' } ),
|
444 |
+
el( serverSideRender,
|
445 |
+
{
|
446 |
+
block: 'wppb/register',
|
447 |
+
attributes: props.attributes,
|
448 |
+
}
|
449 |
+
)
|
450 |
+
),
|
451 |
+
el( InspectorControls, { key: 'wppb/register/inspector' },
|
452 |
+
[
|
453 |
+
el( PanelBody,
|
454 |
+
{
|
455 |
+
title: __( 'Form Settings' , 'profile-builder' ),
|
456 |
+
key: 'wppb/register/inspector/form_settings',
|
457 |
+
},
|
458 |
+
[
|
459 |
+
el( SelectControl,
|
460 |
+
{
|
461 |
+
label: __( 'Form' , 'profile-builder' ),
|
462 |
+
key: 'wppb/register/inspector/form_settings/form_name',
|
463 |
+
help: __( 'Select the desired Registration form' , 'profile-builder' ),
|
464 |
+
value: props.attributes.form_name,
|
465 |
+
options: [
|
466 |
+
{
|
467 |
+
label: __( 'Default' , 'profile-builder' ),
|
468 |
+
value: ''
|
469 |
+
},
|
470 |
+
<?php
|
471 |
+
$wppb_module_settings = get_option( 'wppb_module_settings', 'not_found' );
|
472 |
+
|
473 |
+
if ( !( ( $wppb_module_settings !== 'not_found' && (
|
474 |
+
!isset( $wppb_module_settings['wppb_multipleRegistrationForms'] ) ||
|
475 |
+
$wppb_module_settings['wppb_multipleRegistrationForms'] !== 'show'
|
476 |
+
) ) ||
|
477 |
+
$wppb_module_settings === 'not_found' ) ){
|
478 |
+
$args = array(
|
479 |
+
'post_type' => 'wppb-rf-cpt',
|
480 |
+
'posts_per_page' => -1
|
481 |
+
);
|
482 |
+
|
483 |
+
$the_query = new WP_Query( $args );
|
484 |
+
|
485 |
+
if ( $the_query->have_posts() ) {
|
486 |
+
foreach ( $the_query->posts as $post ) {
|
487 |
+
?>
|
488 |
+
{
|
489 |
+
label: '<?php echo esc_html( $post->post_title ); ?>',
|
490 |
+
value: '<?php echo esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $post->post_title ) ); ?>'
|
491 |
+
},
|
492 |
+
<?php
|
493 |
+
}
|
494 |
+
wp_reset_postdata();
|
495 |
+
}
|
496 |
+
}
|
497 |
+
?>
|
498 |
+
],
|
499 |
+
onChange: ( value ) => { props.setAttributes( { form_name: value } ); }
|
500 |
+
}
|
501 |
+
),
|
502 |
+
props.attributes.form_name == '' ?
|
503 |
+
el( SelectControl,
|
504 |
+
{
|
505 |
+
label: __( 'Assigned Role' , 'profile-builder' ),
|
506 |
+
key: 'wppb/register/inspector/form_settings/role',
|
507 |
+
help: __( 'Select a Role to be assigned to users that register via this form' , 'profile-builder' ),
|
508 |
+
value: props.attributes.role,
|
509 |
+
options: [
|
510 |
+
{
|
511 |
+
label: __( 'Default' , 'profile-builder' ),
|
512 |
+
value: '<?php echo esc_attr( get_option("default_role") ); ?>'
|
513 |
+
},
|
514 |
+
<?php
|
515 |
+
if (!function_exists('get_editable_roles')) {
|
516 |
+
require_once ABSPATH . 'wp-admin/includes/user.php';
|
517 |
+
}
|
518 |
+
|
519 |
+
$user_roles = get_editable_roles();
|
520 |
+
|
521 |
+
foreach ($user_roles as $key => $role) {
|
522 |
+
$user_roles[$key] = $role['name'];
|
523 |
+
?>
|
524 |
+
{
|
525 |
+
label: '<?php echo esc_html( $role["name"] ); ?>',
|
526 |
+
value: '<?php echo esc_attr( $key ); ?>'
|
527 |
+
},
|
528 |
+
<?php
|
529 |
+
}
|
530 |
+
?>
|
531 |
+
],
|
532 |
+
onChange: ( value ) => { props.setAttributes( { role: value } ); }
|
533 |
+
}
|
534 |
+
) :
|
535 |
+
'',
|
536 |
+
props.attributes.form_name == '' ?
|
537 |
+
el( ToggleControl,
|
538 |
+
{
|
539 |
+
label: __( 'Automatic Login' , 'profile-builder' ),
|
540 |
+
key: 'wppb/register/inspector/form_settings/automatic_login',
|
541 |
+
help: __( 'Automatically log in users after they register' , 'profile-builder' ),
|
542 |
+
checked: props.attributes.automatic_login,
|
543 |
+
onChange: ( value ) => { props.setAttributes( { automatic_login: !props.attributes.automatic_login } ); }
|
544 |
+
}
|
545 |
+
) :
|
546 |
+
'',
|
547 |
+
props.attributes.form_name != '' ?
|
548 |
+
el( Text,
|
549 |
+
{
|
550 |
+
key: 'wppb/register/inspector/form_settings/notice'
|
551 |
+
},
|
552 |
+
[
|
553 |
+
__( 'Edit the Settings for this form ' , 'profile-builder' ),
|
554 |
+
el( Button,
|
555 |
+
{
|
556 |
+
key: 'wppb/register/inspector/form_settings/notice_button',
|
557 |
+
href: '<?php echo esc_url( admin_url( 'edit.php?post_type=wppb-rf-cpt' ) ); ?>',
|
558 |
+
target: '_blank',
|
559 |
+
text: __( 'here' , 'profile-builder' ),
|
560 |
+
variant: 'link'
|
561 |
+
},
|
562 |
+
)
|
563 |
+
]
|
564 |
+
) :
|
565 |
+
'',
|
566 |
+
]
|
567 |
+
),
|
568 |
+
el( PanelBody,
|
569 |
+
{
|
570 |
+
title: __( 'Redirects' , 'profile-builder' ),
|
571 |
+
key: 'wppb/register/inspector/redirects',
|
572 |
+
},
|
573 |
+
[
|
574 |
+
props.attributes.form_name == '' ?
|
575 |
+
el( SelectControl,
|
576 |
+
{
|
577 |
+
label: __( 'After Registration' , 'profile-builder' ),
|
578 |
+
key: 'wppb/register/inspector/redirects/redirect_url',
|
579 |
+
help: __( 'Select a page for an After Registration Redirect' , 'profile-builder' ),
|
580 |
+
value: props.attributes.redirect_url,
|
581 |
+
options: [
|
582 |
+
{
|
583 |
+
label: __( '' , 'profile-builder' ),
|
584 |
+
value: ''
|
585 |
+
},
|
586 |
+
<?php
|
587 |
+
if( !empty( $all_pages ) ){
|
588 |
+
foreach ( $all_pages as $page ){
|
589 |
+
?>
|
590 |
+
{
|
591 |
+
label: '<?php echo esc_html( $page->post_title ) ?>',
|
592 |
+
value: '<?php echo esc_url( get_page_link( $page->ID ) ) ?>'
|
593 |
+
},
|
594 |
+
<?php
|
595 |
+
}
|
596 |
+
}
|
597 |
+
?>
|
598 |
+
],
|
599 |
+
onChange: ( value ) => { props.setAttributes( { redirect_url: value } ); }
|
600 |
+
}
|
601 |
+
) :
|
602 |
+
'',
|
603 |
+
el( SelectControl,
|
604 |
+
{
|
605 |
+
label: __( 'After Logout' , 'profile-builder' ),
|
606 |
+
key: 'wppb/register/inspector/redirects/logout_redirect_url',
|
607 |
+
help: __( 'Select a page for an After Logout Redirect' , 'profile-builder' ),
|
608 |
+
value: props.attributes.logout_redirect_url,
|
609 |
+
options: [
|
610 |
+
{
|
611 |
+
label: __( '' , 'profile-builder' ),
|
612 |
+
value: ''
|
613 |
+
},
|
614 |
+
<?php
|
615 |
+
if( !empty( $all_pages ) ){
|
616 |
+
foreach ( $all_pages as $page ){
|
617 |
+
?>
|
618 |
+
{
|
619 |
+
label: '<?php echo esc_html( $page->post_title ) ?>',
|
620 |
+
value: '<?php echo esc_url( get_page_link( $page->ID ) ) ?>'
|
621 |
+
},
|
622 |
+
<?php
|
623 |
+
}
|
624 |
+
}
|
625 |
+
?>
|
626 |
+
],
|
627 |
+
onChange: ( value ) => { props.setAttributes( { logout_redirect_url: value } ); }
|
628 |
+
}
|
629 |
+
),
|
630 |
+
]
|
631 |
+
)
|
632 |
+
]
|
633 |
+
),
|
634 |
+
el( blockEditor.InspectorAdvancedControls, { key: 'wppb/register/inspector_advanced' },
|
635 |
+
[
|
636 |
+
props.attributes.form_name == '' ?
|
637 |
+
el( TextControl,
|
638 |
+
{
|
639 |
+
label: __( 'After Registration' , 'profile-builder' ),
|
640 |
+
key: 'wppb/register/inspector_advanced/redirects/redirect_url',
|
641 |
+
help: __( 'Manually type in an After Registration Redirect URL' , 'profile-builder' ),
|
642 |
+
value: props.attributes.redirect_url,
|
643 |
+
onChange: ( value ) => { props.setAttributes( { redirect_url: value } ); }
|
644 |
+
}
|
645 |
+
) :
|
646 |
+
'',
|
647 |
+
el( TextControl,
|
648 |
+
{
|
649 |
+
label: __( 'After Logout' , 'profile-builder' ),
|
650 |
+
key: 'wppb/register/inspector_advanced/redirects/logout_redirect_url',
|
651 |
+
help: __( 'Manually type in an After Logout Redirect URL' , 'profile-builder' ),
|
652 |
+
value: props.attributes.logout_redirect_url,
|
653 |
+
onChange: ( value ) => { props.setAttributes( { logout_redirect_url: value } ); }
|
654 |
+
}
|
655 |
+
)
|
656 |
+
]
|
657 |
+
)
|
658 |
+
];
|
659 |
+
}
|
660 |
+
} );
|
661 |
+
} )(
|
662 |
+
window.wp.blocks,
|
663 |
+
window.wp.i18n,
|
664 |
+
window.wp.element,
|
665 |
+
window.wp.serverSideRender,
|
666 |
+
window.wp.blockEditor,
|
667 |
+
window.wp.components
|
668 |
+
);
|
669 |
+
<?php
|
670 |
+
exit;
|
671 |
+
}
|
672 |
+
);
|
assets/misc/gutenberg-blocks/user-listing.php
ADDED
@@ -0,0 +1,839 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Exit if accessed directly
|
4 |
+
if ( ! defined( 'ABSPATH' ) ) exit;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Register: PHP.
|
8 |
+
*/
|
9 |
+
add_action(
|
10 |
+
'init',
|
11 |
+
function() {
|
12 |
+
wp_register_script(
|
13 |
+
'wppb-block-user-listing',
|
14 |
+
add_query_arg( [ 'action' => 'wppb-block-user-listing.js', ], admin_url( 'admin-ajax.php' ) ),
|
15 |
+
[ 'wp-blocks', 'wp-element', 'wp-editor' ],
|
16 |
+
microtime(),
|
17 |
+
true
|
18 |
+
);
|
19 |
+
|
20 |
+
$ul_names = wppb_get_userlisting_names();
|
21 |
+
$default_key = is_null( key($ul_names) ) ? '' : key($ul_names);
|
22 |
+
|
23 |
+
register_block_type(
|
24 |
+
'wppb/user-listing',
|
25 |
+
[
|
26 |
+
'api_version' => 2,
|
27 |
+
'title' => __( 'User Listing' , 'profile-builder' ),
|
28 |
+
'description' => __( 'Displays the Front End User Listing.' , 'profile-builder' ),
|
29 |
+
'category' => 'wppb-block',
|
30 |
+
'keywords' => [
|
31 |
+
__( 'User' , 'profile-builder' ),
|
32 |
+
__( 'Listing' , 'profile-builder' ),
|
33 |
+
__( 'User Listing' , 'profile-builder' ),
|
34 |
+
__( 'Form' , 'profile-builder' ),
|
35 |
+
],
|
36 |
+
'example' => [
|
37 |
+
'attributes' => [
|
38 |
+
'name' => '',
|
39 |
+
'single' => false,
|
40 |
+
'meta_key' => 'false',
|
41 |
+
'meta_value' => '',
|
42 |
+
'include_manual' => '',
|
43 |
+
'exclude_manual' => '',
|
44 |
+
'id' => '',
|
45 |
+
'is_preview' => true,
|
46 |
+
],
|
47 |
+
],
|
48 |
+
'editor_script' => 'wppb-block-user-listing',
|
49 |
+
'attributes' => [
|
50 |
+
'name' => [
|
51 |
+
'type' => 'string',
|
52 |
+
'default' => $default_key,
|
53 |
+
],
|
54 |
+
'single' => [
|
55 |
+
'type' => 'boolean',
|
56 |
+
'default' => false,
|
57 |
+
],
|
58 |
+
'meta_key' => [
|
59 |
+
'type' => 'string',
|
60 |
+
'default' => '',
|
61 |
+
],
|
62 |
+
'meta_value' => [
|
63 |
+
'type' => 'string',
|
64 |
+
'default' => '',
|
65 |
+
],
|
66 |
+
'include_manual' => [
|
67 |
+
'type' => 'string',
|
68 |
+
'default' => '',
|
69 |
+
],
|
70 |
+
'exclude_manual' => [
|
71 |
+
'type' => 'string',
|
72 |
+
'default' => '',
|
73 |
+
],
|
74 |
+
'id' => [
|
75 |
+
'type' => 'string',
|
76 |
+
'default' => '',
|
77 |
+
],
|
78 |
+
'is_preview' => [
|
79 |
+
'type' => 'boolean',
|
80 |
+
'default' => false,
|
81 |
+
],
|
82 |
+
],
|
83 |
+
|
84 |
+
'render_callback' => function( $attributes, $content ) {
|
85 |
+
ob_start();
|
86 |
+
do_action( 'wppb/user-listing/render_callback', $attributes, $content );
|
87 |
+
return ob_get_clean();
|
88 |
+
},
|
89 |
+
]
|
90 |
+
);
|
91 |
+
}
|
92 |
+
);
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Render: PHP.
|
96 |
+
*
|
97 |
+
* @param array $attributes Optional. Block attributes. Default empty array.
|
98 |
+
* @param string $content Optional. Block content. Default empty string.
|
99 |
+
*/
|
100 |
+
add_action(
|
101 |
+
'wppb/user-listing/render_callback',
|
102 |
+
function( $attributes, $content ) {
|
103 |
+
if ( $attributes['is_preview'] ) {
|
104 |
+
echo '
|
105 |
+
<svg
|
106 |
+
xmlns="http://www.w3.org/2000/svg"
|
107 |
+
fill="none"
|
108 |
+
viewBox="0 0 230 200"
|
109 |
+
style="width: "100%";"
|
110 |
+
>
|
111 |
+
<title>User Listing Block Preview</title>
|
112 |
+
<rect
|
113 |
+
width="129.7204"
|
114 |
+
height="14.749001"
|
115 |
+
x="25.764795"
|
116 |
+
y="34.563004"
|
117 |
+
rx="5.9528437"
|
118 |
+
id="rect2-5"
|
119 |
+
style="fill:#a0a5aa;stroke-width:0.6690836" />
|
120 |
+
<rect
|
121 |
+
width="24.549999"
|
122 |
+
height="11.875"
|
123 |
+
x="104.34999"
|
124 |
+
y="58.875"
|
125 |
+
rx="1.9546179"
|
126 |
+
id="rect4-6"
|
127 |
+
style="fill:#a0a5aa;stroke-width:0.5563103" />
|
128 |
+
<rect
|
129 |
+
width="25.036329"
|
130 |
+
height="3.3360386"
|
131 |
+
x="132.75174"
|
132 |
+
y="62.885708"
|
133 |
+
rx="1.3634222"
|
134 |
+
id="rect14-2"
|
135 |
+
style="fill:#a0a5aa;stroke-width:0.58587795" />
|
136 |
+
<rect
|
137 |
+
width="71.924995"
|
138 |
+
height="8.03125"
|
139 |
+
x="26.771873"
|
140 |
+
y="58.890625"
|
141 |
+
rx="5.7265129"
|
142 |
+
id="rect4-6-9"
|
143 |
+
style="fill:#a0a5aa;stroke-width:0.78307992" />
|
144 |
+
<rect
|
145 |
+
width="34.084526"
|
146 |
+
height="10.219671"
|
147 |
+
x="28.566124"
|
148 |
+
y="77.482635"
|
149 |
+
rx="1.5641322"
|
150 |
+
id="rect2-1"
|
151 |
+
style="fill:#a0a5aa;stroke-width:0.28549075" />
|
152 |
+
<rect
|
153 |
+
width="30.018661"
|
154 |
+
height="10.219671"
|
155 |
+
x="65.600845"
|
156 |
+
y="77.482635"
|
157 |
+
rx="1.3775505"
|
158 |
+
id="rect2-1-2"
|
159 |
+
style="fill:#a0a5aa;stroke-width:0.26792243" />
|
160 |
+
<rect
|
161 |
+
width="22.328876"
|
162 |
+
height="10.219671"
|
163 |
+
x="98.039368"
|
164 |
+
y="77.482635"
|
165 |
+
rx="1.0246677"
|
166 |
+
id="rect2-1-7"
|
167 |
+
style="fill:#a0a5aa;stroke-width:0.23107174" />
|
168 |
+
<rect
|
169 |
+
width="20.295944"
|
170 |
+
height="10.219671"
|
171 |
+
x="122.69971"
|
172 |
+
y="77.482635"
|
173 |
+
rx="0.93137687"
|
174 |
+
id="rect2-1-0"
|
175 |
+
style="fill:#a0a5aa;stroke-width:0.22030179" />
|
176 |
+
<rect
|
177 |
+
width="35.498741"
|
178 |
+
height="10.219671"
|
179 |
+
x="145.68069"
|
180 |
+
y="77.482635"
|
181 |
+
rx="1.6290302"
|
182 |
+
id="rect2-1-9"
|
183 |
+
style="fill:#a0a5aa;stroke-width:0.29135326" />
|
184 |
+
<rect
|
185 |
+
width="15.16942"
|
186 |
+
height="10.219671"
|
187 |
+
x="183.68767"
|
188 |
+
y="77.482635"
|
189 |
+
rx="0.69612169"
|
190 |
+
id="rect2-1-3"
|
191 |
+
style="fill:#a0a5aa;stroke-width:0.19045742" />
|
192 |
+
<rect
|
193 |
+
width="9.2395"
|
194 |
+
height="9.2395"
|
195 |
+
x="30.120932"
|
196 |
+
y="91.99575"
|
197 |
+
rx="4.4873724"
|
198 |
+
id="rect36-6"
|
199 |
+
style="fill:#a0a5aa;stroke-width:1.49579084" />
|
200 |
+
<rect
|
201 |
+
width="14.952198"
|
202 |
+
height="3.5854998"
|
203 |
+
x="44.906754"
|
204 |
+
y="94.822754"
|
205 |
+
rx="0.81426305"
|
206 |
+
id="rect14-0"
|
207 |
+
style="fill:#a0a5aa;stroke-width:0.46938983" />
|
208 |
+
<rect
|
209 |
+
width="15.703499"
|
210 |
+
height="3.5854998"
|
211 |
+
x="66.188004"
|
212 |
+
y="94.822754"
|
213 |
+
rx="0.85517722"
|
214 |
+
id="rect14-0-2"
|
215 |
+
style="fill:#a0a5aa;stroke-width:0.48103797" />
|
216 |
+
<rect
|
217 |
+
width="18.203499"
|
218 |
+
height="3.5854998"
|
219 |
+
x="98.938004"
|
220 |
+
y="94.822754"
|
221 |
+
rx="0.99132156"
|
222 |
+
id="rect14-0-6"
|
223 |
+
style="fill:#a0a5aa;stroke-width:0.51791513" />
|
224 |
+
<rect
|
225 |
+
width="2.8909988"
|
226 |
+
height="3.5854998"
|
227 |
+
x="131.313"
|
228 |
+
y="94.822754"
|
229 |
+
rx="0.15743729"
|
230 |
+
id="rect14-0-1"
|
231 |
+
style="fill:#a0a5aa;stroke-width:0.20639782" />
|
232 |
+
<rect
|
233 |
+
width="18.765999"
|
234 |
+
height="3.5854998"
|
235 |
+
x="146.438"
|
236 |
+
y="94.822754"
|
237 |
+
rx="1.0219541"
|
238 |
+
id="rect14-0-8"
|
239 |
+
style="fill:#a0a5aa;stroke-width:0.5258562" />
|
240 |
+
<rect
|
241 |
+
width="11.328499"
|
242 |
+
height="3.5854998"
|
243 |
+
x="185.5005"
|
244 |
+
y="94.822754"
|
245 |
+
rx="0.61692458"
|
246 |
+
id="rect14-0-7"
|
247 |
+
style="fill:#a0a5aa;stroke-width:0.4085708" />
|
248 |
+
<rect
|
249 |
+
width="9.2395"
|
250 |
+
height="9.2395"
|
251 |
+
x="30.180794"
|
252 |
+
y="107.78169"
|
253 |
+
rx="4.4873724"
|
254 |
+
id="rect36-6-9"
|
255 |
+
style="fill:#a0a5aa;stroke-width:1.49579084" />
|
256 |
+
<rect
|
257 |
+
width="14.952198"
|
258 |
+
height="3.5854998"
|
259 |
+
x="44.966614"
|
260 |
+
y="110.6087"
|
261 |
+
rx="0.81426305"
|
262 |
+
id="rect14-0-20"
|
263 |
+
style="fill:#a0a5aa;stroke-width:0.46938983" />
|
264 |
+
<rect
|
265 |
+
width="15.703499"
|
266 |
+
height="3.5854998"
|
267 |
+
x="66.247864"
|
268 |
+
y="110.6087"
|
269 |
+
rx="0.85517722"
|
270 |
+
id="rect14-0-2-2"
|
271 |
+
style="fill:#a0a5aa;stroke-width:0.48103797" />
|
272 |
+
<rect
|
273 |
+
width="18.203499"
|
274 |
+
height="3.5854998"
|
275 |
+
x="98.997864"
|
276 |
+
y="110.6087"
|
277 |
+
rx="0.99132156"
|
278 |
+
id="rect14-0-6-3"
|
279 |
+
style="fill:#a0a5aa;stroke-width:0.51791513" />
|
280 |
+
<rect
|
281 |
+
width="2.8909988"
|
282 |
+
height="3.5854998"
|
283 |
+
x="131.37286"
|
284 |
+
y="110.6087"
|
285 |
+
rx="0.15743729"
|
286 |
+
id="rect14-0-1-7"
|
287 |
+
style="fill:#a0a5aa;stroke-width:0.20639782" />
|
288 |
+
<rect
|
289 |
+
width="18.765999"
|
290 |
+
height="3.5854998"
|
291 |
+
x="146.49786"
|
292 |
+
y="110.6087"
|
293 |
+
rx="1.0219541"
|
294 |
+
id="rect14-0-8-5"
|
295 |
+
style="fill:#a0a5aa;stroke-width:0.5258562" />
|
296 |
+
<rect
|
297 |
+
width="11.328499"
|
298 |
+
height="3.5854998"
|
299 |
+
x="185.56038"
|
300 |
+
y="110.6087"
|
301 |
+
rx="0.61692458"
|
302 |
+
id="rect14-0-7-9"
|
303 |
+
style="fill:#a0a5aa;stroke-width:0.4085708" />
|
304 |
+
<rect
|
305 |
+
width="1.6977561"
|
306 |
+
height="2.6132281"
|
307 |
+
x="106.99594"
|
308 |
+
y="183.02811"
|
309 |
+
rx="0.092455983"
|
310 |
+
id="rect14-0-1-7-2-2"
|
311 |
+
style="fill:#a0a5aa;stroke-width:0.13503075" />
|
312 |
+
<rect
|
313 |
+
width="1.6977561"
|
314 |
+
height="2.6132281"
|
315 |
+
x="103.42175"
|
316 |
+
y="183.02811"
|
317 |
+
rx="0.092455983"
|
318 |
+
id="rect14-0-1-7-2-9"
|
319 |
+
style="fill:#a0a5aa;stroke-width:0.13503075" />
|
320 |
+
<rect
|
321 |
+
width="1.6977561"
|
322 |
+
height="2.6132281"
|
323 |
+
x="99.847557"
|
324 |
+
y="183.02811"
|
325 |
+
rx="0.092455983"
|
326 |
+
id="rect14-0-1-7-2-3"
|
327 |
+
style="fill:#a0a5aa;stroke-width:0.13503075" />
|
328 |
+
<rect
|
329 |
+
width="8.636241"
|
330 |
+
height="2.6132281"
|
331 |
+
x="110.57013"
|
332 |
+
y="183.02811"
|
333 |
+
rx="0.4703103"
|
334 |
+
id="rect14-0-1-7-2-19"
|
335 |
+
style="fill:#a0a5aa;stroke-width:0.30454916" />
|
336 |
+
<rect
|
337 |
+
width="8.5257559"
|
338 |
+
height="2.6132281"
|
339 |
+
x="121.08281"
|
340 |
+
y="183.02811"
|
341 |
+
rx="0.46429354"
|
342 |
+
id="rect14-0-1-7-2-4"
|
343 |
+
style="fill:#a0a5aa;stroke-width:0.30259481" />
|
344 |
+
<rect
|
345 |
+
width="9.2395"
|
346 |
+
height="9.2395"
|
347 |
+
x="30.180798"
|
348 |
+
y="122.59712"
|
349 |
+
rx="4.4873724"
|
350 |
+
id="rect36-6-4"
|
351 |
+
style="fill:#a0a5aa;stroke-width:1.49579084" />
|
352 |
+
<rect
|
353 |
+
width="14.952198"
|
354 |
+
height="3.5854998"
|
355 |
+
x="44.966621"
|
356 |
+
y="125.42416"
|
357 |
+
rx="0.81426305"
|
358 |
+
id="rect14-0-4"
|
359 |
+
style="fill:#a0a5aa;stroke-width:0.46938983" />
|
360 |
+
<rect
|
361 |
+
width="15.703499"
|
362 |
+
height="3.5854998"
|
363 |
+
x="66.247864"
|
364 |
+
y="125.42416"
|
365 |
+
rx="0.85517722"
|
366 |
+
id="rect14-0-2-3"
|
367 |
+
style="fill:#a0a5aa;stroke-width:0.48103797" />
|
368 |
+
<rect
|
369 |
+
width="18.203499"
|
370 |
+
height="3.5854998"
|
371 |
+
x="98.997864"
|
372 |
+
y="125.42416"
|
373 |
+
rx="0.99132156"
|
374 |
+
id="rect14-0-6-0"
|
375 |
+
style="fill:#a0a5aa;stroke-width:0.51791513" />
|
376 |
+
<rect
|
377 |
+
width="2.8909988"
|
378 |
+
height="3.5854998"
|
379 |
+
x="131.37286"
|
380 |
+
y="125.42416"
|
381 |
+
rx="0.15743729"
|
382 |
+
id="rect14-0-1-78"
|
383 |
+
style="fill:#a0a5aa;stroke-width:0.20639782" />
|
384 |
+
<rect
|
385 |
+
width="18.765999"
|
386 |
+
height="3.5854998"
|
387 |
+
x="146.49786"
|
388 |
+
y="125.42416"
|
389 |
+
rx="1.0219541"
|
390 |
+
id="rect14-0-8-6"
|
391 |
+
style="fill:#a0a5aa;stroke-width:0.5258562" />
|
392 |
+
<rect
|
393 |
+
width="11.328499"
|
394 |
+
height="3.5854998"
|
395 |
+
x="185.56036"
|
396 |
+
y="125.42416"
|
397 |
+
rx="0.61692458"
|
398 |
+
id="rect14-0-7-8"
|
399 |
+
style="fill:#a0a5aa;stroke-width:0.4085708" />
|
400 |
+
<rect
|
401 |
+
width="9.2395"
|
402 |
+
height="9.2395"
|
403 |
+
x="30.240658"
|
404 |
+
y="138.38306"
|
405 |
+
rx="4.4873724"
|
406 |
+
id="rect36-6-9-8"
|
407 |
+
style="fill:#a0a5aa;stroke-width:1.49579084" />
|
408 |
+
<rect
|
409 |
+
width="14.952198"
|
410 |
+
height="3.5854998"
|
411 |
+
x="45.026482"
|
412 |
+
y="141.21007"
|
413 |
+
rx="0.81426305"
|
414 |
+
id="rect14-0-20-4"
|
415 |
+
style="fill:#a0a5aa;stroke-width:0.46938983" />
|
416 |
+
<rect
|
417 |
+
width="15.703499"
|
418 |
+
height="3.5854998"
|
419 |
+
x="66.307724"
|
420 |
+
y="141.21007"
|
421 |
+
rx="0.85517722"
|
422 |
+
id="rect14-0-2-2-3"
|
423 |
+
style="fill:#a0a5aa;stroke-width:0.48103797" />
|
424 |
+
<rect
|
425 |
+
width="18.203499"
|
426 |
+
height="3.5854998"
|
427 |
+
x="99.057724"
|
428 |
+
y="141.21007"
|
429 |
+
rx="0.99132156"
|
430 |
+
id="rect14-0-6-3-1"
|
431 |
+
style="fill:#a0a5aa;stroke-width:0.51791513" />
|
432 |
+
<rect
|
433 |
+
width="2.8909988"
|
434 |
+
height="3.5854998"
|
435 |
+
x="131.43272"
|
436 |
+
y="141.21007"
|
437 |
+
rx="0.15743729"
|
438 |
+
id="rect14-0-1-7-4"
|
439 |
+
style="fill:#a0a5aa;stroke-width:0.20639782" />
|
440 |
+
<rect
|
441 |
+
width="18.765999"
|
442 |
+
height="3.5854998"
|
443 |
+
x="146.55772"
|
444 |
+
y="141.21007"
|
445 |
+
rx="1.0219541"
|
446 |
+
id="rect14-0-8-5-9"
|
447 |
+
style="fill:#a0a5aa;stroke-width:0.5258562" />
|
448 |
+
<rect
|
449 |
+
width="11.328499"
|
450 |
+
height="3.5854998"
|
451 |
+
x="185.62024"
|
452 |
+
y="141.21007"
|
453 |
+
rx="0.61692458"
|
454 |
+
id="rect14-0-7-9-2"
|
455 |
+
style="fill:#a0a5aa;stroke-width:0.4085708" />
|
456 |
+
<rect
|
457 |
+
width="9.2395"
|
458 |
+
height="9.2395"
|
459 |
+
x="30.172953"
|
460 |
+
y="153.11601"
|
461 |
+
rx="4.4873724"
|
462 |
+
id="rect36-6-0"
|
463 |
+
style="fill:#a0a5aa;stroke-width:1.49579084" />
|
464 |
+
<rect
|
465 |
+
width="14.952198"
|
466 |
+
height="3.5854998"
|
467 |
+
x="44.958775"
|
468 |
+
y="155.94301"
|
469 |
+
rx="0.81426305"
|
470 |
+
id="rect14-0-68"
|
471 |
+
style="fill:#a0a5aa;stroke-width:0.46938983" />
|
472 |
+
<rect
|
473 |
+
width="15.703499"
|
474 |
+
height="3.5854998"
|
475 |
+
x="66.240021"
|
476 |
+
y="155.94301"
|
477 |
+
rx="0.85517722"
|
478 |
+
id="rect14-0-2-9"
|
479 |
+
style="fill:#a0a5aa;stroke-width:0.48103797" />
|
480 |
+
<rect
|
481 |
+
width="18.203499"
|
482 |
+
height="3.5854998"
|
483 |
+
x="98.990021"
|
484 |
+
y="155.94301"
|
485 |
+
rx="0.99132156"
|
486 |
+
id="rect14-0-6-2"
|
487 |
+
style="fill:#a0a5aa;stroke-width:0.51791513" />
|
488 |
+
<rect
|
489 |
+
width="2.8909988"
|
490 |
+
height="3.5854998"
|
491 |
+
x="131.36502"
|
492 |
+
y="155.94301"
|
493 |
+
rx="0.15743729"
|
494 |
+
id="rect14-0-1-6"
|
495 |
+
style="fill:#a0a5aa;stroke-width:0.20639782" />
|
496 |
+
<rect
|
497 |
+
width="18.765999"
|
498 |
+
height="3.5854998"
|
499 |
+
x="146.49002"
|
500 |
+
y="155.94301"
|
501 |
+
rx="1.0219541"
|
502 |
+
id="rect14-0-8-64"
|
503 |
+
style="fill:#a0a5aa;stroke-width:0.5258562" />
|
504 |
+
<rect
|
505 |
+
width="11.328499"
|
506 |
+
height="3.5854998"
|
507 |
+
x="185.55252"
|
508 |
+
y="155.94301"
|
509 |
+
rx="0.61692458"
|
510 |
+
id="rect14-0-7-95"
|
511 |
+
style="fill:#a0a5aa;stroke-width:0.4085708" />
|
512 |
+
<rect
|
513 |
+
width="9.2395"
|
514 |
+
height="9.2395"
|
515 |
+
x="30.232813"
|
516 |
+
y="168.90195"
|
517 |
+
rx="4.4873724"
|
518 |
+
id="rect36-6-9-0"
|
519 |
+
style="fill:#a0a5aa;stroke-width:1.49579084" />
|
520 |
+
<rect
|
521 |
+
width="14.952198"
|
522 |
+
height="3.5854998"
|
523 |
+
x="45.018635"
|
524 |
+
y="171.72896"
|
525 |
+
rx="0.81426305"
|
526 |
+
id="rect14-0-20-48"
|
527 |
+
style="fill:#a0a5aa;stroke-width:0.46938983" />
|
528 |
+
<rect
|
529 |
+
width="15.703499"
|
530 |
+
height="3.5854998"
|
531 |
+
x="66.299881"
|
532 |
+
y="171.72896"
|
533 |
+
rx="0.85517722"
|
534 |
+
id="rect14-0-2-2-7"
|
535 |
+
style="fill:#a0a5aa;stroke-width:0.48103797" />
|
536 |
+
<rect
|
537 |
+
width="18.203499"
|
538 |
+
height="3.5854998"
|
539 |
+
x="99.049881"
|
540 |
+
y="171.72896"
|
541 |
+
rx="0.99132156"
|
542 |
+
id="rect14-0-6-3-17"
|
543 |
+
style="fill:#a0a5aa;stroke-width:0.51791513" />
|
544 |
+
<rect
|
545 |
+
width="2.8909988"
|
546 |
+
height="3.5854998"
|
547 |
+
x="131.42488"
|
548 |
+
y="171.72896"
|
549 |
+
rx="0.15743729"
|
550 |
+
id="rect14-0-1-7-27"
|
551 |
+
style="fill:#a0a5aa;stroke-width:0.20639782" />
|
552 |
+
<rect
|
553 |
+
width="18.765999"
|
554 |
+
height="3.5854998"
|
555 |
+
x="146.54988"
|
556 |
+
y="171.72896"
|
557 |
+
rx="1.0219541"
|
558 |
+
id="rect14-0-8-5-2"
|
559 |
+
style="fill:#a0a5aa;stroke-width:0.5258562" />
|
560 |
+
<rect
|
561 |
+
width="11.328499"
|
562 |
+
height="3.5854998"
|
563 |
+
x="185.6124"
|
564 |
+
y="171.72896"
|
565 |
+
rx="0.61692458"
|
566 |
+
id="rect14-0-7-9-26"
|
567 |
+
style="fill:#a0a5aa;stroke-width:0.4085708" />
|
568 |
+
</svg>';
|
569 |
+
} else {
|
570 |
+
if ( $attributes['single'] ) {
|
571 |
+
$atts = [
|
572 |
+
'name' => ' name="' . esc_attr( $attributes['name'] ) . '"',
|
573 |
+
'meta_key' => '',
|
574 |
+
'meta_value' => '',
|
575 |
+
'include' => '',
|
576 |
+
'exclude' => '',
|
577 |
+
'single' => ' single',
|
578 |
+
'id' => $attributes['id'] !== '' ? ' id="' . esc_attr( $attributes['id'] ) . '"' : '',
|
579 |
+
];
|
580 |
+
} else {
|
581 |
+
$atts = [
|
582 |
+
'name' => ' name="' . esc_attr( $attributes['name'] ) . '"',
|
583 |
+
'meta_key' => $attributes['meta_key'] !== '' ? ' meta_key="' . esc_attr( $attributes['meta_key'] ) . '"' : '',
|
584 |
+
'meta_value' => $attributes['meta_value'] !== '' ? ' meta_value="' . esc_attr( $attributes['meta_value'] ) . '"' : '',
|
585 |
+
'include' => $attributes['include_manual'] !== '' ? ' include="' . esc_attr( $attributes['include_manual'] ) . '"' : '',
|
586 |
+
'exclude' => $attributes['exclude_manual'] !== '' ? ' exclude="' . esc_attr( $attributes['exclude_manual'] ) . '"' : '',
|
587 |
+
'single' => '',
|
588 |
+
'id' => '',
|
589 |
+
];
|
590 |
+
}
|
591 |
+
echo '<div class="wppb-block-container">' . do_shortcode( '[wppb-list-users' . $atts['name'] . $atts['meta_key'] . $atts['meta_value'] . $atts['include'] . $atts['exclude'] . $atts['single'] . $atts['id'] . ' ]' ) . '</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
592 |
+
}
|
593 |
+
},
|
594 |
+
10,
|
595 |
+
2
|
596 |
+
);
|
597 |
+
|
598 |
+
/**
|
599 |
+
* Register: JavaScript.
|
600 |
+
*/
|
601 |
+
add_action(
|
602 |
+
'wp_ajax_wppb-block-user-listing.js',
|
603 |
+
function() {
|
604 |
+
header( 'Content-Type: text/javascript' );
|
605 |
+
$ul_names = wppb_get_userlisting_names();
|
606 |
+
$default_key = is_null( key($ul_names) ) ? '' : key($ul_names);
|
607 |
+
|
608 |
+
$wppb_manage_fields = get_option( 'wppb_manage_fields', 'not_found' );
|
609 |
+
$meta_names = array();
|
610 |
+
foreach( $wppb_manage_fields as $value ){
|
611 |
+
$meta_names[] = $value['meta-name'];
|
612 |
+
}
|
613 |
+
|
614 |
+
$query_args = array(
|
615 |
+
'fields' => array( 'ID', 'user_login', 'display_name' ),
|
616 |
+
'orderby' => array( 'display_name', 'user_login' ),
|
617 |
+
);
|
618 |
+
|
619 |
+
$users = get_users( apply_filters( 'wppb_edit_other_users_dropdown_query_args', $query_args ) );
|
620 |
+
|
621 |
+
?>
|
622 |
+
( function ( blocks, i18n, element, serverSideRender, blockEditor, components ) {
|
623 |
+
var { __ } = i18n;
|
624 |
+
var el = element.createElement;
|
625 |
+
var PanelBody = components.PanelBody;
|
626 |
+
var SelectControl = components.SelectControl;
|
627 |
+
var ToggleControl = components.ToggleControl;
|
628 |
+
var TextControl = components.TextControl;
|
629 |
+
var InspectorControls = wp.editor.InspectorControls;
|
630 |
+
|
631 |
+
blocks.registerBlockType( 'wppb/user-listing', {
|
632 |
+
icon:
|
633 |
+
el('svg', {},
|
634 |
+
el( 'path',
|
635 |
+
{
|
636 |
+
d: "m 7.5454697,4.7968766 c -0.3132,-0.1879 -0.5677,-0.3911 -0.7888,-0.6858 -0.5671,-0.756 -0.6818,-1.7686 -0.2868,-2.6289 0.1444,-0.3146 0.311,-0.53120005 0.5549,-0.77470005 0.2166,-0.2163 0.5029,-0.40179999 0.7874,-0.51559999 0.3422,-0.1369 0.6858,-0.1999 1.0541,-0.1956 0,0 0.127,0.012 0.127,0.012 0.2763,0.019 0.5302,0.081 0.7874,0.184 0.2860003,0.1144 0.5696003,0.29809999 0.7874003,0.51559999 0.2546,0.2543 0.4271,0.48210005 0.5732,0.81280005 0.3766,0.8521 0.2517,1.8482 -0.3051,2.5908 -0.2253,0.3002 -0.4702,0.4945 -0.7888,0.6858 0.3393,0.113 0.6096,0.2129 0.9271,0.3849 0.5965,0.3234 1.1469,0.8302 1.524,1.3931 0.112,0.1673 0.2053,0.3282 0.2952,0.508 0.045,0.089 0.098,0.1833 0.1239,0.2794 0,0 -0.4064,0.1759 -0.4064,0.1759 0,0 -0.3429,0.1416 -0.3429,0.1416 -0.166,-0.3913 -0.3968,-0.7554 -0.687,-1.0668 -0.5655,-0.607 -1.3231,-1.0157 -2.1451003,-1.1375 0,0 -0.3556,-0.032 -0.3556,-0.032 0,0 -0.127,-0.012 -0.127,-0.012 0,0 -0.089,0 -0.089,0 0,0 -0.1524,0.013 -0.1524,0.013 0,0 -0.1143,0 -0.1143,0 -0.4373,0.043 -0.8451,0.1501 -1.2446,0.3336 -0.3929,0.1804 -0.7492,0.4405 -1.0541,0.7454 -0.331,0.331 -0.5922,0.7253 -0.7747,1.1557 0,0 -0.7493,-0.3175 -0.7493,-0.3175 0.026,-0.096 0.079,-0.1901 0.1238,-0.2794 0.088,-0.1764 0.1854,-0.344 0.2953,-0.508 0.4591,-0.6854 1.1065,-1.2149 1.8542,-1.5582 0,0 0.5969,-0.2198 0.5969,-0.2198 z m 1.1176,-3.98600005 c -0.1665,0.026 -0.2821,0.038 -0.4445,0.096 -0.4802,0.17090005 -0.8602,0.53290005 -1.0484,1.00720005 -0.3652,0.9201 0.1181,1.9804 1.0611,2.2987 0.1212,0.041 0.3304,0.087 0.4572,0.089 0.3746,0 0.631,-0.036 0.9652,-0.2198 0.1698,-0.093 0.3491003,-0.2417 0.4730003,-0.3898 0.5852,-0.6995 0.5568,-1.7239 -0.093,-2.3737 -0.1542003,-0.1542 -0.3574003,-0.286 -0.5576003,-0.37140005 -0.1728,-0.073 -0.4218,-0.1355 -0.6096,-0.136 0,0 -0.2032,0 -0.2032,0 z M 3.1639696,13.255076 c -0.2125,-0.1388 -0.3735,-0.2363 -0.5588,-0.4192 -0.4208,-0.4156 -0.7485,-1.0898 -0.7493,-1.688999 0,0 0,-0.2794 0,-0.2794 3e-4,-0.2719 0.1042,-0.653 0.2141,-0.9017004 0.3308,-0.7483 1.0161,-1.3002 1.8179001,-1.4605 0.1127,-0.023 0.2802,-0.049 0.3937,-0.051 0,0 0.2413,0 0.2413,0 0.2877,5e-4 0.6784,0.1001 0.9398,0.2198 0.3017,0.1382 0.5269,0.2944 0.762,0.5295 0.8629,0.8630004 0.9885,2.2254004 0.313,3.2384994 -0.2418,0.3625 -0.5152,0.5912 -0.8845,0.8128 1.2654,0.3696 2.2673,1.2718 2.7957,2.4765 0.1021,0.2329 0.1921,0.5136 0.2469,0.762 0.029,0.1329 0.061,0.404 0.107,0.508 0,0 0.021,-0.1016 0.021,-0.1016 0,0 0.04,-0.2413 0.04,-0.2413 0.073,-0.3772 0.1762,-0.7046 0.3367,-1.0541 0.5194,-1.1312 1.5480003,-2.0015 2.7393003,-2.3495 -0.3658,-0.2194 -0.6453,-0.4541 -0.8846,-0.8128 -0.6746,-1.011699 -0.549,-2.376399 0.3131,-3.2384994 0.2316,-0.2316 0.4644,-0.3932 0.762,-0.5295 0.2613,-0.1197 0.652,-0.2193 0.9398,-0.2198 0,0 0.2413,0 0.2413,0 0.1192,0 0.3135,0.032 0.4318,0.058 0.83,0.183 1.5094,0.7641 1.823,1.5547004 0.085,0.2151 0.1705,0.5694 0.1709,0.8001 0,0 0,0.2794 0,0.2794 -9e-4,0.596799 -0.3285,1.276199 -0.7493,1.688999 -0.1895,0.1857 -0.3428,0.2781 -0.5588,0.4192 0.2561,0.084 0.5088,0.1713 0.7493,0.2954 0.3241,0.1671 0.6249,0.3747 0.9017,0.6118 0,0 0.127,0.118 0.127,0.118 0.1079,0.095 0.1132,0.1117 0.2037,0.2067 0.5745,0.6038 0.9695,1.4269 1.1054,2.2479 0,0 0.026,0.1651 0.026,0.1651 0.018,0.088 0.035,0.085 0.036,0.1905 0,0 0,0.2032 0,0.2032 0,0 0,0.1524 0,0.1524 -0.018,0.1161 -0.1052,0.215 -0.215,0.2526 -0.045,0.016 -0.08,0.014 -0.127,0.014 0,0 -5.7785,0 -5.7785,0 0,0 -1.9431003,0 -1.9431003,0 0,0 -0.4826,-0.01 -0.4826,-0.01 -0.042,-0.01 -0.094,-0.035 -0.1265,-0.062 -0.06,-0.049 -0.083,-0.1056 -0.1148,-0.1729 -0.057,0.3013 -0.3963,0.2413 -0.6223,0.2413 0,0 -1.9177,0 -1.9177,0 0,0 -4.7498001,0 -4.7498001,0 0,0 -0.99059995,0 -0.99059995,0 -0.1598,0 -0.3117,0.027 -0.4251,-0.1148 -0.1001004,-0.125 -0.072,-0.3528 -0.07,-0.5075 0,-0.1058 0.018,-0.1026 0.036,-0.1905 0,0 0.055,-0.3175 0.055,-0.3175 0.1159,-0.5796 0.3658,-1.1548 0.7051,-1.6383 0.096,-0.137 0.20140005,-0.2681 0.31190005,-0.3937 0,0 0.1181,-0.127 0.1181,-0.127 0.091,-0.1044 0.2523999,-0.2451 0.3609999,-0.3354 0.4137,-0.3442 0.8656,-0.5935 1.3716,-0.7734 0,0 0.1905,-0.06 0.1905,-0.06 z M 4.2307697,9.2708766 c -0.1662,0.024 -0.313,0.053 -0.4699,0.1164 -0.4760001,0.1923 -0.8492001,0.5864 -1.0116001,1.0738004 -0.054,0.1635 -0.07,0.3004 -0.082,0.4699 0,0.04 -0.011,0.06 -0.01,0.1016 0.018,0.2432 0.035,0.4034 0.1287,0.634999 0.195,0.4815 0.5946001,0.8471 1.0865001,1.0075 0.136,0.044 0.3271,0.083 0.4699,0.085 0.2805,0 0.5306,-0.039 0.7874,-0.1563 0.2273,-0.104 0.3999,-0.2319 0.5703,-0.4152 0.1304,-0.1401 0.2581,-0.3424 0.3288,-0.5207 0.074,-0.186 0.1271,-0.421899 0.1296,-0.622299 0.01,-0.7541 -0.465,-1.4417004 -1.1811,-1.6881004 -0.2332,-0.08 -0.5039,-0.1091 -0.7493,-0.086 z m 8.7757003,0 c -0.1279,0.021 -0.245,0.04 -0.3683,0.081 -0.4781,0.1592 -0.8628,0.5067 -1.0614,0.9714004 -0.3146,0.7358 -0.095,1.586399 0.5407,2.076499 0.1647,0.1268 0.3243,0.2075 0.5207,0.273 0.1433,0.048 0.3313,0.087 0.4826,0.089 0.2735,0 0.5369,-0.042 0.7874,-0.1563 0.2062,-0.094 0.4174,-0.247 0.5693,-0.4152 0.4754,-0.5263 0.5847,-1.275399 0.2903,-1.917699 -0.1018,-0.2224 -0.2494,-0.4049004 -0.4278,-0.5703004 -0.1274,-0.1182 -0.3103,-0.2285 -0.4699,-0.2968 -0.1549,-0.066 -0.4034,-0.1342 -0.5715,-0.1344 0,0 -0.2921,0 -0.2921,0 z M 7.9137697,16.749376 c -0.01,-0.118 -0.084,-0.3544 -0.1264,-0.4699 -0.1188,-0.3249 -0.2184,-0.5241 -0.4112,-0.8128 -0.2187,-0.3274 -0.4937,-0.6163 -0.8086,-0.8525 -1.0512,-0.7885 -2.4482,-0.9504 -3.6449001,-0.4009 -0.3436,0.1578 -0.6328,0.3521 -0.9144,0.6037 -0.2594,0.2315 -0.4843,0.5037 -0.663,0.8021 -0.1844999,0.3082 -0.39169995,0.7737 -0.44189995,1.1303 0,0 7.01040005,0 7.01040005,0 z m 8.7757003,0 c -0.05,-0.3561 -0.2575,-0.8227 -0.442,-1.1303 -0.1938,-0.3229 -0.4312,-0.6006 -0.7137,-0.849 -1.2735,-1.1191 -3.1595,-1.1677 -4.5085,-0.1559 -0.315,0.2362 -0.59,0.5251 -0.8087,0.8525 -0.1924,0.2882 -0.3222003,0.5478 -0.4318003,0.8763 -0.036,0.109 -0.096,0.2954 -0.1057,0.4064 0,0 7.0104003,0 7.0104003,0 z"
|
637 |
+
}
|
638 |
+
)
|
639 |
+
),
|
640 |
+
attributes: {
|
641 |
+
name : {
|
642 |
+
type: 'string',
|
643 |
+
default: "<?php echo esc_attr( $default_key ); ?>",
|
644 |
+
},
|
645 |
+
single : {
|
646 |
+
type: 'boolean',
|
647 |
+
default: false,
|
648 |
+
},
|
649 |
+
meta_key : {
|
650 |
+
type: 'string',
|
651 |
+
default: '',
|
652 |
+
},
|
653 |
+
meta_value : {
|
654 |
+
type: 'string',
|
655 |
+
default: '',
|
656 |
+
},
|
657 |
+
include_manual : {
|
658 |
+
type: 'string',
|
659 |
+
default: '',
|
660 |
+
},
|
661 |
+
exclude_manual : {
|
662 |
+
type: 'string',
|
663 |
+
default: '',
|
664 |
+
},
|
665 |
+
id : {
|
666 |
+
type: 'string',
|
667 |
+
default: '',
|
668 |
+
},
|
669 |
+
is_preview : {
|
670 |
+
type: 'boolean',
|
671 |
+
default: false,
|
672 |
+
},
|
673 |
+
},
|
674 |
+
|
675 |
+
edit: function ( props ) {
|
676 |
+
return [
|
677 |
+
el(
|
678 |
+
'div',
|
679 |
+
Object.assign( blockEditor.useBlockProps(), { key: 'wppb/user-listing/render' } ),
|
680 |
+
el( serverSideRender,
|
681 |
+
{
|
682 |
+
block: 'wppb/user-listing',
|
683 |
+
attributes: props.attributes,
|
684 |
+
}
|
685 |
+
)
|
686 |
+
),
|
687 |
+
el( InspectorControls, { key: 'wppb/user-listing/inspector' },
|
688 |
+
[
|
689 |
+
el( PanelBody,
|
690 |
+
{
|
691 |
+
title: __( 'Listing Settings' , 'profile-builder' ),
|
692 |
+
key: 'wppb/user-listing/inspector/listing-settings',
|
693 |
+
},
|
694 |
+
[
|
695 |
+
el( SelectControl,
|
696 |
+
{
|
697 |
+
label: __( 'User Listing' , 'profile-builder' ),
|
698 |
+
key: 'wppb/user-listing/inspector/listing-settings/form_name',
|
699 |
+
help: __( 'Select the desired User Listing' , 'profile-builder' ),
|
700 |
+
value: props.attributes.form_name,
|
701 |
+
options: [
|
702 |
+
{
|
703 |
+
label: "<?php echo esc_html( ( $default_key !== '' ? $ul_names[$default_key] : 'Default' ) ); ?>",
|
704 |
+
value: "<?php echo esc_attr( $default_key ); ?>"
|
705 |
+
},
|
706 |
+
<?php
|
707 |
+
foreach ( $ul_names as $post_name => $post_title ) {
|
708 |
+
if ( $post_name !== $default_key ) {
|
709 |
+
?>
|
710 |
+
{
|
711 |
+
label: "<?php echo esc_html( $post_title ); ?>",
|
712 |
+
value: "<?php echo esc_attr( $post_name ); ?>"
|
713 |
+
},
|
714 |
+
<?php
|
715 |
+
}
|
716 |
+
}
|
717 |
+
?>
|
718 |
+
],
|
719 |
+
onChange: ( value ) => { props.setAttributes( { name: value } ); }
|
720 |
+
}
|
721 |
+
),
|
722 |
+
el( ToggleControl,
|
723 |
+
{
|
724 |
+
label: __( 'Single' , 'profile-builder' ),
|
725 |
+
key: 'wppb/user-listing/inspector/listing-settings/single',
|
726 |
+
help: __( 'Select whether to show the Single User Listing template' , 'profile-builder' ),
|
727 |
+
checked: props.attributes.single,
|
728 |
+
onChange: ( value ) => { props.setAttributes( { single: !props.attributes.single } ); }
|
729 |
+
}
|
730 |
+
),
|
731 |
+
props.attributes.single == false ?
|
732 |
+
el( SelectControl,
|
733 |
+
{
|
734 |
+
label: __( 'Meta Key' , 'profile-builder' ),
|
735 |
+
key: 'wppb/user-listing/inspector/listing-settings/meta_key',
|
736 |
+
help: __( 'Select the Meta Name of a field. Only users that have the designated Meta Value for this field will be included in the Listing' , 'profile-builder' ),
|
737 |
+
value: props.attributes.meta_key,
|
738 |
+
options: [
|
739 |
+
{
|
740 |
+
label: __( '' , 'profile-builder' ),
|
741 |
+
value: ''
|
742 |
+
},
|
743 |
+
<?php
|
744 |
+
if( !empty( $meta_names ) ){
|
745 |
+
foreach( $meta_names as $meta_name ){
|
746 |
+
if( $meta_name ){
|
747 |
+
?>
|
748 |
+
{
|
749 |
+
label: '<?php echo esc_html( $meta_name ); ?>',
|
750 |
+
value: '<?php echo esc_html( $meta_name ); ?>'
|
751 |
+
},
|
752 |
+
<?php
|
753 |
+
}
|
754 |
+
}
|
755 |
+
}
|
756 |
+
?>
|
757 |
+
],
|
758 |
+
onChange: ( value ) => { props.setAttributes( { meta_key: value } ); }
|
759 |
+
}
|
760 |
+
):
|
761 |
+
'',
|
762 |
+
props.attributes.single == false && props.attributes.meta_key != '' ?
|
763 |
+
el( TextControl,
|
764 |
+
{
|
765 |
+
label: __( 'Meta Value' , 'profile-builder' ),
|
766 |
+
key: 'wppb/user-listing/inspector/listing-settings/meta_value',
|
767 |
+
help: __( 'Input the desired Meta Value for the selected field' , 'profile-builder' ),
|
768 |
+
value: props.attributes.meta_value,
|
769 |
+
onChange: ( value ) => { props.setAttributes( { meta_value: value } ); }
|
770 |
+
}
|
771 |
+
):
|
772 |
+
'',
|
773 |
+
props.attributes.single == false ?
|
774 |
+
el( TextControl,
|
775 |
+
{
|
776 |
+
label: __( 'Include' , 'profile-builder' ),
|
777 |
+
key: 'wppb/user-listing/inspector_advanced/listing-settings/include_manual',
|
778 |
+
help: __( 'Input a list of user IDs. Only the selected users will be included in the Listing' , 'profile-builder' ),
|
779 |
+
value: props.attributes.include_manual,
|
780 |
+
onChange: ( value ) => { props.setAttributes( { include_manual: value } ); }
|
781 |
+
}
|
782 |
+
):
|
783 |
+
'',
|
784 |
+
props.attributes.single == false ?
|
785 |
+
el( TextControl,
|
786 |
+
{
|
787 |
+
label: __( 'Exclude' , 'profile-builder' ),
|
788 |
+
key: 'wppb/user-listing/inspector_advanced/listing-settings/exclude_manual',
|
789 |
+
help: __( 'Input a list of user IDs. The selected users will be omitted from the Listing' , 'profile-builder' ),
|
790 |
+
value: props.attributes.exclude_manual,
|
791 |
+
onChange: ( value ) => { props.setAttributes( { exclude_manual: value } ); }
|
792 |
+
}
|
793 |
+
):
|
794 |
+
'',
|
795 |
+
props.attributes.single == true ?
|
796 |
+
el( TextControl,
|
797 |
+
{
|
798 |
+
label: __( 'ID' , 'profile-builder' ),
|
799 |
+
key: 'wppb/user-listing/inspector/listing-settings/id',
|
800 |
+
help: __( 'Input the ID for the desired user. Leaving this field blank will show the Single User Listing for the current user' , 'profile-builder' ),
|
801 |
+
value: props.attributes.id,
|
802 |
+
onChange: ( value ) => { props.setAttributes( { id: value } ); }
|
803 |
+
}
|
804 |
+
) :
|
805 |
+
'',
|
806 |
+
]
|
807 |
+
),
|
808 |
+
]
|
809 |
+
),
|
810 |
+
el( blockEditor.InspectorAdvancedControls, { key: 'wppb/user-listing/inspector_advanced' },
|
811 |
+
[
|
812 |
+
props.attributes.single == false ?
|
813 |
+
el( TextControl,
|
814 |
+
{
|
815 |
+
label: __( 'Meta Key' , 'profile-builder' ),
|
816 |
+
key: 'wppb/user-listing/inspector_advanced/listing-settings/meta_key',
|
817 |
+
help: __( 'Manually type in the meta name of a field' , 'profile-builder' ),
|
818 |
+
value: props.attributes.meta_key,
|
819 |
+
onChange: ( value ) => { props.setAttributes( { meta_key: value } ); }
|
820 |
+
}
|
821 |
+
):
|
822 |
+
'',
|
823 |
+
]
|
824 |
+
)
|
825 |
+
];
|
826 |
+
}
|
827 |
+
} );
|
828 |
+
} )(
|
829 |
+
window.wp.blocks,
|
830 |
+
window.wp.i18n,
|
831 |
+
window.wp.element,
|
832 |
+
window.wp.serverSideRender,
|
833 |
+
window.wp.blockEditor,
|
834 |
+
window.wp.components
|
835 |
+
);
|
836 |
+
<?php
|
837 |
+
exit;
|
838 |
+
}
|
839 |
+
);
|
features/content-restriction/content-restriction.php
CHANGED
@@ -61,7 +61,10 @@ function wppb_content_restriction_content() {
|
|
61 |
|
62 |
?>
|
63 |
<div class="wrap wppb-content-restriction-wrap">
|
64 |
-
<h2
|
|
|
|
|
|
|
65 |
|
66 |
<?php settings_errors(); ?>
|
67 |
|
61 |
|
62 |
?>
|
63 |
<div class="wrap wppb-content-restriction-wrap">
|
64 |
+
<h2>
|
65 |
+
<?php esc_html_e( 'Content Restriction Settings', 'profile-builder' ); ?>
|
66 |
+
<a href="https://www.cozmoslabs.com/docs/profile-builder-2/general-settings/content-restriction/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help"></a>
|
67 |
+
</h2>
|
68 |
|
69 |
<?php settings_errors(); ?>
|
70 |
|
features/email-confirmation/email-confirmation.php
CHANGED
@@ -427,7 +427,7 @@ function wppb_signup_user_notification( $user, $user_email, $activation_key, $me
|
|
427 |
else
|
428 |
$post_content = '';
|
429 |
|
430 |
-
$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' ) ) );
|
431 |
}
|
432 |
|
433 |
$wppb_generalSettings = get_option( 'wppb_general_settings' );
|
427 |
else
|
428 |
$post_content = '';
|
429 |
|
430 |
+
$registration_page_url = ( ( ( strpos( $post_content, '[wppb-register' ) !== false ) || ( strpos( $post_content, '<!-- wp:wppb/register' ) !== false ) ) ? add_query_arg( array( 'activation_key' => $activation_key ), $permalink ) : add_query_arg( array( 'activation_key' => $activation_key ), get_bloginfo( 'url' ) ) );
|
431 |
}
|
432 |
|
433 |
$wppb_generalSettings = get_option( 'wppb_general_settings' );
|
features/email-customizer/email-customizer.php
CHANGED
@@ -374,65 +374,53 @@ function wppb_admin_email_customizer_epaa_content_filter_handler ( $default, $us
|
|
374 |
return $default;
|
375 |
}
|
376 |
|
|
|
|
|
|
|
377 |
|
378 |
-
|
379 |
-
|
380 |
-
if ( ( !empty( $wppb_addonOptions['wppb_emailCustomizer'] ) && $wppb_addonOptions['wppb_emailCustomizer'] == 'show' ) || ( !empty( $wppb_addonOptions['wppb_emailCustomizerAdmin'] ) && $wppb_addonOptions['wppb_emailCustomizerAdmin'] == 'show' ) ) {
|
381 |
-
$wppb_email_customizer_activate = 'show';
|
382 |
-
}
|
383 |
-
// using filters, we overwrite the old content with the new one from the email customizer (for the user)
|
384 |
-
if ( $wppb_email_customizer_activate == 'show' ){
|
385 |
-
add_filter ( 'wppb_register_user_email_subject_without_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
386 |
-
add_filter ( 'wppb_register_user_email_message_without_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
387 |
-
|
388 |
-
add_filter ( 'wppb_register_user_email_subject_with_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_subject_filter_handler', 10, 5 );
|
389 |
-
add_filter ( 'wppb_register_user_email_message_with_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_message_filter_handler', 10, 5 );
|
390 |
-
|
391 |
-
add_filter ( 'wppb_new_user_status_subject_approved', 'wppb_email_customizer_admin_approval_new_user_status_filter_handler', 10, 5 );
|
392 |
-
add_filter ( 'wppb_new_user_status_message_approved', 'wppb_email_customizer_admin_approval_new_user_status_filter_handler', 10, 5 );
|
393 |
|
394 |
-
|
395 |
-
|
396 |
|
397 |
-
|
398 |
-
|
399 |
|
400 |
-
|
401 |
-
|
402 |
|
403 |
-
|
404 |
-
|
405 |
|
406 |
-
|
407 |
-
|
408 |
|
409 |
-
|
410 |
-
|
411 |
-
add_filter ( 'email_change_email', 'wppb_email_customizer_change_email_address_header_filter_handler', 10, 3);
|
412 |
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
}
|
417 |
|
|
|
|
|
|
|
418 |
}
|
419 |
|
420 |
// using filters, we overwrite the old content with the new one from the email customizer (for the admin)
|
421 |
-
|
422 |
-
|
423 |
-
add_filter ( 'wppb_register_admin_email_message_without_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
424 |
-
|
425 |
-
add_filter ( 'wppb_register_admin_email_subject_with_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
426 |
-
add_filter ( 'wppb_register_admin_email_message_with_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
427 |
|
428 |
-
|
429 |
-
|
430 |
|
431 |
-
|
432 |
-
|
433 |
-
add_filter('wppb_epaa_admin_email_subject', 'wppb_admin_email_customizer_epaa_title_filter_handler', 10, 4);
|
434 |
-
}
|
435 |
|
|
|
|
|
|
|
436 |
}
|
437 |
|
438 |
|
374 |
return $default;
|
375 |
}
|
376 |
|
377 |
+
// user emails
|
378 |
+
add_filter ( 'wppb_register_user_email_subject_without_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
379 |
+
add_filter ( 'wppb_register_user_email_message_without_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
380 |
|
381 |
+
add_filter ( 'wppb_register_user_email_subject_with_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_subject_filter_handler', 10, 5 );
|
382 |
+
add_filter ( 'wppb_register_user_email_message_with_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_message_filter_handler', 10, 5 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
383 |
|
384 |
+
add_filter ( 'wppb_new_user_status_subject_approved', 'wppb_email_customizer_admin_approval_new_user_status_filter_handler', 10, 5 );
|
385 |
+
add_filter ( 'wppb_new_user_status_message_approved', 'wppb_email_customizer_admin_approval_new_user_status_filter_handler', 10, 5 );
|
386 |
|
387 |
+
add_filter ( 'wppb_new_user_status_subject_unapproved', 'wppb_email_customizer_admin_approval_new_user_status_filter_handler', 10, 5 );
|
388 |
+
add_filter ( 'wppb_new_user_status_message_unapproved', 'wppb_email_customizer_admin_approval_new_user_status_filter_handler', 10, 5 );
|
389 |
|
390 |
+
add_filter ( 'wppb_signup_user_notification_email_subject', 'wppb_email_customizer_email_confirmation_filter_handler', 10, 8 );
|
391 |
+
add_filter ( 'wppb_signup_user_notification_email_content', 'wppb_email_customizer_email_confirmation_filter_handler', 10, 8 );
|
392 |
|
393 |
+
add_filter ( 'wppb_recover_password_message_content_sent_to_user1', 'wppb_email_customizer_password_reset_content_filter_handler', 10, 4 );
|
394 |
+
add_filter ( 'wppb_recover_password_message_title_sent_to_user1', 'wppb_email_customizer_password_reset_title_filter_handler', 10, 2 );
|
395 |
|
396 |
+
add_filter ( 'wppb_recover_password_message_content_sent_to_user2', 'wppb_email_customizer_password_reset_success_content_filter_handler', 10, 4 );
|
397 |
+
add_filter ( 'wppb_recover_password_message_title_sent_to_user2', 'wppb_email_customizer_password_reset_success_title_filter_handler', 10, 2 );
|
398 |
|
399 |
+
add_filter ( 'wppb_user_email_change_request_notification_subject', 'wppb_email_customizer_user_email_change_request_subject_filter_handler', 10, 3);
|
400 |
+
add_filter ( 'wppb_user_email_change_request_notification_content', 'wppb_email_customizer_user_email_change_request_content_filter_handler', 10, 3);
|
|
|
401 |
|
402 |
+
add_filter ( 'email_change_email', 'wppb_email_customizer_change_email_address_content_filter_handler', 10, 3);
|
403 |
+
add_filter ( 'email_change_email', 'wppb_email_customizer_change_email_address_title_filter_handler', 10, 3);
|
404 |
+
add_filter ( 'email_change_email', 'wppb_email_customizer_change_email_address_header_filter_handler', 10, 3);
|
|
|
405 |
|
406 |
+
if( function_exists( 'wppb_in_init_edit_profile_approval' ) ) {
|
407 |
+
add_filter('wppb_epaa_user_email_content', 'wppb_email_customizer_epaa_content_filter_handler', 10, 4);
|
408 |
+
add_filter('wppb_epaa_user_email_subject', 'wppb_email_customizer_epaa_title_filter_handler', 10, 4);
|
409 |
}
|
410 |
|
411 |
// using filters, we overwrite the old content with the new one from the email customizer (for the admin)
|
412 |
+
add_filter ( 'wppb_register_admin_email_subject_without_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
413 |
+
add_filter ( 'wppb_register_admin_email_message_without_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
|
|
|
|
|
|
|
|
414 |
|
415 |
+
add_filter ( 'wppb_register_admin_email_subject_with_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
416 |
+
add_filter ( 'wppb_register_admin_email_message_with_admin_approval', 'wppb_email_customizer_admin_approval_new_user_signup_filter_handler', 10, 5 );
|
417 |
|
418 |
+
add_filter ( 'wppb_recover_password_message_content_sent_to_admin', 'wppb_admin_email_customizer_password_reset_content_filter_handler', 10, 4 );
|
419 |
+
add_filter ( 'wppb_recover_password_message_title_sent_to_admin', 'wppb_admin_email_customizer_password_reset_title_filter_handler', 10, 2 );
|
|
|
|
|
420 |
|
421 |
+
if( function_exists( 'wppb_in_init_edit_profile_approval' ) ) {
|
422 |
+
add_filter('wppb_epaa_admin_email_content', 'wppb_admin_email_customizer_epaa_content_filter_handler', 10, 4);
|
423 |
+
add_filter('wppb_epaa_admin_email_subject', 'wppb_admin_email_customizer_epaa_title_filter_handler', 10, 4);
|
424 |
}
|
425 |
|
426 |
|
features/functions.php
CHANGED
@@ -242,7 +242,8 @@ function wppb_mail( $to, $subject, $message, $message_from = null, $context = nu
|
|
242 |
|
243 |
if ( $send_email ) {
|
244 |
//we add this filter to enable html encoding
|
245 |
-
|
|
|
246 |
|
247 |
$atts = apply_filters( 'wppb_mail', compact( 'to', 'subject', 'message', 'headers' ), $context );
|
248 |
|
@@ -1822,3 +1823,32 @@ function wppb_check_if_add_on_is_active( $slug ){
|
|
1822 |
|
1823 |
return false;
|
1824 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
|
243 |
if ( $send_email ) {
|
244 |
//we add this filter to enable html encoding
|
245 |
+
if( apply_filters( 'wppb_mail_enable_html', true, $context, $to, $subject, $message ) )
|
246 |
+
add_filter('wp_mail_content_type', 'wppb_html_content_type' );
|
247 |
|
248 |
$atts = apply_filters( 'wppb_mail', compact( 'to', 'subject', 'message', 'headers' ), $context );
|
249 |
|
1823 |
|
1824 |
return false;
|
1825 |
}
|
1826 |
+
|
1827 |
+
/**
|
1828 |
+
* Function that checks if Two-Factor Authentication is active
|
1829 |
+
*/
|
1830 |
+
|
1831 |
+
function wppb_is_2fa_active(){
|
1832 |
+
$wppb_two_factor_authentication_settings = get_option( 'wppb_two_factor_authentication_settings', 'not_found' );
|
1833 |
+
if( isset( $wppb_two_factor_authentication_settings['enabled'] ) && $wppb_two_factor_authentication_settings['enabled'] === 'yes' ) {
|
1834 |
+
return true;
|
1835 |
+
}
|
1836 |
+
|
1837 |
+
return false;
|
1838 |
+
}
|
1839 |
+
|
1840 |
+
/**
|
1841 |
+
* Function that returns an array containing the User Listing names
|
1842 |
+
*/
|
1843 |
+
|
1844 |
+
function wppb_get_userlisting_names(){
|
1845 |
+
$ul_names = array();
|
1846 |
+
$userlisting_posts = get_posts( array( 'posts_per_page' => -1, 'post_status' =>'publish', 'post_type' => 'wppb-ul-cpt', 'orderby' => 'post_date', 'order' => 'ASC' ) );
|
1847 |
+
if( !empty( $userlisting_posts ) ){
|
1848 |
+
foreach ( $userlisting_posts as $post ){
|
1849 |
+
$ul_names[ $post->post_name ] = $post->post_title;
|
1850 |
+
}
|
1851 |
+
}
|
1852 |
+
reset($ul_names);
|
1853 |
+
return $ul_names;
|
1854 |
+
}
|
front-end/class-formbuilder.php
CHANGED
@@ -746,25 +746,6 @@ class Profile_Builder_Form_Creator{
|
|
746 |
/* turn it in a select2 */
|
747 |
wp_enqueue_script( 'wppb_select2_js', WPPB_PLUGIN_URL .'assets/js/select2/select2.min.js', array( 'jquery' ), PROFILE_BUILDER_VERSION );
|
748 |
wp_enqueue_style( 'wppb_select2_css', WPPB_PLUGIN_URL .'assets/css/select2/select2.min.css', array(), PROFILE_BUILDER_VERSION );
|
749 |
-
wp_add_inline_script( 'wppb_select2_js', '
|
750 |
-
jQuery("select").filter(function() {
|
751 |
-
if ( this.id.startsWith( "wppb-" ) && this.id.endsWith( "user-to-edit" ) ) {
|
752 |
-
return this;
|
753 |
-
}
|
754 |
-
}).on("change", function () {
|
755 |
-
window.location.href = jQuery(this).val();
|
756 |
-
});
|
757 |
-
jQuery(function(){
|
758 |
-
jQuery("select").filter(function() {
|
759 |
-
if ( this.id.startsWith( "wppb-" ) && this.id.endsWith( "user-to-edit" ) ) {
|
760 |
-
return this;
|
761 |
-
}
|
762 |
-
}).select2().on("select2:open", function(){
|
763 |
-
if( jQuery(".wppb-user-to-edit").parents( ".overlay-container" ).length ){
|
764 |
-
jQuery(".wppb-user-to-edit").data("select2").dropdown.$dropdownContainer.css( "z-index", "99999999" );
|
765 |
-
}
|
766 |
-
});
|
767 |
-
})' );
|
768 |
?>
|
769 |
<form method="GET" action="" id="select_user_to_edit_form">
|
770 |
<p class="wppb-form-field">
|
@@ -783,6 +764,26 @@ class Profile_Builder_Form_Creator{
|
|
783 |
</select>
|
784 |
</p>
|
785 |
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
786 |
<?php
|
787 |
}
|
788 |
else{
|
746 |
/* turn it in a select2 */
|
747 |
wp_enqueue_script( 'wppb_select2_js', WPPB_PLUGIN_URL .'assets/js/select2/select2.min.js', array( 'jquery' ), PROFILE_BUILDER_VERSION );
|
748 |
wp_enqueue_style( 'wppb_select2_css', WPPB_PLUGIN_URL .'assets/css/select2/select2.min.css', array(), PROFILE_BUILDER_VERSION );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
749 |
?>
|
750 |
<form method="GET" action="" id="select_user_to_edit_form">
|
751 |
<p class="wppb-form-field">
|
764 |
</select>
|
765 |
</p>
|
766 |
</form>
|
767 |
+
<script type="text/javascript">
|
768 |
+
jQuery("select").filter(function() {
|
769 |
+
if ( this.id.startsWith( "wppb-" ) && this.id.endsWith( "user-to-edit" ) ) {
|
770 |
+
return this;
|
771 |
+
}
|
772 |
+
}).on("change", function () {
|
773 |
+
window.location.href = jQuery(this).val();
|
774 |
+
});
|
775 |
+
jQuery(function(){
|
776 |
+
jQuery("select").filter(function() {
|
777 |
+
if ( this.id.startsWith( "wppb-" ) && this.id.endsWith( "user-to-edit" ) ) {
|
778 |
+
return this;
|
779 |
+
}
|
780 |
+
}).select2().on("select2:open", function(){
|
781 |
+
if( jQuery(".wppb-user-to-edit").parents( ".overlay-container" ).length ){
|
782 |
+
jQuery(".wppb-user-to-edit").data("select2").dropdown.$dropdownContainer.css( "z-index", "99999999" );
|
783 |
+
}
|
784 |
+
});
|
785 |
+
})
|
786 |
+
</script>
|
787 |
<?php
|
788 |
}
|
789 |
else{
|
front-end/default-fields/recaptcha/recaptcha.php
CHANGED
@@ -167,12 +167,12 @@ function wppb_recaptcha_script_footer(){
|
|
167 |
/* dont submit form if PMS gateway is Stripe */
|
168 |
if( jQuery(".pms_pay_gate[type=radio]").length > 0 ){
|
169 |
jQuery(".pms_pay_gate").each( function(){
|
170 |
-
if( jQuery(this).is(":checked") && ( jQuery(this).val() == "stripe_intents" || jQuery(this).val() == "stripe" ) )
|
171 |
submitForm = false
|
172 |
})
|
173 |
} else if( jQuery(".pms_pay_gate[type=hidden]").length > 0 ) {
|
174 |
|
175 |
-
if( jQuery(".pms_pay_gate[type=hidden]").val() == "stripe_intents" || jQuery(".pms_pay_gate[type=hidden]").val() == "stripe" )
|
176 |
submitForm = false
|
177 |
|
178 |
}
|
167 |
/* dont submit form if PMS gateway is Stripe */
|
168 |
if( jQuery(".pms_pay_gate[type=radio]").length > 0 ){
|
169 |
jQuery(".pms_pay_gate").each( function(){
|
170 |
+
if( jQuery(this).is(":checked") && !jQuery(this).is(":disabled") && ( jQuery(this).val() == "stripe_intents" || jQuery(this).val() == "stripe" ) )
|
171 |
submitForm = false
|
172 |
})
|
173 |
} else if( jQuery(".pms_pay_gate[type=hidden]").length > 0 ) {
|
174 |
|
175 |
+
if( !jQuery(".pms_pay_gate[type=hidden]").is(":disabled") && ( jQuery(".pms_pay_gate[type=hidden]").val() == "stripe_intents" || jQuery(".pms_pay_gate[type=hidden]").val() == "stripe" ) )
|
176 |
submitForm = false
|
177 |
|
178 |
}
|
front-end/login.php
CHANGED
@@ -502,7 +502,7 @@ function wppb_front_end_login( $atts ){
|
|
502 |
global $wppb_login_shortcode;
|
503 |
$wppb_login_shortcode = true;
|
504 |
|
505 |
-
extract( shortcode_atts( array( 'display' => true, 'redirect' => '', 'redirect_url' => '', 'logout_redirect_url' => wppb_curpageurl(), 'register_url' => '', 'lostpassword_url' => '', 'redirect_priority' => 'normal', 'show_2fa_field' => '' ), $atts ) );
|
506 |
|
507 |
$wppb_generalSettings = get_option('wppb_general_settings');
|
508 |
|
@@ -512,7 +512,7 @@ function wppb_front_end_login( $atts ){
|
|
512 |
$is_elementor_edit_mode = \Elementor\Plugin::$instance->editor->is_edit_mode();
|
513 |
}
|
514 |
|
515 |
-
if( !is_user_logged_in() || $is_elementor_edit_mode ){
|
516 |
// set up the form arguments
|
517 |
$form_args = array( 'echo' => false, 'id_submit' => 'wppb-submit' );
|
518 |
|
502 |
global $wppb_login_shortcode;
|
503 |
$wppb_login_shortcode = true;
|
504 |
|
505 |
+
extract( shortcode_atts( array( 'display' => true, 'redirect' => '', 'redirect_url' => '', 'logout_redirect_url' => wppb_curpageurl(), 'register_url' => '', 'lostpassword_url' => '', 'redirect_priority' => 'normal', 'show_2fa_field' => '', 'block' => false ), $atts ) );
|
506 |
|
507 |
$wppb_generalSettings = get_option('wppb_general_settings');
|
508 |
|
512 |
$is_elementor_edit_mode = \Elementor\Plugin::$instance->editor->is_edit_mode();
|
513 |
}
|
514 |
|
515 |
+
if( !is_user_logged_in() || $is_elementor_edit_mode || $block === 'true' ){
|
516 |
// set up the form arguments
|
517 |
$form_args = array( 'echo' => false, 'id_submit' => 'wppb-submit' );
|
518 |
|
front-end/recover.php
CHANGED
@@ -247,7 +247,7 @@ function wppb_send_admin_password_reset_email( $user ){
|
|
247 |
* The function for the recover password shortcode
|
248 |
*
|
249 |
*/
|
250 |
-
function wppb_front_end_password_recovery(){
|
251 |
global $wppb_shortcode_on_front;
|
252 |
$wppb_shortcode_on_front = true;
|
253 |
global $wppb_password_recovery_shortcode_on_front;
|
@@ -255,6 +255,8 @@ function wppb_front_end_password_recovery(){
|
|
255 |
$password_email_sent = false;
|
256 |
$password_changed_success = false;
|
257 |
|
|
|
|
|
258 |
$output = '<div class="wppb_holder" id="wppb-recover-password-container">';
|
259 |
|
260 |
global $wpdb;
|
@@ -265,7 +267,7 @@ function wppb_front_end_password_recovery(){
|
|
265 |
$is_elementor_edit_mode = \Elementor\Plugin::$instance->editor->is_edit_mode();
|
266 |
}
|
267 |
|
268 |
-
if( is_user_logged_in() &&
|
269 |
return apply_filters('wppb_recover_password_already_logged_in', __('You are already logged in. You can change your password on the edit profile form.', 'profile-builder'));
|
270 |
}
|
271 |
|
247 |
* The function for the recover password shortcode
|
248 |
*
|
249 |
*/
|
250 |
+
function wppb_front_end_password_recovery( $atts ){
|
251 |
global $wppb_shortcode_on_front;
|
252 |
$wppb_shortcode_on_front = true;
|
253 |
global $wppb_password_recovery_shortcode_on_front;
|
255 |
$password_email_sent = false;
|
256 |
$password_changed_success = false;
|
257 |
|
258 |
+
extract( shortcode_atts( array( 'block' => false ), $atts ) );
|
259 |
+
|
260 |
$output = '<div class="wppb_holder" id="wppb-recover-password-container">';
|
261 |
|
262 |
global $wpdb;
|
267 |
$is_elementor_edit_mode = \Elementor\Plugin::$instance->editor->is_edit_mode();
|
268 |
}
|
269 |
|
270 |
+
if( is_user_logged_in() && !( $is_elementor_edit_mode || $block ) ) {
|
271 |
return apply_filters('wppb_recover_password_already_logged_in', __('You are already logged in. You can change your password on the edit profile form.', 'profile-builder'));
|
272 |
}
|
273 |
|
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.8.
|
7 |
* Author: Cozmoslabs
|
8 |
* Author URI: https://www.cozmoslabs.com/
|
9 |
* Text Domain: profile-builder
|
@@ -189,6 +189,9 @@ function wppb_plugin_init() {
|
|
189 |
include_once WPPB_PLUGIN_DIR . 'assets/misc/elementor/class-elementor.php';
|
190 |
}
|
191 |
|
|
|
|
|
|
|
192 |
//Elementor Content Restriction
|
193 |
global $content_restriction_activated;
|
194 |
if ( $content_restriction_activated == 'yes' && did_action( 'elementor/loaded' ) ) {
|
@@ -389,7 +392,7 @@ add_action( 'plugins_loaded', 'wppb_plugin_init' );
|
|
389 |
*
|
390 |
*
|
391 |
*/
|
392 |
-
define('PROFILE_BUILDER_VERSION', '3.8.
|
393 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
394 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
395 |
define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
@@ -411,6 +414,7 @@ if ( in_array( 'profile-builder-pro/index.php', $active_plugins ) || isset( $act
|
|
411 |
define('PROFILE_BUILDER', 'Profile Builder Pro');
|
412 |
define('WPPB_PAID_PLUGIN_DIR', WP_PLUGIN_DIR . '/profile-builder-dev' );
|
413 |
define('WPPB_PAID_PLUGIN_URL', plugins_url() . '/profile-builder-dev/' );
|
|
|
414 |
|
415 |
} elseif ( in_array( 'profile-builder-elite/index.php', $active_plugins ) || isset( $active_network_plugins['profile-builder-elite/index.php'] ) ){
|
416 |
|
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.8.3
|
7 |
* Author: Cozmoslabs
|
8 |
* Author URI: https://www.cozmoslabs.com/
|
9 |
* Text Domain: profile-builder
|
189 |
include_once WPPB_PLUGIN_DIR . 'assets/misc/elementor/class-elementor.php';
|
190 |
}
|
191 |
|
192 |
+
//Blocks
|
193 |
+
include_once(WPPB_PLUGIN_DIR . '/assets/misc/gutenberg-blocks/manage-blocks.php');
|
194 |
+
|
195 |
//Elementor Content Restriction
|
196 |
global $content_restriction_activated;
|
197 |
if ( $content_restriction_activated == 'yes' && did_action( 'elementor/loaded' ) ) {
|
392 |
*
|
393 |
*
|
394 |
*/
|
395 |
+
define('PROFILE_BUILDER_VERSION', '3.8.3' );
|
396 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
397 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
398 |
define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
414 |
define('PROFILE_BUILDER', 'Profile Builder Pro');
|
415 |
define('WPPB_PAID_PLUGIN_DIR', WP_PLUGIN_DIR . '/profile-builder-dev' );
|
416 |
define('WPPB_PAID_PLUGIN_URL', plugins_url() . '/profile-builder-dev/' );
|
417 |
+
define('PROFILE_BUILDER_PAID_VERSION', 'dev' );
|
418 |
|
419 |
} elseif ( in_array( 'profile-builder-elite/index.php', $active_plugins ) || isset( $active_network_plugins['profile-builder-elite/index.php'] ) ){
|
420 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.cozmoslabs.com/wordpress-profile-builder/
|
|
4 |
Tags: user registration, user profile, registration, profile, user registration form, 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: 6.0
|
7 |
-
Stable tag: 3.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -177,6 +177,15 @@ This plugin adds/removes user fields in the front-end. Both default and extra pr
|
|
177 |
15. Edit or Add New User Role
|
178 |
|
179 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
= 3.8.2 =
|
181 |
* Fix: compatibility issue with paid version MSF
|
182 |
* Fix: issue with some fields not appearing on the back-end users page
|
4 |
Tags: user registration, user profile, registration, profile, user registration form, 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: 6.0
|
7 |
+
Stable tag: 3.8.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
177 |
15. Edit or Add New User Role
|
178 |
|
179 |
== Changelog ==
|
180 |
+
= 3.8.3 =
|
181 |
+
* Feature: Added Gutenberg Blocks for Register, Edit Profile, Login and Recover Password forms
|
182 |
+
* Fix: issue with Email Customizer not changing all emails in some cases
|
183 |
+
* Fix: incompatibility issue between Select2 and newer block themes
|
184 |
+
* Fix: some notices appearing in some cases
|
185 |
+
* Fix: issue between invisible reCaptcha and Paid Member Subscriptions Plans being present in the form
|
186 |
+
* Misc: added links to documentation on settings pages
|
187 |
+
* Misc: added a filter that can disable HTML in Emails sent by the plugin `wppb_mail_enable_html`
|
188 |
+
|
189 |
= 3.8.2 =
|
190 |
* Fix: compatibility issue with paid version MSF
|
191 |
* Fix: issue with some fields not appearing on the back-end users page
|
translation/profile-builder.catalog.php
CHANGED
@@ -139,7 +139,7 @@
|
|
139 |
<?php __("Currency Select", "profile-builder"); ?>
|
140 |
<?php __("Timezone Select", "profile-builder"); ?>
|
141 |
<?php __("Map", "profile-builder"); ?>
|
142 |
-
<?php __("Select 2 Multiple", "profile-builder"); ?>
|
143 |
<?php __("Phone", "profile-builder"); ?>
|
144 |
<?php __("Hidden Input", "profile-builder"); ?>
|
145 |
<?php __("Number", "profile-builder"); ?>
|
@@ -1813,6 +1813,16 @@
|
|
1813 |
<?php __("This field is available in our paid plans.", "profile-builder"); ?>
|
1814 |
<?php __("Install the free Paid Member Subscriptions plugin to get access this field.", "profile-builder"); ?>
|
1815 |
<?php __("Profile Builder Forms", "profile-builder"); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1816 |
<?php __("Remove", "profile-builder"); ?>
|
1817 |
<?php __("Yes, I'd like to create a new site", "profile-builder"); ?>
|
1818 |
<?php __("Your site url will look like this:<br>", "profile-builder"); ?>
|
@@ -1993,7 +2003,6 @@
|
|
1993 |
<?php __("Enter URL", "profile-builder"); ?>
|
1994 |
<?php __("Show Authenticator Code Field", "profile-builder"); ?>
|
1995 |
<?php __("Redirects", "profile-builder"); ?>
|
1996 |
-
<?php __("Form", "profile-builder"); ?>
|
1997 |
<?php __("Assigned Role", "profile-builder"); ?>
|
1998 |
<?php __("Automatic Login", "profile-builder"); ?>
|
1999 |
<?php __('Edit the Settings for this form %1$shere%2$s', 'profile-builder' ); ?>
|
139 |
<?php __("Currency Select", "profile-builder"); ?>
|
140 |
<?php __("Timezone Select", "profile-builder"); ?>
|
141 |
<?php __("Map", "profile-builder"); ?>
|
142 |
+
<?php __("Select 2 (Multiple)", "profile-builder"); ?>
|
143 |
<?php __("Phone", "profile-builder"); ?>
|
144 |
<?php __("Hidden Input", "profile-builder"); ?>
|
145 |
<?php __("Number", "profile-builder"); ?>
|
1813 |
<?php __("This field is available in our paid plans.", "profile-builder"); ?>
|
1814 |
<?php __("Install the free Paid Member Subscriptions plugin to get access this field.", "profile-builder"); ?>
|
1815 |
<?php __("Profile Builder Forms", "profile-builder"); ?>
|
1816 |
+
<?php __("Displays the Front End Edit Profile Form.", "profile-builder"); ?>
|
1817 |
+
<?php __("Profile", "profile-builder"); ?>
|
1818 |
+
<?php __("Form", "profile-builder"); ?>
|
1819 |
+
<?php __("Displays the Front End Login form.", "profile-builder"); ?>
|
1820 |
+
<?php __("Displays the Front End Recover Password Form.", "profile-builder"); ?>
|
1821 |
+
<?php __("Recover", "profile-builder"); ?>
|
1822 |
+
<?php __("Displays the Front End Registration Form.", "profile-builder"); ?>
|
1823 |
+
<?php __("Displays the Front End User Listing.", "profile-builder"); ?>
|
1824 |
+
<?php __("User", "profile-builder"); ?>
|
1825 |
+
<?php __("Listing", "profile-builder"); ?>
|
1826 |
<?php __("Remove", "profile-builder"); ?>
|
1827 |
<?php __("Yes, I'd like to create a new site", "profile-builder"); ?>
|
1828 |
<?php __("Your site url will look like this:<br>", "profile-builder"); ?>
|
2003 |
<?php __("Enter URL", "profile-builder"); ?>
|
2004 |
<?php __("Show Authenticator Code Field", "profile-builder"); ?>
|
2005 |
<?php __("Redirects", "profile-builder"); ?>
|
|
|
2006 |
<?php __("Assigned Role", "profile-builder"); ?>
|
2007 |
<?php __("Automatic Login", "profile-builder"); ?>
|
2008 |
<?php __('Edit the Settings for this form %1$shere%2$s', 'profile-builder' ); ?>
|
translation/profile-builder.pot
CHANGED
@@ -13,11 +13,11 @@ msgstr ""
|
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
|
16 |
-
#: index.php:
|
17 |
msgid "To enable updates, your licence needs to be renewed. Please go to the <a href=\"%s\">Cozmoslabs Account</a> page and login to renew."
|
18 |
msgstr ""
|
19 |
|
20 |
-
#: index.php:
|
21 |
msgid "To enable updates, please enter your serial number on the <a href=\"%s\">Register Version</a> page. If you don't have a serial number, please see <a href=\"%s\" target=\"_blank\">details & pricing</a>."
|
22 |
msgstr ""
|
23 |
|
@@ -61,7 +61,7 @@ msgstr ""
|
|
61 |
msgid "Allow different user roles to edit their specific information. Set up multiple edit-profile forms with different fields for certain user roles."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: admin/add-ons.php:59, admin/basic-info.php:163, add-ons/user-listing/userlisting.php:11, add-ons/user-listing/userlisting.php:12, add-ons/user-listing/userlisting.php:17, add-ons/user-listing/userlisting.php:23, assets/misc/elementor/widgets/class-pb-widget-ul.php:58, assets/misc/elementor/widgets/class-pb-widget-ul.php:97
|
65 |
msgid "User Listing"
|
66 |
msgstr ""
|
67 |
|
@@ -109,7 +109,7 @@ msgstr ""
|
|
109 |
msgid "Easily configure and enable social login on your website. Users can login with social platforms like Facebook, Google+ or Twitter."
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: admin/add-ons.php:110, add-ons-advanced/woocommerce/woosync-page.php:23, add-ons-advanced/woocommerce/woosync-page.php:23, add-ons-advanced/woocommerce/woosync-page.php:
|
113 |
msgid "WooCommerce Sync"
|
114 |
msgstr ""
|
115 |
|
@@ -285,35 +285,35 @@ msgstr ""
|
|
285 |
msgid "Show/Hide the Admin Bar on the Front-End"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: admin/admin-bar.php:11, admin/admin-bar.php:
|
289 |
msgid "Admin Bar Settings"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: admin/admin-bar.php:
|
293 |
msgid "Choose which user roles view the admin bar in the front-end of the website."
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: admin/admin-bar.php:
|
297 |
msgid "User-Role"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: admin/admin-bar.php:
|
301 |
msgid "Visibility"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: admin/admin-bar.php:
|
305 |
msgid "Default"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: admin/admin-bar.php:
|
309 |
msgid "Show"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: admin/admin-bar.php:
|
313 |
msgid "Hide"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: admin/admin-bar.php:
|
317 |
msgid "Save Changes"
|
318 |
msgstr ""
|
319 |
|
@@ -337,19 +337,19 @@ msgstr ""
|
|
337 |
msgid "<strong>ERROR</strong>: The password must have the minimum length of %s characters"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: admin/admin-functions.php:139, admin/general-settings.php:
|
341 |
msgid "Very weak"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: admin/admin-functions.php:139, admin/general-settings.php:
|
345 |
msgid "Weak"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: admin/admin-functions.php:139, admin/general-settings.php:
|
349 |
msgid "Medium"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: admin/admin-functions.php:139, admin/general-settings.php:
|
353 |
msgid "Strong"
|
354 |
msgstr ""
|
355 |
|
@@ -457,7 +457,7 @@ msgstr ""
|
|
457 |
msgid "Enable extra features"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: admin/basic-info.php:75, assets/misc/elementor/widgets/class-pb-widget-l.php:63, assets/misc/elementor/widgets/class-pb-widget-rp.php:26
|
461 |
msgid "Recover Password"
|
462 |
msgstr ""
|
463 |
|
@@ -574,7 +574,7 @@ msgid "Map"
|
|
574 |
msgstr ""
|
575 |
|
576 |
#: admin/basic-info.php:137
|
577 |
-
msgid "Select 2 Multiple"
|
578 |
msgstr ""
|
579 |
|
580 |
#: admin/basic-info.php:138, add-ons-advanced/woocommerce/billing-fields.php:15
|
@@ -717,7 +717,7 @@ msgstr ""
|
|
717 |
msgid "Private Website"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: admin/general-settings.php:15, admin/advanced-settings/advanced-settings.php:38, admin/advanced-settings/advanced-settings.php:
|
721 |
msgid "Advanced Settings"
|
722 |
msgstr ""
|
723 |
|
@@ -741,7 +741,7 @@ msgstr ""
|
|
741 |
msgid "Admin"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: admin/general-settings.php:30, features/two-factor-authentication/class-two-factor-authentication.php:78, features/two-factor-authentication/class-two-factor-authentication.php:78, features/two-factor-authentication/class-two-factor-authentication.php:
|
745 |
msgid "Two-Factor Authentication"
|
746 |
msgstr ""
|
747 |
|
@@ -753,143 +753,143 @@ msgstr ""
|
|
753 |
msgid "Administrator Emails"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: admin/general-settings.php:
|
757 |
msgid "Profile Builder Settings"
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: admin/general-settings.php:
|
761 |
msgid "Load Profile Builder's own CSS file in the front-end:"
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: admin/general-settings.php:
|
765 |
msgid "Yes"
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: admin/general-settings.php:
|
769 |
msgid "You can find the default file here: %1$s"
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: admin/general-settings.php:
|
773 |
msgid "Automatically Log In:"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: admin/general-settings.php:
|
777 |
msgid "No"
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: admin/general-settings.php:
|
781 |
msgid "Select \"Yes\" to automatically log in new users after successful registration."
|
782 |
msgstr ""
|
783 |
|
784 |
-
#: admin/general-settings.php:
|
785 |
msgid "\"Email Confirmation\" Activated:"
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: admin/general-settings.php:
|
789 |
msgid "This works with front-end forms only. Recommended to redirect WP default registration to a Profile Builder one using \"Custom Redirects\" module."
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: admin/general-settings.php:
|
793 |
msgid "You can find a list of unconfirmed email addresses %1$sUsers > All Users > Email Confirmation%2$s."
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: admin/general-settings.php:
|
797 |
msgid "\"Email Confirmation\" Landing Page:"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: admin/general-settings.php:
|
801 |
msgid "Existing Pages"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: admin/general-settings.php:
|
805 |
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."
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: admin/general-settings.php:
|
809 |
msgid "\"Admin Approval\" Activated:"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: admin/general-settings.php:
|
813 |
msgid "You can find a list of users at %1$sUsers > All Users > Admin Approval%2$s."
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: admin/general-settings.php:
|
817 |
msgid "\"Admin Approval\" on User Role:"
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: admin/general-settings.php:
|
821 |
msgid "Select on what user roles to activate Admin Approval."
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: admin/general-settings.php:
|
825 |
msgid "\"Roles Editor\" Activated:"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: admin/general-settings.php:
|
829 |
msgid "You can add / edit user roles at %1$sUsers > Roles Editor%2$s."
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: admin/general-settings.php:
|
833 |
msgid "\"Admin Approval\" Feature:"
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: admin/general-settings.php:
|
837 |
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$sBasic or PRO versions%2$s."
|
838 |
msgstr ""
|
839 |
|
840 |
-
#: admin/general-settings.php:
|
841 |
msgid "Allow Users to Log in With:"
|
842 |
msgstr ""
|
843 |
|
844 |
-
#: admin/general-settings.php:
|
845 |
msgid "Username and Email"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: admin/general-settings.php:
|
849 |
msgid "Username"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: admin/general-settings.php:
|
853 |
msgid "Email"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: admin/general-settings.php:
|
857 |
msgid "\"Username and Email\" - users can Log In with either their Username or their Email."
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: admin/general-settings.php:
|
861 |
msgid "\"Username\" - users can only Log In with their Username. Both the Username and Email fields will be shown in the front-end forms."
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: admin/general-settings.php:
|
865 |
msgid "\"Email\" - users can only Log In with their Email. The Username field will be hidden in the front-end forms and Usernames will be automatically generated based on the Emails."
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: admin/general-settings.php:
|
869 |
msgid "Minimum Password Length:"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: admin/general-settings.php:
|
873 |
msgid "Enter the minimum characters the password should have. Leave empty for no minimum limit"
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: admin/general-settings.php:
|
877 |
msgid "Minimum Password Strength:"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: admin/general-settings.php:
|
881 |
msgid "Disabled"
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: admin/general-settings.php:
|
885 |
msgid "Select Recover Password Page:"
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: admin/general-settings.php:
|
889 |
msgid "None"
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: admin/general-settings.php:
|
893 |
msgid "Select the page which contains the %1$s[wppb-recover-password]%2$s shortcode."
|
894 |
msgstr ""
|
895 |
|
@@ -949,7 +949,7 @@ msgstr ""
|
|
949 |
msgid "A unique, auto-generated ID for this particular field<br/>You can use this in conjuction with filters to target this element if needed<br/>Can't be edited"
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: admin/manage-fields.php:237, features/two-factor-authentication/class-two-factor-authentication.php:
|
953 |
msgid "Description"
|
954 |
msgstr ""
|
955 |
|
@@ -1441,7 +1441,7 @@ msgstr ""
|
|
1441 |
msgid "Share a little biographical information to fill out your profile. This may be shown publicly."
|
1442 |
msgstr ""
|
1443 |
|
1444 |
-
#: admin/manage-fields.php:398, front-end/login.php:121, front-end/recover.php:72, add-ons/email-customizer/email-customizer.php:30, features/email-customizer/email-customizer.php:30
|
1445 |
msgid "Password"
|
1446 |
msgstr ""
|
1447 |
|
@@ -3045,11 +3045,11 @@ msgstr ""
|
|
3045 |
msgid "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-required\">Required</pre>"
|
3046 |
msgstr ""
|
3047 |
|
3048 |
-
#: admin/manage-fields.php:1409, features/functions.php:
|
3049 |
msgid "Edit"
|
3050 |
msgstr ""
|
3051 |
|
3052 |
-
#: admin/manage-fields.php:1409, features/functions.php:
|
3053 |
msgid "Delete"
|
3054 |
msgstr ""
|
3055 |
|
@@ -3109,7 +3109,7 @@ msgstr ""
|
|
3109 |
msgid "Payment Management"
|
3110 |
msgstr ""
|
3111 |
|
3112 |
-
#: admin/pms-cross-promotion.php:79, admin/pms-cross-promotion.php:115, admin/pms-cross-promotion.php:194, features/two-factor-authentication/class-two-factor-authentication.php:
|
3113 |
msgid "Activate"
|
3114 |
msgstr ""
|
3115 |
|
@@ -3185,67 +3185,67 @@ msgstr ""
|
|
3185 |
msgid "Allow your users to have <strong>paid accounts with Profile Builder</strong>. %1$sFind out how >%2$s %3$sDismiss%4$s"
|
3186 |
msgstr ""
|
3187 |
|
3188 |
-
#: admin/private-website.php:
|
3189 |
msgid "Private Website Settings"
|
3190 |
msgstr ""
|
3191 |
|
3192 |
-
#: admin/private-website.php:
|
3193 |
msgid "Enable Private Website"
|
3194 |
msgstr ""
|
3195 |
|
3196 |
-
#: admin/private-website.php:
|
3197 |
msgid "Activate Private Website. It will restrict the content, RSS and REST API for your website"
|
3198 |
msgstr ""
|
3199 |
|
3200 |
-
#: admin/private-website.php:
|
3201 |
msgid "Redirect to"
|
3202 |
msgstr ""
|
3203 |
|
3204 |
-
#: admin/private-website.php:
|
3205 |
msgid "Default WordPress login page"
|
3206 |
msgstr ""
|
3207 |
|
3208 |
-
#: admin/private-website.php:
|
3209 |
msgid "Redirects to this page if not logged in. We recommend this page contains the [wppb-login] shortcode."
|
3210 |
msgstr ""
|
3211 |
|
3212 |
-
#: admin/private-website.php:
|
3213 |
msgid "You can force access to wp-login.php so you don't get locked out of the site by accessing the link:"
|
3214 |
msgstr ""
|
3215 |
|
3216 |
-
#: admin/private-website.php:
|
3217 |
msgid "Allowed Pages"
|
3218 |
msgstr ""
|
3219 |
|
3220 |
-
#: admin/private-website.php:
|
3221 |
msgid "Allow these pages to be accessed even if you are not logged in"
|
3222 |
msgstr ""
|
3223 |
|
3224 |
-
#: admin/private-website.php:
|
3225 |
msgid "Allowed Paths"
|
3226 |
msgstr ""
|
3227 |
|
3228 |
-
#: admin/private-website.php:
|
3229 |
msgid "Allow these paths to be accessed even if you are not logged in (supports wildcard at the end of the path). For example to exclude https://example.com/some/path/ you can either use the rule /some/path/ or /some/* Enter each rule on it's own line"
|
3230 |
msgstr ""
|
3231 |
|
3232 |
-
#: admin/private-website.php:
|
3233 |
msgid "Hide all Menus"
|
3234 |
msgstr ""
|
3235 |
|
3236 |
-
#: admin/private-website.php:
|
3237 |
msgid "Hide all menu items if you are not logged in."
|
3238 |
msgstr ""
|
3239 |
|
3240 |
-
#: admin/private-website.php:
|
3241 |
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."
|
3242 |
msgstr ""
|
3243 |
|
3244 |
-
#: admin/private-website.php:
|
3245 |
msgid "Disable REST-API"
|
3246 |
msgstr ""
|
3247 |
|
3248 |
-
#: admin/private-website.php:
|
3249 |
msgid "Disable the WordPress REST-API for non-logged in users when Private Website is enabled"
|
3250 |
msgstr ""
|
3251 |
|
@@ -3261,59 +3261,59 @@ msgstr ""
|
|
3261 |
msgid "Register Version"
|
3262 |
msgstr ""
|
3263 |
|
3264 |
-
#: admin/register-version.php:
|
3265 |
msgid "Register your version of Profile Builder"
|
3266 |
msgstr ""
|
3267 |
|
3268 |
-
#: admin/register-version.php:
|
3269 |
msgid "Now that you acquired a copy of Profile Builder Pro, you should take the time and register it with the serial number you received."
|
3270 |
msgstr ""
|
3271 |
|
3272 |
-
#: admin/register-version.php:
|
3273 |
msgid "If you register this version of Profile Builder, you'll receive information regarding upgrades, patches, and technical support."
|
3274 |
msgstr ""
|
3275 |
|
3276 |
-
#: admin/register-version.php:
|
3277 |
msgid "License key"
|
3278 |
msgstr ""
|
3279 |
|
3280 |
-
#: admin/register-version.php:
|
3281 |
msgid "Activate License"
|
3282 |
msgstr ""
|
3283 |
|
3284 |
-
#: admin/register-version.php:
|
3285 |
msgid "Deactivate License"
|
3286 |
msgstr ""
|
3287 |
|
3288 |
-
#: admin/register-version.php:
|
3289 |
msgid "Your license is invalid"
|
3290 |
msgstr ""
|
3291 |
|
3292 |
-
#: admin/register-version.php:
|
3293 |
msgid "Active on this site"
|
3294 |
msgstr ""
|
3295 |
|
3296 |
-
#: admin/register-version.php:
|
3297 |
msgid "Your <strong>Profile Builder</strong> license has expired. <br/>Please %1$sRenew Your Licence%2$s to continue receiving access to product downloads, automatic updates and support. %3$sRenew now %4$s %5$sDismiss%6$s"
|
3298 |
msgstr ""
|
3299 |
|
3300 |
-
#: admin/register-version.php:
|
3301 |
msgid "Your <strong>Profile Builder</strong> license has expired. <br/>Please %1$sRenew Your Licence%2$s to continue receiving access to product downloads, automatic updates and support. %3$sRenew now %4$s"
|
3302 |
msgstr ""
|
3303 |
|
3304 |
-
#: admin/register-version.php:
|
3305 |
msgid "Your <strong>Profile Builder</strong> serial number is invalid or missing. <br/>Please %1$sregister your copy%2$s to receive access to automatic updates and support. Need a license key? %3$sPurchase one now%4$s"
|
3306 |
msgstr ""
|
3307 |
|
3308 |
-
#: admin/register-version.php:
|
3309 |
msgid "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 %4$s %6$sDismiss%7$s"
|
3310 |
msgstr ""
|
3311 |
|
3312 |
-
#: admin/register-version.php:
|
3313 |
msgid "Your <strong>Profile Builder Basic</strong> license has reached its activation limit.<br> Upgrade now to <strong>Pro</strong> for unlimited activations and extra features like multiple registration and edit profile forms, userlisting, custom redirects and more. <a class=\"button-primary\" href=\"%s\">Upgrade now</a>"
|
3314 |
msgstr ""
|
3315 |
|
3316 |
-
#: admin/register-version.php:
|
3317 |
msgid " %1$sDismiss%2$s"
|
3318 |
msgstr ""
|
3319 |
|
@@ -3341,83 +3341,83 @@ msgstr ""
|
|
3341 |
msgid "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. "
|
3342 |
msgstr ""
|
3343 |
|
3344 |
-
#: features/functions.php:
|
3345 |
msgid "GDPR Checkbox"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
-
#: features/functions.php:
|
3349 |
msgid "I allow the website to collect and store the data I submit through this form."
|
3350 |
msgstr ""
|
3351 |
|
3352 |
-
#: features/functions.php:
|
3353 |
msgid "Honeypot"
|
3354 |
msgstr ""
|
3355 |
|
3356 |
-
#: features/functions.php:
|
3357 |
msgid "Strength indicator"
|
3358 |
msgstr ""
|
3359 |
|
3360 |
-
#: features/functions.php:
|
3361 |
msgid "Very Weak"
|
3362 |
msgstr ""
|
3363 |
|
3364 |
-
#: features/functions.php:
|
3365 |
msgid "Minimum length of %d characters."
|
3366 |
msgstr ""
|
3367 |
|
3368 |
-
#: features/functions.php:
|
3369 |
msgid "The password must have a minimum strength of %s"
|
3370 |
msgstr ""
|
3371 |
|
3372 |
-
#: features/functions.php:
|
3373 |
msgid "This field is required"
|
3374 |
msgstr ""
|
3375 |
|
3376 |
-
#: features/functions.php:
|
3377 |
msgid "Please enter a (valid) reCAPTCHA value"
|
3378 |
msgstr ""
|
3379 |
|
3380 |
-
#: features/functions.php:
|
3381 |
msgid "Incorrect phone number"
|
3382 |
msgstr ""
|
3383 |
|
3384 |
-
#: features/functions.php:
|
3385 |
msgid "Cancel"
|
3386 |
msgstr ""
|
3387 |
|
3388 |
-
#: features/functions.php:
|
3389 |
msgid "Content"
|
3390 |
msgstr ""
|
3391 |
|
3392 |
-
#: features/functions.php:
|
3393 |
msgid "<br><br>Also, you will be able to visit your site at "
|
3394 |
msgstr ""
|
3395 |
|
3396 |
-
#: features/functions.php:
|
3397 |
msgid "<br><br>You can visit your site at "
|
3398 |
msgstr ""
|
3399 |
|
3400 |
-
#: features/functions.php:
|
3401 |
msgid "here"
|
3402 |
msgstr ""
|
3403 |
|
3404 |
-
#: features/functions.php:
|
3405 |
msgid "You will soon be redirected automatically. If you see this page for more than %1$d seconds, please click %2$s.%3$s"
|
3406 |
msgstr ""
|
3407 |
|
3408 |
-
#: features/functions.php:
|
3409 |
msgid "No feed available,please visit our <a href=\"%s\">homepage</a>!"
|
3410 |
msgstr ""
|
3411 |
|
3412 |
-
#: features/functions.php:
|
3413 |
msgid "You are not currently logged in."
|
3414 |
msgstr ""
|
3415 |
|
3416 |
-
#: features/functions.php:
|
3417 |
msgid "Profile Builder"
|
3418 |
msgstr ""
|
3419 |
|
3420 |
-
#: features/functions.php:
|
3421 |
msgid "User Meta"
|
3422 |
msgstr ""
|
3423 |
|
@@ -3489,7 +3489,7 @@ msgstr ""
|
|
3489 |
msgid "Add User"
|
3490 |
msgstr ""
|
3491 |
|
3492 |
-
#: front-end/class-formbuilder.php:464, front-end/login.php:594, add-ons-advanced/custom-profile-menus/index.php:303, add-ons-advanced/custom-profile-menus/wppb-custom-profile-menus.php:75, assets/misc/elementor/widgets/class-pb-widget-rf.php:32
|
3493 |
msgid "Register"
|
3494 |
msgstr ""
|
3495 |
|
@@ -3497,19 +3497,19 @@ msgstr ""
|
|
3497 |
msgid "Send these credentials via email."
|
3498 |
msgstr ""
|
3499 |
|
3500 |
-
#: front-end/class-formbuilder.php:
|
3501 |
msgid "There are no other users to edit"
|
3502 |
msgstr ""
|
3503 |
|
3504 |
-
#: front-end/class-formbuilder.php:
|
3505 |
msgid "User to edit:"
|
3506 |
msgstr ""
|
3507 |
|
3508 |
-
#: front-end/class-formbuilder.php:
|
3509 |
msgid "Select User"
|
3510 |
msgstr ""
|
3511 |
|
3512 |
-
#: front-end/class-formbuilder.php:
|
3513 |
msgid "Something went wrong. Please try again!"
|
3514 |
msgstr ""
|
3515 |
|
@@ -3538,7 +3538,7 @@ msgstr ""
|
|
3538 |
msgid "Activation email sent to %s"
|
3539 |
msgstr ""
|
3540 |
|
3541 |
-
#: front-end/login.php:320, front-end/login.php:412, front-end/login.php:450, front-end/recover.php:18, front-end/recover.php:
|
3542 |
msgid "ERROR"
|
3543 |
msgstr ""
|
3544 |
|
@@ -3654,59 +3654,59 @@ msgstr ""
|
|
3654 |
msgid "%1$s has requested a password change via the password reset feature.<br/>His/her new password is:%2$s"
|
3655 |
msgstr ""
|
3656 |
|
3657 |
-
#: front-end/recover.php:
|
3658 |
msgid "You are already logged in. You can change your password on the edit profile form."
|
3659 |
msgstr ""
|
3660 |
|
3661 |
-
#: front-end/recover.php:
|
3662 |
msgid "The password must not be empty!"
|
3663 |
msgstr ""
|
3664 |
|
3665 |
-
#: front-end/recover.php:
|
3666 |
msgid "The key cannot be empty!"
|
3667 |
msgstr ""
|
3668 |
|
3669 |
-
#: front-end/recover.php:
|
3670 |
msgid "Invalid key!"
|
3671 |
msgstr ""
|
3672 |
|
3673 |
-
#: front-end/recover.php:
|
3674 |
msgid "The entered passwords don't match!"
|
3675 |
msgstr ""
|
3676 |
|
3677 |
-
#: front-end/recover.php:
|
3678 |
msgid "The password must have the minimum length of %s characters"
|
3679 |
msgstr ""
|
3680 |
|
3681 |
-
#: front-end/recover.php:
|
3682 |
msgid "Your password has been successfully changed!"
|
3683 |
msgstr ""
|
3684 |
|
3685 |
-
#: front-end/recover.php:
|
3686 |
msgid "The username entered wasn't found in the database!"
|
3687 |
msgstr ""
|
3688 |
|
3689 |
-
#: front-end/recover.php:
|
3690 |
msgid "Please check that you entered the correct username."
|
3691 |
msgstr ""
|
3692 |
|
3693 |
-
#: front-end/recover.php:
|
3694 |
msgid "The email address entered wasn't found in the database!"
|
3695 |
msgstr ""
|
3696 |
|
3697 |
-
#: front-end/recover.php:
|
3698 |
msgid "Please check that you entered the correct email address."
|
3699 |
msgstr ""
|
3700 |
|
3701 |
-
#: front-end/recover.php:
|
3702 |
msgid "Check your email for the confirmation link."
|
3703 |
msgstr ""
|
3704 |
|
3705 |
-
#: front-end/recover.php:
|
3706 |
msgid "There was an error while trying to send the activation link to %1$s!"
|
3707 |
msgstr ""
|
3708 |
|
3709 |
-
#: front-end/recover.php:
|
3710 |
msgid "ERROR:"
|
3711 |
msgstr ""
|
3712 |
|
@@ -3790,7 +3790,7 @@ msgstr ""
|
|
3790 |
msgid "Redirect Type"
|
3791 |
msgstr ""
|
3792 |
|
3793 |
-
#: add-ons/custom-redirects/custom_redirects_admin.php:69, add-ons/custom-redirects/custom_redirects_admin.php:99, add-ons/custom-redirects/custom_redirects_admin.php:118, add-ons/custom-redirects/custom_redirects_admin.php:143, features/content-restriction/content-restriction.php:
|
3794 |
msgid "Redirect URL"
|
3795 |
msgstr ""
|
3796 |
|
@@ -4111,11 +4111,11 @@ msgstr ""
|
|
4111 |
msgid "Approval URL"
|
4112 |
msgstr ""
|
4113 |
|
4114 |
-
#: add-ons/email-customizer/email-customizer.php:601, features/email-customizer/email-customizer.php:
|
4115 |
msgid "The users selected password at signup"
|
4116 |
msgstr ""
|
4117 |
|
4118 |
-
#: add-ons/email-customizer/email-customizer.php:609, add-ons/email-customizer/email-customizer.php:616, add-ons/email-customizer/email-customizer.php:630, features/email-confirmation/email-confirmation.php:618, features/email-customizer/email-customizer.php:
|
4119 |
msgid "Your selected password at signup"
|
4120 |
msgstr ""
|
4121 |
|
@@ -4138,7 +4138,7 @@ msgid ""
|
|
4138 |
""
|
4139 |
msgstr ""
|
4140 |
|
4141 |
-
#: add-ons/email-customizer/user-email-customizer.php:107, features/email-customizer/user-email-customizer.php:107, add-ons-advanced/buddypress/includes/buddypress-page.php:
|
4142 |
msgid "Default Registration"
|
4143 |
msgstr ""
|
4144 |
|
@@ -4350,7 +4350,7 @@ msgstr ""
|
|
4350 |
msgid "Form Shortcode"
|
4351 |
msgstr ""
|
4352 |
|
4353 |
-
#: add-ons/multiple-forms/edit-profile-forms.php:206, add-ons/multiple-forms/register-forms.php:230, features/content-restriction/content-restriction-meta-box.php:37, features/content-restriction/content-restriction.php:
|
4354 |
msgid "Redirect"
|
4355 |
msgstr ""
|
4356 |
|
@@ -4906,35 +4906,35 @@ msgstr ""
|
|
4906 |
msgid "No results found!"
|
4907 |
msgstr ""
|
4908 |
|
4909 |
-
#: add-ons-advanced/bbpress/bbpress-page.php:
|
4910 |
msgid "bbPress Integration"
|
4911 |
msgstr ""
|
4912 |
|
4913 |
-
#: add-ons-advanced/bbpress/bbpress-page.php:
|
4914 |
msgid "Choose (Single) User Listing to display under bbPress user Profile tab:"
|
4915 |
msgstr ""
|
4916 |
|
4917 |
-
#: add-ons-advanced/bbpress/bbpress-page.php:
|
4918 |
msgid "Select which Single User-listing managed via Profile Builder should replace the default bbPress user profile."
|
4919 |
msgstr ""
|
4920 |
|
4921 |
-
#: add-ons-advanced/bbpress/bbpress-page.php:
|
4922 |
msgid "Choose Edit Profile form to display under bbPress Profile Edit tab:"
|
4923 |
msgstr ""
|
4924 |
|
4925 |
-
#: add-ons-advanced/bbpress/bbpress-page.php:
|
4926 |
msgid "Default Edit Profile"
|
4927 |
msgstr ""
|
4928 |
|
4929 |
-
#: add-ons-advanced/bbpress/bbpress-page.php:
|
4930 |
msgid "Select Profile Builder Edit Profile form to replace the bbPress Profile Edit tab."
|
4931 |
msgstr ""
|
4932 |
|
4933 |
-
#: add-ons-advanced/bbpress/bbpress-page.php:
|
4934 |
msgid "Replace bbPress Login form:"
|
4935 |
msgstr ""
|
4936 |
|
4937 |
-
#: add-ons-advanced/bbpress/bbpress-page.php:
|
4938 |
msgid "Select \"Yes\" to replace the default bbPress Login form with the Profile Builder Login form."
|
4939 |
msgstr ""
|
4940 |
|
@@ -4990,7 +4990,7 @@ msgstr ""
|
|
4990 |
msgid "Profile Builder Avatar field is disabled to allow use of BuddyPress Avatar."
|
4991 |
msgstr ""
|
4992 |
|
4993 |
-
#: add-ons-advanced/custom-profile-menus/index.php:61, add-ons-advanced/custom-profile-menus/index.php:175, add-ons-advanced/custom-profile-menus/index.php:297, add-ons-advanced/custom-profile-menus/wppb-custom-profile-menus.php:13, add-ons-advanced/custom-profile-menus/wppb-custom-profile-menus.php:61, features/login-widget/login-widget.php:61, assets/misc/elementor/widgets/class-pb-widget-l.php:26
|
4994 |
msgid "Login"
|
4995 |
msgstr ""
|
4996 |
|
@@ -5062,7 +5062,7 @@ msgstr ""
|
|
5062 |
msgid "Works only if Display Mode: Logged In Users is selected"
|
5063 |
msgstr ""
|
5064 |
|
5065 |
-
#: add-ons-advanced/custom-profile-menus/index.php:300, add-ons-advanced/custom-profile-menus/wppb-custom-profile-menus.php:68, assets/misc/elementor/widgets/class-pb-widget-epf.php:32
|
5066 |
msgid "Edit Profile"
|
5067 |
msgstr ""
|
5068 |
|
@@ -5682,23 +5682,23 @@ msgstr ""
|
|
5682 |
msgid "Displays customer shipping fields in front-end. "
|
5683 |
msgstr ""
|
5684 |
|
5685 |
-
#: add-ons-advanced/woocommerce/woosync-page.php:
|
5686 |
msgid "Choose Register form to display on My Account page:"
|
5687 |
msgstr ""
|
5688 |
|
5689 |
-
#: add-ons-advanced/woocommerce/woosync-page.php:
|
5690 |
msgid "Default Register"
|
5691 |
msgstr ""
|
5692 |
|
5693 |
-
#: add-ons-advanced/woocommerce/woosync-page.php:
|
5694 |
msgid "Select which Profile Builder Register form to display on My Account page from WooCommerce. %s This will also add the Profile Builder Login form to MyAccount page."
|
5695 |
msgstr ""
|
5696 |
|
5697 |
-
#: add-ons-advanced/woocommerce/woosync-page.php:
|
5698 |
msgid "Choose Edit Profile form to display on My Account page:"
|
5699 |
msgstr ""
|
5700 |
|
5701 |
-
#: add-ons-advanced/woocommerce/woosync-page.php:
|
5702 |
msgid "Select which Profile Builder Edit-profile form to display on My Account page from WooCommerce."
|
5703 |
msgstr ""
|
5704 |
|
@@ -5800,31 +5800,31 @@ msgstr ""
|
|
5800 |
msgid "Toolbox"
|
5801 |
msgstr ""
|
5802 |
|
5803 |
-
#: admin/advanced-settings/advanced-settings.php:
|
5804 |
msgid "The email address you are trying to register with is not allowed on this website."
|
5805 |
msgstr ""
|
5806 |
|
5807 |
-
#: admin/advanced-settings/advanced-settings.php:
|
5808 |
msgid "Your submission contains banned words."
|
5809 |
msgstr ""
|
5810 |
|
5811 |
-
#: admin/advanced-settings/advanced-settings.php:
|
5812 |
msgid "are"
|
5813 |
msgstr ""
|
5814 |
|
5815 |
-
#: admin/advanced-settings/advanced-settings.php:
|
5816 |
msgid "have"
|
5817 |
msgstr ""
|
5818 |
|
5819 |
-
#: admin/advanced-settings/advanced-settings.php:
|
5820 |
msgid "is"
|
5821 |
msgstr ""
|
5822 |
|
5823 |
-
#: admin/advanced-settings/advanced-settings.php:
|
5824 |
msgid "has"
|
5825 |
msgstr ""
|
5826 |
|
5827 |
-
#: admin/advanced-settings/advanced-settings.php:
|
5828 |
msgid "%1$s of the emails provided in the Admin Emails field %2$s invalid and %3$s been removed from the list"
|
5829 |
msgstr ""
|
5830 |
|
@@ -6100,11 +6100,11 @@ msgstr ""
|
|
6100 |
msgid "Display Options"
|
6101 |
msgstr ""
|
6102 |
|
6103 |
-
#: features/content-restriction/content-restriction-meta-box.php:37, features/content-restriction/content-restriction.php:
|
6104 |
msgid "Message"
|
6105 |
msgstr ""
|
6106 |
|
6107 |
-
#: features/content-restriction/content-restriction-meta-box.php:42, features/content-restriction/content-restriction.php:
|
6108 |
msgid "Type of Restriction"
|
6109 |
msgstr ""
|
6110 |
|
@@ -6168,55 +6168,55 @@ msgstr ""
|
|
6168 |
msgid "Messages for logged-in users"
|
6169 |
msgstr ""
|
6170 |
|
6171 |
-
#: features/content-restriction/content-restriction-meta-box.php:182, features/content-restriction/content-restriction.php:
|
6172 |
msgid "Messages for restricted product purchase"
|
6173 |
msgstr ""
|
6174 |
|
6175 |
-
#: features/content-restriction/content-restriction.php:
|
6176 |
msgid "Content Restriction Settings"
|
6177 |
msgstr ""
|
6178 |
|
6179 |
-
#: features/content-restriction/content-restriction.php:
|
6180 |
msgid "Enable Content Restriction"
|
6181 |
msgstr ""
|
6182 |
|
6183 |
-
#: features/content-restriction/content-restriction.php:
|
6184 |
msgid "Activate Content Restriction"
|
6185 |
msgstr ""
|
6186 |
|
6187 |
-
#: features/content-restriction/content-restriction.php:
|
6188 |
msgid "If you select \"Message\", the post's content will be protected by being replaced with a custom message."
|
6189 |
msgstr ""
|
6190 |
|
6191 |
-
#: features/content-restriction/content-restriction.php:
|
6192 |
msgid "If you select \"Redirect\", the post's content will be protected by redirecting the user to the URL you specify. The redirect happens only when accessing a single post. On archive pages the restriction message will be displayed, instead of the content."
|
6193 |
msgstr ""
|
6194 |
|
6195 |
-
#: features/content-restriction/content-restriction.php:
|
6196 |
msgid "Message for logged-out users"
|
6197 |
msgstr ""
|
6198 |
|
6199 |
-
#: features/content-restriction/content-restriction.php:
|
6200 |
msgid "Message for logged-in users"
|
6201 |
msgstr ""
|
6202 |
|
6203 |
-
#: features/content-restriction/content-restriction.php:
|
6204 |
msgid "WooCommerce Restriction Messages"
|
6205 |
msgstr ""
|
6206 |
|
6207 |
-
#: features/content-restriction/content-restriction.php:
|
6208 |
msgid "Restricted Posts Preview"
|
6209 |
msgstr ""
|
6210 |
|
6211 |
-
#: features/content-restriction/content-restriction.php:
|
6212 |
msgid "Show the first %s words of the post's content"
|
6213 |
msgstr ""
|
6214 |
|
6215 |
-
#: features/content-restriction/content-restriction.php:
|
6216 |
msgid "Show the content before the \"more\" tag"
|
6217 |
msgstr ""
|
6218 |
|
6219 |
-
#: features/content-restriction/content-restriction.php:
|
6220 |
msgid "Show a portion of the restricted post to logged-out users or users that are not allowed to see it."
|
6221 |
msgstr ""
|
6222 |
|
@@ -6555,91 +6555,91 @@ msgstr ""
|
|
6555 |
msgid "Invalid"
|
6556 |
msgstr ""
|
6557 |
|
6558 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6559 |
msgid "Two-Factor Authentication Settings"
|
6560 |
msgstr ""
|
6561 |
|
6562 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6563 |
msgid "Enable Two-Factor Authentication"
|
6564 |
msgstr ""
|
6565 |
|
6566 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6567 |
msgid "Activate the Authenticator functionality"
|
6568 |
msgstr ""
|
6569 |
|
6570 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6571 |
msgid "Enable Authenticator for these user roles"
|
6572 |
msgstr ""
|
6573 |
|
6574 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6575 |
msgid "\"*\" - Two-Factor Authentication will be enabled for all user roles."
|
6576 |
msgstr ""
|
6577 |
|
6578 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6579 |
msgid "2fa_settings"
|
6580 |
msgstr ""
|
6581 |
|
6582 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6583 |
msgid "Relaxed Mode"
|
6584 |
msgstr ""
|
6585 |
|
6586 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6587 |
msgid "Allow for more time drift on your phone clock ( ±4 min )."
|
6588 |
msgstr ""
|
6589 |
|
6590 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6591 |
msgid "Description that you'll see in the Authenticator app."
|
6592 |
msgstr ""
|
6593 |
|
6594 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6595 |
msgid "Secret"
|
6596 |
msgstr ""
|
6597 |
|
6598 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6599 |
msgid "New Secret"
|
6600 |
msgstr ""
|
6601 |
|
6602 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6603 |
msgid "QR Code"
|
6604 |
msgstr ""
|
6605 |
|
6606 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6607 |
msgid "Scan this with the Authenticator app:"
|
6608 |
msgstr ""
|
6609 |
|
6610 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6611 |
msgid "Verify TOTP"
|
6612 |
msgstr ""
|
6613 |
|
6614 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6615 |
msgid "Check"
|
6616 |
msgstr ""
|
6617 |
|
6618 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6619 |
msgid "Description that you'll see in the Authenticator app on your phone."
|
6620 |
msgstr ""
|
6621 |
|
6622 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6623 |
msgid "Create new secret"
|
6624 |
msgstr ""
|
6625 |
|
6626 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6627 |
msgid "Show/Hide QR code"
|
6628 |
msgstr ""
|
6629 |
|
6630 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6631 |
msgid "Please verify TOTP to change Two-Factor Authentication settings"
|
6632 |
msgstr ""
|
6633 |
|
6634 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6635 |
msgid "Please enter the code from your Authenticator app."
|
6636 |
msgstr ""
|
6637 |
|
6638 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6639 |
msgid "Your Authenticator code was incorrect. Please try again."
|
6640 |
msgstr ""
|
6641 |
|
6642 |
-
#: features/two-factor-authentication/class-two-factor-authentication.php:
|
6643 |
msgid "Authenticator Code"
|
6644 |
msgstr ""
|
6645 |
|
@@ -6713,55 +6713,55 @@ msgid ""
|
|
6713 |
""
|
6714 |
msgstr ""
|
6715 |
|
6716 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6717 |
msgid "BuddyPress Integration"
|
6718 |
msgstr ""
|
6719 |
|
6720 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6721 |
msgid "Import BuddyPress Fields to Profile Builder"
|
6722 |
msgstr ""
|
6723 |
|
6724 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6725 |
msgid "Import BuddyPress Fields"
|
6726 |
msgstr ""
|
6727 |
|
6728 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6729 |
msgid "Create fields in Profile Builder that match the existing ones in BuddyPress and import all the user field entries.<br><a href=\"https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/buddypress/#Import_BuddyPress_Fields_to_Profile_Builder\">Learn more about importing BuddyPress fields</a>."
|
6730 |
msgstr ""
|
6731 |
|
6732 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6733 |
msgid "Registration form:"
|
6734 |
msgstr ""
|
6735 |
|
6736 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6737 |
msgid "Select Profile Builder Registration form to replace the BuddyPress Registration form.<br>Registration emails will now be managed in Profile Builder -> User Email Customizer"
|
6738 |
msgstr ""
|
6739 |
|
6740 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6741 |
msgid "Edit Profile form:"
|
6742 |
msgstr ""
|
6743 |
|
6744 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6745 |
msgid "Select Profile Builder Edit Profile form to replace the BuddyPress Profile Edit tab."
|
6746 |
msgstr ""
|
6747 |
|
6748 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6749 |
msgid "User Listing template:"
|
6750 |
msgstr ""
|
6751 |
|
6752 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6753 |
msgid "Select which User Listing template managed by Profile Builder should replace the default BuddyPress user profile view."
|
6754 |
msgstr ""
|
6755 |
|
6756 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6757 |
msgid "Use All-User Listing?"
|
6758 |
msgstr ""
|
6759 |
|
6760 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6761 |
msgid "Enable PB User Listing on BuddyPress Members page"
|
6762 |
msgstr ""
|
6763 |
|
6764 |
-
#: add-ons-advanced/buddypress/includes/buddypress-page.php:
|
6765 |
msgid "Check this if All User-listing managed via Profile Builder should replace the default BuddyPress Members page.<br>The template used will be the one selected above."
|
6766 |
msgstr ""
|
6767 |
|
@@ -6897,7 +6897,7 @@ msgstr ""
|
|
6897 |
msgid "Campaign Monitor Integration"
|
6898 |
msgstr ""
|
6899 |
|
6900 |
-
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:58, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
6901 |
msgid "Save"
|
6902 |
msgstr ""
|
6903 |
|
@@ -6909,7 +6909,7 @@ msgstr ""
|
|
6909 |
msgid "Either the API key is not valid or we could not connect to Campaign Monitor to validate it!"
|
6910 |
msgstr ""
|
6911 |
|
6912 |
-
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:92, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
6913 |
msgid "The API key was successfully validated!"
|
6914 |
msgstr ""
|
6915 |
|
@@ -6941,7 +6941,7 @@ msgstr ""
|
|
6941 |
msgid "Client List"
|
6942 |
msgstr ""
|
6943 |
|
6944 |
-
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:267, add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:275, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
6945 |
msgid "Fields Count"
|
6946 |
msgstr ""
|
6947 |
|
@@ -6965,7 +6965,7 @@ msgstr ""
|
|
6965 |
msgid "Click to edit"
|
6966 |
msgstr ""
|
6967 |
|
6968 |
-
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:523, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
6969 |
msgid "Field Associations:"
|
6970 |
msgstr ""
|
6971 |
|
@@ -6973,7 +6973,7 @@ msgstr ""
|
|
6973 |
msgid "Associate each Campaign Monitor field with a Profile Builder field"
|
6974 |
msgstr ""
|
6975 |
|
6976 |
-
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:601, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
6977 |
msgid "Extra Options:"
|
6978 |
msgstr ""
|
6979 |
|
@@ -7091,79 +7091,79 @@ msgstr ""
|
|
7091 |
msgid "Extra options"
|
7092 |
msgstr ""
|
7093 |
|
7094 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7095 |
msgid "MailChimp Integration"
|
7096 |
msgstr ""
|
7097 |
|
7098 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7099 |
msgid "MailChimp List"
|
7100 |
msgstr ""
|
7101 |
|
7102 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7103 |
msgid "We couldn't find any lists"
|
7104 |
msgstr ""
|
7105 |
|
7106 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7107 |
msgid "Before you can make any changes you will need to add a MailChimp API key."
|
7108 |
msgstr ""
|
7109 |
|
7110 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7111 |
msgid "MailChimp API Key:"
|
7112 |
msgstr ""
|
7113 |
|
7114 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7115 |
msgid "Either the API key is not valid or we could not connect to MailChimp to validate it!"
|
7116 |
msgstr ""
|
7117 |
|
7118 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7119 |
msgid "Enter a MailChimp API key. You can create keys in your MailChimp account."
|
7120 |
msgstr ""
|
7121 |
|
7122 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7123 |
msgid "Edit this item"
|
7124 |
msgstr ""
|
7125 |
|
7126 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7127 |
msgid "This field is required in MailChimp"
|
7128 |
msgstr ""
|
7129 |
|
7130 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7131 |
msgid "Associate each MailChimp field with a Profile Builder field"
|
7132 |
msgstr ""
|
7133 |
|
7134 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7135 |
msgid "Group Associations:"
|
7136 |
msgstr ""
|
7137 |
|
7138 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7139 |
msgid "Associate each MailChimp group with a Profile Builder field"
|
7140 |
msgstr ""
|
7141 |
|
7142 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7143 |
msgid "Double Opt-In"
|
7144 |
msgstr ""
|
7145 |
|
7146 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7147 |
msgid "If you select double opt-in, the user will receive an email to confirm the subscription"
|
7148 |
msgstr ""
|
7149 |
|
7150 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7151 |
msgid "Enable GDPR"
|
7152 |
msgstr ""
|
7153 |
|
7154 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7155 |
msgid "If checked will enable GDPR on this list. <a href=\"%s\" target=\"_blank\">You must also enable GDPR on the list from mailchimp</a>"
|
7156 |
msgstr ""
|
7157 |
|
7158 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7159 |
msgid "Something went wrong. Either the API key is invalid or we could not connect to MailChimp to validate the key."
|
7160 |
msgstr ""
|
7161 |
|
7162 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7163 |
msgid "MailChimp API key is invalid"
|
7164 |
msgstr ""
|
7165 |
|
7166 |
-
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:
|
7167 |
msgid "MailChimp API key is empty"
|
7168 |
msgstr ""
|
7169 |
|
@@ -7383,6 +7383,46 @@ msgstr ""
|
|
7383 |
msgid "Profile Builder Forms"
|
7384 |
msgstr ""
|
7385 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7386 |
#: front-end/default-fields/avatar/avatar.php:22, front-end/default-fields/upload/upload_helper_functions.php:270, front-end/extra-fields/avatar/avatar.php:22, front-end/extra-fields/upload/upload.php:18, front-end/extra-fields/upload/upload_helper_functions.php:270, assets/lib/wck-api/fields/upload.php:43
|
7387 |
msgid "Remove"
|
7388 |
msgstr ""
|
@@ -8103,10 +8143,6 @@ msgstr ""
|
|
8103 |
msgid "Redirects"
|
8104 |
msgstr ""
|
8105 |
|
8106 |
-
#: assets/misc/elementor/widgets/class-pb-widget-rf-epf.php:149
|
8107 |
-
msgid "Form"
|
8108 |
-
msgstr ""
|
8109 |
-
|
8110 |
#: assets/misc/elementor/widgets/class-pb-widget-rf-epf.php:168
|
8111 |
msgid "Assigned Role"
|
8112 |
msgstr ""
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
|
16 |
+
#: index.php:373
|
17 |
msgid "To enable updates, your licence needs to be renewed. Please go to the <a href=\"%s\">Cozmoslabs Account</a> page and login to renew."
|
18 |
msgstr ""
|
19 |
|
20 |
+
#: index.php:369
|
21 |
msgid "To enable updates, please enter your serial number on the <a href=\"%s\">Register Version</a> page. If you don't have a serial number, please see <a href=\"%s\" target=\"_blank\">details & pricing</a>."
|
22 |
msgstr ""
|
23 |
|
61 |
msgid "Allow different user roles to edit their specific information. Set up multiple edit-profile forms with different fields for certain user roles."
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: admin/add-ons.php:59, admin/basic-info.php:163, add-ons/user-listing/userlisting.php:11, add-ons/user-listing/userlisting.php:12, add-ons/user-listing/userlisting.php:17, add-ons/user-listing/userlisting.php:23, assets/misc/gutenberg-blocks/user-listing.php:27, assets/misc/gutenberg-blocks/user-listing.php:33, assets/misc/elementor/widgets/class-pb-widget-ul.php:58, assets/misc/elementor/widgets/class-pb-widget-ul.php:97
|
65 |
msgid "User Listing"
|
66 |
msgstr ""
|
67 |
|
109 |
msgid "Easily configure and enable social login on your website. Users can login with social platforms like Facebook, Google+ or Twitter."
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: admin/add-ons.php:110, add-ons-advanced/woocommerce/woosync-page.php:23, add-ons-advanced/woocommerce/woosync-page.php:23, add-ons-advanced/woocommerce/woosync-page.php:71
|
113 |
msgid "WooCommerce Sync"
|
114 |
msgstr ""
|
115 |
|
285 |
msgid "Show/Hide the Admin Bar on the Front-End"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: admin/admin-bar.php:11, admin/admin-bar.php:49
|
289 |
msgid "Admin Bar Settings"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: admin/admin-bar.php:57
|
293 |
msgid "Choose which user roles view the admin bar in the front-end of the website."
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: admin/admin-bar.php:66
|
297 |
msgid "User-Role"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: admin/admin-bar.php:67, add-ons-advanced/field-visibility/index.php:167
|
301 |
msgid "Visibility"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: admin/admin-bar.php:82, admin/manage-fields.php:36, add-ons/multiple-forms/edit-profile-forms.php:206, add-ons/multiple-forms/register-forms.php:230, assets/misc/elementor/widgets/class-pb-widget-rf-epf.php:101
|
305 |
msgid "Default"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: admin/admin-bar.php:83
|
309 |
msgid "Show"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: admin/admin-bar.php:84, add-ons/user-listing/userlisting.php:1814
|
313 |
msgid "Hide"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: admin/admin-bar.php:95, admin/general-settings.php:393, admin/private-website.php:165, features/functions.php:1058, add-ons-advanced/woocommerce/woosync-page.php:152, features/content-restriction/content-restriction.php:177, features/two-factor-authentication/class-two-factor-authentication.php:159, assets/lib/class-mustache-templates/class-mustache-templates.php:421, assets/lib/wck-api/wordpress-creation-kit.php:410, admin/advanced-settings/includes/views/view-admin.php:112, admin/advanced-settings/includes/views/view-fields.php:309, admin/advanced-settings/includes/views/view-forms.php:407, admin/advanced-settings/includes/views/view-shortcodes.php:77, admin/advanced-settings/includes/views/view-userlisting.php:91
|
317 |
msgid "Save Changes"
|
318 |
msgstr ""
|
319 |
|
337 |
msgid "<strong>ERROR</strong>: The password must have the minimum length of %s characters"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: admin/admin-functions.php:139, admin/general-settings.php:343
|
341 |
msgid "Very weak"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: admin/admin-functions.php:139, admin/general-settings.php:344, features/functions.php:791, features/functions.php:815
|
345 |
msgid "Weak"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: admin/admin-functions.php:139, admin/general-settings.php:345, features/functions.php:791, features/functions.php:815
|
349 |
msgid "Medium"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: admin/admin-functions.php:139, admin/general-settings.php:346, features/functions.php:791, features/functions.php:815
|
353 |
msgid "Strong"
|
354 |
msgstr ""
|
355 |
|
457 |
msgid "Enable extra features"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: admin/basic-info.php:75, assets/misc/gutenberg-blocks/recover-password.php:23, assets/misc/gutenberg-blocks/recover-password.php:29, assets/misc/elementor/widgets/class-pb-widget-l.php:63, assets/misc/elementor/widgets/class-pb-widget-rp.php:26
|
461 |
msgid "Recover Password"
|
462 |
msgstr ""
|
463 |
|
574 |
msgstr ""
|
575 |
|
576 |
#: admin/basic-info.php:137
|
577 |
+
msgid "Select 2 (Multiple)"
|
578 |
msgstr ""
|
579 |
|
580 |
#: admin/basic-info.php:138, add-ons-advanced/woocommerce/billing-fields.php:15
|
717 |
msgid "Private Website"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: admin/general-settings.php:15, admin/advanced-settings/advanced-settings.php:38, admin/advanced-settings/advanced-settings.php:49
|
721 |
msgid "Advanced Settings"
|
722 |
msgstr ""
|
723 |
|
741 |
msgid "Admin"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: admin/general-settings.php:30, features/two-factor-authentication/class-two-factor-authentication.php:78, features/two-factor-authentication/class-two-factor-authentication.php:78, features/two-factor-authentication/class-two-factor-authentication.php:178, features/two-factor-authentication/class-two-factor-authentication.php:179, features/two-factor-authentication/class-two-factor-authentication.php:232
|
745 |
msgid "Two-Factor Authentication"
|
746 |
msgstr ""
|
747 |
|
753 |
msgid "Administrator Emails"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: admin/general-settings.php:142
|
757 |
msgid "Profile Builder Settings"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: admin/general-settings.php:157
|
761 |
msgid "Load Profile Builder's own CSS file in the front-end:"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: admin/general-settings.php:160, admin/general-settings.php:173, admin/general-settings.php:188, admin/general-settings.php:237, admin/general-settings.php:284, admin/manage-fields.php:240, admin/private-website.php:73, admin/private-website.php:140, admin/private-website.php:153, add-ons/multiple-forms/edit-profile-forms.php:206, add-ons/multiple-forms/register-forms.php:229, add-ons/multiple-forms/register-forms.php:230, add-ons/user-listing/userlisting.php:2605, add-ons-advanced/bbpress/bbpress-page.php:164, add-ons-advanced/social-connect/index.php:347, add-ons-advanced/social-connect/index.php:406, features/content-restriction/content-restriction.php:93, features/two-factor-authentication/class-two-factor-authentication.php:128, admin/advanced-settings/includes/forms/placeholder-labels.php:135, admin/advanced-settings/includes/views/view-admin.php:18, admin/advanced-settings/includes/views/view-admin.php:34, admin/advanced-settings/includes/views/view-admin.php:50, admin/advanced-settings/includes/views/view-admin.php:69, admin/advanced-settings/includes/views/view-admin.php:100, admin/advanced-settings/includes/views/view-fields.php:18, admin/advanced-settings/includes/views/view-fields.php:66, admin/advanced-settings/includes/views/view-fields.php:184, admin/advanced-settings/includes/views/view-fields.php:200, admin/advanced-settings/includes/views/view-fields.php:220, admin/advanced-settings/includes/views/view-fields.php:243, admin/advanced-settings/includes/views/view-fields.php:263, admin/advanced-settings/includes/views/view-fields.php:280, admin/advanced-settings/includes/views/view-fields.php:296, admin/advanced-settings/includes/views/view-forms.php:19, admin/advanced-settings/includes/views/view-forms.php:148, admin/advanced-settings/includes/views/view-forms.php:166, admin/advanced-settings/includes/views/view-forms.php:183, admin/advanced-settings/includes/views/view-forms.php:198, admin/advanced-settings/includes/views/view-forms.php:213, admin/advanced-settings/includes/views/view-forms.php:233, admin/advanced-settings/includes/views/view-forms.php:250, admin/advanced-settings/includes/views/view-forms.php:286, admin/advanced-settings/includes/views/view-forms.php:307, admin/advanced-settings/includes/views/view-forms.php:327, admin/advanced-settings/includes/views/view-forms.php:349, admin/advanced-settings/includes/views/view-forms.php:371, admin/advanced-settings/includes/views/view-forms.php:391, admin/advanced-settings/includes/views/view-shortcodes.php:16, admin/advanced-settings/includes/views/view-shortcodes.php:32, admin/advanced-settings/includes/views/view-shortcodes.php:48, admin/advanced-settings/includes/views/view-shortcodes.php:64, admin/advanced-settings/includes/views/view-userlisting.php:53, admin/advanced-settings/includes/views/view-userlisting.php:75, assets/misc/elementor/widgets/class-pb-widget-l.php:75, assets/misc/elementor/widgets/class-pb-widget-rf-epf.php:183, assets/misc/elementor/widgets/class-pb-widget-ul.php:109
|
765 |
msgid "Yes"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: admin/general-settings.php:162
|
769 |
msgid "You can find the default file here: %1$s"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: admin/general-settings.php:169
|
773 |
msgid "Automatically Log In:"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: admin/general-settings.php:174, admin/general-settings.php:189, admin/general-settings.php:238, admin/general-settings.php:283, admin/private-website.php:72, admin/private-website.php:139, admin/private-website.php:154, add-ons/multiple-forms/edit-profile-forms.php:206, add-ons/multiple-forms/register-forms.php:229, add-ons/multiple-forms/register-forms.php:230, add-ons-advanced/bbpress/bbpress-page.php:163, add-ons-advanced/social-connect/index.php:348, add-ons-advanced/social-connect/index.php:407, features/content-restriction/content-restriction.php:92, features/two-factor-authentication/class-two-factor-authentication.php:127, admin/advanced-settings/includes/forms/placeholder-labels.php:136, assets/misc/elementor/widgets/class-pb-widget-l.php:76, assets/misc/elementor/widgets/class-pb-widget-rf-epf.php:184, assets/misc/elementor/widgets/class-pb-widget-ul.php:110
|
777 |
msgid "No"
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: admin/general-settings.php:177
|
781 |
msgid "Select \"Yes\" to automatically log in new users after successful registration."
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: admin/general-settings.php:184
|
785 |
msgid "\"Email Confirmation\" Activated:"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: admin/general-settings.php:192
|
789 |
msgid "This works with front-end forms only. Recommended to redirect WP default registration to a Profile Builder one using \"Custom Redirects\" module."
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: admin/general-settings.php:194
|
793 |
msgid "You can find a list of unconfirmed email addresses %1$sUsers > All Users > Email Confirmation%2$s."
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: admin/general-settings.php:202
|
797 |
msgid "\"Email Confirmation\" Landing Page:"
|
798 |
msgstr ""
|
799 |
|
800 |
+
#: admin/general-settings.php:207
|
801 |
msgid "Existing Pages"
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: admin/general-settings.php:222
|
805 |
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."
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: admin/general-settings.php:233
|
809 |
msgid "\"Admin Approval\" Activated:"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: admin/general-settings.php:241
|
813 |
msgid "You can find a list of users at %1$sUsers > All Users > Admin Approval%2$s."
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: admin/general-settings.php:248
|
817 |
msgid "\"Admin Approval\" on User Role:"
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: admin/general-settings.php:267
|
821 |
msgid "Select on what user roles to activate Admin Approval."
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: admin/general-settings.php:279
|
825 |
msgid "\"Roles Editor\" Activated:"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: admin/general-settings.php:287
|
829 |
msgid "You can add / edit user roles at %1$sUsers > Roles Editor%2$s."
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: admin/general-settings.php:298
|
833 |
msgid "\"Admin Approval\" Feature:"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: admin/general-settings.php:301
|
837 |
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$sBasic or PRO versions%2$s."
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: admin/general-settings.php:308
|
841 |
msgid "Allow Users to Log in With:"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: admin/general-settings.php:312
|
845 |
msgid "Username and Email"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: admin/general-settings.php:313, admin/manage-fields.php:380, front-end/login.php:341, front-end/login.php:355, front-end/login.php:543, add-ons/custom-redirects/custom_redirects_admin.php:61, add-ons/email-customizer/email-customizer.php:28, add-ons/user-listing/userlisting.php:113, add-ons/user-listing/userlisting.php:339, add-ons/user-listing/userlisting.php:885, add-ons/user-listing/userlisting.php:2558, features/admin-approval/class-admin-approval.php:174, features/email-confirmation/class-email-confirmation.php:168, features/email-customizer/email-customizer.php:28, admin/advanced-settings/includes/views/view-fields.php:124
|
849 |
msgid "Username"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: admin/general-settings.php:314, front-end/login.php:538, front-end/recover.php:118, add-ons/email-customizer/email-customizer.php:29, add-ons/user-listing/userlisting.php:119, add-ons/user-listing/userlisting.php:891, add-ons/user-listing/userlisting.php:2559, features/admin-approval/class-admin-approval.php:177, features/email-confirmation/class-email-confirmation.php:169, features/email-customizer/email-customizer.php:29, add-ons-free/gdpr-communication-preferences/admin/manage-fields.php:24, add-ons-free/gdpr-communication-preferences/front-end/gdpr-communication-preferences.php:9, admin/advanced-settings/includes/shortcodes/resend-activation.php:9
|
853 |
msgid "Email"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: admin/general-settings.php:317
|
857 |
msgid "\"Username and Email\" - users can Log In with either their Username or their Email."
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: admin/general-settings.php:318
|
861 |
msgid "\"Username\" - users can only Log In with their Username. Both the Username and Email fields will be shown in the front-end forms."
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: admin/general-settings.php:319
|
865 |
msgid "\"Email\" - users can only Log In with their Email. The Username field will be hidden in the front-end forms and Usernames will be automatically generated based on the Emails."
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: admin/general-settings.php:326
|
869 |
msgid "Minimum Password Length:"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: admin/general-settings.php:331
|
873 |
msgid "Enter the minimum characters the password should have. Leave empty for no minimum limit"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: admin/general-settings.php:338
|
877 |
msgid "Minimum Password Strength:"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: admin/general-settings.php:342
|
881 |
msgid "Disabled"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: admin/general-settings.php:353
|
885 |
msgid "Select Recover Password Page:"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: admin/general-settings.php:357, add-ons/user-listing/userlisting.php:598, add-ons/user-listing/userlisting.php:595, add-ons/user-listing/userlisting.php:593, add-ons/user-listing/userlisting.php:576, add-ons/user-listing/userlisting.php:573, add-ons/user-listing/userlisting.php:571, add-ons-advanced/bbpress/bbpress-page.php:93, add-ons-advanced/bbpress/bbpress-page.php:128, add-ons-advanced/woocommerce/woosync-page.php:83, add-ons-advanced/woocommerce/woosync-page.php:118, features/content-restriction/content-restriction.php:151, add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:557, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:235, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:310
|
889 |
msgid "None"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: admin/general-settings.php:381
|
893 |
msgid "Select the page which contains the %1$s[wppb-recover-password]%2$s shortcode."
|
894 |
msgstr ""
|
895 |
|
949 |
msgid "A unique, auto-generated ID for this particular field<br/>You can use this in conjuction with filters to target this element if needed<br/>Can't be edited"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: admin/manage-fields.php:237, features/two-factor-authentication/class-two-factor-authentication.php:244, features/two-factor-authentication/class-two-factor-authentication.php:359
|
953 |
msgid "Description"
|
954 |
msgstr ""
|
955 |
|
1441 |
msgid "Share a little biographical information to fill out your profile. This may be shown publicly."
|
1442 |
msgstr ""
|
1443 |
|
1444 |
+
#: admin/manage-fields.php:398, front-end/login.php:121, front-end/recover.php:72, add-ons/email-customizer/email-customizer.php:30, features/email-customizer/email-customizer.php:30, assets/misc/gutenberg-blocks/recover-password.php:28
|
1445 |
msgid "Password"
|
1446 |
msgstr ""
|
1447 |
|
3045 |
msgid "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-required\">Required</pre>"
|
3046 |
msgstr ""
|
3047 |
|
3048 |
+
#: admin/manage-fields.php:1409, features/functions.php:1079, features/functions.php:1086, add-ons/custom-redirects/custom_redirects_admin.php:184, add-ons/custom-redirects/custom_redirects_admin.php:198, add-ons/custom-redirects/custom_redirects_admin.php:212, add-ons/custom-redirects/custom_redirects_admin.php:226, add-ons/multiple-forms/multiple-forms.php:410, add-ons-advanced/field-visibility/index.php:187, add-ons-free/labels-edit/labels-edit.php:373, features/admin-approval/class-admin-approval.php:111, features/roles-editor/roles-editor.php:902, assets/lib/wck-api/wordpress-creation-kit.php:452, assets/lib/wck-api/wordpress-creation-kit.php:553, assets/misc/gutenberg-blocks/edit-profile.php:27
|
3049 |
msgid "Edit"
|
3050 |
msgstr ""
|
3051 |
|
3052 |
+
#: admin/manage-fields.php:1409, features/functions.php:1072, features/functions.php:1086, add-ons/custom-redirects/custom_redirects_admin.php:184, add-ons/custom-redirects/custom_redirects_admin.php:198, add-ons/custom-redirects/custom_redirects_admin.php:212, add-ons/custom-redirects/custom_redirects_admin.php:226, add-ons-advanced/field-visibility/index.php:187, features/admin-approval/class-admin-approval.php:116, features/admin-approval/class-admin-approval.php:232, features/email-confirmation/class-email-confirmation.php:121, features/email-confirmation/class-email-confirmation.php:218, features/roles-editor/roles-editor.php:210, features/roles-editor/roles-editor.php:940, features/roles-editor/roles-editor.php:929, features/roles-editor/roles-editor.php:920, assets/lib/wck-api/wordpress-creation-kit.php:452, assets/lib/wck-api/wordpress-creation-kit.php:554, front-end/default-fields/gdpr-delete/gdpr-delete.php:20
|
3053 |
msgid "Delete"
|
3054 |
msgstr ""
|
3055 |
|
3109 |
msgid "Payment Management"
|
3110 |
msgstr ""
|
3111 |
|
3112 |
+
#: admin/pms-cross-promotion.php:79, admin/pms-cross-promotion.php:115, admin/pms-cross-promotion.php:194, features/two-factor-authentication/class-two-factor-authentication.php:234, features/two-factor-authentication/class-two-factor-authentication.php:346
|
3113 |
msgid "Activate"
|
3114 |
msgstr ""
|
3115 |
|
3185 |
msgid "Allow your users to have <strong>paid accounts with Profile Builder</strong>. %1$sFind out how >%2$s %3$sDismiss%4$s"
|
3186 |
msgstr ""
|
3187 |
|
3188 |
+
#: admin/private-website.php:54
|
3189 |
msgid "Private Website Settings"
|
3190 |
msgstr ""
|
3191 |
|
3192 |
+
#: admin/private-website.php:69
|
3193 |
msgid "Enable Private Website"
|
3194 |
msgstr ""
|
3195 |
|
3196 |
+
#: admin/private-website.php:76
|
3197 |
msgid "Activate Private Website. It will restrict the content, RSS and REST API for your website"
|
3198 |
msgstr ""
|
3199 |
|
3200 |
+
#: admin/private-website.php:82
|
3201 |
msgid "Redirect to"
|
3202 |
msgstr ""
|
3203 |
|
3204 |
+
#: admin/private-website.php:85
|
3205 |
msgid "Default WordPress login page"
|
3206 |
msgstr ""
|
3207 |
|
3208 |
+
#: admin/private-website.php:98
|
3209 |
msgid "Redirects to this page if not logged in. We recommend this page contains the [wppb-login] shortcode."
|
3210 |
msgstr ""
|
3211 |
|
3212 |
+
#: admin/private-website.php:99, add-ons/custom-redirects/custom_redirects_admin.php:254
|
3213 |
msgid "You can force access to wp-login.php so you don't get locked out of the site by accessing the link:"
|
3214 |
msgstr ""
|
3215 |
|
3216 |
+
#: admin/private-website.php:105
|
3217 |
msgid "Allowed Pages"
|
3218 |
msgstr ""
|
3219 |
|
3220 |
+
#: admin/private-website.php:120
|
3221 |
msgid "Allow these pages to be accessed even if you are not logged in"
|
3222 |
msgstr ""
|
3223 |
|
3224 |
+
#: admin/private-website.php:126
|
3225 |
msgid "Allowed Paths"
|
3226 |
msgstr ""
|
3227 |
|
3228 |
+
#: admin/private-website.php:130
|
3229 |
msgid "Allow these paths to be accessed even if you are not logged in (supports wildcard at the end of the path). For example to exclude https://example.com/some/path/ you can either use the rule /some/path/ or /some/* Enter each rule on it's own line"
|
3230 |
msgstr ""
|
3231 |
|
3232 |
+
#: admin/private-website.php:136
|
3233 |
msgid "Hide all Menus"
|
3234 |
msgstr ""
|
3235 |
|
3236 |
+
#: admin/private-website.php:143
|
3237 |
msgid "Hide all menu items if you are not logged in."
|
3238 |
msgstr ""
|
3239 |
|
3240 |
+
#: admin/private-website.php:144
|
3241 |
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."
|
3242 |
msgstr ""
|
3243 |
|
3244 |
+
#: admin/private-website.php:150
|
3245 |
msgid "Disable REST-API"
|
3246 |
msgstr ""
|
3247 |
|
3248 |
+
#: admin/private-website.php:157
|
3249 |
msgid "Disable the WordPress REST-API for non-logged in users when Private Website is enabled"
|
3250 |
msgstr ""
|
3251 |
|
3261 |
msgid "Register Version"
|
3262 |
msgstr ""
|
3263 |
|
3264 |
+
#: admin/register-version.php:54
|
3265 |
msgid "Register your version of Profile Builder"
|
3266 |
msgstr ""
|
3267 |
|
3268 |
+
#: admin/register-version.php:58
|
3269 |
msgid "Now that you acquired a copy of Profile Builder Pro, you should take the time and register it with the serial number you received."
|
3270 |
msgstr ""
|
3271 |
|
3272 |
+
#: admin/register-version.php:60
|
3273 |
msgid "If you register this version of Profile Builder, you'll receive information regarding upgrades, patches, and technical support."
|
3274 |
msgstr ""
|
3275 |
|
3276 |
+
#: admin/register-version.php:66
|
3277 |
msgid "License key"
|
3278 |
msgstr ""
|
3279 |
|
3280 |
+
#: admin/register-version.php:83
|
3281 |
msgid "Activate License"
|
3282 |
msgstr ""
|
3283 |
|
3284 |
+
#: admin/register-version.php:74
|
3285 |
msgid "Deactivate License"
|
3286 |
msgstr ""
|
3287 |
|
3288 |
+
#: admin/register-version.php:79
|
3289 |
msgid "Your license is invalid"
|
3290 |
msgstr ""
|
3291 |
|
3292 |
+
#: admin/register-version.php:77
|
3293 |
msgid "Active on this site"
|
3294 |
msgstr ""
|
3295 |
|
3296 |
+
#: admin/register-version.php:237
|
3297 |
msgid "Your <strong>Profile Builder</strong> license has expired. <br/>Please %1$sRenew Your Licence%2$s to continue receiving access to product downloads, automatic updates and support. %3$sRenew now %4$s %5$sDismiss%6$s"
|
3298 |
msgstr ""
|
3299 |
|
3300 |
+
#: admin/register-version.php:235
|
3301 |
msgid "Your <strong>Profile Builder</strong> license has expired. <br/>Please %1$sRenew Your Licence%2$s to continue receiving access to product downloads, automatic updates and support. %3$sRenew now %4$s"
|
3302 |
msgstr ""
|
3303 |
|
3304 |
+
#: admin/register-version.php:228
|
3305 |
msgid "Your <strong>Profile Builder</strong> serial number is invalid or missing. <br/>Please %1$sregister your copy%2$s to receive access to automatic updates and support. Need a license key? %3$sPurchase one now%4$s"
|
3306 |
msgstr ""
|
3307 |
|
3308 |
+
#: admin/register-version.php:247
|
3309 |
msgid "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 %4$s %6$sDismiss%7$s"
|
3310 |
msgstr ""
|
3311 |
|
3312 |
+
#: admin/register-version.php:256
|
3313 |
msgid "Your <strong>Profile Builder Basic</strong> license has reached its activation limit.<br> Upgrade now to <strong>Pro</strong> for unlimited activations and extra features like multiple registration and edit profile forms, userlisting, custom redirects and more. <a class=\"button-primary\" href=\"%s\">Upgrade now</a>"
|
3314 |
msgstr ""
|
3315 |
|
3316 |
+
#: admin/register-version.php:260
|
3317 |
msgid " %1$sDismiss%2$s"
|
3318 |
msgstr ""
|
3319 |
|
3341 |
msgid "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. "
|
3342 |
msgstr ""
|
3343 |
|
3344 |
+
#: features/functions.php:350
|
3345 |
msgid "GDPR Checkbox"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
+
#: features/functions.php:350
|
3349 |
msgid "I allow the website to collect and store the data I submit through this form."
|
3350 |
msgstr ""
|
3351 |
|
3352 |
+
#: features/functions.php:350
|
3353 |
msgid "Honeypot"
|
3354 |
msgstr ""
|
3355 |
|
3356 |
+
#: features/functions.php:765
|
3357 |
msgid "Strength indicator"
|
3358 |
msgstr ""
|
3359 |
|
3360 |
+
#: features/functions.php:791, features/functions.php:815
|
3361 |
msgid "Very Weak"
|
3362 |
msgstr ""
|
3363 |
|
3364 |
+
#: features/functions.php:805
|
3365 |
msgid "Minimum length of %d characters."
|
3366 |
msgstr ""
|
3367 |
|
3368 |
+
#: features/functions.php:816, front-end/recover.php:386, front-end/default-fields/password/password.php:59
|
3369 |
msgid "The password must have a minimum strength of %s"
|
3370 |
msgstr ""
|
3371 |
|
3372 |
+
#: features/functions.php:977
|
3373 |
msgid "This field is required"
|
3374 |
msgstr ""
|
3375 |
|
3376 |
+
#: features/functions.php:1015, front-end/default-fields/recaptcha/recaptcha.php:538, front-end/default-fields/recaptcha/recaptcha.php:529, front-end/default-fields/recaptcha/recaptcha.php:594, front-end/default-fields/recaptcha/recaptcha.php:642
|
3377 |
msgid "Please enter a (valid) reCAPTCHA value"
|
3378 |
msgstr ""
|
3379 |
|
3380 |
+
#: features/functions.php:1022
|
3381 |
msgid "Incorrect phone number"
|
3382 |
msgstr ""
|
3383 |
|
3384 |
+
#: features/functions.php:1065, features/roles-editor/roles-editor.php:211, add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:451, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:174, assets/lib/wck-api/wordpress-creation-kit.php:411
|
3385 |
msgid "Cancel"
|
3386 |
msgstr ""
|
3387 |
|
3388 |
+
#: features/functions.php:1086, assets/lib/wck-api/wordpress-creation-kit.php:452
|
3389 |
msgid "Content"
|
3390 |
msgstr ""
|
3391 |
|
3392 |
+
#: features/functions.php:1274
|
3393 |
msgid "<br><br>Also, you will be able to visit your site at "
|
3394 |
msgstr ""
|
3395 |
|
3396 |
+
#: features/functions.php:1287
|
3397 |
msgid "<br><br>You can visit your site at "
|
3398 |
msgstr ""
|
3399 |
|
3400 |
+
#: features/functions.php:1378, add-ons-advanced/social-connect/index.php:417
|
3401 |
msgid "here"
|
3402 |
msgstr ""
|
3403 |
|
3404 |
+
#: features/functions.php:1379
|
3405 |
msgid "You will soon be redirected automatically. If you see this page for more than %1$d seconds, please click %2$s.%3$s"
|
3406 |
msgstr ""
|
3407 |
|
3408 |
+
#: features/functions.php:1555
|
3409 |
msgid "No feed available,please visit our <a href=\"%s\">homepage</a>!"
|
3410 |
msgstr ""
|
3411 |
|
3412 |
+
#: features/functions.php:1596
|
3413 |
msgid "You are not currently logged in."
|
3414 |
msgstr ""
|
3415 |
|
3416 |
+
#: features/functions.php:1633
|
3417 |
msgid "Profile Builder"
|
3418 |
msgstr ""
|
3419 |
|
3420 |
+
#: features/functions.php:1651, features/email-confirmation/class-email-confirmation.php:92, features/email-confirmation/class-email-confirmation.php:171
|
3421 |
msgid "User Meta"
|
3422 |
msgstr ""
|
3423 |
|
3489 |
msgid "Add User"
|
3490 |
msgstr ""
|
3491 |
|
3492 |
+
#: front-end/class-formbuilder.php:464, front-end/login.php:594, add-ons-advanced/custom-profile-menus/index.php:303, add-ons-advanced/custom-profile-menus/wppb-custom-profile-menus.php:75, assets/misc/gutenberg-blocks/register.php:23, assets/misc/gutenberg-blocks/register.php:27, assets/misc/elementor/widgets/class-pb-widget-rf.php:32
|
3493 |
msgid "Register"
|
3494 |
msgstr ""
|
3495 |
|
3497 |
msgid "Send these credentials via email."
|
3498 |
msgstr ""
|
3499 |
|
3500 |
+
#: front-end/class-formbuilder.php:790
|
3501 |
msgid "There are no other users to edit"
|
3502 |
msgstr ""
|
3503 |
|
3504 |
+
#: front-end/class-formbuilder.php:752
|
3505 |
msgid "User to edit:"
|
3506 |
msgstr ""
|
3507 |
|
3508 |
+
#: front-end/class-formbuilder.php:754
|
3509 |
msgid "Select User"
|
3510 |
msgstr ""
|
3511 |
|
3512 |
+
#: front-end/class-formbuilder.php:816
|
3513 |
msgid "Something went wrong. Please try again!"
|
3514 |
msgstr ""
|
3515 |
|
3538 |
msgid "Activation email sent to %s"
|
3539 |
msgstr ""
|
3540 |
|
3541 |
+
#: front-end/login.php:320, front-end/login.php:412, front-end/login.php:450, front-end/recover.php:18, front-end/recover.php:326, features/two-factor-authentication/class-two-factor-authentication.php:577, front-end/default-fields/fields-functions.php:62, front-end/extra-fields/extra-fields.php:118
|
3542 |
msgid "ERROR"
|
3543 |
msgstr ""
|
3544 |
|
3654 |
msgid "%1$s has requested a password change via the password reset feature.<br/>His/her new password is:%2$s"
|
3655 |
msgstr ""
|
3656 |
|
3657 |
+
#: front-end/recover.php:271
|
3658 |
msgid "You are already logged in. You can change your password on the edit profile form."
|
3659 |
msgstr ""
|
3660 |
|
3661 |
+
#: front-end/recover.php:446
|
3662 |
msgid "The password must not be empty!"
|
3663 |
msgstr ""
|
3664 |
|
3665 |
+
#: front-end/recover.php:365
|
3666 |
msgid "The key cannot be empty!"
|
3667 |
msgstr ""
|
3668 |
|
3669 |
+
#: front-end/recover.php:371, front-end/recover.php:472
|
3670 |
msgid "Invalid key!"
|
3671 |
msgstr ""
|
3672 |
|
3673 |
+
#: front-end/recover.php:376
|
3674 |
msgid "The entered passwords don't match!"
|
3675 |
msgstr ""
|
3676 |
|
3677 |
+
#: front-end/recover.php:382, front-end/default-fields/password/password.php:55
|
3678 |
msgid "The password must have the minimum length of %s characters"
|
3679 |
msgstr ""
|
3680 |
|
3681 |
+
#: front-end/recover.php:393
|
3682 |
msgid "Your password has been successfully changed!"
|
3683 |
msgstr ""
|
3684 |
|
3685 |
+
#: front-end/recover.php:299
|
3686 |
msgid "The username entered wasn't found in the database!"
|
3687 |
msgstr ""
|
3688 |
|
3689 |
+
#: front-end/recover.php:299
|
3690 |
msgid "Please check that you entered the correct username."
|
3691 |
msgstr ""
|
3692 |
|
3693 |
+
#: front-end/recover.php:342
|
3694 |
msgid "The email address entered wasn't found in the database!"
|
3695 |
msgstr ""
|
3696 |
|
3697 |
+
#: front-end/recover.php:342
|
3698 |
msgid "Please check that you entered the correct email address."
|
3699 |
msgstr ""
|
3700 |
|
3701 |
+
#: front-end/recover.php:312
|
3702 |
msgid "Check your email for the confirmation link."
|
3703 |
msgstr ""
|
3704 |
|
3705 |
+
#: front-end/recover.php:326
|
3706 |
msgid "There was an error while trying to send the activation link to %1$s!"
|
3707 |
msgstr ""
|
3708 |
|
3709 |
+
#: front-end/recover.php:472
|
3710 |
msgid "ERROR:"
|
3711 |
msgstr ""
|
3712 |
|
3790 |
msgid "Redirect Type"
|
3791 |
msgstr ""
|
3792 |
|
3793 |
+
#: add-ons/custom-redirects/custom_redirects_admin.php:69, add-ons/custom-redirects/custom_redirects_admin.php:99, add-ons/custom-redirects/custom_redirects_admin.php:118, add-ons/custom-redirects/custom_redirects_admin.php:143, features/content-restriction/content-restriction.php:119
|
3794 |
msgid "Redirect URL"
|
3795 |
msgstr ""
|
3796 |
|
4111 |
msgid "Approval URL"
|
4112 |
msgstr ""
|
4113 |
|
4114 |
+
#: add-ons/email-customizer/email-customizer.php:601, features/email-customizer/email-customizer.php:589
|
4115 |
msgid "The users selected password at signup"
|
4116 |
msgstr ""
|
4117 |
|
4118 |
+
#: add-ons/email-customizer/email-customizer.php:609, add-ons/email-customizer/email-customizer.php:616, add-ons/email-customizer/email-customizer.php:630, features/email-confirmation/email-confirmation.php:618, features/email-customizer/email-customizer.php:597, features/email-customizer/email-customizer.php:604, features/email-customizer/email-customizer.php:618
|
4119 |
msgid "Your selected password at signup"
|
4120 |
msgstr ""
|
4121 |
|
4138 |
""
|
4139 |
msgstr ""
|
4140 |
|
4141 |
+
#: add-ons/email-customizer/user-email-customizer.php:107, features/email-customizer/user-email-customizer.php:107, add-ons-advanced/buddypress/includes/buddypress-page.php:68
|
4142 |
msgid "Default Registration"
|
4143 |
msgstr ""
|
4144 |
|
4350 |
msgid "Form Shortcode"
|
4351 |
msgstr ""
|
4352 |
|
4353 |
+
#: add-ons/multiple-forms/edit-profile-forms.php:206, add-ons/multiple-forms/register-forms.php:230, features/content-restriction/content-restriction-meta-box.php:37, features/content-restriction/content-restriction.php:110
|
4354 |
msgid "Redirect"
|
4355 |
msgstr ""
|
4356 |
|
4906 |
msgid "No results found!"
|
4907 |
msgstr ""
|
4908 |
|
4909 |
+
#: add-ons-advanced/bbpress/bbpress-page.php:76
|
4910 |
msgid "bbPress Integration"
|
4911 |
msgstr ""
|
4912 |
|
4913 |
+
#: add-ons-advanced/bbpress/bbpress-page.php:89
|
4914 |
msgid "Choose (Single) User Listing to display under bbPress user Profile tab:"
|
4915 |
msgstr ""
|
4916 |
|
4917 |
+
#: add-ons-advanced/bbpress/bbpress-page.php:116
|
4918 |
msgid "Select which Single User-listing managed via Profile Builder should replace the default bbPress user profile."
|
4919 |
msgstr ""
|
4920 |
|
4921 |
+
#: add-ons-advanced/bbpress/bbpress-page.php:124
|
4922 |
msgid "Choose Edit Profile form to display under bbPress Profile Edit tab:"
|
4923 |
msgstr ""
|
4924 |
|
4925 |
+
#: add-ons-advanced/bbpress/bbpress-page.php:129, add-ons-advanced/woocommerce/woosync-page.php:119, add-ons-advanced/buddypress/includes/buddypress-page.php:101
|
4926 |
msgid "Default Edit Profile"
|
4927 |
msgstr ""
|
4928 |
|
4929 |
+
#: add-ons-advanced/bbpress/bbpress-page.php:152
|
4930 |
msgid "Select Profile Builder Edit Profile form to replace the bbPress Profile Edit tab."
|
4931 |
msgstr ""
|
4932 |
|
4933 |
+
#: add-ons-advanced/bbpress/bbpress-page.php:159
|
4934 |
msgid "Replace bbPress Login form:"
|
4935 |
msgstr ""
|
4936 |
|
4937 |
+
#: add-ons-advanced/bbpress/bbpress-page.php:168
|
4938 |
msgid "Select \"Yes\" to replace the default bbPress Login form with the Profile Builder Login form."
|
4939 |
msgstr ""
|
4940 |
|
4990 |
msgid "Profile Builder Avatar field is disabled to allow use of BuddyPress Avatar."
|
4991 |
msgstr ""
|
4992 |
|
4993 |
+
#: add-ons-advanced/custom-profile-menus/index.php:61, add-ons-advanced/custom-profile-menus/index.php:175, add-ons-advanced/custom-profile-menus/index.php:297, add-ons-advanced/custom-profile-menus/wppb-custom-profile-menus.php:13, add-ons-advanced/custom-profile-menus/wppb-custom-profile-menus.php:61, features/login-widget/login-widget.php:61, assets/misc/gutenberg-blocks/login.php:23, assets/misc/gutenberg-blocks/login.php:27, assets/misc/elementor/widgets/class-pb-widget-l.php:26
|
4994 |
msgid "Login"
|
4995 |
msgstr ""
|
4996 |
|
5062 |
msgid "Works only if Display Mode: Logged In Users is selected"
|
5063 |
msgstr ""
|
5064 |
|
5065 |
+
#: add-ons-advanced/custom-profile-menus/index.php:300, add-ons-advanced/custom-profile-menus/wppb-custom-profile-menus.php:68, assets/misc/gutenberg-blocks/edit-profile.php:23, assets/misc/gutenberg-blocks/edit-profile.php:29, assets/misc/elementor/widgets/class-pb-widget-epf.php:32
|
5066 |
msgid "Edit Profile"
|
5067 |
msgstr ""
|
5068 |
|
5682 |
msgid "Displays customer shipping fields in front-end. "
|
5683 |
msgstr ""
|
5684 |
|
5685 |
+
#: add-ons-advanced/woocommerce/woosync-page.php:79
|
5686 |
msgid "Choose Register form to display on My Account page:"
|
5687 |
msgstr ""
|
5688 |
|
5689 |
+
#: add-ons-advanced/woocommerce/woosync-page.php:84
|
5690 |
msgid "Default Register"
|
5691 |
msgstr ""
|
5692 |
|
5693 |
+
#: add-ons-advanced/woocommerce/woosync-page.php:107
|
5694 |
msgid "Select which Profile Builder Register form to display on My Account page from WooCommerce. %s This will also add the Profile Builder Login form to MyAccount page."
|
5695 |
msgstr ""
|
5696 |
|
5697 |
+
#: add-ons-advanced/woocommerce/woosync-page.php:114
|
5698 |
msgid "Choose Edit Profile form to display on My Account page:"
|
5699 |
msgstr ""
|
5700 |
|
5701 |
+
#: add-ons-advanced/woocommerce/woosync-page.php:142
|
5702 |
msgid "Select which Profile Builder Edit-profile form to display on My Account page from WooCommerce."
|
5703 |
msgstr ""
|
5704 |
|
5800 |
msgid "Toolbox"
|
5801 |
msgstr ""
|
5802 |
|
5803 |
+
#: admin/advanced-settings/advanced-settings.php:72
|
5804 |
msgid "The email address you are trying to register with is not allowed on this website."
|
5805 |
msgstr ""
|
5806 |
|
5807 |
+
#: admin/advanced-settings/advanced-settings.php:80
|
5808 |
msgid "Your submission contains banned words."
|
5809 |
msgstr ""
|
5810 |
|
5811 |
+
#: admin/advanced-settings/advanced-settings.php:190
|
5812 |
msgid "are"
|
5813 |
msgstr ""
|
5814 |
|
5815 |
+
#: admin/advanced-settings/advanced-settings.php:191
|
5816 |
msgid "have"
|
5817 |
msgstr ""
|
5818 |
|
5819 |
+
#: admin/advanced-settings/advanced-settings.php:187
|
5820 |
msgid "is"
|
5821 |
msgstr ""
|
5822 |
|
5823 |
+
#: admin/advanced-settings/advanced-settings.php:188
|
5824 |
msgid "has"
|
5825 |
msgstr ""
|
5826 |
|
5827 |
+
#: admin/advanced-settings/advanced-settings.php:194
|
5828 |
msgid "%1$s of the emails provided in the Admin Emails field %2$s invalid and %3$s been removed from the list"
|
5829 |
msgstr ""
|
5830 |
|
6100 |
msgid "Display Options"
|
6101 |
msgstr ""
|
6102 |
|
6103 |
+
#: features/content-restriction/content-restriction-meta-box.php:37, features/content-restriction/content-restriction.php:105
|
6104 |
msgid "Message"
|
6105 |
msgstr ""
|
6106 |
|
6107 |
+
#: features/content-restriction/content-restriction-meta-box.php:42, features/content-restriction/content-restriction.php:100
|
6108 |
msgid "Type of Restriction"
|
6109 |
msgstr ""
|
6110 |
|
6168 |
msgid "Messages for logged-in users"
|
6169 |
msgstr ""
|
6170 |
|
6171 |
+
#: features/content-restriction/content-restriction-meta-box.php:182, features/content-restriction/content-restriction.php:138
|
6172 |
msgid "Messages for restricted product purchase"
|
6173 |
msgstr ""
|
6174 |
|
6175 |
+
#: features/content-restriction/content-restriction.php:65
|
6176 |
msgid "Content Restriction Settings"
|
6177 |
msgstr ""
|
6178 |
|
6179 |
+
#: features/content-restriction/content-restriction.php:89
|
6180 |
msgid "Enable Content Restriction"
|
6181 |
msgstr ""
|
6182 |
|
6183 |
+
#: features/content-restriction/content-restriction.php:95
|
6184 |
msgid "Activate Content Restriction"
|
6185 |
msgstr ""
|
6186 |
|
6187 |
+
#: features/content-restriction/content-restriction.php:113
|
6188 |
msgid "If you select \"Message\", the post's content will be protected by being replaced with a custom message."
|
6189 |
msgstr ""
|
6190 |
|
6191 |
+
#: features/content-restriction/content-restriction.php:114
|
6192 |
msgid "If you select \"Redirect\", the post's content will be protected by redirecting the user to the URL you specify. The redirect happens only when accessing a single post. On archive pages the restriction message will be displayed, instead of the content."
|
6193 |
msgstr ""
|
6194 |
|
6195 |
+
#: features/content-restriction/content-restriction.php:124
|
6196 |
msgid "Message for logged-out users"
|
6197 |
msgstr ""
|
6198 |
|
6199 |
+
#: features/content-restriction/content-restriction.php:129
|
6200 |
msgid "Message for logged-in users"
|
6201 |
msgstr ""
|
6202 |
|
6203 |
+
#: features/content-restriction/content-restriction.php:134
|
6204 |
msgid "WooCommerce Restriction Messages"
|
6205 |
msgstr ""
|
6206 |
|
6207 |
+
#: features/content-restriction/content-restriction.php:145
|
6208 |
msgid "Restricted Posts Preview"
|
6209 |
msgstr ""
|
6210 |
|
6211 |
+
#: features/content-restriction/content-restriction.php:160
|
6212 |
msgid "Show the first %s words of the post's content"
|
6213 |
msgstr ""
|
6214 |
|
6215 |
+
#: features/content-restriction/content-restriction.php:168
|
6216 |
msgid "Show the content before the \"more\" tag"
|
6217 |
msgstr ""
|
6218 |
|
6219 |
+
#: features/content-restriction/content-restriction.php:172
|
6220 |
msgid "Show a portion of the restricted post to logged-out users or users that are not allowed to see it."
|
6221 |
msgstr ""
|
6222 |
|
6555 |
msgid "Invalid"
|
6556 |
msgstr ""
|
6557 |
|
6558 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:110, features/two-factor-authentication/class-two-factor-authentication.php:342
|
6559 |
msgid "Two-Factor Authentication Settings"
|
6560 |
msgstr ""
|
6561 |
|
6562 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:124
|
6563 |
msgid "Enable Two-Factor Authentication"
|
6564 |
msgstr ""
|
6565 |
|
6566 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:131
|
6567 |
msgid "Activate the Authenticator functionality"
|
6568 |
msgstr ""
|
6569 |
|
6570 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:136
|
6571 |
msgid "Enable Authenticator for these user roles"
|
6572 |
msgstr ""
|
6573 |
|
6574 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:153
|
6575 |
msgid "\"*\" - Two-Factor Authentication will be enabled for all user roles."
|
6576 |
msgstr ""
|
6577 |
|
6578 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:180, features/two-factor-authentication/class-two-factor-authentication.php:181
|
6579 |
msgid "2fa_settings"
|
6580 |
msgstr ""
|
6581 |
|
6582 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:239, features/two-factor-authentication/class-two-factor-authentication.php:352
|
6583 |
msgid "Relaxed Mode"
|
6584 |
msgstr ""
|
6585 |
|
6586 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:241, features/two-factor-authentication/class-two-factor-authentication.php:355
|
6587 |
msgid "Allow for more time drift on your phone clock ( ±4 min )."
|
6588 |
msgstr ""
|
6589 |
|
6590 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:246
|
6591 |
msgid "Description that you'll see in the Authenticator app."
|
6592 |
msgstr ""
|
6593 |
|
6594 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:249, features/two-factor-authentication/class-two-factor-authentication.php:366
|
6595 |
msgid "Secret"
|
6596 |
msgstr ""
|
6597 |
|
6598 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:253
|
6599 |
msgid "New Secret"
|
6600 |
msgstr ""
|
6601 |
|
6602 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:254
|
6603 |
msgid "QR Code"
|
6604 |
msgstr ""
|
6605 |
|
6606 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:257, features/two-factor-authentication/class-two-factor-authentication.php:376
|
6607 |
msgid "Scan this with the Authenticator app:"
|
6608 |
msgstr ""
|
6609 |
|
6610 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:261, features/two-factor-authentication/class-two-factor-authentication.php:382
|
6611 |
msgid "Verify TOTP"
|
6612 |
msgstr ""
|
6613 |
|
6614 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:264, features/two-factor-authentication/class-two-factor-authentication.php:385
|
6615 |
msgid "Check"
|
6616 |
msgstr ""
|
6617 |
|
6618 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:362
|
6619 |
msgid "Description that you'll see in the Authenticator app on your phone."
|
6620 |
msgstr ""
|
6621 |
|
6622 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:369
|
6623 |
msgid "Create new secret"
|
6624 |
msgstr ""
|
6625 |
|
6626 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:370
|
6627 |
msgid "Show/Hide QR code"
|
6628 |
msgstr ""
|
6629 |
|
6630 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:438
|
6631 |
msgid "Please verify TOTP to change Two-Factor Authentication settings"
|
6632 |
msgstr ""
|
6633 |
|
6634 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:573, features/two-factor-authentication/class-two-factor-authentication.php:687, features/two-factor-authentication/class-two-factor-authentication.php:691
|
6635 |
msgid "Please enter the code from your Authenticator app."
|
6636 |
msgstr ""
|
6637 |
|
6638 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:577
|
6639 |
msgid "Your Authenticator code was incorrect. Please try again."
|
6640 |
msgstr ""
|
6641 |
|
6642 |
+
#: features/two-factor-authentication/class-two-factor-authentication.php:715
|
6643 |
msgid "Authenticator Code"
|
6644 |
msgstr ""
|
6645 |
|
6713 |
""
|
6714 |
msgstr ""
|
6715 |
|
6716 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:46
|
6717 |
msgid "BuddyPress Integration"
|
6718 |
msgstr ""
|
6719 |
|
6720 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:53
|
6721 |
msgid "Import BuddyPress Fields to Profile Builder"
|
6722 |
msgstr ""
|
6723 |
|
6724 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:56
|
6725 |
msgid "Import BuddyPress Fields"
|
6726 |
msgstr ""
|
6727 |
|
6728 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:58
|
6729 |
msgid "Create fields in Profile Builder that match the existing ones in BuddyPress and import all the user field entries.<br><a href=\"https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/buddypress/#Import_BuddyPress_Fields_to_Profile_Builder\">Learn more about importing BuddyPress fields</a>."
|
6730 |
msgstr ""
|
6731 |
|
6732 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:64
|
6733 |
msgid "Registration form:"
|
6734 |
msgstr ""
|
6735 |
|
6736 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:90
|
6737 |
msgid "Select Profile Builder Registration form to replace the BuddyPress Registration form.<br>Registration emails will now be managed in Profile Builder -> User Email Customizer"
|
6738 |
msgstr ""
|
6739 |
|
6740 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:97
|
6741 |
msgid "Edit Profile form:"
|
6742 |
msgstr ""
|
6743 |
|
6744 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:123
|
6745 |
msgid "Select Profile Builder Edit Profile form to replace the BuddyPress Profile Edit tab."
|
6746 |
msgstr ""
|
6747 |
|
6748 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:136
|
6749 |
msgid "User Listing template:"
|
6750 |
msgstr ""
|
6751 |
|
6752 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:162
|
6753 |
msgid "Select which User Listing template managed by Profile Builder should replace the default BuddyPress user profile view."
|
6754 |
msgstr ""
|
6755 |
|
6756 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:169
|
6757 |
msgid "Use All-User Listing?"
|
6758 |
msgstr ""
|
6759 |
|
6760 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:175
|
6761 |
msgid "Enable PB User Listing on BuddyPress Members page"
|
6762 |
msgstr ""
|
6763 |
|
6764 |
+
#: add-ons-advanced/buddypress/includes/buddypress-page.php:177
|
6765 |
msgid "Check this if All User-listing managed via Profile Builder should replace the default BuddyPress Members page.<br>The template used will be the one selected above."
|
6766 |
msgstr ""
|
6767 |
|
6897 |
msgid "Campaign Monitor Integration"
|
6898 |
msgstr ""
|
6899 |
|
6900 |
+
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:58, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:97, assets/lib/class-mustache-templates/class-mustache-templates.php:284, assets/lib/wck-api/wordpress-creation-kit.php:348
|
6901 |
msgid "Save"
|
6902 |
msgstr ""
|
6903 |
|
6909 |
msgid "Either the API key is not valid or we could not connect to Campaign Monitor to validate it!"
|
6910 |
msgstr ""
|
6911 |
|
6912 |
+
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:92, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:127
|
6913 |
msgid "The API key was successfully validated!"
|
6914 |
msgstr ""
|
6915 |
|
6941 |
msgid "Client List"
|
6942 |
msgstr ""
|
6943 |
|
6944 |
+
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:267, add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:275, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:64, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:71
|
6945 |
msgid "Fields Count"
|
6946 |
msgstr ""
|
6947 |
|
6965 |
msgid "Click to edit"
|
6966 |
msgstr ""
|
6967 |
|
6968 |
+
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:523, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:205
|
6969 |
msgid "Field Associations:"
|
6970 |
msgstr ""
|
6971 |
|
6973 |
msgid "Associate each Campaign Monitor field with a Profile Builder field"
|
6974 |
msgstr ""
|
6975 |
|
6976 |
+
#: add-ons-advanced/campaign-monitor/admin/cmonitor-page.php:601, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:360
|
6977 |
msgid "Extra Options:"
|
6978 |
msgstr ""
|
6979 |
|
7091 |
msgid "Extra options"
|
7092 |
msgstr ""
|
7093 |
|
7094 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:36
|
7095 |
msgid "MailChimp Integration"
|
7096 |
msgstr ""
|
7097 |
|
7098 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:63, add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:70, add-ons-advanced/mailchimp-integration/admin/manage-fields.php:64, add-ons-advanced/mailchimp-integration/admin/manage-fields.php:60, add-ons-advanced/mailchimp-integration/admin/manage-fields.php:46, add-ons-advanced/mailchimp-integration/admin/manage-fields.php:42
|
7099 |
msgid "MailChimp List"
|
7100 |
msgstr ""
|
7101 |
|
7102 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:85
|
7103 |
msgid "We couldn't find any lists"
|
7104 |
msgstr ""
|
7105 |
|
7106 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:47
|
7107 |
msgid "Before you can make any changes you will need to add a MailChimp API key."
|
7108 |
msgstr ""
|
7109 |
|
7110 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:122
|
7111 |
msgid "MailChimp API Key:"
|
7112 |
msgstr ""
|
7113 |
|
7114 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:129
|
7115 |
msgid "Either the API key is not valid or we could not connect to MailChimp to validate it!"
|
7116 |
msgstr ""
|
7117 |
|
7118 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:132
|
7119 |
msgid "Enter a MailChimp API key. You can create keys in your MailChimp account."
|
7120 |
msgstr ""
|
7121 |
|
7122 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:160, assets/lib/wck-api/wordpress-creation-kit.php:553
|
7123 |
msgid "Edit this item"
|
7124 |
msgstr ""
|
7125 |
|
7126 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:214
|
7127 |
msgid "This field is required in MailChimp"
|
7128 |
msgstr ""
|
7129 |
|
7130 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:264
|
7131 |
msgid "Associate each MailChimp field with a Profile Builder field"
|
7132 |
msgstr ""
|
7133 |
|
7134 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:298
|
7135 |
msgid "Group Associations:"
|
7136 |
msgstr ""
|
7137 |
|
7138 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:337
|
7139 |
msgid "Associate each MailChimp group with a Profile Builder field"
|
7140 |
msgstr ""
|
7141 |
|
7142 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:369, add-ons-advanced/mailchimp-integration/admin/widget.php:229
|
7143 |
msgid "Double Opt-In"
|
7144 |
msgstr ""
|
7145 |
|
7146 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:370, add-ons-advanced/mailchimp-integration/admin/widget.php:230
|
7147 |
msgid "If you select double opt-in, the user will receive an email to confirm the subscription"
|
7148 |
msgstr ""
|
7149 |
|
7150 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:385, add-ons-advanced/mailchimp-integration/admin/widget.php:241
|
7151 |
msgid "Enable GDPR"
|
7152 |
msgstr ""
|
7153 |
|
7154 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:386, add-ons-advanced/mailchimp-integration/admin/widget.php:242
|
7155 |
msgid "If checked will enable GDPR on this list. <a href=\"%s\" target=\"_blank\">You must also enable GDPR on the list from mailchimp</a>"
|
7156 |
msgstr ""
|
7157 |
|
7158 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:440, add-ons-advanced/mailchimp-integration/admin/manage-fields.php:46
|
7159 |
msgid "Something went wrong. Either the API key is invalid or we could not connect to MailChimp to validate the key."
|
7160 |
msgstr ""
|
7161 |
|
7162 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:433
|
7163 |
msgid "MailChimp API key is invalid"
|
7164 |
msgstr ""
|
7165 |
|
7166 |
+
#: add-ons-advanced/mailchimp-integration/admin/mailchimp-page.php:431
|
7167 |
msgid "MailChimp API key is empty"
|
7168 |
msgstr ""
|
7169 |
|
7383 |
msgid "Profile Builder Forms"
|
7384 |
msgstr ""
|
7385 |
|
7386 |
+
#: assets/misc/gutenberg-blocks/edit-profile.php:24
|
7387 |
+
msgid "Displays the Front End Edit Profile Form."
|
7388 |
+
msgstr ""
|
7389 |
+
|
7390 |
+
#: assets/misc/gutenberg-blocks/edit-profile.php:28
|
7391 |
+
msgid "Profile"
|
7392 |
+
msgstr ""
|
7393 |
+
|
7394 |
+
#: assets/misc/gutenberg-blocks/edit-profile.php:30, assets/misc/gutenberg-blocks/login.php:28, assets/misc/gutenberg-blocks/login.php:29, assets/misc/gutenberg-blocks/recover-password.php:30, assets/misc/gutenberg-blocks/register.php:28, assets/misc/gutenberg-blocks/user-listing.php:34, assets/misc/elementor/widgets/class-pb-widget-rf-epf.php:149
|
7395 |
+
msgid "Form"
|
7396 |
+
msgstr ""
|
7397 |
+
|
7398 |
+
#: assets/misc/gutenberg-blocks/login.php:24
|
7399 |
+
msgid "Displays the Front End Login form."
|
7400 |
+
msgstr ""
|
7401 |
+
|
7402 |
+
#: assets/misc/gutenberg-blocks/recover-password.php:24
|
7403 |
+
msgid "Displays the Front End Recover Password Form."
|
7404 |
+
msgstr ""
|
7405 |
+
|
7406 |
+
#: assets/misc/gutenberg-blocks/recover-password.php:27
|
7407 |
+
msgid "Recover"
|
7408 |
+
msgstr ""
|
7409 |
+
|
7410 |
+
#: assets/misc/gutenberg-blocks/register.php:24
|
7411 |
+
msgid "Displays the Front End Registration Form."
|
7412 |
+
msgstr ""
|
7413 |
+
|
7414 |
+
#: assets/misc/gutenberg-blocks/user-listing.php:28
|
7415 |
+
msgid "Displays the Front End User Listing."
|
7416 |
+
msgstr ""
|
7417 |
+
|
7418 |
+
#: assets/misc/gutenberg-blocks/user-listing.php:31
|
7419 |
+
msgid "User"
|
7420 |
+
msgstr ""
|
7421 |
+
|
7422 |
+
#: assets/misc/gutenberg-blocks/user-listing.php:32
|
7423 |
+
msgid "Listing"
|
7424 |
+
msgstr ""
|
7425 |
+
|
7426 |
#: front-end/default-fields/avatar/avatar.php:22, front-end/default-fields/upload/upload_helper_functions.php:270, front-end/extra-fields/avatar/avatar.php:22, front-end/extra-fields/upload/upload.php:18, front-end/extra-fields/upload/upload_helper_functions.php:270, assets/lib/wck-api/fields/upload.php:43
|
7427 |
msgid "Remove"
|
7428 |
msgstr ""
|
8143 |
msgid "Redirects"
|
8144 |
msgstr ""
|
8145 |
|
|
|
|
|
|
|
|
|
8146 |
#: assets/misc/elementor/widgets/class-pb-widget-rf-epf.php:168
|
8147 |
msgid "Assigned Role"
|
8148 |
msgstr ""
|