PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 4.0.3
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v4.0.3
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
← All changes | admin/basic-info.php +241 -164 3.9.64.0.3 View file →
@@ -27,84 +27,123 @@
27 27 $version = ( ( PROFILE_BUILDER == 'Profile Builder Unlimited' ) ? 'Unlimited' : $version );
28 28 $version = ( ( PROFILE_BUILDER == 'Profile Builder Basic' ) ? 'Basic' : $version );
29 29
30 30 ?>
31 - <div class="wrap wppb-wrap wppb-info-wrap">
32 - <div class="wppb-badge <?php echo esc_attr( $version ); ?>"><span><?php printf( esc_html__( 'Version %s', 'profile-builder' ), esc_html( PROFILE_BUILDER_VERSION ) ); ?></span></div>
33 - <h1><?php echo wp_kses_post( sprintf( __( '<strong>Profile Builder </strong> %s', 'profile-builder' ), esc_html( $version ) ) ); ?></h1>
34 - <p class="wppb-info-text"><?php printf( esc_html__( 'The best way to add front-end registration, edit profile and login forms.', 'profile-builder' ) ); ?></p>
35 - <hr />
36 - <?php
37 - $wppb_pages_created = get_option( 'wppb_pages_created' );
38 - $shortcode_pages_query = new WP_Query( array( 'post_type' => 'page', 's' => '[wppb-' ) );
39 - if( empty( $wppb_pages_created ) && !$shortcode_pages_query->have_posts() ){
40 - ?>
41 - <div class="wppb-auto-form-creation wppb-2-1-col">
42 - <div><h3><?php esc_html_e( 'Speed up the setup process by automatically creating the form pages:', 'profile-builder' ); ?></h3></div>
43 - <div><a href="<?php echo esc_url( admin_url('admin.php?page=profile-builder-basic-info&wppb_create_pages=true') ) ?>" class="button primary button-primary button-hero"><?php esc_html_e( 'Create Form Pages', 'profile-builder' ); ?></a></div>
44 - </div>
45 - <?php }else{ ?>
46 - <div class="wppb-auto-form-creation wppb-forms-created wppb-2-1-col">
47 - <div><h3><?php esc_html_e( 'You can see all the pages with Profile Builder form shortcodes here:', 'profile-builder' ); ?></h3></div>
48 - <div><a href="<?php echo esc_url( admin_url('edit.php?s=%5Bwppb-&post_status=all&post_type=page&action=-1&m=0&paged=1&action2=-1') ) ?>" class="button primary button-primary button-hero"><?php esc_html_e( 'View Form Pages', 'profile-builder' ); ?></a></div>
49 - </div>
50 - <?php } ?>
31 + <div class="wrap wppb-wrap wppb-info-wrap cozmoslabs-wrap">
51 32
52 - <div class="wppb-row wppb-3-col">
53 - <div>
54 - <h3><?php esc_html_e( 'Login Form', 'profile-builder' ); ?></h3>
55 - <p><?php printf( esc_html__( 'Friction-less login using %s shortcode or a widget.', 'profile-builder' ), '<strong class="nowrap">[wppb-login]</strong>' ); ?></p>
56 - </div>
57 - <div>
58 - <h3><?php esc_html_e( 'Registration Form', 'profile-builder' ); ?></h3>
59 - <p><?php printf( esc_html__( 'Beautiful registration forms fully customizable using the %s shortcode.', 'profile-builder' ), '<strong class="nowrap">[wppb-register]</strong>' ); ?></p>
60 - </div>
61 - <div>
62 - <h3><?php esc_html_e( 'Edit Profile Form', 'profile-builder' ); ?></h3>
63 - <p><?php printf( esc_html__( 'Straight forward edit profile forms using %s shortcode.', 'profile-builder' ), '<strong class="nowrap">[wppb-edit-profile]</strong>' ); ?></p>
64 - </div>
65 - </div>
33 + <h1></h1>
34 + <!-- WordPress Notices are added after the h1 tag -->
35 +
36 + <div class="cozmoslabs-page-header">
37 + <div>
38 + <h1 class="cozmoslabs-page-title"><?php echo wp_kses_post( sprintf( __( '<strong>Profile Builder </strong> %s', 'profile-builder' ), esc_html( $version ) ) ); ?></h1>
39 + <p class="cozmoslabs-description"><?php esc_html_e( 'The best way to add front-end registration, edit profile and login forms.', 'profile-builder' ); ?></p>
40 + </div>
41 + <div class="wppb-badge <?php echo esc_attr( $version ); ?>"><span><?php printf( esc_html__( 'Version %s', 'profile-builder' ), esc_html( PROFILE_BUILDER_VERSION ) ); ?></span></div>
42 + </div>
43 +
44 +
45 + <div class="cozmoslabs-form-subsection-wrapper" id="basic-info-shortcodes">
46 + <h2 class="cozmoslabs-subsection-title"><?php esc_html_e( 'Shortcodes', 'profile-builder' ); ?></h2>
47 +
48 + <div class="cozmoslabs-form-field-wrapper">
49 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Login Form', 'profile-builder' ); ?></label>
50 + <strong>[wppb-login]</strong>
51 + <p class="cozmoslabs-description cozmoslabs-description-space-left">
52 + <?php esc_html_e( 'Friction-less login using this shortcode or a widget.', 'profile-builder' ); ?>
53 + </p>
54 + </div>
55 +
56 + <div class="cozmoslabs-form-field-wrapper">
57 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Registration Form', 'profile-builder' ); ?></label>
58 + <strong>[wppb-register]</strong>
59 + <p class="cozmoslabs-description cozmoslabs-description-space-left">
60 + <?php esc_html_e( 'Beautiful and fully customizable Registration Forms.', 'profile-builder' ); ?>
61 + </p>
62 + </div>
63 +
64 + <div class="cozmoslabs-form-field-wrapper">
65 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Edit Profile Form', 'profile-builder' ); ?></label>
66 + <strong>[wppb-edit-profile]</strong>
67 + <p class="cozmoslabs-description cozmoslabs-description-space-left">
68 + <?php esc_html_e( 'Straight forward Edit Profile Forms.', 'profile-builder' ); ?>
69 + </p>
70 + </div>
71 +
72 + <?php
73 + $wppb_pages_created = get_option( 'wppb_pages_created' );
74 + $shortcode_pages_query = new WP_Query( array( 'post_type' => 'page', 's' => '[wppb-' ) );
75 + if( empty( $wppb_pages_created ) && !$shortcode_pages_query->have_posts() ){
76 + ?>
77 + <div class="cozmoslabs-form-field-wrapper">
78 + <p class="cozmoslabs-description cozmoslabs-notice-message"><?php esc_html_e( 'Speed up the setup process by automatically creating the form pages:', 'profile-builder' ); ?></p>
79 + <a href="<?php echo esc_url( wp_nonce_url( admin_url( 'admin.php?page=profile-builder-basic-info&wppb_create_pages=true' ), 'wppb_create_pages' ) ) ?>" class="button button-primary"><?php esc_html_e( 'Create Form Pages', 'profile-builder' ); ?></a>
80 + </div>
81 + <?php }else{ ?>
82 + <div class="cozmoslabs-form-field-wrapper">
83 + <p class="cozmoslabs-description cozmoslabs-notice-message"><?php esc_html_e( 'You can see all the pages with Profile Builder form shortcodes here:', 'profile-builder' ); ?></p>
84 + <a href="<?php echo esc_url( admin_url( 'edit.php?s=%5Bwppb-&post_status=all&post_type=page&action=-1&m=0&paged=1&action2=-1' ) ) ?>" class="button button-secondary"><?php esc_html_e( 'View Form Pages', 'profile-builder' ); ?></a>
85 + </div>
86 + <?php } ?>
87 +
88 + </div>
89 +
90 +
66 91 <?php ob_start(); ?>
67 - <hr/>
68 - <div>
69 - <h3><?php esc_html_e( 'Extra Features', 'profile-builder' );?></h3>
70 - <p><?php esc_html_e( 'Features that give you more control over your users, increased security and help you fight user registration spam.', 'profile-builder' ); ?></p>
71 - <p><a href="admin.php?page=profile-builder-general-settings" class="button"><?php esc_html_e( 'Enable extra features', 'profile-builder' ); ?></a></p>
72 - </div>
73 - <div class="wppb-row wppb-3-col">
74 - <div>
75 - <h3><?php esc_html_e( 'Recover Password', 'profile-builder' ); ?></h3>
76 - <p><?php printf( esc_html__( 'Allow users to recover their password in the front-end using the %s.', 'profile-builder' ), '<strong class="nowrap">[wppb-recover-password]</strong>' ); ?></p>
77 - </div>
78 - <div>
79 - <h3><?php esc_html_e( 'Admin Approval (*)', 'profile-builder' ); ?></h3>
80 - <p><?php esc_html_e( 'You decide who is a user on your website. Get notified via email or approve multiple users at once from the WordPress UI.', 'profile-builder' ); ?></p>
81 - </div>
82 - <div>
83 - <h3><?php esc_html_e( 'Email Confirmation', 'profile-builder' ); ?></h3>
84 - <p><?php esc_html_e( 'Make sure users sign up with genuine emails. On registration users will receive a notification to confirm their email address.', 'profile-builder' ); ?></p>
85 - </div>
86 - <div>
87 - <h3><?php esc_html_e( 'Content Restriction', 'profile-builder' ); ?></h3>
88 - <p><?php esc_html_e( 'Restrict users from accessing certain pages, posts or custom post types based on user role or logged-in status.', 'profile-builder' ); ?></p>
92 +
93 + <div class="cozmoslabs-form-subsection-wrapper" id="basic-info-extra-features">
94 + <h2 class="cozmoslabs-subsection-title"><?php esc_html_e( 'Extra Features', 'profile-builder' );?></h2>
95 + <p class="cozmoslabs-description"><?php esc_html_e( 'Features that give you more control over your users, increased security and help you fight user registration spam.', 'profile-builder' ); ?></p>
96 + <a href="admin.php?page=profile-builder-general-settings" class="button button-secondary"><?php esc_html_e( 'Enable extra features', 'profile-builder' ); ?></a>
97 +
98 + <div id="basic-info-extra-features-list">
99 + <div class="cozmoslabs-form-field-wrapper">
100 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Recover Password', 'profile-builder' ); ?></label>
101 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php printf( esc_html__( 'Allow users to recover their password in the front-end using the %s.', 'profile-builder' ), '<strong class="nowrap">[wppb-recover-password]</strong>' ); ?></p>
102 + </div>
103 +
104 + <div class="cozmoslabs-form-field-wrapper" id="basic-info-admin-approval">
105 + <label class="cozmoslabs-form-field-label">
106 + <?php esc_html_e( 'Admin Approval', 'profile-builder' ); ?>
107 +
108 + <?php if ($version == 'Free'){ ?>
109 + <span class="cozmoslabs-version-notice cozmoslabs-description-upsell"><?php printf( esc_html__( 'Only available in %1$s BASIC & PRO %2$s versions', 'profile-builder' ) ,'<a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=pb-basic-info&utm_medium=client-site&utm_campaign=pb-admin-approval#pricing" target="_blank">', '</a>' );?></span>
110 + <?php } ?>
111 + </label>
112 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'You decide who is a user on your website. Get notified via email or approve multiple users at once from the WordPress UI.', 'profile-builder' ); ?></p>
113 + </div>
114 +
115 + <div class="cozmoslabs-form-field-wrapper">
116 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Email Confirmation', 'profile-builder' ); ?></label>
117 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Make sure users sign up with genuine emails. On registration users will receive a notification to confirm their email address.', 'profile-builder' ); ?></p>
118 + </div>
119 +
120 + <div class="cozmoslabs-form-field-wrapper">
121 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Content Restriction', 'profile-builder' ); ?></label>
122 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Restrict users from accessing certain pages, posts or custom post types based on user role or logged-in status.', 'profile-builder' ); ?></p>
123 + </div>
124 +
125 + <div class="cozmoslabs-form-field-wrapper">
126 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Email Customizer', 'profile-builder' ); ?></label>
127 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Personalize all emails sent to your users or admins. On registration, email confirmation, admin approval / un-approval.', 'profile-builder' ); ?></p>
128 + </div>
129 +
130 + <div class="cozmoslabs-form-field-wrapper">
131 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Minimum Password Length and Strength Meter', 'profile-builder' ); ?></label>
132 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Eliminate weak passwords altogether by setting a minimum password length and enforcing a certain password strength.', 'profile-builder' ); ?></p>
133 + </div>
134 +
135 + <div class="cozmoslabs-form-field-wrapper">
136 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Login with Email or Username', 'profile-builder' ); ?></label>
137 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Allow users to log in with their email or username when accessing your site.', 'profile-builder' ); ?></p>
138 + </div>
139 +
140 + <div class="cozmoslabs-form-field-wrapper">
141 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Roles Editor', 'profile-builder' ); ?></label>
142 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Add, remove, clone and edit roles and also capabilities for these roles.', 'profile-builder' ); ?></p>
143 + </div>
89 144 </div>
90 - <div>
91 - <h3><?php esc_html_e( 'Email Customizer', 'profile-builder' ); ?></h3>
92 - <p><?php esc_html_e( 'Personalize all emails sent to your users or admins. On registration, email confirmation, admin approval / un-approval.', 'profile-builder' ); ?></p>
93 - </div>
94 - <div>
95 - <h3><?php esc_html_e( 'Minimum Password Length and Strength Meter', 'profile-builder' ); ?></h3>
96 - <p><?php esc_html_e( 'Eliminate weak passwords altogether by setting a minimum password length and enforcing a certain password strength.', 'profile-builder' ); ?></p>
97 - </div>
98 - <div>
99 - <h3><?php esc_html_e( 'Login with Email or Username', 'profile-builder' ); ?></h3>
100 - <p><?php esc_html_e( 'Allow users to log in with their email or username when accessing your site.', 'profile-builder' ); ?></p>
101 - </div>
102 - <div style="clear:left;">
103 - <h3><?php esc_html_e( 'Roles Editor', 'profile-builder' ); ?></h3>
104 - <p><?php esc_html_e( 'Add, remove, clone and edit roles and also capabilities for these roles.', 'profile-builder' ); ?></p>
105 - </div>
106 - </div>
145 + </div>
107 146
108 147 <?php
109 148 // Output here the Extra Features html for the Free version
110 149 $extra_features_html = ob_get_contents();
@@ -110,31 +149,36 @@
110 149 $extra_features_html = ob_get_contents();
111 150 ob_end_clean();
112 151 if ( $version == 'Free' ) echo $extra_features_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
113 152
114 - <hr/>
115 - <div class="wppb-row wppb-2-col">
116 - <div>
117 - <h3><?php esc_html_e( 'Customize Your Forms The Way You Want (*)', 'profile-builder' ); ?></h3>
118 - <p><?php esc_html_e( 'With Extra Profile Fields you can create the exact registration form your project needs.', 'profile-builder' ); ?></p>
119 - <?php if ($version == 'Free'){ ?>
120 - <p><a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wpbackend&utm_medium=clientsite&utm_content=basicinfo-extrafields&utm_campaign=PBFree" class="wppb-button-free"><?php esc_html_e( 'Extra Profile Fields are available in Basic or PRO versions', 'profile-builder' ); ?></a></p>
121 - <?php } else {?>
122 - <p><a href="admin.php?page=manage-fields" class="button"><?php esc_html_e( 'Get started with extra fields', 'profile-builder' ); ?></a></p>
123 - <?php } ?>
124 - <ul style="float: left; margin-right: 50px;">
125 - <li><?php esc_html_e( 'Generic Uploads', 'profile-builder' ); ?></li>
126 - <li><?php esc_html_e( 'Agree To Terms Checkbox', 'profile-builder' ); ?></li>
127 - <li><?php esc_html_e( 'Datepicker', 'profile-builder' ); ?> </li>
153 +
154 + <div class="cozmoslabs-form-subsection-wrapper" id="basic-info-customize-forms">
155 + <h2 class="cozmoslabs-subsection-title">
156 + <?php esc_html_e( 'Customize Your Forms The Way You Want', 'profile-builder' ); ?>
157 +
158 + <?php if ($version == 'Free'){ ?>
159 + <span class="cozmoslabs-version-notice cozmoslabs-description-upsell"><?php printf( esc_html__( 'Only available in %1$s BASIC & PRO %2$s versions', 'profile-builder' ) ,'<a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=pb-basic-info&utm_medium=client-site&utm_campaign=pb-extra-fields#pricing" target="_blank">', '</a>' );?></span>
160 + <?php } ?>
161 + </h2>
162 + <p class="cozmoslabs-description"><?php esc_html_e( 'With Extra Profile Fields you can create the exact Registration Form your project needs.', 'profile-builder' ); ?></p>
163 +
164 + <?php if ($version == 'Free'){ ?>
165 + <a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=pb-basic-info&utm_medium=client-site&utm_campaign=pb-extra-fields#pricing" target="_blank" class="button button-primary wppb-button-free"><?php esc_html_e( 'Extra Profile Fields are available in Basic or PRO versions', 'profile-builder' ); ?></a>
166 + <?php } else {?>
167 + <a href="<?php echo esc_url( admin_url( 'edit.php?post_type=wppb-rf-cpt' ) ); ?>" class="button button-secondary"><?php esc_html_e( 'Get started with extra fields', 'profile-builder' ); ?></a>
168 + <?php } ?>
169 +
170 + <div class="cozmoslabs-form-field-wrapper" id="basic-info-extra-fields-list">
171 + <ul>
172 + <li><?php esc_html_e( 'Generic Uploads', 'profile-builder' ); ?></li>
173 + <li><?php esc_html_e( 'Agree To Terms', 'profile-builder' ); ?></li>
174 + <li><?php esc_html_e( 'Datepicker', 'profile-builder' ); ?> </li>
128 175 <li><?php esc_html_e( 'Timepicker', 'profile-builder' ); ?> </li>
129 176 <li><?php esc_html_e( 'Colorpicker', 'profile-builder' ); ?> </li>
130 - <li><?php esc_html_e( 'Country Select', 'profile-builder' ); ?></li>
177 + <li><?php esc_html_e( 'Country Select', 'profile-builder' ); ?></li>
131 178 <li><?php esc_html_e( 'Currency Select', 'profile-builder' ); ?></li>
132 - <li><?php esc_html_e( 'Timezone Select', 'profile-builder' ); ?></li>
133 - </ul>
134 -
135 - <ul style="float: left;">
136 - <li><?php esc_html_e( 'Map', 'profile-builder' ); ?></li>
179 + <li><?php esc_html_e( 'Timezone Select', 'profile-builder' ); ?></li>
180 + <li><?php esc_html_e( 'Map', 'profile-builder' ); ?></li>
137 181 <li><?php esc_html_e( 'Select 2 (Multiple)', 'profile-builder' ); ?></li>
138 182 <li><?php esc_html_e( 'Phone', 'profile-builder' ); ?></li>
139 183 <li><?php esc_html_e( 'Hidden Input', 'profile-builder' ); ?></li>
140 184 <li><?php esc_html_e( 'Number', 'profile-builder' ); ?></li>
@@ -141,88 +185,121 @@
141 185 <li><?php esc_html_e( 'Validation', 'profile-builder' ); ?></li>
142 186 <li><?php esc_html_e( 'Select CPT', 'profile-builder' ); ?></li>
143 187 <li><?php esc_html_e( 'HTML', 'profile-builder' ); ?></li>
144 188 </ul>
189 +
190 + <img src="<?php echo esc_url( WPPB_PLUGIN_URL ); ?>assets/images/pb_fields.png" alt="Profile Builder Extra Fields" class="wppb-fields-image" />
145 191 </div>
146 - <div>
147 - <img src="<?php echo esc_url( WPPB_PLUGIN_URL ); ?>assets/images/pb_fields.png" alt="Profile Builder Extra Fields" class="wppb-fields-image" />
148 - </div>
149 192 </div>
150 - <hr/>
151 - <div>
152 - <h3><?php esc_html_e( 'Powerful Add-ons (**)', 'profile-builder' );?></h3>
153 - <p><?php esc_html_e( 'Everything you will need to manage your users is probably already available using the Pro Add-ons.', 'profile-builder' ); ?></p>
193 +
194 + <div class="cozmoslabs-form-subsection-wrapper" id="basic-info-add-ons">
195 + <h2 class="cozmoslabs-subsection-title">
196 + <?php esc_html_e( 'Powerful Add-ons', 'profile-builder' );?>
197 +
198 + <?php if ($version == 'Free'){ ?>
199 + <span class="cozmoslabs-version-notice cozmoslabs-description-upsell"><?php printf( esc_html__( 'Only available in %1$s PRO %2$s version', 'profile-builder' ), '<a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=pb-basic-info&utm_medium=client-site&utm_campaign=pb-pro-addons-upsell#pricing" target="_blank">', '</a>' );?></span>
200 + <?php } ?>
201 + </h2>
202 + <p class="cozmoslabs-description"><?php esc_html_e( 'Everything you will need to manage your users is probably already available using the Pro Add-ons.', 'profile-builder' ); ?></p>
203 +
154 204 <?php if( defined('WPPB_PAID_PLUGIN_DIR') && file_exists ( WPPB_PAID_PLUGIN_DIR.'/add-ons/add-ons.php' ) ): ?>
155 - <p><a href="admin.php?page=profile-builder-add-ons" class="button"><?php esc_html_e( 'Enable your add-ons', 'profile-builder' ); ?></a></p>
205 + <a href="admin.php?page=profile-builder-add-ons" class="button button-secondary"><?php esc_html_e( 'Enable your add-ons', 'profile-builder' ); ?></a>
156 206 <?php endif; ?>
157 - <?php if ($version == 'Free'){ ?>
158 - <p><a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wpbackend&utm_medium=clientsite&utm_content=basicinfo-add-ons&utm_campaign=PBFree" class="wppb-button-free"><?php esc_html_e( 'Find out more about PRO Modules', 'profile-builder' ); ?></a></p>
159 - <?php }?>
160 - </div>
161 - <div class="wppb-row wppb-3-col">
162 - <div>
163 - <h3><?php esc_html_e( 'User Listing', 'profile-builder' ); ?></h3>
164 - <?php if ($version == 'Free'): ?>
165 - <p><?php esc_html_e( 'Easy to edit templates for listing your website users as well as creating single user pages. Shortcode based, offering many options to customize your listings.', 'profile-builder' ); ?></p>
166 - <?php else : ?>
167 - <p><?php printf( esc_html__( 'To create a page containing the users registered to this current site/blog, insert the following shortcode in a page of your chosing: %s.', 'profile-builder' ), '<strong class="nowrap">[wppb-list-users]</strong>' ); ?></p>
168 - <?php endif;?>
169 - </div>
170 - <div>
171 - <h3><?php esc_html_e( 'Custom Redirects', 'profile-builder' ); ?></h3>
172 - <p><?php esc_html_e( 'Keep your users out of the WordPress dashboard, redirect them to the front-page after login or registration, everything is just a few clicks away.', 'profile-builder' ); ?></p>
173 - </div>
174 - </div>
175 - <div class="wppb-row wppb-3-col">
176 - <div>
177 - <h3><?php esc_html_e( 'Multiple Registration Forms', 'profile-builder' ); ?></h3>
178 - <p><?php esc_html_e( 'Set up multiple registration forms with different fields for certain user roles. Capture different information from different types of users.', 'profile-builder' ); ?></p>
179 - </div>
180 - <div>
181 - <h3><?php esc_html_e( 'Multiple Edit-profile Forms', 'profile-builder' ); ?></h3>
182 - <p><?php esc_html_e( 'Allow different user roles to edit their specific information. Set up multiple edit-profile forms with different fields for certain user roles.', 'profile-builder' ); ?></p>
183 - </div>
184 - <div>
185 - <h3><?php esc_html_e( 'Repeater Fields', 'profile-builder' ); ?></h3>
186 - <p><?php esc_html_e( 'Set up a repeating group of fields on register and edit profile forms. Limit the number of repeated groups for each user role.', 'profile-builder' ); ?></p>
187 - </div>
188 - </div>
207 + <?php if ($version == 'Free'){ ?>
208 + <a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=pb-basic-info&utm_medium=client-site&utm_campaign=pb-pro-addons-upsell#pricing" target="_blank" class="button button-primary wppb-button-free"><?php esc_html_e( 'Find out more about PRO Modules', 'profile-builder' ); ?></a>
209 + <?php }?>
189 210
211 + <div id="basic-info-addons-list">
212 + <div class="cozmoslabs-form-field-wrapper">
213 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'User Listing', 'profile-builder' ); ?></label>
214 +
215 + <?php if ($version == 'Free'): ?>
216 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Easy to edit templates for listing your website users as well as creating single user pages. Shortcode based, offering many options to customize your listings.', 'profile-builder' ); ?></p>
217 + <?php else : ?>
218 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Display your users in the frontend of your website, and customize how they are presented according to your preferences.', 'profile-builder' ); ?></p>
219 + <?php endif;?>
220 + </div>
221 +
222 + <div class="cozmoslabs-form-field-wrapper">
223 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Custom Redirects', 'profile-builder' ); ?></label>
224 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Keep your users out of the WordPress dashboard, redirect them to the front-page after login or registration, everything is just a few clicks away.', 'profile-builder' ); ?></p>
225 + </div>
226 +
227 + <div class="cozmoslabs-form-field-wrapper">
228 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Multiple Registration Forms', 'profile-builder' ); ?></label>
229 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Set up multiple registration forms with different fields for certain user roles. Capture different information from different types of users.', 'profile-builder' ); ?></p>
230 + </div>
231 +
232 + <div class="cozmoslabs-form-field-wrapper">
233 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Multiple Edit-profile Forms', 'profile-builder' ); ?></label>
234 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Allow different user roles to edit their specific information. Set up multiple edit-profile forms with different fields for certain user roles.', 'profile-builder' ); ?></p>
235 + </div>
236 +
237 + <div class="cozmoslabs-form-field-wrapper">
238 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Repeater Fields', 'profile-builder' ); ?></label>
239 + <p class="cozmoslabs-description cozmoslabs-description-align-right"><?php esc_html_e( 'Set up a repeating group of fields on register and edit profile forms. Limit the number of repeated groups for each user role.', 'profile-builder' ); ?></p>
240 + </div>
241 + </div>
242 + </div>
243 +
190 244 <?php
191 245 //Output here Extra Features html for Hobbyist or Pro versions
192 246 if ( $version != 'Free' ) echo $extra_features_html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
193 - <hr/>
194 - <div class="wrap wppb-wrap wppb-1-3-col">
195 - <div>
196 - <a href="<?php echo esc_url( admin_url('options.php?page=profile-builder-pms-promo') ); ?>"><img src="<?php echo esc_url( plugins_url( '../assets/images/pb-pms-cross-promotion.png', __FILE__ ) ); ?>" alt="paid member subscriptions"/></a>
197 - </div>
198 - <div>
199 - <h3>Paid user profiles with Profile Builder and Paid Member Subscriptions</h3>
200 - <p>One of the most requested features in Profile Builder was for users to be able to pay for an account.</p>
201 - <p>Now that's possible using the free WordPress plugin - <a href="<?php echo esc_url( admin_url('options.php?page=profile-builder-pms-promo') ); ?>">Paid Member Subscriptions</a>.</p>
202 - <p><a href="<?php echo esc_url( admin_url('options.php?page=profile-builder-pms-promo') ); ?>" class="button">Find out how</a></p>
203 247
204 - </div>
205 - </div>
206 - <div class="wrap wppb-wrap wppb-1-3-col">
207 - <div>
208 - <a href="https://wordpress.org/plugins/translatepress-multilingual/" target="_blank"><img src="<?php echo esc_url( plugins_url( '../assets/images/pb-trp-cross-promotion.png', __FILE__ ) ); ?>" alt="TranslatePress Logo"/></a>
209 - </div>
210 - <div>
211 - <h3>Easily translate your entire WordPress website</h3>
212 - <p>Translate your Profile Builder forms with a WordPress translation plugin that anyone can use.</p>
213 - <p>It offers a simpler way to translate WordPress sites, with full support for WooCommerce and site builders.</p>
214 - <p><a href="https://wordpress.org/plugins/translatepress-multilingual/" class="button" target="_blank">Find out how</a></p>
215 248
216 - </div>
217 - </div>
218 - <hr/>
219 - <div>
220 - <h3>Extra Notes</h3>
221 - <ul>
222 - <li><?php printf( esc_html__( ' * only available in the %1$sBasic and Pro versions%2$s.', 'profile-builder' ) ,'<a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wpbackend&utm_medium=clientsite&utm_content=basicinfo-extranotes&utm_campaign=PB'.esc_attr( $version ).'" target="_blank">', '</a>' );?></li>
223 - <li><?php printf( esc_html__( '** only available in the %1$sPro version%2$s.', 'profile-builder' ), '<a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wpbackend&utm_medium=clientsite&utm_content=basicinfo-extranotes&utm_campaign=PB'.esc_attr( $version ).'" target="_blank">', '</a>' );?></li>
224 - </ul>
225 - </div>
249 +
250 + <div class="cozmoslabs-form-subsection-wrapper" id="basic-info-recommended-plugins">
251 + <h2 class="cozmoslabs-subsection-title"><?php esc_html_e( 'Recommended Plugins', 'profile-builder' );?></h2>
252 +
253 + <div class="cozmoslabs-basic-info-recommended" id="wppb-recommended-pms">
254 + <div class="cozmoslabs-basic-info-recommended-img">
255 + <a href="<?php echo esc_url( admin_url( 'page=profile-builder-pms-promo' ) ); ?>" target="_blank"><img src="<?php echo esc_url( plugins_url( '../assets/images/pb-pms-cross-promotion.png', __FILE__ ) ); ?>" alt="paid member subscriptions"/></a>
256 + </div>
257 +
258 + <div class="cozmoslabs-basic-info-recommended-info">
259 + <div class="cozmoslabs-form-field-wrapper">
260 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Paid user profiles with Profile Builder and Paid Member Subscriptions', 'profile-builder' ); ?></label>
261 + </div>
262 +
263 + <p class="cozmoslabs-description"><?php esc_html_e( 'One of the most requested features in Profile Builder was for users to be able to pay for an account.', 'profile-builder' ); ?></p>
264 + <p class="cozmoslabs-description"><?php esc_html_e( 'Now that is possible using the free WordPress plugin - ', 'profile-builder' ); ?> <a href="https://wordpress.org/plugins/paid-member-subscriptions/" target="_blank">Paid Member Subscriptions</a></p>
265 + <a href="<?php echo esc_url( admin_url( 'page=profile-builder-pms-promo' ) ); ?>" class="button button-secondary" target="_blank">Find out how</a>
266 + </div>
267 + </div>
268 +
269 + <div class="cozmoslabs-basic-info-recommended" id="wppb-recommended-translate-press">
270 + <div class="cozmoslabs-basic-info-recommended-img">
271 + <a href="https://translatepress.com/?utm_source=pb-basic-info&utm_medium=client-site&utm_campaign=pb-tp-upsell" target="_blank"><img src="<?php echo esc_url( plugins_url( '../assets/images/pb-trp-cross-promotion.svg', __FILE__ ) ); ?>" alt="TranslatePress Logo"/></a>
272 + </div>
273 +
274 + <div class="cozmoslabs-basic-info-recommended-info">
275 + <div class="cozmoslabs-form-field-wrapper">
276 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Easily translate your entire WordPress website', 'profile-builder' ); ?></label>
277 + </div>
278 +
279 + <p class="cozmoslabs-description"><?php esc_html_e( 'Translate your Profile Builder forms with a WordPress translation plugin that anyone can use.', 'profile-builder' ); ?></p>
280 + <p class="cozmoslabs-description"><?php esc_html_e( 'It offers a simpler way to translate WordPress sites, with full support for WooCommerce and site builders.', 'profile-builder' ); ?></p>
281 + <a href="https://translatepress.com/?utm_source=pb-basic-info&utm_medium=client-site&utm_campaign=pb-tp-upsell" class="button button-secondary" target="_blank">Find out how</a>
282 + </div>
283 + </div>
284 +
285 + <div class="cozmoslabs-basic-info-recommended" id="wppb-recommended-wp-webhooks">
286 + <div class="cozmoslabs-basic-info-recommended-img">
287 + <a href="https://wp-webhooks.com/?utm_source=pb-basic-info&utm_medium=client-site&utm_campaign=pb-wpwh-upsell" target="_blank"><img src="<?php echo esc_url( plugins_url( '../assets/images/wp-webhooks-banner.svg', __FILE__ ) ); ?>" alt="TranslatePress Logo"/></a>
288 + </div>
289 +
290 + <div class="cozmoslabs-basic-info-recommended-info">
291 + <div class="cozmoslabs-form-field-wrapper">
292 + <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Save time and money using automations', 'profile-builder' ); ?></label>
293 + </div>
294 +
295 + <p class="cozmoslabs-description"><?php esc_html_e( 'Create no-code automations and workflows on your WordPress site.', 'profile-builder' ); ?></p>
296 + <p class="cozmoslabs-description"><?php esc_html_e( 'Integrates with both Profile Builder and Paid Member Subscriptions.', 'profile-builder' ); ?></p>
297 + <a href="https://wp-webhooks.com/?utm_source=pb-basic-info&utm_medium=client-site&utm_campaign=pb-wpwh-upsell" class="button button-secondary" target="_blank">Find out how</a>
298 + </div>
299 + </div>
300 +
301 + </div>
302 +
226 303 </div>
227 304 <?php
228 305 }