Changeset 1027324
- Timestamp:
- 11/17/2014 02:49:24 PM (11 years ago)
- Location:
- profile-builder
- Files:
-
- 26 added
- 28 edited
- 1 copied
-
tags/2.0.6 (copied) (copied from profile-builder/trunk)
-
tags/2.0.6/admin/manage-fields.php (modified) (7 diffs)
-
tags/2.0.6/admin/register-version.php (modified) (2 diffs)
-
tags/2.0.6/assets/css/style-front-end.css (modified) (1 diff)
-
tags/2.0.6/assets/js/jquery-manage-fields-live-change.js (modified) (2 diffs)
-
tags/2.0.6/assets/lib/wck-api/wordpress-creation-kit.php (modified) (6 diffs)
-
tags/2.0.6/features/email-confirmation/email-confirmation.php (modified) (2 diffs)
-
tags/2.0.6/features/functions.php (modified) (2 diffs)
-
tags/2.0.6/features/upgrades/upgrades-functions.php (modified) (3 diffs)
-
tags/2.0.6/front-end/class-formbuilder.php (modified) (3 diffs)
-
tags/2.0.6/front-end/default-fields/description/description.php (modified) (1 diff)
-
tags/2.0.6/front-end/register.php (modified) (2 diffs)
-
tags/2.0.6/index.php (modified) (2 diffs)
-
tags/2.0.6/readme.txt (modified) (6 diffs)
-
tags/2.0.6/screenshot-10.png (added)
-
tags/2.0.6/translation/profilebuilder-fr_FR.mo (added)
-
tags/2.0.6/translation/profilebuilder-fr_FR.po (added)
-
tags/2.0.6/translation/profilebuilder-nl_NL.mo (added)
-
tags/2.0.6/translation/profilebuilder-nl_NL.po (added)
-
tags/2.0.6/translation/profilebuilder-pt_BR.mo (added)
-
tags/2.0.6/translation/profilebuilder-pt_BR.po (added)
-
tags/2.0.6/translation/profilebuilder-zh_CN.mo (added)
-
tags/2.0.6/translation/profilebuilder-zh_CN.po (added)
-
tags/2.0.6/translation/profilebuilder-zh_HK.mo (added)
-
tags/2.0.6/translation/profilebuilder-zh_HK.po (added)
-
tags/2.0.6/translation/profilebuilder-zh_TW.mo (added)
-
tags/2.0.6/translation/profilebuilder-zh_TW.po (added)
-
tags/2.0.6/translation/profilebuilder.pot (modified) (45 diffs)
-
trunk/admin/manage-fields.php (modified) (7 diffs)
-
trunk/admin/register-version.php (modified) (2 diffs)
-
trunk/assets/css/style-front-end.css (modified) (1 diff)
-
trunk/assets/js/jquery-manage-fields-live-change.js (modified) (2 diffs)
-
trunk/assets/lib/wck-api/wordpress-creation-kit.php (modified) (6 diffs)
-
trunk/features/email-confirmation/email-confirmation.php (modified) (2 diffs)
-
trunk/features/functions.php (modified) (2 diffs)
-
trunk/features/upgrades/upgrades-functions.php (modified) (3 diffs)
-
trunk/front-end/class-formbuilder.php (modified) (3 diffs)
-
trunk/front-end/default-fields/description/description.php (modified) (1 diff)
-
trunk/front-end/register.php (modified) (2 diffs)
-
trunk/index.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (6 diffs)
-
trunk/screenshot-10.png (added)
-
trunk/translation/profilebuilder-fr_FR.mo (added)
-
trunk/translation/profilebuilder-fr_FR.po (added)
-
trunk/translation/profilebuilder-nl_NL.mo (added)
-
trunk/translation/profilebuilder-nl_NL.po (added)
-
trunk/translation/profilebuilder-pt_BR.mo (added)
-
trunk/translation/profilebuilder-pt_BR.po (added)
-
trunk/translation/profilebuilder-zh_CN.mo (added)
-
trunk/translation/profilebuilder-zh_CN.po (added)
-
trunk/translation/profilebuilder-zh_HK.mo (added)
-
trunk/translation/profilebuilder-zh_HK.po (added)
-
trunk/translation/profilebuilder-zh_TW.mo (added)
-
trunk/translation/profilebuilder-zh_TW.po (added)
-
trunk/translation/profilebuilder.pot (modified) (45 diffs)
Legend:
- Unmodified
- Added
- Removed
-
profile-builder/tags/2.0.6/admin/manage-fields.php
r1020987 r1027324 168 168 169 169 if ( ( $wppb_manage_fields === 'not_found' ) || ( empty( $wppb_manage_fields ) ) ){ 170 return 'custom_field '.$id;170 return 'custom_field_' . $id; 171 171 } 172 172 else{ … … 182 182 foreach( $meta_names as $meta_name ){ 183 183 $number = str_replace( 'custom_field', '', $meta_name ); 184 /* backwards compatibility check in PB 1.3 meta_name was custom_field_#*/184 /* we should have an underscore present in custom_field_# so remove it */ 185 185 $number = str_replace( '_', '', $number ); 186 186 … … 193 193 } 194 194 195 return 'custom_field '.$id;195 return 'custom_field_' . $id; 196 196 } 197 197 } … … 219 219 if( !empty( $ids_array ) ){ 220 220 rsort( $ids_array ); 221 $id = $ids_array[0] +1;221 $id = $ids_array[0] + 1; 222 222 } 223 223 } 224 224 return $id; 225 225 } 226 227 /** 228 * Function that checks to see if the id is unique when saving the new field 229 * 230 * @param array $values 231 * 232 * @return array 233 */ 234 function wppb_check_unique_id_on_saving( $values ) { 235 $wppb_manage_fields = get_option( 'wppb_manage_fields', 'not_found' ); 236 237 if( $wppb_manage_fields != 'not_found' ) { 238 239 $ids_array = array(); 240 foreach( $wppb_manage_fields as $field ){ 241 $ids_array[] = $field['id']; 242 } 243 244 if( in_array( $values['id'], $ids_array ) ) { 245 rsort( $ids_array ); 246 $values['id'] = $ids_array[0] + 1; 247 } 248 249 } 250 251 return $values; 252 } 253 add_filter( 'wck_add_meta_filter_values_wppb_manage_fields', 'wppb_check_unique_id_on_saving' ); 254 226 255 227 256 function wppb_return_unique_field_list( $only_default_fields = false ){ … … 337 366 // END check for the correct the date-format 338 367 339 //check duplicate meta-name368 //check for empty meta-name and duplicate meta-name 340 369 if ( $posted_values['overwrite-existing'] == 'No' ){ 341 370 $skip_check_for_fields = wppb_return_unique_field_list(true); … … 344 373 if ( !in_array( trim( $posted_values['field'] ), $skip_check_for_fields ) ){ 345 374 $unique_meta_name_list = array( 'first_name', 'last_name', 'nickname', 'description' ); 346 375 376 //check to see if meta-name is empty 377 $skip_empty_check_for_fields = array('Heading'); 378 379 if( !in_array( $posted_values['field'], $skip_empty_check_for_fields ) && empty( $posted_values['meta-name'] ) ) { 380 $message .= __( "The meta-name cannot be empty\n", 'profilebuilder' ); 381 } 382 347 383 // Default contact methods were removed in WP 3.6. A filter dictates contact methods. 348 384 if ( apply_filters( 'wppb_remove_default_contact_methods', get_site_option( 'initial_db_version' ) < 23588 ) ){ … … 401 437 } 402 438 // END check for valid default option (checkbox, select, radio) 403 439 440 $message = apply_filters( 'wppb_check_extra_manage_fields', $message, $posted_values ); 441 404 442 }elseif ( ( $meta_name == 'wppb_rf_fields' ) || ( $meta_name == 'wppb_epf_fields' ) ){ 405 443 if ( $posted_values['field'] == '' ){ -
profile-builder/tags/2.0.6/admin/register-version.php
r1020987 r1027324 94 94 95 95 $response = wp_remote_get( 'http://updatemetadata.cozmoslabs.com/checkserial/?serialNumberSent='.$serial_number_set ); 96 96 97 97 if ( PROFILE_BUILDER == 'Profile Builder Pro' ){ 98 98 wppb_update_serial_status($response, 'pro'); … … 209 209 if ( PROFILE_BUILDER == 'Profile Builder Pro' ){ 210 210 $wppb_profile_builder_pro_hobbyist_serial_status = get_option( 'wppb_profile_builder_pro_serial_status', 'empty' ); 211 $version = 'pro'; 212 211 213 } elseif( PROFILE_BUILDER == 'Profile Builder Hobbyist' ) { 212 214 $wppb_profile_builder_pro_hobbyist_serial_status = get_option( 'wppb_profile_builder_hobbyist_serial_status', 'empty' ); 215 $version = 'hobbyist'; 213 216 } 214 217 215 218 if ( $wppb_profile_builder_pro_hobbyist_serial_status == 'notFound' || $wppb_profile_builder_pro_hobbyist_serial_status == 'empty' ){ 216 new wppb_add_notices( 'wppb', 'profile_builder_pro', sprintf( __( '<p>Your <strong>Profile Builder</strong> serial number is invalid or missing. <br/>Please %1$sregister your copy%2$s of Profile Builder to receive access to automatic updates and support. Need a license key? %3$sPurchase one now%4$s</p>', 'profilebuilder'), "<a href='admin.php?page=profile-builder-register'>", "</a>", "<a href='http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Purchase' target='_blank' class='button-primary'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' );219 new wppb_add_notices( 'wppb', 'profile_builder_pro', sprintf( __( '<p>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</p>', 'profilebuilder'), "<a href='admin.php?page=profile-builder-register'>", "</a>", "<a href='http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-SN-Purchase' target='_blank' class='button-primary'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' ); 217 220 } 218 221 elseif ( $wppb_profile_builder_pro_hobbyist_serial_status == 'expired' ){ 219 $wppb_notice = new wppb_add_notices( 'wppb', 'profile_builder_pro', sprintf( __( '<p>Your <strong>Profile Builder</strong> licence has expired. <br/>Please %1$sRenew Your Licence%2$s to receive access to automatic updates and support. %3$sPurchase one now%4$s %5$sDismiss%6$s</p>', 'profilebuilder'), "<a href='http://www.cozmoslabs.com/downloads/profile-builder-pro-1-year/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank'>", "</a>", "<a href='http://www.cozmoslabs.com/downloads/profile-builder-pro-1-year/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank' class='button-primary'>", "</a>", "<a href='". add_query_arg( 'wppb_dismiss_notification', '0' ) ."' class='wppb-dismiss-notification'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' );222 new wppb_add_notices( 'wppb_expired', 'profile_builder_pro', sprintf( __( '<p>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 and get 50% off %4$s %5$sDismiss%6$s</p>', 'profilebuilder'), "<a href='http://www.cozmoslabs.com/downloads/profile-builder-". $version ."-v2-yearly-renewal/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank'>", "</a>", "<a href='http://www.cozmoslabs.com/downloads/profile-builder-".$version."-v2-yearly-renewal/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank' class='button-primary'>", "</a>", "<a href='". add_query_arg( 'wppb_expired_dismiss_notification', '0' ) ."' class='wppb-dismiss-notification'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' ); 220 223 } 221 224 elseif( strpos( $wppb_profile_builder_pro_hobbyist_serial_status, 'aboutToExpire' ) === 0 ){ 222 225 $serial_status_parts = explode( '#', $wppb_profile_builder_pro_hobbyist_serial_status ); 223 226 $date = $serial_status_parts[1]; 224 new wppb_add_notices( 'wppb ', 'profile_builder_pro', sprintf( __( '<p>Your <strong>Profile Builder</strong> serial number is about to expire on %5$s. <br/>Please %1$sRenew Your Licence%2$s to receive access to automatic updates and support. %3$sPurchase one now%4$s</p>', 'profilebuilder'), "<a href='admin.php?page=profile-builder-register'>", "</a>", "<a href='http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Purchase' target='_blank' class='button-primary'>", "</a>", $date), 'wppb_profile_builder_pro_serial_status' );225 } 227 new wppb_add_notices( 'wppb_about_to_expire', 'profile_builder_pro', sprintf( __( '<p>Your <strong>Profile Builder</strong> license is about to expire on %5$s. <br/>Please %1$sRenew Your Licence%2$s to continue receiving access to product downloads, automatic updates and support. %3$sRenew now and get 50% off %4$s %6$sDismiss%7$s</p>', 'profilebuilder'), "<a href='http://www.cozmoslabs.com/downloads/profile-builder-". $version ."-v2-yearly-renewal/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank'>", "</a>", "<a href='http://www.cozmoslabs.com/downloads/profile-builder-".$version."-v2-yearly-renewal/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank' class='button-primary'>", "</a>", $date, "<a href='". add_query_arg( 'wppb_about_to_expire_dismiss_notification', '0' ) ."' class='wppb-dismiss-notification'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' ); 228 } -
profile-builder/tags/2.0.6/assets/css/style-front-end.css
r1020987 r1027324 144 144 padding-right:0; 145 145 } 146 147 .wppb-user-forms ul li{ 148 list-style:none; 149 } 150 146 151 .wppb-user-forms ul li, 147 152 #wppb-login-wrap p{ -
profile-builder/tags/2.0.6/assets/js/jquery-manage-fields-live-change.js
r1020987 r1027324 464 464 if( meta_name.indexOf( 'custom_field' ) !== -1 ){ 465 465 var meta_name = meta_name.replace('custom_field', '' ); 466 /* backwards compatibility check in PB 1.3 meta_name was custom_field_#*/466 /* we should have an underscore present in custom_field_# so remove it */ 467 467 meta_name = meta_name.replace('_', '' ); 468 468 469 if( isNaN( meta_name ) ){ 469 470 meta_name = Math.floor((Math.random() * 200) + 100); 470 471 } 471 numbers.push( meta_name);472 numbers.push( parseInt(meta_name) ); 472 473 } 474 473 475 }); 474 476 if( numbers.length > 0 ){ 475 numbers.sort( );477 numbers.sort( function(a, b){return a-b} ); 476 478 numbers.reverse(); 477 479 meta_number = parseInt(numbers[0])+1; … … 480 482 meta_number = 1; 481 483 482 meta_value = 'custom_field '+meta_number;484 meta_value = 'custom_field_' + meta_number; 483 485 } 486 484 487 jQuery( container_name + ' ' + '#meta-name' ).val( meta_value ); 485 488 jQuery( container_name + ' ' + '#meta-name' ).attr( 'readonly', false ); -
profile-builder/tags/2.0.6/assets/lib/wck-api/wordpress-creation-kit.php
r1020987 r1027324 345 345 $form = ''; 346 346 $form .= '<tr id="update_container_'.$meta.'_'.$element_id.'" ' . $wck_update_container_css_class . '><td colspan="4">'; 347 348 347 if($results != null){ 349 348 $i = 0; … … 357 356 else 358 357 $value = ''; 359 358 360 359 $form = apply_filters( "wck_before_update_form_{$meta}_element_{$i}", $form, $element_id, $value ); 361 360 … … 674 673 else 675 674 $values = array(); 676 675 677 676 $values = apply_filters( "wck_add_meta_filter_values_{$meta}", $values ); 678 677 679 678 /* check required fields */ 680 679 $errors = self::wck_test_required( $this->args['meta_array'], $meta, $values, $id ); … … 836 835 $meta = $_POST['meta']; 837 836 $id = absint($_POST['id']); 838 $element_id = $_POST['element_id']; 839 837 $element_id = $_POST['element_id']; 838 839 do_action( "wck_before_adding_form_{$meta}", $id, $element_id ); 840 840 841 echo self::mb_update_form($this->args['meta_array'], $meta, $id, $element_id); 841 842 … … 886 887 887 888 $meta_suffix = 1; 888 889 889 890 if( !empty( $results ) ){ 890 foreach( $results as $result ){ 891 foreach ( $result as $name => $value){ 892 update_post_meta($id, $meta.'_'.$name.'_'.$meta_suffix, $value); 891 foreach( $results as $result ){ 892 foreach ( $result as $name => $value){ 893 update_post_meta($id, $meta.'_'.$name.'_'.$meta_suffix, $value); 893 894 } 894 895 $meta_suffix++; … … 1031 1032 function wck_media_send_to_editor($html, $id) 1032 1033 { 1033 parse_str($_POST["_wp_http_referer"], $arr_postinfo); 1034 1035 if(isset($arr_postinfo["mb_type"])) 1036 { 1037 $file_src = wp_get_attachment_url($id); 1038 $thumbnail = wp_get_attachment_image( $id, array( 80, 60 ), true ); 1039 $file_name = get_the_title( $id ); 1040 1041 if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $id ), $matches ) ) 1042 $file_type = esc_html( strtoupper( $matches[1] ) ); 1043 else 1044 $file_type = strtoupper( str_replace( 'image/', '', get_post_mime_type( $id ) ) ); 1045 1046 ?> 1047 <script type="text/javascript"> 1048 1049 self.parent.window. <?php echo $arr_postinfo["mb_type"];?> .val('<?php echo $id; ?>'); 1050 self.parent.window. <?php echo $arr_postinfo["mb_info_div"];?> .html('<?php echo $thumbnail ?><p><span class="file-name"><?php echo $file_name; ?></span><span class="file-type"><?php echo $file_type; ?></span><span class="wck-remove-upload"><?php _e( 'Remove', 'wck' )?></span></p>'); 1051 1052 self.parent.tb_remove(); 1053 1054 </script> 1055 <?php 1056 exit; 1057 } 1058 else 1059 { 1034 if( !empty( $_POST["_wp_http_referer"] ) ) { 1035 parse_str($_POST["_wp_http_referer"], $arr_postinfo); 1036 if (isset($arr_postinfo["mb_type"])) { 1037 $file_src = wp_get_attachment_url($id); 1038 $thumbnail = wp_get_attachment_image($id, array(80, 60), true); 1039 $file_name = get_the_title($id); 1040 1041 if (preg_match('/^.*?\.(\w+)$/', get_attached_file($id), $matches)) 1042 $file_type = esc_html(strtoupper($matches[1])); 1043 else 1044 $file_type = strtoupper(str_replace('image/', '', get_post_mime_type($id))); 1045 1046 ?> 1047 <script type="text/javascript"> 1048 1049 self.parent.window.<?php echo $arr_postinfo["mb_type"];?>.val('<?php echo $id; ?>'); 1050 self.parent.window.<?php echo $arr_postinfo["mb_info_div"];?>.html('<?php echo $thumbnail ?><p><span class="file-name"><?php echo $file_name; ?></span><span class="file-type"><?php echo $file_type; ?></span><span class="wck-remove-upload"><?php _e( 'Remove', 'wck' )?></span></p>'); 1051 1052 self.parent.tb_remove(); 1053 1054 </script> 1055 <?php 1056 exit; 1057 } 1058 } 1059 else{ 1060 1060 return $html; 1061 1061 } -
profile-builder/tags/2.0.6/features/email-confirmation/email-confirmation.php
r1012789 r1027324 375 375 $user_login = esc_sql( $signup->user_login ); 376 376 $user_email = esc_sql( $signup->user_email ); 377 $password = base64_decode( $meta['user_pass'] ); 377 /* the password is in hashed form in the signup table and we will copy it later to the user */ 378 $password = NULL; 378 379 379 380 $user_id = username_exists($user_login); … … 403 404 clean_object_term_cache( $user_id, 'user_status' ); 404 405 } 406 407 /* copy the hashed password from signup meta to wp user table */ 408 if( !empty( $meta['user_pass'] ) ){ 409 /* we might still have the base64 encoded password in signups and not the hash */ 410 if( base64_encode(base64_decode($meta['user_pass'], true)) === $meta['user_pass'] ) 411 $meta['user_pass'] = wp_hash_password( $meta['user_pass'] ); 412 413 $wpdb->update( $wpdb->users, array('user_pass' => $meta['user_pass'] ), array('ID' => $user_id) ); 414 } 405 415 406 416 wppb_notify_user_registration_email( get_bloginfo( 'name' ), $user_login, $user_email, 'sending', $password, ( isset( $wppb_general_settings['adminApproval'] ) ? $wppb_general_settings['adminApproval'] : 'no' ) ); -
profile-builder/tags/2.0.6/features/functions.php
r1020987 r1027324 554 554 */ 555 555 function wppb_required_field_error($field_title='') { 556 $required_error = __(apply_filters('wppb_required_error' , 'This field is required' , $field_title),'profilebuilder');556 $required_error = apply_filters('wppb_required_error' , __('This field is required','profilebuilder') , $field_title); 557 557 558 558 return $required_error; … … 608 608 'update-nag'); 609 609 } 610 611 /*Filter default WordPress notices ("Post published. Post updated."), add post type name for User Listing, Registration Forms and Edit Profile Forms*/ 612 function wppb_change_default_post_updated_messages($messages){ 613 global $post; 614 $post_type = get_post_type($post->ID); 615 $object = get_post_type_object($post_type); 616 617 if ( ($post_type == 'wppb-rf-cpt')||($post_type == 'wppb-epf-cpt')||($post_type == 'wppb-ul-cpt') ){ 618 $messages['post'][1] = $object->labels->name . ' updated.'; 619 $messages['post'][6] = $object->labels->name . ' published.'; 620 } 621 return $messages; 622 } 623 add_filter('post_updated_messages','wppb_change_default_post_updated_messages', 2); -
profile-builder/tags/2.0.6/features/upgrades/upgrades-functions.php
r1011421 r1027324 159 159 $local_array = array(); 160 160 161 $local_array['id'] = ( isset( $value['id'] ) ? trim( $value['id'] ) : '' ); 161 /* id will be set up at a later point */ 162 $local_array['id'] = ''; 162 163 $local_array['meta-name'] = ( isset( $value['item_metaName'] ) ? trim( $value['item_metaName'] ) : '' ); 163 164 $local_array['field-title'] = ( isset( $value['item_title'] ) ? trim( $value['item_title'] ) : '' ); … … 280 281 update_option( 'wppb_module_settings', $wppb_module_settings ); 281 282 } 282 283 284 /* set up ids for each field */ 285 if( !empty( $backed_up_manage_fields ) ){ 286 /*make sure we have a 0 based index */ 287 $backed_up_manage_fields = array_values( $backed_up_manage_fields ); 288 foreach( $backed_up_manage_fields as $key => $backed_up_manage_field ){ 289 $backed_up_manage_fields[$key]['id'] = (int)$key + 1; 290 } 291 } 283 292 add_option( 'wppb_manage_fields', $backed_up_manage_fields ); 284 293 … … 508 517 function wppb_add_existing_default_fields ( $backed_up_manage_fields = array(), $field, $meta_name, $required, $description = '', $recaptcha_public_key = '', $recaptcha_private_key = '' ){ 509 518 $local_array = array(); 510 511 $id = 0; 512 foreach ( $backed_up_manage_fields as $key => $value ){ 513 if ( (int)$id < (int)$value['id'] ); 514 $id = $value['id']; 515 } 516 $id++; 517 518 $local_array['id'] = $id; 519 520 $local_array['id'] = ''; 519 521 $local_array['field'] = $field; 520 522 $local_array['meta-name'] = $meta_name; -
profile-builder/tags/2.0.6/front-end/class-formbuilder.php
r1020987 r1027324 369 369 $userdata = $this->wppb_add_custom_field_values( $global_request, $userdata, $this->args['form_fields'] ); 370 370 $userdata['role'] = $this->args['role']; 371 $userdata['user_pass'] = base64_encode( $userdata['user_pass'] );371 $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); 372 372 wppb_signup_user( $userdata['user_login'], $userdata['user_email'], $userdata ); 373 373 … … 383 383 $userdata = $this->wppb_add_custom_field_values( $global_request, $userdata, $this->args['form_fields'] ); 384 384 $userdata['role'] = $this->args['role']; 385 $userdata['user_pass'] = base64_encode( $userdata['user_pass'] );385 $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); 386 386 $userdata = wp_unslash( $userdata ); 387 387 wppb_signup_user( $userdata['user_login'], $userdata['user_email'], $userdata ); … … 412 412 else 413 413 $send_credentials_via_email = ''; 414 wppb_notify_user_registration_email( get_bloginfo( 'name' ), ( isset( $ global_request['username'] ) ? trim( $global_request['username'] ) : trim( $global_request['email'] ) ), trim( $global_request['email'] ), $send_credentials_via_email, trim( $global_request['passw1'] ), ( isset( $wppb_general_settings['adminApproval'] ) ? $wppb_general_settings['adminApproval'] : 'no' ) );414 wppb_notify_user_registration_email( get_bloginfo( 'name' ), ( isset( $userdata['user_login'] ) ? trim( $userdata['user_login'] ) : trim( $userdata['user_email'] ) ), trim( $userdata['user_email'] ), $send_credentials_via_email, trim( $userdata['user_pass'] ), ( isset( $wppb_general_settings['adminApproval'] ) ? $wppb_general_settings['adminApproval'] : 'no' ) ); 415 415 } 416 416 } -
profile-builder/tags/2.0.6/front-end/default-fields/description/description.php
r1011421 r1027324 21 21 $output = ' 22 22 <label for="description">'.$item_title.$error_mark.'</label> 23 <textarea rows="'.$field['row-count'].'" name="description" class="default_field_description" id="description" wrap="virtual">'. esc_textarea( wp_unslash( $input_value ) ).'</textarea>';23 <textarea rows="'.$field['row-count'].'" name="description" maxlength="'. apply_filters( 'wppb_maximum_character_length', '', $field ) .'" class="default_field_description" id="description" wrap="virtual">'. esc_textarea( wp_unslash( $input_value ) ).'</textarea>'; 24 24 if( !empty( $item_description ) ) 25 25 $output .= '<span class="wppb-description-delimiter">'. $item_description .'</span>'; -
profile-builder/tags/2.0.6/front-end/register.php
r1012789 r1027324 55 55 56 56 $user_email = esc_sql( $signup->user_email ); 57 $password = base64_decode( $meta['user_pass'] ); 57 /* the password is in hashed form in the signup table so we will add it later */ 58 $password = NULL; 58 59 59 60 $user_id = username_exists( $user_login ); … … 84 85 if ( !isset( $wppb_generalSettings['adminApproval'] ) ) 85 86 $wppb_generalSettings['adminApproval'] = 'no'; 87 88 /* copy the hashed password from signup meta to wp user table */ 89 if( !empty( $meta['user_pass'] ) ){ 90 /* we might still have the base64 encoded password in signups and not the hash */ 91 if( base64_encode(base64_decode($meta['user_pass'], true)) === $meta['user_pass'] ) 92 $meta['user_pass'] = wp_hash_password( $meta['user_pass'] ); 93 94 $wpdb->update( $wpdb->users, array('user_pass' => $meta['user_pass'] ), array('ID' => $user_id) ); 95 } 86 96 87 97 wppb_notify_user_registration_email($bloginfo, $user_login, $user_email, 'sending', $password, $wppb_generalSettings['adminApproval']); -
profile-builder/tags/2.0.6/index.php
r1020987 r1027324 4 4 Plugin URI: http://www.cozmoslabs.com/wordpress-profile-builder/ 5 5 Description: Login, registration and edit profile shortcodes for the front-end. Also you can chose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard. 6 Version: 2.0. 56 Version: 2.0.6 7 7 Author: Cozmoslabs, Madalin Ungureanu, Antohe Cristian, Barina Gabriel 8 8 Author URI: http://www.cozmoslabs.com/ … … 25 25 */ 26 26 27 /** 28 * Convert memory value from ini file to a readable form 29 * 30 * @since v.1.0 31 * 32 * @return integer 33 */ 34 function wppb_return_bytes( $val ) { 35 $val = trim( $val ); 36 37 switch( strtolower( $val[strlen( $val )-1] ) ) { 38 // The 'G' modifier is available since PHP 5.1.0 39 case 'g': 40 $val *= 1024; 41 case 'm': 42 $val *= 1024; 43 case 'k': 44 $val *= 1024; 45 } 27 /* Check if another version of Profile Builder is activated, to prevent fatal errors*/ 28 function wppb_plugin_init() { 29 if (function_exists('wppb_return_bytes')) { 30 function wppb_admin_notice() 31 { 32 ?> 33 <div class="error"> 34 <p><?php _e( PROFILE_BUILDER . ' is also activated. You need to deactivate it before activating this version of the plugin.', 'profilebuilder'); ?></p> 35 </div> 36 <?php 37 } 38 function wppb_plugin_deactivate() { 39 deactivate_plugins( plugin_basename( __FILE__ ) ); 40 unset($_GET['activate']); 41 } 46 42 47 return $val; 48 } 43 add_action('admin_notices', 'wppb_admin_notice'); 44 add_action( 'admin_init', 'wppb_plugin_deactivate' ); 45 } else { 49 46 50 /** 51 * Definitions 52 * 53 * 54 */ 55 define( 'PROFILE_BUILDER_VERSION', '2.0.5' ); 56 define( 'WPPB_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) ); 57 define( 'WPPB_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 58 define( 'WPPB_SERVER_MAX_UPLOAD_SIZE_BYTE', apply_filters( 'wppb_server_max_upload_size_byte_constant', wppb_return_bytes( ini_get( 'upload_max_filesize') ) ) ); 59 define( 'WPPB_SERVER_MAX_UPLOAD_SIZE_MEGA', apply_filters( 'wppb_server_max_upload_size_mega_constant', ini_get( 'upload_max_filesize') ) ); 60 define( 'WPPB_SERVER_MAX_POST_SIZE_BYTE', apply_filters( 'wppb_server_max_post_size_byte_constant', wppb_return_bytes( ini_get( 'post_max_size') ) ) ); 61 define( 'WPPB_SERVER_MAX_POST_SIZE_MEGA', apply_filters( 'wppb_server_max_post_size_mega_constant', ini_get( 'post_max_size') ) ); 62 define( 'WPPB_TRANSLATE_DIR', WPPB_PLUGIN_DIR.'/translation' ); 63 define( 'WPPB_TRANSLATE_DOMAIN', 'profilebuilder' ); 47 /** 48 * Convert memory value from ini file to a readable form 49 * 50 * @since v.1.0 51 * 52 * @return integer 53 */ 54 function wppb_return_bytes($val) 55 { 56 $val = trim($val); 64 57 65 /* include notices class */ 66 if ( file_exists ( WPPB_PLUGIN_DIR.'/assets/lib/class_notices.php' ) ) 67 include_once(WPPB_PLUGIN_DIR . '/assets/lib/class_notices.php' ); 58 switch (strtolower($val[strlen($val) - 1])) { 59 // The 'G' modifier is available since PHP 5.1.0 60 case 'g': 61 $val *= 1024; 62 case 'm': 63 $val *= 1024; 64 case 'k': 65 $val *= 1024; 66 } 68 67 69 if ( file_exists ( WPPB_PLUGIN_DIR.'/modules/modules.php' ) ) 70 define( 'PROFILE_BUILDER', 'Profile Builder Pro' ); 71 elseif ( file_exists ( WPPB_PLUGIN_DIR.'/front-end/extra-fields/extra-fields.php' ) ) 72 define( 'PROFILE_BUILDER', 'Profile Builder Hobbyist' ); 73 else 74 define( 'PROFILE_BUILDER', 'Profile Builder Free' ); 68 return $val; 69 } 75 70 76 /** 77 * Initialize the translation for the Plugin. 78 * 79 * @since v.1.0 80 * 81 * @return null 82 */ 83 function wppb_init_translation(){ 84 load_plugin_textdomain( 'profilebuilder', false, basename( dirname( __FILE__ ) ) . '/translation/' ); 85 } 86 add_action( 'init', 'wppb_init_translation', 8); 71 /** 72 * Definitions 73 * 74 * 75 */ 76 define('PROFILE_BUILDER_VERSION', '2.0.6' ); 77 define('WPPB_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname(plugin_basename(__FILE__))); 78 define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__)); 79 define('WPPB_SERVER_MAX_UPLOAD_SIZE_BYTE', apply_filters('wppb_server_max_upload_size_byte_constant', wppb_return_bytes(ini_get('upload_max_filesize')))); 80 define('WPPB_SERVER_MAX_UPLOAD_SIZE_MEGA', apply_filters('wppb_server_max_upload_size_mega_constant', ini_get('upload_max_filesize'))); 81 define('WPPB_SERVER_MAX_POST_SIZE_BYTE', apply_filters('wppb_server_max_post_size_byte_constant', wppb_return_bytes(ini_get('post_max_size')))); 82 define('WPPB_SERVER_MAX_POST_SIZE_MEGA', apply_filters('wppb_server_max_post_size_mega_constant', ini_get('post_max_size'))); 83 define('WPPB_TRANSLATE_DIR', WPPB_PLUGIN_DIR . '/translation'); 84 define('WPPB_TRANSLATE_DOMAIN', 'profilebuilder'); 85 86 /* include notices class */ 87 if (file_exists(WPPB_PLUGIN_DIR . '/assets/lib/class_notices.php')) 88 include_once(WPPB_PLUGIN_DIR . '/assets/lib/class_notices.php'); 89 90 if (file_exists(WPPB_PLUGIN_DIR . '/modules/modules.php')) 91 define('PROFILE_BUILDER', 'Profile Builder Pro'); 92 elseif (file_exists(WPPB_PLUGIN_DIR . '/front-end/extra-fields/extra-fields.php')) 93 define('PROFILE_BUILDER', 'Profile Builder Hobbyist'); 94 else 95 define('PROFILE_BUILDER', 'Profile Builder Free'); 96 97 /** 98 * Initialize the translation for the Plugin. 99 * 100 * @since v.1.0 101 * 102 * @return null 103 */ 104 function wppb_init_translation() 105 { 106 load_plugin_textdomain('profilebuilder', false, basename(dirname(__FILE__)) . '/translation/'); 107 } 108 109 add_action('init', 'wppb_init_translation', 8); 87 110 88 111 89 /**90 * Required files91 *92 *93 */94 include_once( WPPB_PLUGIN_DIR.'/assets/lib/wck-api/wordpress-creation-kit.php');95 include_once( WPPB_PLUGIN_DIR.'/features/upgrades/upgrades.php');96 include_once( WPPB_PLUGIN_DIR.'/features/functions.php');97 include_once( WPPB_PLUGIN_DIR.'/admin/admin-functions.php');98 include_once( WPPB_PLUGIN_DIR.'/admin/basic-info.php');99 include_once( WPPB_PLUGIN_DIR.'/admin/general-settings.php');100 include_once( WPPB_PLUGIN_DIR.'/admin/admin-bar.php');101 include_once( WPPB_PLUGIN_DIR.'/admin/manage-fields.php');102 include_once( WPPB_PLUGIN_DIR.'/features/email-confirmation/email-confirmation.php');103 include_once( WPPB_PLUGIN_DIR.'/features/email-confirmation/class-email-confirmation.php');104 if ( file_exists ( WPPB_PLUGIN_DIR.'/features/admin-approval/admin-approval.php' )) {105 include_once(WPPB_PLUGIN_DIR . '/features/admin-approval/admin-approval.php');106 include_once(WPPB_PLUGIN_DIR . '/features/admin-approval/class-admin-approval.php');107 }108 include_once( WPPB_PLUGIN_DIR.'/features/login-widget/login-widget.php');112 /** 113 * Required files 114 * 115 * 116 */ 117 include_once(WPPB_PLUGIN_DIR . '/assets/lib/wck-api/wordpress-creation-kit.php'); 118 include_once(WPPB_PLUGIN_DIR . '/features/upgrades/upgrades.php'); 119 include_once(WPPB_PLUGIN_DIR . '/features/functions.php'); 120 include_once(WPPB_PLUGIN_DIR . '/admin/admin-functions.php'); 121 include_once(WPPB_PLUGIN_DIR . '/admin/basic-info.php'); 122 include_once(WPPB_PLUGIN_DIR . '/admin/general-settings.php'); 123 include_once(WPPB_PLUGIN_DIR . '/admin/admin-bar.php'); 124 include_once(WPPB_PLUGIN_DIR . '/admin/manage-fields.php'); 125 include_once(WPPB_PLUGIN_DIR . '/features/email-confirmation/email-confirmation.php'); 126 include_once(WPPB_PLUGIN_DIR . '/features/email-confirmation/class-email-confirmation.php'); 127 if (file_exists(WPPB_PLUGIN_DIR . '/features/admin-approval/admin-approval.php')) { 128 include_once(WPPB_PLUGIN_DIR . '/features/admin-approval/admin-approval.php'); 129 include_once(WPPB_PLUGIN_DIR . '/features/admin-approval/class-admin-approval.php'); 130 } 131 include_once(WPPB_PLUGIN_DIR . '/features/login-widget/login-widget.php'); 109 132 110 if ( file_exists ( WPPB_PLUGIN_DIR.'/update/update-checker.php' ) ){111 include_once ( WPPB_PLUGIN_DIR.'/update/update-checker.php');112 include_once ( WPPB_PLUGIN_DIR.'/admin/register-version.php');113 }133 if (file_exists(WPPB_PLUGIN_DIR . '/update/update-checker.php')) { 134 include_once(WPPB_PLUGIN_DIR . '/update/update-checker.php'); 135 include_once(WPPB_PLUGIN_DIR . '/admin/register-version.php'); 136 } 114 137 115 if ( file_exists ( WPPB_PLUGIN_DIR.'/modules/modules.php' ) ){116 include_once ( WPPB_PLUGIN_DIR.'/modules/modules.php');117 include_once ( WPPB_PLUGIN_DIR.'/modules/custom-redirects/custom-redirects.php');118 include_once ( WPPB_PLUGIN_DIR.'/modules/email-customizer/email-customizer.php');119 include_once ( WPPB_PLUGIN_DIR.'/modules/multiple-forms/multiple-forms.php');120 121 $wppb_module_settings = get_option( 'wppb_module_settings');122 if ( isset( $wppb_module_settings['wppb_userListing'] ) && ( $wppb_module_settings['wppb_userListing'] == 'show' ) ){123 include_once ( WPPB_PLUGIN_DIR.'/modules/user-listing/userlisting.php');124 add_shortcode( 'wppb-list-users', 'wppb_user_listing_shortcode');125 }else126 add_shortcode( 'wppb-list-users', 'wppb_list_all_users_display_error');127 128 if ( isset( $wppb_module_settings['wppb_emailCustomizerAdmin'] ) && ( $wppb_module_settings['wppb_emailCustomizerAdmin'] == 'show' ))129 include_once ( WPPB_PLUGIN_DIR.'/modules/email-customizer/admin-email-customizer.php');130 131 if ( isset( $wppb_module_settings['wppb_emailCustomizer'] ) && ( $wppb_module_settings['wppb_emailCustomizer'] == 'show' ))132 include_once ( WPPB_PLUGIN_DIR.'/modules/email-customizer/user-email-customizer.php');133 }138 if (file_exists(WPPB_PLUGIN_DIR . '/modules/modules.php')) { 139 include_once(WPPB_PLUGIN_DIR . '/modules/modules.php'); 140 include_once(WPPB_PLUGIN_DIR . '/modules/custom-redirects/custom-redirects.php'); 141 include_once(WPPB_PLUGIN_DIR . '/modules/email-customizer/email-customizer.php'); 142 include_once(WPPB_PLUGIN_DIR . '/modules/multiple-forms/multiple-forms.php'); 143 144 $wppb_module_settings = get_option('wppb_module_settings'); 145 if (isset($wppb_module_settings['wppb_userListing']) && ($wppb_module_settings['wppb_userListing'] == 'show')) { 146 include_once(WPPB_PLUGIN_DIR . '/modules/user-listing/userlisting.php'); 147 add_shortcode('wppb-list-users', 'wppb_user_listing_shortcode'); 148 } else 149 add_shortcode('wppb-list-users', 'wppb_list_all_users_display_error'); 150 151 if (isset($wppb_module_settings['wppb_emailCustomizerAdmin']) && ($wppb_module_settings['wppb_emailCustomizerAdmin'] == 'show')) 152 include_once(WPPB_PLUGIN_DIR . '/modules/email-customizer/admin-email-customizer.php'); 153 154 if (isset($wppb_module_settings['wppb_emailCustomizer']) && ($wppb_module_settings['wppb_emailCustomizer'] == 'show')) 155 include_once(WPPB_PLUGIN_DIR . '/modules/email-customizer/user-email-customizer.php'); 156 } 134 157 135 158 136 /**137 * Check for updates138 *139 *140 */141 if ( file_exists ( WPPB_PLUGIN_DIR.'/update/update-checker.php' ) ){ 142 if ( file_exists ( WPPB_PLUGIN_DIR.'/modules/modules.php' ) ){143 $localSerial = get_option( 'wppb_profile_builder_pro_serial');144 $wppb_update = new wppb_PluginUpdateChecker( 'http://updatemetadata.cozmoslabs.com/?localSerialNumber='.$localSerial.'&uniqueproduct=CLPBP', __FILE__, 'profile-builder-pro-update');145 146 }else{147 $localSerial = get_option( 'wppb_profile_builder_hobbyist_serial');148 $wppb_update = new wppb_PluginUpdateChecker( 'http://updatemetadata.cozmoslabs.com/?localSerialNumber='.$localSerial.'&uniqueproduct=CLPBH', __FILE__, 'profile-builder-hobbyist-update');149 }150 }159 /** 160 * Check for updates 161 * 162 * 163 */ 164 if (file_exists(WPPB_PLUGIN_DIR . '/update/update-checker.php')) { 165 if (file_exists(WPPB_PLUGIN_DIR . '/modules/modules.php')) { 166 $localSerial = get_option('wppb_profile_builder_pro_serial'); 167 $wppb_update = new wppb_PluginUpdateChecker('http://updatemetadata.cozmoslabs.com/?localSerialNumber=' . $localSerial . '&uniqueproduct=CLPBP', __FILE__, 'profile-builder-pro-update'); 168 169 } else { 170 $localSerial = get_option('wppb_profile_builder_hobbyist_serial'); 171 $wppb_update = new wppb_PluginUpdateChecker('http://updatemetadata.cozmoslabs.com/?localSerialNumber=' . $localSerial . '&uniqueproduct=CLPBH', __FILE__, 'profile-builder-hobbyist-update'); 172 } 173 } 151 174 152 175 153 176 // these settings are important, so besides running them on page load, we also need to do a check on plugin activation 154 register_activation_hook( __FILE__, 'wppb_generate_default_settings_defaults' );//prepoulate general settings155 register_activation_hook( __FILE__, 'wppb_prepopulate_fields' );//prepopulate manage fields list177 register_activation_hook(__FILE__, 'wppb_generate_default_settings_defaults'); //prepoulate general settings 178 register_activation_hook(__FILE__, 'wppb_prepopulate_fields'); //prepopulate manage fields list 156 179 180 } 181 } //end wppb_plugin_init 182 add_action( 'plugins_loaded', 'wppb_plugin_init' ); -
profile-builder/tags/2.0.6/readme.txt
r1020987 r1027324 3 3 Contributors: reflectionmedia, barinagabriel, sareiodata, cozmoslabs, adispiac, madalin.ungureanu 4 4 Donate link: http://www.cozmoslabs.com/wordpress-profile-builder/ 5 Tags: registration, user profile, user registration, custom field registration, customize profile, user fields, extra user fields, builder, profile builder, custom user profile, user profile page, edit profile, custom registration, custom registration form, custom registration page, registration page, user custom fields, user listing, front-end user listing, user login, user registration form, front-end login, front-end register, front-end registration, front-end edit profile, front-end user registration, custom redirects, user email, avatar upload, email confirmation, user approval, customize registration email, minimum password length, minimum password strength, password strength meter, multiple registration forms5 Tags: registration, user profile, user registration, custom field registration, customize profile, user fields, extra user fields, builder, profile builder, custom user profile, user profile page, edit profile, custom registration, custom registration form, custom registration page, registration page, user custom fields, user listing, front-end user listing, user login, user registration form, front-end login, login redirect, login widget, front-end register, front-end registration, front-end edit profile, front-end user registration, custom redirects, user email, avatar upload, email confirmation, user approval, customize registration email, minimum password length, minimum password strength, password strength meter, multiple registration forms 6 6 7 7 Requires at least: 3.1 8 8 Tested up to: 4.0 9 Stable tag: 2.0. 59 Stable tag: 2.0.6 10 10 11 11 Simple to use profile plugin allowing front-end login, user registration and edit profile by using shortcodes. … … 20 20 21 21 To achieve this, simply create a new page and give it an intuitive name(i.e. Edit Profile). 22 Now all you need to do is add the following shortcode (for the previous example): [wppb-edit-profile].22 Now all you need to do is add the following shortcode: [wppb-edit-profile]. 23 23 Publish the page and you are done! 24 24 … … 37 37 * allow users to **Log-in with their Username or Email** 38 38 * enforce a **minimum password length** and **minimum password strength** (using the default WordPress password strength meter) 39 * assign users a specific role at registration (using [wppb-register role="desired_role"] shortcode ) 39 * assign users a specific role at registration (using **[wppb-register role="desired_role"]** shortcode argument) 40 * redirect users after login (using **[wppb-login redirect="www.example.com"]** shortcode argument) 41 * add register and lost password links below the login form (using **[wppb-login register_url="www.example.com" lostpassword_url="www.example.com"]** shortcode arguments) 42 * customizable login widget 40 43 * add a custom stylesheet/inherit values from the current theme or use the default one built into this plugin. 41 44 * chose which user roles view the admin bar in the front-end of the website (Admin Bar Settings page). … … 44 47 **PROFILE BUILDER PRO** 45 48 46 The [Pro version](http://www.cozmoslabs.com/wordpress-profile-builder/ ) has the following extra features:49 The [Pro version](http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wp.org&utm_medium=plugin-description-page&utm_campaign=PBFree) has the following extra features: 47 50 48 51 * Create Extra User Fields (Heading, Input, Hidden-Input, Checkbox, Agree to Terms Checkbox, Radio Buttons, DatePicker, Textareas, reCAPTCHA, Upload fields, Selects, Country Selects, Timezone selects, Avatar Upload) … … 60 63 * 1 Year of Updates / Priority Support 61 64 62 [Click here to find out more](http://www.cozmoslabs.com/wordpress-profile-builder/) or watch the video below: 63 64 [youtube http://www.youtube.com/watch?v=Uv8piGapOoA] 65 [Find out more about Profile Builder PRO](http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wp.org&utm_medium=plugin-description-page&utm_campaign=PBFree) 65 66 66 67 NOTE: … … 101 102 8. Edit User Profile Page 102 103 9. Recover Password Page 104 10. Profile Builder Login Widget 103 105 104 106 == Changelog == 107 = 2.0.6 = 108 * Fixed a bug with checkbox field that didn't pass the required if the value of the checkbox contained spaces 109 * When email confirmation is enabled we no longer can send the selected password via email because we now store the hased password inside wp-signups table and not a encoded version of it. This was done to improve security 110 * Fixed problem that was causing "Insert into post" image button not to work 111 * Fixed Fatal error when having both Free and Premium versions activated. 112 * Removing the meta name for extra fields is no longer possible 113 * Added translation files 114 115 105 116 = 2.0.5 = 106 117 * Added notification to enable user registration via Profile Builder (Anyone can register checkbox). -
profile-builder/tags/2.0.6/translation/profilebuilder.pot
r1020987 r1027324 2 2 msgstr "" 3 3 "Project-Id-Version: profilebuilder\n" 4 "POT-Creation-Date: 2014-1 0-30 16:33+0200\n"5 "PO-Revision-Date: 2014-1 0-30 16:34+0200\n"4 "POT-Creation-Date: 2014-11-17 15:27+0200\n" 5 "PO-Revision-Date: 2014-11-17 15:28+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: Cozmoslabs\n" … … 14 14 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 15 15 "X-Poedit-KeywordsList: __;_e;_x;_n\n" 16 "X-Poedit-SourceCharset: UTF-8\n" 16 17 "X-Poedit-SearchPath-0: ..\n" 17 18 … … 125 126 msgstr "" 126 127 127 #: ../admin/basic-info.php:36 ../features/login-widget/login-widget.php: 75128 #: ../admin/basic-info.php:36 ../features/login-widget/login-widget.php:59 128 129 msgid "Login" 129 130 msgstr "" … … 384 385 #: ../modules/multiple-forms/register-forms.php:229 385 386 #: ../modules/multiple-forms/register-forms.php:230 386 #: ../modules/user-listing/userlisting.php:115 0387 #: ../modules/user-listing/userlisting.php:1157 387 388 msgid "Yes" 388 389 msgstr "" … … 471 472 #: ../modules/user-listing/userlisting.php:94 472 473 #: ../modules/user-listing/userlisting.php:516 473 #: ../modules/user-listing/userlisting.php:11 07474 #: ../modules/user-listing/userlisting.php:1114 474 475 msgid "Username" 475 476 msgstr "" 476 477 477 #: ../admin/general-settings.php:145 ../front-end/login.php:1 34478 #: ../admin/general-settings.php:145 ../front-end/login.php:144 478 479 #: ../modules/email-customizer/email-customizer.php:29 479 480 #: ../modules/user-listing/userlisting.php:522 480 #: ../modules/user-listing/userlisting.php:11 08481 #: ../modules/user-listing/userlisting.php:1115 481 482 msgid "Email" 482 483 msgstr "" … … 738 739 msgstr "" 739 740 740 #: ../admin/manage-fields.php:136 741 #: ../admin/manage-fields.php:136 ../modules/user-listing/userlisting.php:555 741 742 msgid "Nickname" 742 743 msgstr "" … … 761 762 #: ../modules/user-listing/userlisting.php:103 762 763 #: ../modules/user-listing/userlisting.php:537 763 #: ../modules/user-listing/userlisting.php:11 09764 #: ../modules/user-listing/userlisting.php:1116 764 765 msgid "Website" 765 766 msgstr "" … … 783 784 #: ../admin/manage-fields.php:150 ../modules/user-listing/userlisting.php:106 784 785 #: ../modules/user-listing/userlisting.php:540 785 #: ../modules/user-listing/userlisting.php:111 0786 #: ../modules/user-listing/userlisting.php:1117 786 787 msgid "Biographical Info" 787 788 msgstr "" … … 810 811 msgstr "" 811 812 812 #: ../admin/manage-fields.php: 279 ../admin/manage-fields.php:406813 #: ../admin/manage-fields.php:308 ../admin/manage-fields.php:444 813 814 msgid "You must select a field\n" 814 815 msgstr "" 815 816 816 #: ../admin/manage-fields.php: 289817 #: ../admin/manage-fields.php:318 817 818 msgid "" 818 819 "Please choose a different field type as this one already exists in your form " … … 820 821 msgstr "" 821 822 822 #: ../admin/manage-fields.php:3 00823 #: ../admin/manage-fields.php:329 823 824 msgid "The entered avatar size is not between 20 and 200\n" 824 825 msgstr "" 825 826 826 #: ../admin/manage-fields.php:3 03827 #: ../admin/manage-fields.php:332 827 828 msgid "The entered avatar size is not numerical\n" 828 829 msgstr "" 829 830 830 #: ../admin/manage-fields.php:3 11831 #: ../admin/manage-fields.php:340 831 832 msgid "The entered row number is not numerical\n" 832 833 msgstr "" 833 834 834 #: ../admin/manage-fields.php:3 14835 #: ../admin/manage-fields.php:343 835 836 msgid "You must enter a value for the row number\n" 836 837 msgstr "" 837 838 838 #: ../admin/manage-fields.php:3 22839 #: ../admin/manage-fields.php:351 839 840 msgid "You must enter the public key\n" 840 841 msgstr "" 841 842 842 #: ../admin/manage-fields.php:3 24843 #: ../admin/manage-fields.php:353 843 844 msgid "You must enter the private key\n" 844 845 msgstr "" 845 846 846 #: ../admin/manage-fields.php:3 32847 #: ../admin/manage-fields.php:361 847 848 msgid "The entered value for the Datepicker is not a valid date-format\n" 848 849 msgstr "" 849 850 850 #: ../admin/manage-fields.php:3 35851 #: ../admin/manage-fields.php:364 851 852 msgid "You must enter a value for the date-format\n" 852 853 msgstr "" 853 854 854 #: ../admin/manage-fields.php:356 ../admin/manage-fields.php:364 855 #: ../admin/manage-fields.php:374 855 #: ../admin/manage-fields.php:380 856 msgid "The meta-name cannot be empty\n" 857 msgstr "" 858 859 #: ../admin/manage-fields.php:392 ../admin/manage-fields.php:400 860 #: ../admin/manage-fields.php:410 856 861 msgid "That meta-name is already in use\n" 857 862 msgstr "" 858 863 859 #: ../admin/manage-fields.php: 396864 #: ../admin/manage-fields.php:432 860 865 #, php-format 861 866 msgid "" … … 864 869 msgstr "" 865 870 866 #: ../admin/manage-fields.php:4 00871 #: ../admin/manage-fields.php:436 867 872 #, php-format 868 873 msgid "" … … 870 875 msgstr "" 871 876 872 #: ../admin/manage-fields.php:4 13877 #: ../admin/manage-fields.php:451 873 878 msgid "That field is already added in this form\n" 874 879 msgstr "" 875 880 876 #: ../admin/manage-fields.php: 462881 #: ../admin/manage-fields.php:500 877 882 msgid "" 878 883 "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-" … … 880 885 msgstr "" 881 886 882 #: ../admin/manage-fields.php:462 883 #: ../assets/lib/wck-api/wordpress-creation-kit.php:416 887 #: ../admin/manage-fields.php:500 888 #: ../assets/lib/wck-api/wordpress-creation-kit.php:415 889 #: ../assets/lib/wck-api/wordpress-creation-kit.php:501 890 #: ../features/functions.php:590 ../features/functions.php:597 891 #: ../modules/multiple-forms/multiple-forms.php:407 892 msgid "Edit" 893 msgstr "" 894 895 #: ../admin/manage-fields.php:500 896 #: ../assets/lib/wck-api/wordpress-creation-kit.php:415 884 897 #: ../assets/lib/wck-api/wordpress-creation-kit.php:502 885 #: ../features/functions.php:590 ../features/functions.php:597886 #: ../modules/multiple-forms/edit-profile-forms.php:267887 msgid "Edit"888 msgstr ""889 890 #: ../admin/manage-fields.php:462891 #: ../assets/lib/wck-api/wordpress-creation-kit.php:416892 #: ../assets/lib/wck-api/wordpress-creation-kit.php:503893 898 #: ../features/admin-approval/class-admin-approval.php:124 894 899 #: ../features/admin-approval/class-admin-approval.php:235 … … 896 901 #: ../features/email-confirmation/class-email-confirmation.php:202 897 902 #: ../features/functions.php:583 ../features/functions.php:597 898 #: ../modules/multiple-forms/edit-profile-forms.php:267899 903 msgid "Delete" 900 904 msgstr "" 901 905 902 #: ../admin/manage-fields.php: 477906 #: ../admin/manage-fields.php:515 903 907 msgid "Use these shortcodes on the pages you want the forms to be displayed:" 904 908 msgstr "" 905 909 906 #: ../admin/manage-fields.php: 483910 #: ../admin/manage-fields.php:521 907 911 msgid "" 908 912 "If you're interested in displaying different fields in the registration and " … … 958 962 msgstr "" 959 963 960 #: ../admin/register-version.php:21 6964 #: ../admin/register-version.php:219 961 965 #, php-format 962 966 msgid "" 963 967 "<p>Your <strong>Profile Builder</strong> serial number is invalid or " 964 "missing. <br/>Please %1$sregister your copy%2$s of Profile Builder to " 965 "receive access to automatic updates and support. Need a license key? " 966 "%3$sPurchase one now%4$s</p>" 967 msgstr "" 968 969 #: ../admin/register-version.php:219 970 #, php-format 971 msgid "" 972 "<p>Your <strong>Profile Builder</strong> licence has expired. <br/>Please " 973 "%1$sRenew Your Licence%2$s to receive access to automatic updates and " 974 "support. %3$sPurchase one now%4$s %5$sDismiss%6$s</p>" 975 msgstr "" 976 977 #: ../admin/register-version.php:224 978 #, php-format 979 msgid "" 980 "<p>Your <strong>Profile Builder</strong> serial number is about to expire on " 981 "%5$s. <br/>Please %1$sRenew Your Licence%2$s to receive access to automatic " 982 "updates and support. %3$sPurchase one now%4$s</p>" 968 "missing. <br/>Please %1$sregister your copy%2$s to receive access to " 969 "automatic updates and support. Need a license key? %3$sPurchase one now%4$s</" 970 "p>" 971 msgstr "" 972 973 #: ../admin/register-version.php:222 974 #, php-format 975 msgid "" 976 "<p>Your <strong>Profile Builder</strong> license has expired. <br/>Please " 977 "%1$sRenew Your Licence%2$s to continue receiving access to product " 978 "downloads, automatic updates and support. %3$sRenew now and get 50% off " 979 "%4$s %5$sDismiss%6$s</p>" 980 msgstr "" 981 982 #: ../admin/register-version.php:227 983 #, php-format 984 msgid "" 985 "<p>Your <strong>Profile Builder</strong> license is about to expire on %5$s. " 986 "<br/>Please %1$sRenew Your Licence%2$s to continue receiving access to " 987 "product downloads, automatic updates and support. %3$sRenew now and get " 988 "50% off %4$s %6$sDismiss%7$s</p>" 983 989 msgstr "" 984 990 … … 1004 1010 msgstr "" 1005 1011 1006 #: ../assets/lib/wck-api/wordpress-creation-kit.php:41 61012 #: ../assets/lib/wck-api/wordpress-creation-kit.php:415 1007 1013 #: ../features/functions.php:597 1008 1014 msgid "Content" 1009 1015 msgstr "" 1010 1016 1017 #: ../assets/lib/wck-api/wordpress-creation-kit.php:501 1018 msgid "Edit this item" 1019 msgstr "" 1020 1011 1021 #: ../assets/lib/wck-api/wordpress-creation-kit.php:502 1012 msgid "Edit this item"1013 msgstr ""1014 1015 #: ../assets/lib/wck-api/wordpress-creation-kit.php:5031016 1022 msgid "Delete this item" 1017 1023 msgstr "" 1018 1024 1019 #: ../assets/lib/wck-api/wordpress-creation-kit.php:64 41025 #: ../assets/lib/wck-api/wordpress-creation-kit.php:643 1020 1026 msgid "Please enter a value for the required field " 1021 1027 msgstr "" 1022 1028 1023 #: ../assets/lib/wck-api/wordpress-creation-kit.php:10 091029 #: ../assets/lib/wck-api/wordpress-creation-kit.php:1010 1024 1030 msgid "Select File" 1025 1031 msgstr "" … … 1151 1157 #: ../features/admin-approval/class-admin-approval.php:178 1152 1158 #: ../modules/user-listing/userlisting.php:528 1153 #: ../modules/user-listing/userlisting.php:111 21159 #: ../modules/user-listing/userlisting.php:1119 1154 1160 msgid "Firstname" 1155 1161 msgstr "" … … 1157 1163 #: ../features/admin-approval/class-admin-approval.php:179 1158 1164 #: ../modules/user-listing/userlisting.php:531 1159 #: ../modules/user-listing/userlisting.php:11 131165 #: ../modules/user-listing/userlisting.php:1120 1160 1166 msgid "Lastname" 1161 1167 msgstr "" … … 1323 1329 msgstr "" 1324 1330 1325 #: ../features/email-confirmation/email-confirmation.php:38 71326 #: ../front-end/register.php:6 71331 #: ../features/email-confirmation/email-confirmation.php:388 1332 #: ../front-end/register.php:68 1327 1333 msgid "Could not create user!" 1328 1334 msgstr "" 1329 1335 1330 #: ../features/email-confirmation/email-confirmation.php:39 01336 #: ../features/email-confirmation/email-confirmation.php:391 1331 1337 msgid "That username is already activated!" 1332 1338 msgstr "" 1333 1339 1334 #: ../features/email-confirmation/email-confirmation.php:4 101340 #: ../features/email-confirmation/email-confirmation.php:420 1335 1341 msgid "There was an error while trying to activate the user" 1336 1342 msgstr "" 1337 1343 1338 #: ../features/email-confirmation/email-confirmation.php:4 481344 #: ../features/email-confirmation/email-confirmation.php:458 1339 1345 #: ../modules/email-customizer/admin-email-customizer.php:73 1340 1346 msgid "A new subscriber has (been) registered!" 1341 1347 msgstr "" 1342 1348 1343 #: ../features/email-confirmation/email-confirmation.php:4 511349 #: ../features/email-confirmation/email-confirmation.php:461 1344 1350 #, php-format 1345 1351 msgid "New subscriber on %1$s.<br/><br/>Username:%2$s<br/>E-mail:%3$s<br/>" 1346 1352 msgstr "" 1347 1353 1348 #: ../features/email-confirmation/email-confirmation.php:4 561354 #: ../features/email-confirmation/email-confirmation.php:466 1349 1355 msgid "" 1350 1356 "The \"Admin Approval\" feature was activated at the time of registration, so " … … 1352 1358 msgstr "" 1353 1359 1354 #: ../features/email-confirmation/email-confirmation.php:4 711360 #: ../features/email-confirmation/email-confirmation.php:481 1355 1361 #, php-format 1356 1362 msgid "[%1$s] Your new account information" 1357 1363 msgstr "" 1358 1364 1359 #: ../features/email-confirmation/email-confirmation.php:4 741365 #: ../features/email-confirmation/email-confirmation.php:484 1360 1366 #, php-format 1361 1367 msgid "Welcome to %1$s!<br/><br/><br/>Your username is:%2$s and password:%3$s" 1362 1368 msgstr "" 1363 1369 1364 #: ../features/email-confirmation/email-confirmation.php:4 791365 #: ../front-end/register.php: 931370 #: ../features/email-confirmation/email-confirmation.php:489 1371 #: ../front-end/register.php:103 1366 1372 msgid "" 1367 1373 "Before you can access your account, an administrator needs to approve it. " … … 1393 1399 msgstr "" 1394 1400 1401 #: ../features/functions.php:556 1402 msgid "This field is required" 1403 msgstr "" 1404 1395 1405 #: ../features/functions.php:576 1396 1406 msgid "Cancel" 1397 1407 msgstr "" 1398 1408 1409 #: ../features/functions.php:607 1410 #, php-format 1411 msgid "" 1412 "To allow users to register for your website via Profile Builder, you first " 1413 "must enable user registration. Go to %1$sSettings -> General%2$s tab, and " 1414 "under Membership make sure to check “Anyone can register”. %3$sDismiss%4$s" 1415 msgstr "" 1416 1399 1417 #: ../features/login-widget/login-widget.php:10 1400 1418 msgid "This login widget lets you add a login form in the sidebar." … … 1405 1423 msgstr "" 1406 1424 1407 #: ../features/login-widget/login-widget.php:40 1408 #: ../front-end/class-formbuilder.php:274 1409 msgid "Register" 1410 msgstr "" 1411 1412 #: ../features/login-widget/login-widget.php:41 1413 msgid "Don't have an account?" 1414 msgstr "" 1415 1416 #: ../features/login-widget/login-widget.php:46 1417 msgid "Lost Password" 1418 msgstr "" 1419 1420 #: ../features/login-widget/login-widget.php:46 1421 msgid "Lost Your Password?" 1422 msgstr "" 1423 1424 #: ../features/login-widget/login-widget.php:79 1425 #: ../features/login-widget/login-widget.php:63 1425 1426 msgid "Title:" 1426 1427 msgstr "" 1427 1428 1428 #: ../features/login-widget/login-widget.php: 841429 #: ../features/login-widget/login-widget.php:68 1429 1430 msgid "After login redirect URL (optional):" 1430 1431 msgstr "" 1431 1432 1432 #: ../features/login-widget/login-widget.php: 891433 #: ../features/login-widget/login-widget.php:73 1433 1434 msgid "Register page URL (optional):" 1434 1435 msgstr "" 1435 1436 1436 #: ../features/login-widget/login-widget.php: 941437 #: ../features/login-widget/login-widget.php:78 1437 1438 msgid "Password Recovery page URL (optional):" 1438 1439 msgstr "" … … 1515 1516 #: ../front-end/class-formbuilder.php:274 1516 1517 msgid "Add User" 1518 msgstr "" 1519 1520 #: ../front-end/class-formbuilder.php:274 ../front-end/login.php:172 1521 msgid "Register" 1517 1522 msgstr "" 1518 1523 … … 1689 1694 msgstr "" 1690 1695 1691 #: ../front-end/extra-fields/extra-fields.php:94 ../front-end/login.php: 631692 #: ../front-end/login.php:7 0 ../front-end/login.php:801696 #: ../front-end/extra-fields/extra-fields.php:94 ../front-end/login.php:72 1697 #: ../front-end/login.php:79 ../front-end/login.php:89 1693 1698 #: ../front-end/recover.php:17 ../front-end/recover.php:206 1694 1699 msgid "ERROR" … … 1778 1783 msgstr "" 1779 1784 1780 #: ../front-end/login.php: 631785 #: ../front-end/login.php:72 1781 1786 msgid "The password you entered is incorrect." 1782 1787 msgstr "" 1783 1788 1784 #: ../front-end/login.php: 64 ../front-end/login.php:711789 #: ../front-end/login.php:73 ../front-end/login.php:80 1785 1790 msgid "Password Lost and Found." 1786 1791 msgstr "" 1787 1792 1788 #: ../front-end/login.php: 64 ../front-end/login.php:711793 #: ../front-end/login.php:73 ../front-end/login.php:80 1789 1794 msgid "Lost your password" 1790 1795 msgstr "" 1791 1796 1792 #: ../front-end/login.php:7 01797 #: ../front-end/login.php:79 1793 1798 msgid "Invalid username." 1794 1799 msgstr "" 1795 1800 1796 #: ../front-end/login.php: 751801 #: ../front-end/login.php:84 1797 1802 msgid "username" 1798 1803 msgstr "" 1799 1804 1800 #: ../front-end/login.php: 751805 #: ../front-end/login.php:84 1801 1806 msgid "email" 1802 1807 msgstr "" 1803 1808 1804 #: ../front-end/login.php:8 01809 #: ../front-end/login.php:89 1805 1810 msgid "Both fields are empty." 1806 1811 msgstr "" 1807 1812 1808 #: ../front-end/login.php:173 1813 #: ../front-end/login.php:178 1814 msgid "Lost your password?" 1815 msgstr "" 1816 1817 #: ../front-end/login.php:199 1809 1818 #, php-format 1810 1819 msgid "You are currently logged in as %1$s. %2$s" 1811 1820 msgstr "" 1812 1821 1813 #: ../front-end/login.php:1 731822 #: ../front-end/login.php:199 1814 1823 msgid "Log out of this account" 1815 1824 msgstr "" 1816 1825 1817 #: ../front-end/login.php:1 731826 #: ../front-end/login.php:199 1818 1827 msgid "Log out" 1819 1828 msgstr "" … … 1924 1933 msgstr "" 1925 1934 1926 #: ../front-end/register.php:7 01935 #: ../front-end/register.php:71 1927 1936 msgid "This username is already activated!" 1928 1937 msgstr "" 1929 1938 1930 #: ../front-end/register.php: 921939 #: ../front-end/register.php:102 1931 1940 msgid "Your email was successfully confirmed." 1932 1941 msgstr "" 1933 1942 1934 #: ../front-end/register.php:1 021943 #: ../front-end/register.php:112 1935 1944 msgid "There was an error while trying to activate the user." 1936 1945 msgstr "" 1937 1946 1938 #: ../index.php:159 1939 #, php-format 1940 msgid "" 1941 "<p style=\"position:relative;\">Halloween treat: 30% OFF on all Profile " 1942 "Builder purchases 29 - 30 -31 October over at %1$swww.cozmslabs.com%2$s Get " 1943 "your discount code! %3$sDismiss%4$s</p>" 1944 msgstr "" 1945 1946 #: ../modules/class-mustache-templates/class-mustache-templates.php:239 1947 #: ../index.php:34 1948 msgid "" 1949 " is also activated. You need to deactivate it before activating this version " 1950 "of the plugin." 1951 msgstr "" 1952 1953 #: ../modules/class-mustache-templates/class-mustache-templates.php:242 1947 1954 msgid "Save" 1948 1955 msgstr "" … … 2049 2056 2050 2057 #: ../modules/email-customizer/admin-email-customizer.php:38 2051 #: ../modules/email-customizer/user-email-customizer.php:382052 2058 msgid "" 2053 2059 "These settings are also replicated in the \"User Email Customizer\" settings-" 2054 2060 "page upon save." 2061 msgstr "" 2062 2063 #: ../modules/email-customizer/admin-email-customizer.php:38 2064 #: ../modules/email-customizer/user-email-customizer.php:38 2065 msgid "Valid tags {{reply_to}} and {{site_name}}" 2055 2066 msgstr "" 2056 2067 … … 2063 2074 #: ../modules/email-customizer/user-email-customizer.php:49 2064 2075 msgid "From (reply-to email)" 2076 msgstr "" 2077 2078 #: ../modules/email-customizer/admin-email-customizer.php:54 2079 #: ../modules/email-customizer/user-email-customizer.php:54 2080 msgid "" 2081 "Must be a valid email address or the tag {{reply_to}} which defaults to the " 2082 "administrator email" 2065 2083 msgstr "" 2066 2084 … … 2145 2163 msgstr "" 2146 2164 2165 #: ../modules/email-customizer/email-customizer.php:265 2166 #: ../modules/email-customizer/email-customizer.php:272 2167 msgid "Your selected password at signup" 2168 msgstr "" 2169 2147 2170 #: ../modules/email-customizer/user-email-customizer.php:11 2148 2171 #: ../modules/email-customizer/user-email-customizer.php:12 2149 2172 #: ../modules/modules.php:125 2150 2173 msgid "User Email Customizer" 2174 msgstr "" 2175 2176 #: ../modules/email-customizer/user-email-customizer.php:38 2177 msgid "" 2178 "These settings are also replicated in the \"Admin Email Customizer\" " 2179 "settings-page upon save." 2151 2180 msgstr "" 2152 2181 … … 2287 2316 #: ../modules/multiple-forms/edit-profile-forms.php:135 2288 2317 #: ../modules/multiple-forms/register-forms.php:138 2289 #: ../modules/user-listing/userlisting.php:102 22318 #: ../modules/user-listing/userlisting.php:1029 2290 2319 msgid "Shortcode" 2291 2320 msgstr "" … … 2293 2322 #: ../modules/multiple-forms/edit-profile-forms.php:155 2294 2323 #: ../modules/multiple-forms/register-forms.php:159 2295 #: ../modules/user-listing/userlisting.php:10 432324 #: ../modules/user-listing/userlisting.php:1050 2296 2325 msgid "(no title)" 2297 2326 msgstr "" … … 2299 2328 #: ../modules/multiple-forms/edit-profile-forms.php:175 2300 2329 #: ../modules/multiple-forms/register-forms.php:178 2301 #: ../modules/user-listing/userlisting.php:10 632330 #: ../modules/user-listing/userlisting.php:1070 2302 2331 msgid "The shortcode will be available after you publish this form." 2303 2332 msgstr "" … … 2305 2334 #: ../modules/multiple-forms/edit-profile-forms.php:177 2306 2335 #: ../modules/multiple-forms/register-forms.php:180 2307 #: ../modules/user-listing/userlisting.php:10 652336 #: ../modules/user-listing/userlisting.php:1072 2308 2337 msgid "Use this shortcode on the page you want the form to be displayed:" 2309 2338 msgstr "" … … 2311 2340 #: ../modules/multiple-forms/edit-profile-forms.php:181 2312 2341 #: ../modules/multiple-forms/register-forms.php:184 2313 #: ../modules/user-listing/userlisting.php:10 692342 #: ../modules/user-listing/userlisting.php:1076 2314 2343 msgid "" 2315 2344 "<span style=\"color:red;\">Note:</span> changing the form title also changes " … … 2319 2348 #: ../modules/multiple-forms/edit-profile-forms.php:187 2320 2349 #: ../modules/multiple-forms/register-forms.php:190 2321 #: ../modules/user-listing/userlisting.php:10 832350 #: ../modules/user-listing/userlisting.php:1090 2322 2351 msgid "Form Shortcode" 2323 2352 msgstr "" … … 2358 2387 msgstr "" 2359 2388 2360 #: ../modules/multiple-forms/edit-profile-forms.php:2 672361 msgid " <pre>Title (Type)</pre>"2389 #: ../modules/multiple-forms/edit-profile-forms.php:272 2390 msgid "This form is empty." 2362 2391 msgstr "" 2363 2392 2364 2393 #: ../modules/multiple-forms/multiple-forms.php:233 2365 2394 msgid "You need to specify the title of the form before creating it" 2395 msgstr "" 2396 2397 #: ../modules/multiple-forms/multiple-forms.php:407 2398 msgid "<pre>Title (Type)</pre>" 2399 msgstr "" 2400 2401 #: ../modules/multiple-forms/multiple-forms.php:407 2402 msgid "Delete all items" 2403 msgstr "" 2404 2405 #: ../modules/multiple-forms/multiple-forms.php:407 2406 msgid "Delete all" 2366 2407 msgstr "" 2367 2408 … … 2444 2485 msgstr "" 2445 2486 2446 #: ../modules/user-listing/class-userlisting.php:45 42447 #: ../modules/user-listing/userlisting.php:62 12448 #: ../modules/user-listing/userlisting.php:8 352449 #: ../modules/user-listing/userlisting.php:8 782450 #: ../modules/user-listing/userlisting.php:120 22487 #: ../modules/user-listing/class-userlisting.php:458 2488 #: ../modules/user-listing/userlisting.php:624 2489 #: ../modules/user-listing/userlisting.php:842 2490 #: ../modules/user-listing/userlisting.php:885 2491 #: ../modules/user-listing/userlisting.php:1209 2451 2492 msgid "Search Users by All Fields" 2452 2493 msgstr "" … … 2489 2530 2490 2531 #: ../modules/user-listing/userlisting.php:118 2491 #: ../modules/user-listing/userlisting.php:111 12532 #: ../modules/user-listing/userlisting.php:1118 2492 2533 msgid "Registration Date" 2493 2534 msgstr "" 2494 2535 2495 2536 #: ../modules/user-listing/userlisting.php:119 2496 #: ../modules/user-listing/userlisting.php:11 152537 #: ../modules/user-listing/userlisting.php:1122 2497 2538 msgid "Number of Posts" 2498 2539 msgstr "" … … 2560 2601 2561 2602 #: ../modules/user-listing/userlisting.php:534 2562 #: ../modules/user-listing/userlisting.php:11 142603 #: ../modules/user-listing/userlisting.php:1121 2563 2604 msgid "Display Name" 2564 2605 msgstr "" … … 2569 2610 2570 2611 #: ../modules/user-listing/userlisting.php:546 2571 #: ../modules/user-listing/userlisting.php:11 192612 #: ../modules/user-listing/userlisting.php:1126 2572 2613 msgid "Aim" 2573 2614 msgstr "" 2574 2615 2575 2616 #: ../modules/user-listing/userlisting.php:549 2576 #: ../modules/user-listing/userlisting.php:112 02617 #: ../modules/user-listing/userlisting.php:1127 2577 2618 msgid "Yim" 2578 2619 msgstr "" 2579 2620 2580 2621 #: ../modules/user-listing/userlisting.php:552 2581 #: ../modules/user-listing/userlisting.php:112 12622 #: ../modules/user-listing/userlisting.php:1128 2582 2623 msgid "Jabber" 2583 2624 msgstr "" 2584 2625 2585 #: ../modules/user-listing/userlisting.php: 6982626 #: ../modules/user-listing/userlisting.php:701 2586 2627 msgid "Click here to see more information about this user" 2587 2628 msgstr "" 2588 2629 2589 #: ../modules/user-listing/userlisting.php: 6982630 #: ../modules/user-listing/userlisting.php:701 2590 2631 msgid "More..." 2591 2632 msgstr "" 2592 2633 2593 #: ../modules/user-listing/userlisting.php:70 12634 #: ../modules/user-listing/userlisting.php:704 2594 2635 msgid "Click here to see more information about this user." 2595 2636 msgstr "" 2596 2637 2597 #: ../modules/user-listing/userlisting.php:7 892598 #: ../modules/user-listing/userlisting.php:79 22638 #: ../modules/user-listing/userlisting.php:796 2639 #: ../modules/user-listing/userlisting.php:799 2599 2640 msgid "Click here to go back" 2600 2641 msgstr "" 2601 2642 2602 #: ../modules/user-listing/userlisting.php:7 892643 #: ../modules/user-listing/userlisting.php:796 2603 2644 msgid "Back" 2604 2645 msgstr "" 2605 2646 2606 #: ../modules/user-listing/userlisting.php:82 22647 #: ../modules/user-listing/userlisting.php:829 2607 2648 msgid "«« First" 2608 2649 msgstr "" 2609 2650 2610 #: ../modules/user-listing/userlisting.php:8 232651 #: ../modules/user-listing/userlisting.php:830 2611 2652 msgid "« Prev" 2612 2653 msgstr "" 2613 2654 2614 #: ../modules/user-listing/userlisting.php:8 242655 #: ../modules/user-listing/userlisting.php:831 2615 2656 msgid "Next » " 2616 2657 msgstr "" 2617 2658 2618 #: ../modules/user-listing/userlisting.php:8 252659 #: ../modules/user-listing/userlisting.php:832 2619 2660 msgid "Last »»" 2620 2661 msgstr "" 2621 2662 2622 #: ../modules/user-listing/userlisting.php:8 542663 #: ../modules/user-listing/userlisting.php:861 2623 2664 msgid "You don't have any pagination settings on this userlisting!" 2624 2665 msgstr "" 2625 2666 2626 #: ../modules/user-listing/userlisting.php: 8952667 #: ../modules/user-listing/userlisting.php:902 2627 2668 msgid "Search" 2628 2669 msgstr "" 2629 2670 2630 #: ../modules/user-listing/userlisting.php: 8962671 #: ../modules/user-listing/userlisting.php:903 2631 2672 msgid "Clear Results" 2632 2673 msgstr "" 2633 2674 2634 #: ../modules/user-listing/userlisting.php:107 22675 #: ../modules/user-listing/userlisting.php:1079 2635 2676 msgid "Extra shortcode parameters" 2636 2677 msgstr "" 2637 2678 2638 #: ../modules/user-listing/userlisting.php:10 742679 #: ../modules/user-listing/userlisting.php:1081 2639 2680 msgid "" 2640 2681 "displays users having a certain meta-value within a certain (extra) meta-" … … 2642 2683 msgstr "" 2643 2684 2644 #: ../modules/user-listing/userlisting.php:10 752685 #: ../modules/user-listing/userlisting.php:1082 2645 2686 msgid "Example:" 2646 2687 msgstr "" 2647 2688 2648 #: ../modules/user-listing/userlisting.php:10 772689 #: ../modules/user-listing/userlisting.php:1084 2649 2690 msgid "" 2650 2691 "Remember though, that the field-value combination must exist in the database." 2651 2692 msgstr "" 2652 2693 2653 #: ../modules/user-listing/userlisting.php:113 12694 #: ../modules/user-listing/userlisting.php:1138 2654 2695 msgid "Random (very slow on large databases > 10K user)" 2655 2696 msgstr "" 2656 2697 2657 #: ../modules/user-listing/userlisting.php:11 442698 #: ../modules/user-listing/userlisting.php:1151 2658 2699 msgid "Roles to Display" 2659 2700 msgstr "" 2660 2701 2661 #: ../modules/user-listing/userlisting.php:11 442702 #: ../modules/user-listing/userlisting.php:1151 2662 2703 msgid "" 2663 2704 "Restrict the userlisting to these selected roles only<br/>If not specified, " … … 2665 2706 msgstr "" 2666 2707 2667 #: ../modules/user-listing/userlisting.php:11 452708 #: ../modules/user-listing/userlisting.php:1152 2668 2709 msgid "Number of Users/Page" 2669 2710 msgstr "" 2670 2711 2671 #: ../modules/user-listing/userlisting.php:11 452712 #: ../modules/user-listing/userlisting.php:1152 2672 2713 msgid "" 2673 2714 "Set the number of users to be displayed on every paginated part of the all-" … … 2675 2716 msgstr "" 2676 2717 2677 #: ../modules/user-listing/userlisting.php:11 462718 #: ../modules/user-listing/userlisting.php:1153 2678 2719 msgid "Default Sorting Criteria" 2679 2720 msgstr "" 2680 2721 2681 #: ../modules/user-listing/userlisting.php:11 462722 #: ../modules/user-listing/userlisting.php:1153 2682 2723 msgid "" 2683 2724 "Set the default sorting criteria<br/>This can temporarily be changed for " … … 2685 2726 msgstr "" 2686 2727 2687 #: ../modules/user-listing/userlisting.php:11 472728 #: ../modules/user-listing/userlisting.php:1154 2688 2729 msgid "Default Sorting Order" 2689 2730 msgstr "" 2690 2731 2691 #: ../modules/user-listing/userlisting.php:11 472732 #: ../modules/user-listing/userlisting.php:1154 2692 2733 msgid "" 2693 2734 "Set the default sorting order<br/>This can temporarily be changed for each " … … 2695 2736 msgstr "" 2696 2737 2697 #: ../modules/user-listing/userlisting.php:11 482738 #: ../modules/user-listing/userlisting.php:1155 2698 2739 msgid "Avatar Size (All-userlisting)" 2699 2740 msgstr "" 2700 2741 2701 #: ../modules/user-listing/userlisting.php:11 482742 #: ../modules/user-listing/userlisting.php:1155 2702 2743 msgid "Set the avatar size on the all-userlisting only" 2703 2744 msgstr "" 2704 2745 2705 #: ../modules/user-listing/userlisting.php:11 492746 #: ../modules/user-listing/userlisting.php:1156 2706 2747 msgid "Avatar Size (Single-userlisting)" 2707 2748 msgstr "" 2708 2749 2709 #: ../modules/user-listing/userlisting.php:11 492750 #: ../modules/user-listing/userlisting.php:1156 2710 2751 msgid "Set the avatar size on the single-userlisting only" 2711 2752 msgstr "" 2712 2753 2713 #: ../modules/user-listing/userlisting.php:115 02754 #: ../modules/user-listing/userlisting.php:1157 2714 2755 msgid "Visible only to logged in users?" 2715 2756 msgstr "" 2716 2757 2717 #: ../modules/user-listing/userlisting.php:115 02758 #: ../modules/user-listing/userlisting.php:1157 2718 2759 msgid "The userlisting will only be visible only to the logged in users" 2719 2760 msgstr "" 2720 2761 2721 #: ../modules/user-listing/userlisting.php:115 12762 #: ../modules/user-listing/userlisting.php:1158 2722 2763 msgid "Visible to following Roles" 2723 2764 msgstr "" 2724 2765 2725 #: ../modules/user-listing/userlisting.php:115 12766 #: ../modules/user-listing/userlisting.php:1158 2726 2767 msgid "The userlisting will only be visible to the following roles" 2727 2768 msgstr "" 2728 2769 2729 #: ../modules/user-listing/userlisting.php:11 572770 #: ../modules/user-listing/userlisting.php:1164 2730 2771 msgid "Userlisting Settings" 2731 2772 msgstr "" 2732 2773 2733 #: ../modules/user-listing/userlisting.php:11 782774 #: ../modules/user-listing/userlisting.php:1185 2734 2775 msgid "" 2735 2776 "You need to activate the Userlisting feature from within the \"Modules\" tab!" 2736 2777 msgstr "" 2737 2778 2738 #: ../modules/user-listing/userlisting.php:11 782779 #: ../modules/user-listing/userlisting.php:1185 2739 2780 msgid "You can find it in the Profile Builder menu." 2740 2781 msgstr "" 2741 2782 2742 #: ../modules/user-listing/userlisting.php:13 282783 #: ../modules/user-listing/userlisting.php:1335 2743 2784 msgid "No results found!" 2744 2785 msgstr "" -
profile-builder/trunk/admin/manage-fields.php
r1020987 r1027324 168 168 169 169 if ( ( $wppb_manage_fields === 'not_found' ) || ( empty( $wppb_manage_fields ) ) ){ 170 return 'custom_field '.$id;170 return 'custom_field_' . $id; 171 171 } 172 172 else{ … … 182 182 foreach( $meta_names as $meta_name ){ 183 183 $number = str_replace( 'custom_field', '', $meta_name ); 184 /* backwards compatibility check in PB 1.3 meta_name was custom_field_#*/184 /* we should have an underscore present in custom_field_# so remove it */ 185 185 $number = str_replace( '_', '', $number ); 186 186 … … 193 193 } 194 194 195 return 'custom_field '.$id;195 return 'custom_field_' . $id; 196 196 } 197 197 } … … 219 219 if( !empty( $ids_array ) ){ 220 220 rsort( $ids_array ); 221 $id = $ids_array[0] +1;221 $id = $ids_array[0] + 1; 222 222 } 223 223 } 224 224 return $id; 225 225 } 226 227 /** 228 * Function that checks to see if the id is unique when saving the new field 229 * 230 * @param array $values 231 * 232 * @return array 233 */ 234 function wppb_check_unique_id_on_saving( $values ) { 235 $wppb_manage_fields = get_option( 'wppb_manage_fields', 'not_found' ); 236 237 if( $wppb_manage_fields != 'not_found' ) { 238 239 $ids_array = array(); 240 foreach( $wppb_manage_fields as $field ){ 241 $ids_array[] = $field['id']; 242 } 243 244 if( in_array( $values['id'], $ids_array ) ) { 245 rsort( $ids_array ); 246 $values['id'] = $ids_array[0] + 1; 247 } 248 249 } 250 251 return $values; 252 } 253 add_filter( 'wck_add_meta_filter_values_wppb_manage_fields', 'wppb_check_unique_id_on_saving' ); 254 226 255 227 256 function wppb_return_unique_field_list( $only_default_fields = false ){ … … 337 366 // END check for the correct the date-format 338 367 339 //check duplicate meta-name368 //check for empty meta-name and duplicate meta-name 340 369 if ( $posted_values['overwrite-existing'] == 'No' ){ 341 370 $skip_check_for_fields = wppb_return_unique_field_list(true); … … 344 373 if ( !in_array( trim( $posted_values['field'] ), $skip_check_for_fields ) ){ 345 374 $unique_meta_name_list = array( 'first_name', 'last_name', 'nickname', 'description' ); 346 375 376 //check to see if meta-name is empty 377 $skip_empty_check_for_fields = array('Heading'); 378 379 if( !in_array( $posted_values['field'], $skip_empty_check_for_fields ) && empty( $posted_values['meta-name'] ) ) { 380 $message .= __( "The meta-name cannot be empty\n", 'profilebuilder' ); 381 } 382 347 383 // Default contact methods were removed in WP 3.6. A filter dictates contact methods. 348 384 if ( apply_filters( 'wppb_remove_default_contact_methods', get_site_option( 'initial_db_version' ) < 23588 ) ){ … … 401 437 } 402 438 // END check for valid default option (checkbox, select, radio) 403 439 440 $message = apply_filters( 'wppb_check_extra_manage_fields', $message, $posted_values ); 441 404 442 }elseif ( ( $meta_name == 'wppb_rf_fields' ) || ( $meta_name == 'wppb_epf_fields' ) ){ 405 443 if ( $posted_values['field'] == '' ){ -
profile-builder/trunk/admin/register-version.php
r1020987 r1027324 94 94 95 95 $response = wp_remote_get( 'http://updatemetadata.cozmoslabs.com/checkserial/?serialNumberSent='.$serial_number_set ); 96 96 97 97 if ( PROFILE_BUILDER == 'Profile Builder Pro' ){ 98 98 wppb_update_serial_status($response, 'pro'); … … 209 209 if ( PROFILE_BUILDER == 'Profile Builder Pro' ){ 210 210 $wppb_profile_builder_pro_hobbyist_serial_status = get_option( 'wppb_profile_builder_pro_serial_status', 'empty' ); 211 $version = 'pro'; 212 211 213 } elseif( PROFILE_BUILDER == 'Profile Builder Hobbyist' ) { 212 214 $wppb_profile_builder_pro_hobbyist_serial_status = get_option( 'wppb_profile_builder_hobbyist_serial_status', 'empty' ); 215 $version = 'hobbyist'; 213 216 } 214 217 215 218 if ( $wppb_profile_builder_pro_hobbyist_serial_status == 'notFound' || $wppb_profile_builder_pro_hobbyist_serial_status == 'empty' ){ 216 new wppb_add_notices( 'wppb', 'profile_builder_pro', sprintf( __( '<p>Your <strong>Profile Builder</strong> serial number is invalid or missing. <br/>Please %1$sregister your copy%2$s of Profile Builder to receive access to automatic updates and support. Need a license key? %3$sPurchase one now%4$s</p>', 'profilebuilder'), "<a href='admin.php?page=profile-builder-register'>", "</a>", "<a href='http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Purchase' target='_blank' class='button-primary'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' );219 new wppb_add_notices( 'wppb', 'profile_builder_pro', sprintf( __( '<p>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</p>', 'profilebuilder'), "<a href='admin.php?page=profile-builder-register'>", "</a>", "<a href='http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-SN-Purchase' target='_blank' class='button-primary'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' ); 217 220 } 218 221 elseif ( $wppb_profile_builder_pro_hobbyist_serial_status == 'expired' ){ 219 $wppb_notice = new wppb_add_notices( 'wppb', 'profile_builder_pro', sprintf( __( '<p>Your <strong>Profile Builder</strong> licence has expired. <br/>Please %1$sRenew Your Licence%2$s to receive access to automatic updates and support. %3$sPurchase one now%4$s %5$sDismiss%6$s</p>', 'profilebuilder'), "<a href='http://www.cozmoslabs.com/downloads/profile-builder-pro-1-year/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank'>", "</a>", "<a href='http://www.cozmoslabs.com/downloads/profile-builder-pro-1-year/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank' class='button-primary'>", "</a>", "<a href='". add_query_arg( 'wppb_dismiss_notification', '0' ) ."' class='wppb-dismiss-notification'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' );222 new wppb_add_notices( 'wppb_expired', 'profile_builder_pro', sprintf( __( '<p>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 and get 50% off %4$s %5$sDismiss%6$s</p>', 'profilebuilder'), "<a href='http://www.cozmoslabs.com/downloads/profile-builder-". $version ."-v2-yearly-renewal/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank'>", "</a>", "<a href='http://www.cozmoslabs.com/downloads/profile-builder-".$version."-v2-yearly-renewal/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank' class='button-primary'>", "</a>", "<a href='". add_query_arg( 'wppb_expired_dismiss_notification', '0' ) ."' class='wppb-dismiss-notification'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' ); 220 223 } 221 224 elseif( strpos( $wppb_profile_builder_pro_hobbyist_serial_status, 'aboutToExpire' ) === 0 ){ 222 225 $serial_status_parts = explode( '#', $wppb_profile_builder_pro_hobbyist_serial_status ); 223 226 $date = $serial_status_parts[1]; 224 new wppb_add_notices( 'wppb ', 'profile_builder_pro', sprintf( __( '<p>Your <strong>Profile Builder</strong> serial number is about to expire on %5$s. <br/>Please %1$sRenew Your Licence%2$s to receive access to automatic updates and support. %3$sPurchase one now%4$s</p>', 'profilebuilder'), "<a href='admin.php?page=profile-builder-register'>", "</a>", "<a href='http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Purchase' target='_blank' class='button-primary'>", "</a>", $date), 'wppb_profile_builder_pro_serial_status' );225 } 227 new wppb_add_notices( 'wppb_about_to_expire', 'profile_builder_pro', sprintf( __( '<p>Your <strong>Profile Builder</strong> license is about to expire on %5$s. <br/>Please %1$sRenew Your Licence%2$s to continue receiving access to product downloads, automatic updates and support. %3$sRenew now and get 50% off %4$s %6$sDismiss%7$s</p>', 'profilebuilder'), "<a href='http://www.cozmoslabs.com/downloads/profile-builder-". $version ."-v2-yearly-renewal/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank'>", "</a>", "<a href='http://www.cozmoslabs.com/downloads/profile-builder-".$version."-v2-yearly-renewal/?utm_source=PB&utm_medium=dashboard&utm_campaign=PB-Renewal' target='_blank' class='button-primary'>", "</a>", $date, "<a href='". add_query_arg( 'wppb_about_to_expire_dismiss_notification', '0' ) ."' class='wppb-dismiss-notification'>", "</a>" ), 'wppb_profile_builder_pro_serial_status' ); 228 } -
profile-builder/trunk/assets/css/style-front-end.css
r1020987 r1027324 144 144 padding-right:0; 145 145 } 146 147 .wppb-user-forms ul li{ 148 list-style:none; 149 } 150 146 151 .wppb-user-forms ul li, 147 152 #wppb-login-wrap p{ -
profile-builder/trunk/assets/js/jquery-manage-fields-live-change.js
r1020987 r1027324 464 464 if( meta_name.indexOf( 'custom_field' ) !== -1 ){ 465 465 var meta_name = meta_name.replace('custom_field', '' ); 466 /* backwards compatibility check in PB 1.3 meta_name was custom_field_#*/466 /* we should have an underscore present in custom_field_# so remove it */ 467 467 meta_name = meta_name.replace('_', '' ); 468 468 469 if( isNaN( meta_name ) ){ 469 470 meta_name = Math.floor((Math.random() * 200) + 100); 470 471 } 471 numbers.push( meta_name);472 numbers.push( parseInt(meta_name) ); 472 473 } 474 473 475 }); 474 476 if( numbers.length > 0 ){ 475 numbers.sort( );477 numbers.sort( function(a, b){return a-b} ); 476 478 numbers.reverse(); 477 479 meta_number = parseInt(numbers[0])+1; … … 480 482 meta_number = 1; 481 483 482 meta_value = 'custom_field '+meta_number;484 meta_value = 'custom_field_' + meta_number; 483 485 } 486 484 487 jQuery( container_name + ' ' + '#meta-name' ).val( meta_value ); 485 488 jQuery( container_name + ' ' + '#meta-name' ).attr( 'readonly', false ); -
profile-builder/trunk/assets/lib/wck-api/wordpress-creation-kit.php
r1020987 r1027324 345 345 $form = ''; 346 346 $form .= '<tr id="update_container_'.$meta.'_'.$element_id.'" ' . $wck_update_container_css_class . '><td colspan="4">'; 347 348 347 if($results != null){ 349 348 $i = 0; … … 357 356 else 358 357 $value = ''; 359 358 360 359 $form = apply_filters( "wck_before_update_form_{$meta}_element_{$i}", $form, $element_id, $value ); 361 360 … … 674 673 else 675 674 $values = array(); 676 675 677 676 $values = apply_filters( "wck_add_meta_filter_values_{$meta}", $values ); 678 677 679 678 /* check required fields */ 680 679 $errors = self::wck_test_required( $this->args['meta_array'], $meta, $values, $id ); … … 836 835 $meta = $_POST['meta']; 837 836 $id = absint($_POST['id']); 838 $element_id = $_POST['element_id']; 839 837 $element_id = $_POST['element_id']; 838 839 do_action( "wck_before_adding_form_{$meta}", $id, $element_id ); 840 840 841 echo self::mb_update_form($this->args['meta_array'], $meta, $id, $element_id); 841 842 … … 886 887 887 888 $meta_suffix = 1; 888 889 889 890 if( !empty( $results ) ){ 890 foreach( $results as $result ){ 891 foreach ( $result as $name => $value){ 892 update_post_meta($id, $meta.'_'.$name.'_'.$meta_suffix, $value); 891 foreach( $results as $result ){ 892 foreach ( $result as $name => $value){ 893 update_post_meta($id, $meta.'_'.$name.'_'.$meta_suffix, $value); 893 894 } 894 895 $meta_suffix++; … … 1031 1032 function wck_media_send_to_editor($html, $id) 1032 1033 { 1033 parse_str($_POST["_wp_http_referer"], $arr_postinfo); 1034 1035 if(isset($arr_postinfo["mb_type"])) 1036 { 1037 $file_src = wp_get_attachment_url($id); 1038 $thumbnail = wp_get_attachment_image( $id, array( 80, 60 ), true ); 1039 $file_name = get_the_title( $id ); 1040 1041 if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $id ), $matches ) ) 1042 $file_type = esc_html( strtoupper( $matches[1] ) ); 1043 else 1044 $file_type = strtoupper( str_replace( 'image/', '', get_post_mime_type( $id ) ) ); 1045 1046 ?> 1047 <script type="text/javascript"> 1048 1049 self.parent.window. <?php echo $arr_postinfo["mb_type"];?> .val('<?php echo $id; ?>'); 1050 self.parent.window. <?php echo $arr_postinfo["mb_info_div"];?> .html('<?php echo $thumbnail ?><p><span class="file-name"><?php echo $file_name; ?></span><span class="file-type"><?php echo $file_type; ?></span><span class="wck-remove-upload"><?php _e( 'Remove', 'wck' )?></span></p>'); 1051 1052 self.parent.tb_remove(); 1053 1054 </script> 1055 <?php 1056 exit; 1057 } 1058 else 1059 { 1034 if( !empty( $_POST["_wp_http_referer"] ) ) { 1035 parse_str($_POST["_wp_http_referer"], $arr_postinfo); 1036 if (isset($arr_postinfo["mb_type"])) { 1037 $file_src = wp_get_attachment_url($id); 1038 $thumbnail = wp_get_attachment_image($id, array(80, 60), true); 1039 $file_name = get_the_title($id); 1040 1041 if (preg_match('/^.*?\.(\w+)$/', get_attached_file($id), $matches)) 1042 $file_type = esc_html(strtoupper($matches[1])); 1043 else 1044 $file_type = strtoupper(str_replace('image/', '', get_post_mime_type($id))); 1045 1046 ?> 1047 <script type="text/javascript"> 1048 1049 self.parent.window.<?php echo $arr_postinfo["mb_type"];?>.val('<?php echo $id; ?>'); 1050 self.parent.window.<?php echo $arr_postinfo["mb_info_div"];?>.html('<?php echo $thumbnail ?><p><span class="file-name"><?php echo $file_name; ?></span><span class="file-type"><?php echo $file_type; ?></span><span class="wck-remove-upload"><?php _e( 'Remove', 'wck' )?></span></p>'); 1051 1052 self.parent.tb_remove(); 1053 1054 </script> 1055 <?php 1056 exit; 1057 } 1058 } 1059 else{ 1060 1060 return $html; 1061 1061 } -
profile-builder/trunk/features/email-confirmation/email-confirmation.php
r1012789 r1027324 375 375 $user_login = esc_sql( $signup->user_login ); 376 376 $user_email = esc_sql( $signup->user_email ); 377 $password = base64_decode( $meta['user_pass'] ); 377 /* the password is in hashed form in the signup table and we will copy it later to the user */ 378 $password = NULL; 378 379 379 380 $user_id = username_exists($user_login); … … 403 404 clean_object_term_cache( $user_id, 'user_status' ); 404 405 } 406 407 /* copy the hashed password from signup meta to wp user table */ 408 if( !empty( $meta['user_pass'] ) ){ 409 /* we might still have the base64 encoded password in signups and not the hash */ 410 if( base64_encode(base64_decode($meta['user_pass'], true)) === $meta['user_pass'] ) 411 $meta['user_pass'] = wp_hash_password( $meta['user_pass'] ); 412 413 $wpdb->update( $wpdb->users, array('user_pass' => $meta['user_pass'] ), array('ID' => $user_id) ); 414 } 405 415 406 416 wppb_notify_user_registration_email( get_bloginfo( 'name' ), $user_login, $user_email, 'sending', $password, ( isset( $wppb_general_settings['adminApproval'] ) ? $wppb_general_settings['adminApproval'] : 'no' ) ); -
profile-builder/trunk/features/functions.php
r1020987 r1027324 554 554 */ 555 555 function wppb_required_field_error($field_title='') { 556 $required_error = __(apply_filters('wppb_required_error' , 'This field is required' , $field_title),'profilebuilder');556 $required_error = apply_filters('wppb_required_error' , __('This field is required','profilebuilder') , $field_title); 557 557 558 558 return $required_error; … … 608 608 'update-nag'); 609 609 } 610 611 /*Filter default WordPress notices ("Post published. Post updated."), add post type name for User Listing, Registration Forms and Edit Profile Forms*/ 612 function wppb_change_default_post_updated_messages($messages){ 613 global $post; 614 $post_type = get_post_type($post->ID); 615 $object = get_post_type_object($post_type); 616 617 if ( ($post_type == 'wppb-rf-cpt')||($post_type == 'wppb-epf-cpt')||($post_type == 'wppb-ul-cpt') ){ 618 $messages['post'][1] = $object->labels->name . ' updated.'; 619 $messages['post'][6] = $object->labels->name . ' published.'; 620 } 621 return $messages; 622 } 623 add_filter('post_updated_messages','wppb_change_default_post_updated_messages', 2); -
profile-builder/trunk/features/upgrades/upgrades-functions.php
r1011421 r1027324 159 159 $local_array = array(); 160 160 161 $local_array['id'] = ( isset( $value['id'] ) ? trim( $value['id'] ) : '' ); 161 /* id will be set up at a later point */ 162 $local_array['id'] = ''; 162 163 $local_array['meta-name'] = ( isset( $value['item_metaName'] ) ? trim( $value['item_metaName'] ) : '' ); 163 164 $local_array['field-title'] = ( isset( $value['item_title'] ) ? trim( $value['item_title'] ) : '' ); … … 280 281 update_option( 'wppb_module_settings', $wppb_module_settings ); 281 282 } 282 283 284 /* set up ids for each field */ 285 if( !empty( $backed_up_manage_fields ) ){ 286 /*make sure we have a 0 based index */ 287 $backed_up_manage_fields = array_values( $backed_up_manage_fields ); 288 foreach( $backed_up_manage_fields as $key => $backed_up_manage_field ){ 289 $backed_up_manage_fields[$key]['id'] = (int)$key + 1; 290 } 291 } 283 292 add_option( 'wppb_manage_fields', $backed_up_manage_fields ); 284 293 … … 508 517 function wppb_add_existing_default_fields ( $backed_up_manage_fields = array(), $field, $meta_name, $required, $description = '', $recaptcha_public_key = '', $recaptcha_private_key = '' ){ 509 518 $local_array = array(); 510 511 $id = 0; 512 foreach ( $backed_up_manage_fields as $key => $value ){ 513 if ( (int)$id < (int)$value['id'] ); 514 $id = $value['id']; 515 } 516 $id++; 517 518 $local_array['id'] = $id; 519 520 $local_array['id'] = ''; 519 521 $local_array['field'] = $field; 520 522 $local_array['meta-name'] = $meta_name; -
profile-builder/trunk/front-end/class-formbuilder.php
r1020987 r1027324 369 369 $userdata = $this->wppb_add_custom_field_values( $global_request, $userdata, $this->args['form_fields'] ); 370 370 $userdata['role'] = $this->args['role']; 371 $userdata['user_pass'] = base64_encode( $userdata['user_pass'] );371 $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); 372 372 wppb_signup_user( $userdata['user_login'], $userdata['user_email'], $userdata ); 373 373 … … 383 383 $userdata = $this->wppb_add_custom_field_values( $global_request, $userdata, $this->args['form_fields'] ); 384 384 $userdata['role'] = $this->args['role']; 385 $userdata['user_pass'] = base64_encode( $userdata['user_pass'] );385 $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); 386 386 $userdata = wp_unslash( $userdata ); 387 387 wppb_signup_user( $userdata['user_login'], $userdata['user_email'], $userdata ); … … 412 412 else 413 413 $send_credentials_via_email = ''; 414 wppb_notify_user_registration_email( get_bloginfo( 'name' ), ( isset( $ global_request['username'] ) ? trim( $global_request['username'] ) : trim( $global_request['email'] ) ), trim( $global_request['email'] ), $send_credentials_via_email, trim( $global_request['passw1'] ), ( isset( $wppb_general_settings['adminApproval'] ) ? $wppb_general_settings['adminApproval'] : 'no' ) );414 wppb_notify_user_registration_email( get_bloginfo( 'name' ), ( isset( $userdata['user_login'] ) ? trim( $userdata['user_login'] ) : trim( $userdata['user_email'] ) ), trim( $userdata['user_email'] ), $send_credentials_via_email, trim( $userdata['user_pass'] ), ( isset( $wppb_general_settings['adminApproval'] ) ? $wppb_general_settings['adminApproval'] : 'no' ) ); 415 415 } 416 416 } -
profile-builder/trunk/front-end/default-fields/description/description.php
r1011421 r1027324 21 21 $output = ' 22 22 <label for="description">'.$item_title.$error_mark.'</label> 23 <textarea rows="'.$field['row-count'].'" name="description" class="default_field_description" id="description" wrap="virtual">'. esc_textarea( wp_unslash( $input_value ) ).'</textarea>';23 <textarea rows="'.$field['row-count'].'" name="description" maxlength="'. apply_filters( 'wppb_maximum_character_length', '', $field ) .'" class="default_field_description" id="description" wrap="virtual">'. esc_textarea( wp_unslash( $input_value ) ).'</textarea>'; 24 24 if( !empty( $item_description ) ) 25 25 $output .= '<span class="wppb-description-delimiter">'. $item_description .'</span>'; -
profile-builder/trunk/front-end/register.php
r1012789 r1027324 55 55 56 56 $user_email = esc_sql( $signup->user_email ); 57 $password = base64_decode( $meta['user_pass'] ); 57 /* the password is in hashed form in the signup table so we will add it later */ 58 $password = NULL; 58 59 59 60 $user_id = username_exists( $user_login ); … … 84 85 if ( !isset( $wppb_generalSettings['adminApproval'] ) ) 85 86 $wppb_generalSettings['adminApproval'] = 'no'; 87 88 /* copy the hashed password from signup meta to wp user table */ 89 if( !empty( $meta['user_pass'] ) ){ 90 /* we might still have the base64 encoded password in signups and not the hash */ 91 if( base64_encode(base64_decode($meta['user_pass'], true)) === $meta['user_pass'] ) 92 $meta['user_pass'] = wp_hash_password( $meta['user_pass'] ); 93 94 $wpdb->update( $wpdb->users, array('user_pass' => $meta['user_pass'] ), array('ID' => $user_id) ); 95 } 86 96 87 97 wppb_notify_user_registration_email($bloginfo, $user_login, $user_email, 'sending', $password, $wppb_generalSettings['adminApproval']); -
profile-builder/trunk/index.php
r1020987 r1027324 4 4 Plugin URI: http://www.cozmoslabs.com/wordpress-profile-builder/ 5 5 Description: Login, registration and edit profile shortcodes for the front-end. Also you can chose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard. 6 Version: 2.0. 56 Version: 2.0.6 7 7 Author: Cozmoslabs, Madalin Ungureanu, Antohe Cristian, Barina Gabriel 8 8 Author URI: http://www.cozmoslabs.com/ … … 25 25 */ 26 26 27 /** 28 * Convert memory value from ini file to a readable form 29 * 30 * @since v.1.0 31 * 32 * @return integer 33 */ 34 function wppb_return_bytes( $val ) { 35 $val = trim( $val ); 36 37 switch( strtolower( $val[strlen( $val )-1] ) ) { 38 // The 'G' modifier is available since PHP 5.1.0 39 case 'g': 40 $val *= 1024; 41 case 'm': 42 $val *= 1024; 43 case 'k': 44 $val *= 1024; 45 } 27 /* Check if another version of Profile Builder is activated, to prevent fatal errors*/ 28 function wppb_plugin_init() { 29 if (function_exists('wppb_return_bytes')) { 30 function wppb_admin_notice() 31 { 32 ?> 33 <div class="error"> 34 <p><?php _e( PROFILE_BUILDER . ' is also activated. You need to deactivate it before activating this version of the plugin.', 'profilebuilder'); ?></p> 35 </div> 36 <?php 37 } 38 function wppb_plugin_deactivate() { 39 deactivate_plugins( plugin_basename( __FILE__ ) ); 40 unset($_GET['activate']); 41 } 46 42 47 return $val; 48 } 43 add_action('admin_notices', 'wppb_admin_notice'); 44 add_action( 'admin_init', 'wppb_plugin_deactivate' ); 45 } else { 49 46 50 /** 51 * Definitions 52 * 53 * 54 */ 55 define( 'PROFILE_BUILDER_VERSION', '2.0.5' ); 56 define( 'WPPB_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) ); 57 define( 'WPPB_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 58 define( 'WPPB_SERVER_MAX_UPLOAD_SIZE_BYTE', apply_filters( 'wppb_server_max_upload_size_byte_constant', wppb_return_bytes( ini_get( 'upload_max_filesize') ) ) ); 59 define( 'WPPB_SERVER_MAX_UPLOAD_SIZE_MEGA', apply_filters( 'wppb_server_max_upload_size_mega_constant', ini_get( 'upload_max_filesize') ) ); 60 define( 'WPPB_SERVER_MAX_POST_SIZE_BYTE', apply_filters( 'wppb_server_max_post_size_byte_constant', wppb_return_bytes( ini_get( 'post_max_size') ) ) ); 61 define( 'WPPB_SERVER_MAX_POST_SIZE_MEGA', apply_filters( 'wppb_server_max_post_size_mega_constant', ini_get( 'post_max_size') ) ); 62 define( 'WPPB_TRANSLATE_DIR', WPPB_PLUGIN_DIR.'/translation' ); 63 define( 'WPPB_TRANSLATE_DOMAIN', 'profilebuilder' ); 47 /** 48 * Convert memory value from ini file to a readable form 49 * 50 * @since v.1.0 51 * 52 * @return integer 53 */ 54 function wppb_return_bytes($val) 55 { 56 $val = trim($val); 64 57 65 /* include notices class */ 66 if ( file_exists ( WPPB_PLUGIN_DIR.'/assets/lib/class_notices.php' ) ) 67 include_once(WPPB_PLUGIN_DIR . '/assets/lib/class_notices.php' ); 58 switch (strtolower($val[strlen($val) - 1])) { 59 // The 'G' modifier is available since PHP 5.1.0 60 case 'g': 61 $val *= 1024; 62 case 'm': 63 $val *= 1024; 64 case 'k': 65 $val *= 1024; 66 } 68 67 69 if ( file_exists ( WPPB_PLUGIN_DIR.'/modules/modules.php' ) ) 70 define( 'PROFILE_BUILDER', 'Profile Builder Pro' ); 71 elseif ( file_exists ( WPPB_PLUGIN_DIR.'/front-end/extra-fields/extra-fields.php' ) ) 72 define( 'PROFILE_BUILDER', 'Profile Builder Hobbyist' ); 73 else 74 define( 'PROFILE_BUILDER', 'Profile Builder Free' ); 68 return $val; 69 } 75 70 76 /** 77 * Initialize the translation for the Plugin. 78 * 79 * @since v.1.0 80 * 81 * @return null 82 */ 83 function wppb_init_translation(){ 84 load_plugin_textdomain( 'profilebuilder', false, basename( dirname( __FILE__ ) ) . '/translation/' ); 85 } 86 add_action( 'init', 'wppb_init_translation', 8); 71 /** 72 * Definitions 73 * 74 * 75 */ 76 define('PROFILE_BUILDER_VERSION', '2.0.6' ); 77 define('WPPB_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname(plugin_basename(__FILE__))); 78 define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__)); 79 define('WPPB_SERVER_MAX_UPLOAD_SIZE_BYTE', apply_filters('wppb_server_max_upload_size_byte_constant', wppb_return_bytes(ini_get('upload_max_filesize')))); 80 define('WPPB_SERVER_MAX_UPLOAD_SIZE_MEGA', apply_filters('wppb_server_max_upload_size_mega_constant', ini_get('upload_max_filesize'))); 81 define('WPPB_SERVER_MAX_POST_SIZE_BYTE', apply_filters('wppb_server_max_post_size_byte_constant', wppb_return_bytes(ini_get('post_max_size')))); 82 define('WPPB_SERVER_MAX_POST_SIZE_MEGA', apply_filters('wppb_server_max_post_size_mega_constant', ini_get('post_max_size'))); 83 define('WPPB_TRANSLATE_DIR', WPPB_PLUGIN_DIR . '/translation'); 84 define('WPPB_TRANSLATE_DOMAIN', 'profilebuilder'); 85 86 /* include notices class */ 87 if (file_exists(WPPB_PLUGIN_DIR . '/assets/lib/class_notices.php')) 88 include_once(WPPB_PLUGIN_DIR . '/assets/lib/class_notices.php'); 89 90 if (file_exists(WPPB_PLUGIN_DIR . '/modules/modules.php')) 91 define('PROFILE_BUILDER', 'Profile Builder Pro'); 92 elseif (file_exists(WPPB_PLUGIN_DIR . '/front-end/extra-fields/extra-fields.php')) 93 define('PROFILE_BUILDER', 'Profile Builder Hobbyist'); 94 else 95 define('PROFILE_BUILDER', 'Profile Builder Free'); 96 97 /** 98 * Initialize the translation for the Plugin. 99 * 100 * @since v.1.0 101 * 102 * @return null 103 */ 104 function wppb_init_translation() 105 { 106 load_plugin_textdomain('profilebuilder', false, basename(dirname(__FILE__)) . '/translation/'); 107 } 108 109 add_action('init', 'wppb_init_translation', 8); 87 110 88 111 89 /**90 * Required files91 *92 *93 */94 include_once( WPPB_PLUGIN_DIR.'/assets/lib/wck-api/wordpress-creation-kit.php');95 include_once( WPPB_PLUGIN_DIR.'/features/upgrades/upgrades.php');96 include_once( WPPB_PLUGIN_DIR.'/features/functions.php');97 include_once( WPPB_PLUGIN_DIR.'/admin/admin-functions.php');98 include_once( WPPB_PLUGIN_DIR.'/admin/basic-info.php');99 include_once( WPPB_PLUGIN_DIR.'/admin/general-settings.php');100 include_once( WPPB_PLUGIN_DIR.'/admin/admin-bar.php');101 include_once( WPPB_PLUGIN_DIR.'/admin/manage-fields.php');102 include_once( WPPB_PLUGIN_DIR.'/features/email-confirmation/email-confirmation.php');103 include_once( WPPB_PLUGIN_DIR.'/features/email-confirmation/class-email-confirmation.php');104 if ( file_exists ( WPPB_PLUGIN_DIR.'/features/admin-approval/admin-approval.php' )) {105 include_once(WPPB_PLUGIN_DIR . '/features/admin-approval/admin-approval.php');106 include_once(WPPB_PLUGIN_DIR . '/features/admin-approval/class-admin-approval.php');107 }108 include_once( WPPB_PLUGIN_DIR.'/features/login-widget/login-widget.php');112 /** 113 * Required files 114 * 115 * 116 */ 117 include_once(WPPB_PLUGIN_DIR . '/assets/lib/wck-api/wordpress-creation-kit.php'); 118 include_once(WPPB_PLUGIN_DIR . '/features/upgrades/upgrades.php'); 119 include_once(WPPB_PLUGIN_DIR . '/features/functions.php'); 120 include_once(WPPB_PLUGIN_DIR . '/admin/admin-functions.php'); 121 include_once(WPPB_PLUGIN_DIR . '/admin/basic-info.php'); 122 include_once(WPPB_PLUGIN_DIR . '/admin/general-settings.php'); 123 include_once(WPPB_PLUGIN_DIR . '/admin/admin-bar.php'); 124 include_once(WPPB_PLUGIN_DIR . '/admin/manage-fields.php'); 125 include_once(WPPB_PLUGIN_DIR . '/features/email-confirmation/email-confirmation.php'); 126 include_once(WPPB_PLUGIN_DIR . '/features/email-confirmation/class-email-confirmation.php'); 127 if (file_exists(WPPB_PLUGIN_DIR . '/features/admin-approval/admin-approval.php')) { 128 include_once(WPPB_PLUGIN_DIR . '/features/admin-approval/admin-approval.php'); 129 include_once(WPPB_PLUGIN_DIR . '/features/admin-approval/class-admin-approval.php'); 130 } 131 include_once(WPPB_PLUGIN_DIR . '/features/login-widget/login-widget.php'); 109 132 110 if ( file_exists ( WPPB_PLUGIN_DIR.'/update/update-checker.php' ) ){111 include_once ( WPPB_PLUGIN_DIR.'/update/update-checker.php');112 include_once ( WPPB_PLUGIN_DIR.'/admin/register-version.php');113 }133 if (file_exists(WPPB_PLUGIN_DIR . '/update/update-checker.php')) { 134 include_once(WPPB_PLUGIN_DIR . '/update/update-checker.php'); 135 include_once(WPPB_PLUGIN_DIR . '/admin/register-version.php'); 136 } 114 137 115 if ( file_exists ( WPPB_PLUGIN_DIR.'/modules/modules.php' ) ){116 include_once ( WPPB_PLUGIN_DIR.'/modules/modules.php');117 include_once ( WPPB_PLUGIN_DIR.'/modules/custom-redirects/custom-redirects.php');118 include_once ( WPPB_PLUGIN_DIR.'/modules/email-customizer/email-customizer.php');119 include_once ( WPPB_PLUGIN_DIR.'/modules/multiple-forms/multiple-forms.php');120 121 $wppb_module_settings = get_option( 'wppb_module_settings');122 if ( isset( $wppb_module_settings['wppb_userListing'] ) && ( $wppb_module_settings['wppb_userListing'] == 'show' ) ){123 include_once ( WPPB_PLUGIN_DIR.'/modules/user-listing/userlisting.php');124 add_shortcode( 'wppb-list-users', 'wppb_user_listing_shortcode');125 }else126 add_shortcode( 'wppb-list-users', 'wppb_list_all_users_display_error');127 128 if ( isset( $wppb_module_settings['wppb_emailCustomizerAdmin'] ) && ( $wppb_module_settings['wppb_emailCustomizerAdmin'] == 'show' ))129 include_once ( WPPB_PLUGIN_DIR.'/modules/email-customizer/admin-email-customizer.php');130 131 if ( isset( $wppb_module_settings['wppb_emailCustomizer'] ) && ( $wppb_module_settings['wppb_emailCustomizer'] == 'show' ))132 include_once ( WPPB_PLUGIN_DIR.'/modules/email-customizer/user-email-customizer.php');133 }138 if (file_exists(WPPB_PLUGIN_DIR . '/modules/modules.php')) { 139 include_once(WPPB_PLUGIN_DIR . '/modules/modules.php'); 140 include_once(WPPB_PLUGIN_DIR . '/modules/custom-redirects/custom-redirects.php'); 141 include_once(WPPB_PLUGIN_DIR . '/modules/email-customizer/email-customizer.php'); 142 include_once(WPPB_PLUGIN_DIR . '/modules/multiple-forms/multiple-forms.php'); 143 144 $wppb_module_settings = get_option('wppb_module_settings'); 145 if (isset($wppb_module_settings['wppb_userListing']) && ($wppb_module_settings['wppb_userListing'] == 'show')) { 146 include_once(WPPB_PLUGIN_DIR . '/modules/user-listing/userlisting.php'); 147 add_shortcode('wppb-list-users', 'wppb_user_listing_shortcode'); 148 } else 149 add_shortcode('wppb-list-users', 'wppb_list_all_users_display_error'); 150 151 if (isset($wppb_module_settings['wppb_emailCustomizerAdmin']) && ($wppb_module_settings['wppb_emailCustomizerAdmin'] == 'show')) 152 include_once(WPPB_PLUGIN_DIR . '/modules/email-customizer/admin-email-customizer.php'); 153 154 if (isset($wppb_module_settings['wppb_emailCustomizer']) && ($wppb_module_settings['wppb_emailCustomizer'] == 'show')) 155 include_once(WPPB_PLUGIN_DIR . '/modules/email-customizer/user-email-customizer.php'); 156 } 134 157 135 158 136 /**137 * Check for updates138 *139 *140 */141 if ( file_exists ( WPPB_PLUGIN_DIR.'/update/update-checker.php' ) ){ 142 if ( file_exists ( WPPB_PLUGIN_DIR.'/modules/modules.php' ) ){143 $localSerial = get_option( 'wppb_profile_builder_pro_serial');144 $wppb_update = new wppb_PluginUpdateChecker( 'http://updatemetadata.cozmoslabs.com/?localSerialNumber='.$localSerial.'&uniqueproduct=CLPBP', __FILE__, 'profile-builder-pro-update');145 146 }else{147 $localSerial = get_option( 'wppb_profile_builder_hobbyist_serial');148 $wppb_update = new wppb_PluginUpdateChecker( 'http://updatemetadata.cozmoslabs.com/?localSerialNumber='.$localSerial.'&uniqueproduct=CLPBH', __FILE__, 'profile-builder-hobbyist-update');149 }150 }159 /** 160 * Check for updates 161 * 162 * 163 */ 164 if (file_exists(WPPB_PLUGIN_DIR . '/update/update-checker.php')) { 165 if (file_exists(WPPB_PLUGIN_DIR . '/modules/modules.php')) { 166 $localSerial = get_option('wppb_profile_builder_pro_serial'); 167 $wppb_update = new wppb_PluginUpdateChecker('http://updatemetadata.cozmoslabs.com/?localSerialNumber=' . $localSerial . '&uniqueproduct=CLPBP', __FILE__, 'profile-builder-pro-update'); 168 169 } else { 170 $localSerial = get_option('wppb_profile_builder_hobbyist_serial'); 171 $wppb_update = new wppb_PluginUpdateChecker('http://updatemetadata.cozmoslabs.com/?localSerialNumber=' . $localSerial . '&uniqueproduct=CLPBH', __FILE__, 'profile-builder-hobbyist-update'); 172 } 173 } 151 174 152 175 153 176 // these settings are important, so besides running them on page load, we also need to do a check on plugin activation 154 register_activation_hook( __FILE__, 'wppb_generate_default_settings_defaults' );//prepoulate general settings155 register_activation_hook( __FILE__, 'wppb_prepopulate_fields' );//prepopulate manage fields list177 register_activation_hook(__FILE__, 'wppb_generate_default_settings_defaults'); //prepoulate general settings 178 register_activation_hook(__FILE__, 'wppb_prepopulate_fields'); //prepopulate manage fields list 156 179 180 } 181 } //end wppb_plugin_init 182 add_action( 'plugins_loaded', 'wppb_plugin_init' ); -
profile-builder/trunk/readme.txt
r1020987 r1027324 3 3 Contributors: reflectionmedia, barinagabriel, sareiodata, cozmoslabs, adispiac, madalin.ungureanu 4 4 Donate link: http://www.cozmoslabs.com/wordpress-profile-builder/ 5 Tags: registration, user profile, user registration, custom field registration, customize profile, user fields, extra user fields, builder, profile builder, custom user profile, user profile page, edit profile, custom registration, custom registration form, custom registration page, registration page, user custom fields, user listing, front-end user listing, user login, user registration form, front-end login, front-end register, front-end registration, front-end edit profile, front-end user registration, custom redirects, user email, avatar upload, email confirmation, user approval, customize registration email, minimum password length, minimum password strength, password strength meter, multiple registration forms5 Tags: registration, user profile, user registration, custom field registration, customize profile, user fields, extra user fields, builder, profile builder, custom user profile, user profile page, edit profile, custom registration, custom registration form, custom registration page, registration page, user custom fields, user listing, front-end user listing, user login, user registration form, front-end login, login redirect, login widget, front-end register, front-end registration, front-end edit profile, front-end user registration, custom redirects, user email, avatar upload, email confirmation, user approval, customize registration email, minimum password length, minimum password strength, password strength meter, multiple registration forms 6 6 7 7 Requires at least: 3.1 8 8 Tested up to: 4.0 9 Stable tag: 2.0. 59 Stable tag: 2.0.6 10 10 11 11 Simple to use profile plugin allowing front-end login, user registration and edit profile by using shortcodes. … … 20 20 21 21 To achieve this, simply create a new page and give it an intuitive name(i.e. Edit Profile). 22 Now all you need to do is add the following shortcode (for the previous example): [wppb-edit-profile].22 Now all you need to do is add the following shortcode: [wppb-edit-profile]. 23 23 Publish the page and you are done! 24 24 … … 37 37 * allow users to **Log-in with their Username or Email** 38 38 * enforce a **minimum password length** and **minimum password strength** (using the default WordPress password strength meter) 39 * assign users a specific role at registration (using [wppb-register role="desired_role"] shortcode ) 39 * assign users a specific role at registration (using **[wppb-register role="desired_role"]** shortcode argument) 40 * redirect users after login (using **[wppb-login redirect="www.example.com"]** shortcode argument) 41 * add register and lost password links below the login form (using **[wppb-login register_url="www.example.com" lostpassword_url="www.example.com"]** shortcode arguments) 42 * customizable login widget 40 43 * add a custom stylesheet/inherit values from the current theme or use the default one built into this plugin. 41 44 * chose which user roles view the admin bar in the front-end of the website (Admin Bar Settings page). … … 44 47 **PROFILE BUILDER PRO** 45 48 46 The [Pro version](http://www.cozmoslabs.com/wordpress-profile-builder/ ) has the following extra features:49 The [Pro version](http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wp.org&utm_medium=plugin-description-page&utm_campaign=PBFree) has the following extra features: 47 50 48 51 * Create Extra User Fields (Heading, Input, Hidden-Input, Checkbox, Agree to Terms Checkbox, Radio Buttons, DatePicker, Textareas, reCAPTCHA, Upload fields, Selects, Country Selects, Timezone selects, Avatar Upload) … … 60 63 * 1 Year of Updates / Priority Support 61 64 62 [Click here to find out more](http://www.cozmoslabs.com/wordpress-profile-builder/) or watch the video below: 63 64 [youtube http://www.youtube.com/watch?v=Uv8piGapOoA] 65 [Find out more about Profile Builder PRO](http://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wp.org&utm_medium=plugin-description-page&utm_campaign=PBFree) 65 66 66 67 NOTE: … … 101 102 8. Edit User Profile Page 102 103 9. Recover Password Page 104 10. Profile Builder Login Widget 103 105 104 106 == Changelog == 107 = 2.0.6 = 108 * Fixed a bug with checkbox field that didn't pass the required if the value of the checkbox contained spaces 109 * When email confirmation is enabled we no longer can send the selected password via email because we now store the hased password inside wp-signups table and not a encoded version of it. This was done to improve security 110 * Fixed problem that was causing "Insert into post" image button not to work 111 * Fixed Fatal error when having both Free and Premium versions activated. 112 * Removing the meta name for extra fields is no longer possible 113 * Added translation files 114 115 105 116 = 2.0.5 = 106 117 * Added notification to enable user registration via Profile Builder (Anyone can register checkbox). -
profile-builder/trunk/translation/profilebuilder.pot
r1020987 r1027324 2 2 msgstr "" 3 3 "Project-Id-Version: profilebuilder\n" 4 "POT-Creation-Date: 2014-1 0-30 16:33+0200\n"5 "PO-Revision-Date: 2014-1 0-30 16:34+0200\n"4 "POT-Creation-Date: 2014-11-17 15:27+0200\n" 5 "PO-Revision-Date: 2014-11-17 15:28+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: Cozmoslabs\n" … … 14 14 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 15 15 "X-Poedit-KeywordsList: __;_e;_x;_n\n" 16 "X-Poedit-SourceCharset: UTF-8\n" 16 17 "X-Poedit-SearchPath-0: ..\n" 17 18 … … 125 126 msgstr "" 126 127 127 #: ../admin/basic-info.php:36 ../features/login-widget/login-widget.php: 75128 #: ../admin/basic-info.php:36 ../features/login-widget/login-widget.php:59 128 129 msgid "Login" 129 130 msgstr "" … … 384 385 #: ../modules/multiple-forms/register-forms.php:229 385 386 #: ../modules/multiple-forms/register-forms.php:230 386 #: ../modules/user-listing/userlisting.php:115 0387 #: ../modules/user-listing/userlisting.php:1157 387 388 msgid "Yes" 388 389 msgstr "" … … 471 472 #: ../modules/user-listing/userlisting.php:94 472 473 #: ../modules/user-listing/userlisting.php:516 473 #: ../modules/user-listing/userlisting.php:11 07474 #: ../modules/user-listing/userlisting.php:1114 474 475 msgid "Username" 475 476 msgstr "" 476 477 477 #: ../admin/general-settings.php:145 ../front-end/login.php:1 34478 #: ../admin/general-settings.php:145 ../front-end/login.php:144 478 479 #: ../modules/email-customizer/email-customizer.php:29 479 480 #: ../modules/user-listing/userlisting.php:522 480 #: ../modules/user-listing/userlisting.php:11 08481 #: ../modules/user-listing/userlisting.php:1115 481 482 msgid "Email" 482 483 msgstr "" … … 738 739 msgstr "" 739 740 740 #: ../admin/manage-fields.php:136 741 #: ../admin/manage-fields.php:136 ../modules/user-listing/userlisting.php:555 741 742 msgid "Nickname" 742 743 msgstr "" … … 761 762 #: ../modules/user-listing/userlisting.php:103 762 763 #: ../modules/user-listing/userlisting.php:537 763 #: ../modules/user-listing/userlisting.php:11 09764 #: ../modules/user-listing/userlisting.php:1116 764 765 msgid "Website" 765 766 msgstr "" … … 783 784 #: ../admin/manage-fields.php:150 ../modules/user-listing/userlisting.php:106 784 785 #: ../modules/user-listing/userlisting.php:540 785 #: ../modules/user-listing/userlisting.php:111 0786 #: ../modules/user-listing/userlisting.php:1117 786 787 msgid "Biographical Info" 787 788 msgstr "" … … 810 811 msgstr "" 811 812 812 #: ../admin/manage-fields.php: 279 ../admin/manage-fields.php:406813 #: ../admin/manage-fields.php:308 ../admin/manage-fields.php:444 813 814 msgid "You must select a field\n" 814 815 msgstr "" 815 816 816 #: ../admin/manage-fields.php: 289817 #: ../admin/manage-fields.php:318 817 818 msgid "" 818 819 "Please choose a different field type as this one already exists in your form " … … 820 821 msgstr "" 821 822 822 #: ../admin/manage-fields.php:3 00823 #: ../admin/manage-fields.php:329 823 824 msgid "The entered avatar size is not between 20 and 200\n" 824 825 msgstr "" 825 826 826 #: ../admin/manage-fields.php:3 03827 #: ../admin/manage-fields.php:332 827 828 msgid "The entered avatar size is not numerical\n" 828 829 msgstr "" 829 830 830 #: ../admin/manage-fields.php:3 11831 #: ../admin/manage-fields.php:340 831 832 msgid "The entered row number is not numerical\n" 832 833 msgstr "" 833 834 834 #: ../admin/manage-fields.php:3 14835 #: ../admin/manage-fields.php:343 835 836 msgid "You must enter a value for the row number\n" 836 837 msgstr "" 837 838 838 #: ../admin/manage-fields.php:3 22839 #: ../admin/manage-fields.php:351 839 840 msgid "You must enter the public key\n" 840 841 msgstr "" 841 842 842 #: ../admin/manage-fields.php:3 24843 #: ../admin/manage-fields.php:353 843 844 msgid "You must enter the private key\n" 844 845 msgstr "" 845 846 846 #: ../admin/manage-fields.php:3 32847 #: ../admin/manage-fields.php:361 847 848 msgid "The entered value for the Datepicker is not a valid date-format\n" 848 849 msgstr "" 849 850 850 #: ../admin/manage-fields.php:3 35851 #: ../admin/manage-fields.php:364 851 852 msgid "You must enter a value for the date-format\n" 852 853 msgstr "" 853 854 854 #: ../admin/manage-fields.php:356 ../admin/manage-fields.php:364 855 #: ../admin/manage-fields.php:374 855 #: ../admin/manage-fields.php:380 856 msgid "The meta-name cannot be empty\n" 857 msgstr "" 858 859 #: ../admin/manage-fields.php:392 ../admin/manage-fields.php:400 860 #: ../admin/manage-fields.php:410 856 861 msgid "That meta-name is already in use\n" 857 862 msgstr "" 858 863 859 #: ../admin/manage-fields.php: 396864 #: ../admin/manage-fields.php:432 860 865 #, php-format 861 866 msgid "" … … 864 869 msgstr "" 865 870 866 #: ../admin/manage-fields.php:4 00871 #: ../admin/manage-fields.php:436 867 872 #, php-format 868 873 msgid "" … … 870 875 msgstr "" 871 876 872 #: ../admin/manage-fields.php:4 13877 #: ../admin/manage-fields.php:451 873 878 msgid "That field is already added in this form\n" 874 879 msgstr "" 875 880 876 #: ../admin/manage-fields.php: 462881 #: ../admin/manage-fields.php:500 877 882 msgid "" 878 883 "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-" … … 880 885 msgstr "" 881 886 882 #: ../admin/manage-fields.php:462 883 #: ../assets/lib/wck-api/wordpress-creation-kit.php:416 887 #: ../admin/manage-fields.php:500 888 #: ../assets/lib/wck-api/wordpress-creation-kit.php:415 889 #: ../assets/lib/wck-api/wordpress-creation-kit.php:501 890 #: ../features/functions.php:590 ../features/functions.php:597 891 #: ../modules/multiple-forms/multiple-forms.php:407 892 msgid "Edit" 893 msgstr "" 894 895 #: ../admin/manage-fields.php:500 896 #: ../assets/lib/wck-api/wordpress-creation-kit.php:415 884 897 #: ../assets/lib/wck-api/wordpress-creation-kit.php:502 885 #: ../features/functions.php:590 ../features/functions.php:597886 #: ../modules/multiple-forms/edit-profile-forms.php:267887 msgid "Edit"888 msgstr ""889 890 #: ../admin/manage-fields.php:462891 #: ../assets/lib/wck-api/wordpress-creation-kit.php:416892 #: ../assets/lib/wck-api/wordpress-creation-kit.php:503893 898 #: ../features/admin-approval/class-admin-approval.php:124 894 899 #: ../features/admin-approval/class-admin-approval.php:235 … … 896 901 #: ../features/email-confirmation/class-email-confirmation.php:202 897 902 #: ../features/functions.php:583 ../features/functions.php:597 898 #: ../modules/multiple-forms/edit-profile-forms.php:267899 903 msgid "Delete" 900 904 msgstr "" 901 905 902 #: ../admin/manage-fields.php: 477906 #: ../admin/manage-fields.php:515 903 907 msgid "Use these shortcodes on the pages you want the forms to be displayed:" 904 908 msgstr "" 905 909 906 #: ../admin/manage-fields.php: 483910 #: ../admin/manage-fields.php:521 907 911 msgid "" 908 912 "If you're interested in displaying different fields in the registration and " … … 958 962 msgstr "" 959 963 960 #: ../admin/register-version.php:21 6964 #: ../admin/register-version.php:219 961 965 #, php-format 962 966 msgid "" 963 967 "<p>Your <strong>Profile Builder</strong> serial number is invalid or " 964 "missing. <br/>Please %1$sregister your copy%2$s of Profile Builder to " 965 "receive access to automatic updates and support. Need a license key? " 966 "%3$sPurchase one now%4$s</p>" 967 msgstr "" 968 969 #: ../admin/register-version.php:219 970 #, php-format 971 msgid "" 972 "<p>Your <strong>Profile Builder</strong> licence has expired. <br/>Please " 973 "%1$sRenew Your Licence%2$s to receive access to automatic updates and " 974 "support. %3$sPurchase one now%4$s %5$sDismiss%6$s</p>" 975 msgstr "" 976 977 #: ../admin/register-version.php:224 978 #, php-format 979 msgid "" 980 "<p>Your <strong>Profile Builder</strong> serial number is about to expire on " 981 "%5$s. <br/>Please %1$sRenew Your Licence%2$s to receive access to automatic " 982 "updates and support. %3$sPurchase one now%4$s</p>" 968 "missing. <br/>Please %1$sregister your copy%2$s to receive access to " 969 "automatic updates and support. Need a license key? %3$sPurchase one now%4$s</" 970 "p>" 971 msgstr "" 972 973 #: ../admin/register-version.php:222 974 #, php-format 975 msgid "" 976 "<p>Your <strong>Profile Builder</strong> license has expired. <br/>Please " 977 "%1$sRenew Your Licence%2$s to continue receiving access to product " 978 "downloads, automatic updates and support. %3$sRenew now and get 50% off " 979 "%4$s %5$sDismiss%6$s</p>" 980 msgstr "" 981 982 #: ../admin/register-version.php:227 983 #, php-format 984 msgid "" 985 "<p>Your <strong>Profile Builder</strong> license is about to expire on %5$s. " 986 "<br/>Please %1$sRenew Your Licence%2$s to continue receiving access to " 987 "product downloads, automatic updates and support. %3$sRenew now and get " 988 "50% off %4$s %6$sDismiss%7$s</p>" 983 989 msgstr "" 984 990 … … 1004 1010 msgstr "" 1005 1011 1006 #: ../assets/lib/wck-api/wordpress-creation-kit.php:41 61012 #: ../assets/lib/wck-api/wordpress-creation-kit.php:415 1007 1013 #: ../features/functions.php:597 1008 1014 msgid "Content" 1009 1015 msgstr "" 1010 1016 1017 #: ../assets/lib/wck-api/wordpress-creation-kit.php:501 1018 msgid "Edit this item" 1019 msgstr "" 1020 1011 1021 #: ../assets/lib/wck-api/wordpress-creation-kit.php:502 1012 msgid "Edit this item"1013 msgstr ""1014 1015 #: ../assets/lib/wck-api/wordpress-creation-kit.php:5031016 1022 msgid "Delete this item" 1017 1023 msgstr "" 1018 1024 1019 #: ../assets/lib/wck-api/wordpress-creation-kit.php:64 41025 #: ../assets/lib/wck-api/wordpress-creation-kit.php:643 1020 1026 msgid "Please enter a value for the required field " 1021 1027 msgstr "" 1022 1028 1023 #: ../assets/lib/wck-api/wordpress-creation-kit.php:10 091029 #: ../assets/lib/wck-api/wordpress-creation-kit.php:1010 1024 1030 msgid "Select File" 1025 1031 msgstr "" … … 1151 1157 #: ../features/admin-approval/class-admin-approval.php:178 1152 1158 #: ../modules/user-listing/userlisting.php:528 1153 #: ../modules/user-listing/userlisting.php:111 21159 #: ../modules/user-listing/userlisting.php:1119 1154 1160 msgid "Firstname" 1155 1161 msgstr "" … … 1157 1163 #: ../features/admin-approval/class-admin-approval.php:179 1158 1164 #: ../modules/user-listing/userlisting.php:531 1159 #: ../modules/user-listing/userlisting.php:11 131165 #: ../modules/user-listing/userlisting.php:1120 1160 1166 msgid "Lastname" 1161 1167 msgstr "" … … 1323 1329 msgstr "" 1324 1330 1325 #: ../features/email-confirmation/email-confirmation.php:38 71326 #: ../front-end/register.php:6 71331 #: ../features/email-confirmation/email-confirmation.php:388 1332 #: ../front-end/register.php:68 1327 1333 msgid "Could not create user!" 1328 1334 msgstr "" 1329 1335 1330 #: ../features/email-confirmation/email-confirmation.php:39 01336 #: ../features/email-confirmation/email-confirmation.php:391 1331 1337 msgid "That username is already activated!" 1332 1338 msgstr "" 1333 1339 1334 #: ../features/email-confirmation/email-confirmation.php:4 101340 #: ../features/email-confirmation/email-confirmation.php:420 1335 1341 msgid "There was an error while trying to activate the user" 1336 1342 msgstr "" 1337 1343 1338 #: ../features/email-confirmation/email-confirmation.php:4 481344 #: ../features/email-confirmation/email-confirmation.php:458 1339 1345 #: ../modules/email-customizer/admin-email-customizer.php:73 1340 1346 msgid "A new subscriber has (been) registered!" 1341 1347 msgstr "" 1342 1348 1343 #: ../features/email-confirmation/email-confirmation.php:4 511349 #: ../features/email-confirmation/email-confirmation.php:461 1344 1350 #, php-format 1345 1351 msgid "New subscriber on %1$s.<br/><br/>Username:%2$s<br/>E-mail:%3$s<br/>" 1346 1352 msgstr "" 1347 1353 1348 #: ../features/email-confirmation/email-confirmation.php:4 561354 #: ../features/email-confirmation/email-confirmation.php:466 1349 1355 msgid "" 1350 1356 "The \"Admin Approval\" feature was activated at the time of registration, so " … … 1352 1358 msgstr "" 1353 1359 1354 #: ../features/email-confirmation/email-confirmation.php:4 711360 #: ../features/email-confirmation/email-confirmation.php:481 1355 1361 #, php-format 1356 1362 msgid "[%1$s] Your new account information" 1357 1363 msgstr "" 1358 1364 1359 #: ../features/email-confirmation/email-confirmation.php:4 741365 #: ../features/email-confirmation/email-confirmation.php:484 1360 1366 #, php-format 1361 1367 msgid "Welcome to %1$s!<br/><br/><br/>Your username is:%2$s and password:%3$s" 1362 1368 msgstr "" 1363 1369 1364 #: ../features/email-confirmation/email-confirmation.php:4 791365 #: ../front-end/register.php: 931370 #: ../features/email-confirmation/email-confirmation.php:489 1371 #: ../front-end/register.php:103 1366 1372 msgid "" 1367 1373 "Before you can access your account, an administrator needs to approve it. " … … 1393 1399 msgstr "" 1394 1400 1401 #: ../features/functions.php:556 1402 msgid "This field is required" 1403 msgstr "" 1404 1395 1405 #: ../features/functions.php:576 1396 1406 msgid "Cancel" 1397 1407 msgstr "" 1398 1408 1409 #: ../features/functions.php:607 1410 #, php-format 1411 msgid "" 1412 "To allow users to register for your website via Profile Builder, you first " 1413 "must enable user registration. Go to %1$sSettings -> General%2$s tab, and " 1414 "under Membership make sure to check “Anyone can register”. %3$sDismiss%4$s" 1415 msgstr "" 1416 1399 1417 #: ../features/login-widget/login-widget.php:10 1400 1418 msgid "This login widget lets you add a login form in the sidebar." … … 1405 1423 msgstr "" 1406 1424 1407 #: ../features/login-widget/login-widget.php:40 1408 #: ../front-end/class-formbuilder.php:274 1409 msgid "Register" 1410 msgstr "" 1411 1412 #: ../features/login-widget/login-widget.php:41 1413 msgid "Don't have an account?" 1414 msgstr "" 1415 1416 #: ../features/login-widget/login-widget.php:46 1417 msgid "Lost Password" 1418 msgstr "" 1419 1420 #: ../features/login-widget/login-widget.php:46 1421 msgid "Lost Your Password?" 1422 msgstr "" 1423 1424 #: ../features/login-widget/login-widget.php:79 1425 #: ../features/login-widget/login-widget.php:63 1425 1426 msgid "Title:" 1426 1427 msgstr "" 1427 1428 1428 #: ../features/login-widget/login-widget.php: 841429 #: ../features/login-widget/login-widget.php:68 1429 1430 msgid "After login redirect URL (optional):" 1430 1431 msgstr "" 1431 1432 1432 #: ../features/login-widget/login-widget.php: 891433 #: ../features/login-widget/login-widget.php:73 1433 1434 msgid "Register page URL (optional):" 1434 1435 msgstr "" 1435 1436 1436 #: ../features/login-widget/login-widget.php: 941437 #: ../features/login-widget/login-widget.php:78 1437 1438 msgid "Password Recovery page URL (optional):" 1438 1439 msgstr "" … … 1515 1516 #: ../front-end/class-formbuilder.php:274 1516 1517 msgid "Add User" 1518 msgstr "" 1519 1520 #: ../front-end/class-formbuilder.php:274 ../front-end/login.php:172 1521 msgid "Register" 1517 1522 msgstr "" 1518 1523 … … 1689 1694 msgstr "" 1690 1695 1691 #: ../front-end/extra-fields/extra-fields.php:94 ../front-end/login.php: 631692 #: ../front-end/login.php:7 0 ../front-end/login.php:801696 #: ../front-end/extra-fields/extra-fields.php:94 ../front-end/login.php:72 1697 #: ../front-end/login.php:79 ../front-end/login.php:89 1693 1698 #: ../front-end/recover.php:17 ../front-end/recover.php:206 1694 1699 msgid "ERROR" … … 1778 1783 msgstr "" 1779 1784 1780 #: ../front-end/login.php: 631785 #: ../front-end/login.php:72 1781 1786 msgid "The password you entered is incorrect." 1782 1787 msgstr "" 1783 1788 1784 #: ../front-end/login.php: 64 ../front-end/login.php:711789 #: ../front-end/login.php:73 ../front-end/login.php:80 1785 1790 msgid "Password Lost and Found." 1786 1791 msgstr "" 1787 1792 1788 #: ../front-end/login.php: 64 ../front-end/login.php:711793 #: ../front-end/login.php:73 ../front-end/login.php:80 1789 1794 msgid "Lost your password" 1790 1795 msgstr "" 1791 1796 1792 #: ../front-end/login.php:7 01797 #: ../front-end/login.php:79 1793 1798 msgid "Invalid username." 1794 1799 msgstr "" 1795 1800 1796 #: ../front-end/login.php: 751801 #: ../front-end/login.php:84 1797 1802 msgid "username" 1798 1803 msgstr "" 1799 1804 1800 #: ../front-end/login.php: 751805 #: ../front-end/login.php:84 1801 1806 msgid "email" 1802 1807 msgstr "" 1803 1808 1804 #: ../front-end/login.php:8 01809 #: ../front-end/login.php:89 1805 1810 msgid "Both fields are empty." 1806 1811 msgstr "" 1807 1812 1808 #: ../front-end/login.php:173 1813 #: ../front-end/login.php:178 1814 msgid "Lost your password?" 1815 msgstr "" 1816 1817 #: ../front-end/login.php:199 1809 1818 #, php-format 1810 1819 msgid "You are currently logged in as %1$s. %2$s" 1811 1820 msgstr "" 1812 1821 1813 #: ../front-end/login.php:1 731822 #: ../front-end/login.php:199 1814 1823 msgid "Log out of this account" 1815 1824 msgstr "" 1816 1825 1817 #: ../front-end/login.php:1 731826 #: ../front-end/login.php:199 1818 1827 msgid "Log out" 1819 1828 msgstr "" … … 1924 1933 msgstr "" 1925 1934 1926 #: ../front-end/register.php:7 01935 #: ../front-end/register.php:71 1927 1936 msgid "This username is already activated!" 1928 1937 msgstr "" 1929 1938 1930 #: ../front-end/register.php: 921939 #: ../front-end/register.php:102 1931 1940 msgid "Your email was successfully confirmed." 1932 1941 msgstr "" 1933 1942 1934 #: ../front-end/register.php:1 021943 #: ../front-end/register.php:112 1935 1944 msgid "There was an error while trying to activate the user." 1936 1945 msgstr "" 1937 1946 1938 #: ../index.php:159 1939 #, php-format 1940 msgid "" 1941 "<p style=\"position:relative;\">Halloween treat: 30% OFF on all Profile " 1942 "Builder purchases 29 - 30 -31 October over at %1$swww.cozmslabs.com%2$s Get " 1943 "your discount code! %3$sDismiss%4$s</p>" 1944 msgstr "" 1945 1946 #: ../modules/class-mustache-templates/class-mustache-templates.php:239 1947 #: ../index.php:34 1948 msgid "" 1949 " is also activated. You need to deactivate it before activating this version " 1950 "of the plugin." 1951 msgstr "" 1952 1953 #: ../modules/class-mustache-templates/class-mustache-templates.php:242 1947 1954 msgid "Save" 1948 1955 msgstr "" … … 2049 2056 2050 2057 #: ../modules/email-customizer/admin-email-customizer.php:38 2051 #: ../modules/email-customizer/user-email-customizer.php:382052 2058 msgid "" 2053 2059 "These settings are also replicated in the \"User Email Customizer\" settings-" 2054 2060 "page upon save." 2061 msgstr "" 2062 2063 #: ../modules/email-customizer/admin-email-customizer.php:38 2064 #: ../modules/email-customizer/user-email-customizer.php:38 2065 msgid "Valid tags {{reply_to}} and {{site_name}}" 2055 2066 msgstr "" 2056 2067 … … 2063 2074 #: ../modules/email-customizer/user-email-customizer.php:49 2064 2075 msgid "From (reply-to email)" 2076 msgstr "" 2077 2078 #: ../modules/email-customizer/admin-email-customizer.php:54 2079 #: ../modules/email-customizer/user-email-customizer.php:54 2080 msgid "" 2081 "Must be a valid email address or the tag {{reply_to}} which defaults to the " 2082 "administrator email" 2065 2083 msgstr "" 2066 2084 … … 2145 2163 msgstr "" 2146 2164 2165 #: ../modules/email-customizer/email-customizer.php:265 2166 #: ../modules/email-customizer/email-customizer.php:272 2167 msgid "Your selected password at signup" 2168 msgstr "" 2169 2147 2170 #: ../modules/email-customizer/user-email-customizer.php:11 2148 2171 #: ../modules/email-customizer/user-email-customizer.php:12 2149 2172 #: ../modules/modules.php:125 2150 2173 msgid "User Email Customizer" 2174 msgstr "" 2175 2176 #: ../modules/email-customizer/user-email-customizer.php:38 2177 msgid "" 2178 "These settings are also replicated in the \"Admin Email Customizer\" " 2179 "settings-page upon save." 2151 2180 msgstr "" 2152 2181 … … 2287 2316 #: ../modules/multiple-forms/edit-profile-forms.php:135 2288 2317 #: ../modules/multiple-forms/register-forms.php:138 2289 #: ../modules/user-listing/userlisting.php:102 22318 #: ../modules/user-listing/userlisting.php:1029 2290 2319 msgid "Shortcode" 2291 2320 msgstr "" … … 2293 2322 #: ../modules/multiple-forms/edit-profile-forms.php:155 2294 2323 #: ../modules/multiple-forms/register-forms.php:159 2295 #: ../modules/user-listing/userlisting.php:10 432324 #: ../modules/user-listing/userlisting.php:1050 2296 2325 msgid "(no title)" 2297 2326 msgstr "" … … 2299 2328 #: ../modules/multiple-forms/edit-profile-forms.php:175 2300 2329 #: ../modules/multiple-forms/register-forms.php:178 2301 #: ../modules/user-listing/userlisting.php:10 632330 #: ../modules/user-listing/userlisting.php:1070 2302 2331 msgid "The shortcode will be available after you publish this form." 2303 2332 msgstr "" … … 2305 2334 #: ../modules/multiple-forms/edit-profile-forms.php:177 2306 2335 #: ../modules/multiple-forms/register-forms.php:180 2307 #: ../modules/user-listing/userlisting.php:10 652336 #: ../modules/user-listing/userlisting.php:1072 2308 2337 msgid "Use this shortcode on the page you want the form to be displayed:" 2309 2338 msgstr "" … … 2311 2340 #: ../modules/multiple-forms/edit-profile-forms.php:181 2312 2341 #: ../modules/multiple-forms/register-forms.php:184 2313 #: ../modules/user-listing/userlisting.php:10 692342 #: ../modules/user-listing/userlisting.php:1076 2314 2343 msgid "" 2315 2344 "<span style=\"color:red;\">Note:</span> changing the form title also changes " … … 2319 2348 #: ../modules/multiple-forms/edit-profile-forms.php:187 2320 2349 #: ../modules/multiple-forms/register-forms.php:190 2321 #: ../modules/user-listing/userlisting.php:10 832350 #: ../modules/user-listing/userlisting.php:1090 2322 2351 msgid "Form Shortcode" 2323 2352 msgstr "" … … 2358 2387 msgstr "" 2359 2388 2360 #: ../modules/multiple-forms/edit-profile-forms.php:2 672361 msgid " <pre>Title (Type)</pre>"2389 #: ../modules/multiple-forms/edit-profile-forms.php:272 2390 msgid "This form is empty." 2362 2391 msgstr "" 2363 2392 2364 2393 #: ../modules/multiple-forms/multiple-forms.php:233 2365 2394 msgid "You need to specify the title of the form before creating it" 2395 msgstr "" 2396 2397 #: ../modules/multiple-forms/multiple-forms.php:407 2398 msgid "<pre>Title (Type)</pre>" 2399 msgstr "" 2400 2401 #: ../modules/multiple-forms/multiple-forms.php:407 2402 msgid "Delete all items" 2403 msgstr "" 2404 2405 #: ../modules/multiple-forms/multiple-forms.php:407 2406 msgid "Delete all" 2366 2407 msgstr "" 2367 2408 … … 2444 2485 msgstr "" 2445 2486 2446 #: ../modules/user-listing/class-userlisting.php:45 42447 #: ../modules/user-listing/userlisting.php:62 12448 #: ../modules/user-listing/userlisting.php:8 352449 #: ../modules/user-listing/userlisting.php:8 782450 #: ../modules/user-listing/userlisting.php:120 22487 #: ../modules/user-listing/class-userlisting.php:458 2488 #: ../modules/user-listing/userlisting.php:624 2489 #: ../modules/user-listing/userlisting.php:842 2490 #: ../modules/user-listing/userlisting.php:885 2491 #: ../modules/user-listing/userlisting.php:1209 2451 2492 msgid "Search Users by All Fields" 2452 2493 msgstr "" … … 2489 2530 2490 2531 #: ../modules/user-listing/userlisting.php:118 2491 #: ../modules/user-listing/userlisting.php:111 12532 #: ../modules/user-listing/userlisting.php:1118 2492 2533 msgid "Registration Date" 2493 2534 msgstr "" 2494 2535 2495 2536 #: ../modules/user-listing/userlisting.php:119 2496 #: ../modules/user-listing/userlisting.php:11 152537 #: ../modules/user-listing/userlisting.php:1122 2497 2538 msgid "Number of Posts" 2498 2539 msgstr "" … … 2560 2601 2561 2602 #: ../modules/user-listing/userlisting.php:534 2562 #: ../modules/user-listing/userlisting.php:11 142603 #: ../modules/user-listing/userlisting.php:1121 2563 2604 msgid "Display Name" 2564 2605 msgstr "" … … 2569 2610 2570 2611 #: ../modules/user-listing/userlisting.php:546 2571 #: ../modules/user-listing/userlisting.php:11 192612 #: ../modules/user-listing/userlisting.php:1126 2572 2613 msgid "Aim" 2573 2614 msgstr "" 2574 2615 2575 2616 #: ../modules/user-listing/userlisting.php:549 2576 #: ../modules/user-listing/userlisting.php:112 02617 #: ../modules/user-listing/userlisting.php:1127 2577 2618 msgid "Yim" 2578 2619 msgstr "" 2579 2620 2580 2621 #: ../modules/user-listing/userlisting.php:552 2581 #: ../modules/user-listing/userlisting.php:112 12622 #: ../modules/user-listing/userlisting.php:1128 2582 2623 msgid "Jabber" 2583 2624 msgstr "" 2584 2625 2585 #: ../modules/user-listing/userlisting.php: 6982626 #: ../modules/user-listing/userlisting.php:701 2586 2627 msgid "Click here to see more information about this user" 2587 2628 msgstr "" 2588 2629 2589 #: ../modules/user-listing/userlisting.php: 6982630 #: ../modules/user-listing/userlisting.php:701 2590 2631 msgid "More..." 2591 2632 msgstr "" 2592 2633 2593 #: ../modules/user-listing/userlisting.php:70 12634 #: ../modules/user-listing/userlisting.php:704 2594 2635 msgid "Click here to see more information about this user." 2595 2636 msgstr "" 2596 2637 2597 #: ../modules/user-listing/userlisting.php:7 892598 #: ../modules/user-listing/userlisting.php:79 22638 #: ../modules/user-listing/userlisting.php:796 2639 #: ../modules/user-listing/userlisting.php:799 2599 2640 msgid "Click here to go back" 2600 2641 msgstr "" 2601 2642 2602 #: ../modules/user-listing/userlisting.php:7 892643 #: ../modules/user-listing/userlisting.php:796 2603 2644 msgid "Back" 2604 2645 msgstr "" 2605 2646 2606 #: ../modules/user-listing/userlisting.php:82 22647 #: ../modules/user-listing/userlisting.php:829 2607 2648 msgid "«« First" 2608 2649 msgstr "" 2609 2650 2610 #: ../modules/user-listing/userlisting.php:8 232651 #: ../modules/user-listing/userlisting.php:830 2611 2652 msgid "« Prev" 2612 2653 msgstr "" 2613 2654 2614 #: ../modules/user-listing/userlisting.php:8 242655 #: ../modules/user-listing/userlisting.php:831 2615 2656 msgid "Next » " 2616 2657 msgstr "" 2617 2658 2618 #: ../modules/user-listing/userlisting.php:8 252659 #: ../modules/user-listing/userlisting.php:832 2619 2660 msgid "Last »»" 2620 2661 msgstr "" 2621 2662 2622 #: ../modules/user-listing/userlisting.php:8 542663 #: ../modules/user-listing/userlisting.php:861 2623 2664 msgid "You don't have any pagination settings on this userlisting!" 2624 2665 msgstr "" 2625 2666 2626 #: ../modules/user-listing/userlisting.php: 8952667 #: ../modules/user-listing/userlisting.php:902 2627 2668 msgid "Search" 2628 2669 msgstr "" 2629 2670 2630 #: ../modules/user-listing/userlisting.php: 8962671 #: ../modules/user-listing/userlisting.php:903 2631 2672 msgid "Clear Results" 2632 2673 msgstr "" 2633 2674 2634 #: ../modules/user-listing/userlisting.php:107 22675 #: ../modules/user-listing/userlisting.php:1079 2635 2676 msgid "Extra shortcode parameters" 2636 2677 msgstr "" 2637 2678 2638 #: ../modules/user-listing/userlisting.php:10 742679 #: ../modules/user-listing/userlisting.php:1081 2639 2680 msgid "" 2640 2681 "displays users having a certain meta-value within a certain (extra) meta-" … … 2642 2683 msgstr "" 2643 2684 2644 #: ../modules/user-listing/userlisting.php:10 752685 #: ../modules/user-listing/userlisting.php:1082 2645 2686 msgid "Example:" 2646 2687 msgstr "" 2647 2688 2648 #: ../modules/user-listing/userlisting.php:10 772689 #: ../modules/user-listing/userlisting.php:1084 2649 2690 msgid "" 2650 2691 "Remember though, that the field-value combination must exist in the database." 2651 2692 msgstr "" 2652 2693 2653 #: ../modules/user-listing/userlisting.php:113 12694 #: ../modules/user-listing/userlisting.php:1138 2654 2695 msgid "Random (very slow on large databases > 10K user)" 2655 2696 msgstr "" 2656 2697 2657 #: ../modules/user-listing/userlisting.php:11 442698 #: ../modules/user-listing/userlisting.php:1151 2658 2699 msgid "Roles to Display" 2659 2700 msgstr "" 2660 2701 2661 #: ../modules/user-listing/userlisting.php:11 442702 #: ../modules/user-listing/userlisting.php:1151 2662 2703 msgid "" 2663 2704 "Restrict the userlisting to these selected roles only<br/>If not specified, " … … 2665 2706 msgstr "" 2666 2707 2667 #: ../modules/user-listing/userlisting.php:11 452708 #: ../modules/user-listing/userlisting.php:1152 2668 2709 msgid "Number of Users/Page" 2669 2710 msgstr "" 2670 2711 2671 #: ../modules/user-listing/userlisting.php:11 452712 #: ../modules/user-listing/userlisting.php:1152 2672 2713 msgid "" 2673 2714 "Set the number of users to be displayed on every paginated part of the all-" … … 2675 2716 msgstr "" 2676 2717 2677 #: ../modules/user-listing/userlisting.php:11 462718 #: ../modules/user-listing/userlisting.php:1153 2678 2719 msgid "Default Sorting Criteria" 2679 2720 msgstr "" 2680 2721 2681 #: ../modules/user-listing/userlisting.php:11 462722 #: ../modules/user-listing/userlisting.php:1153 2682 2723 msgid "" 2683 2724 "Set the default sorting criteria<br/>This can temporarily be changed for " … … 2685 2726 msgstr "" 2686 2727 2687 #: ../modules/user-listing/userlisting.php:11 472728 #: ../modules/user-listing/userlisting.php:1154 2688 2729 msgid "Default Sorting Order" 2689 2730 msgstr "" 2690 2731 2691 #: ../modules/user-listing/userlisting.php:11 472732 #: ../modules/user-listing/userlisting.php:1154 2692 2733 msgid "" 2693 2734 "Set the default sorting order<br/>This can temporarily be changed for each " … … 2695 2736 msgstr "" 2696 2737 2697 #: ../modules/user-listing/userlisting.php:11 482738 #: ../modules/user-listing/userlisting.php:1155 2698 2739 msgid "Avatar Size (All-userlisting)" 2699 2740 msgstr "" 2700 2741 2701 #: ../modules/user-listing/userlisting.php:11 482742 #: ../modules/user-listing/userlisting.php:1155 2702 2743 msgid "Set the avatar size on the all-userlisting only" 2703 2744 msgstr "" 2704 2745 2705 #: ../modules/user-listing/userlisting.php:11 492746 #: ../modules/user-listing/userlisting.php:1156 2706 2747 msgid "Avatar Size (Single-userlisting)" 2707 2748 msgstr "" 2708 2749 2709 #: ../modules/user-listing/userlisting.php:11 492750 #: ../modules/user-listing/userlisting.php:1156 2710 2751 msgid "Set the avatar size on the single-userlisting only" 2711 2752 msgstr "" 2712 2753 2713 #: ../modules/user-listing/userlisting.php:115 02754 #: ../modules/user-listing/userlisting.php:1157 2714 2755 msgid "Visible only to logged in users?" 2715 2756 msgstr "" 2716 2757 2717 #: ../modules/user-listing/userlisting.php:115 02758 #: ../modules/user-listing/userlisting.php:1157 2718 2759 msgid "The userlisting will only be visible only to the logged in users" 2719 2760 msgstr "" 2720 2761 2721 #: ../modules/user-listing/userlisting.php:115 12762 #: ../modules/user-listing/userlisting.php:1158 2722 2763 msgid "Visible to following Roles" 2723 2764 msgstr "" 2724 2765 2725 #: ../modules/user-listing/userlisting.php:115 12766 #: ../modules/user-listing/userlisting.php:1158 2726 2767 msgid "The userlisting will only be visible to the following roles" 2727 2768 msgstr "" 2728 2769 2729 #: ../modules/user-listing/userlisting.php:11 572770 #: ../modules/user-listing/userlisting.php:1164 2730 2771 msgid "Userlisting Settings" 2731 2772 msgstr "" 2732 2773 2733 #: ../modules/user-listing/userlisting.php:11 782774 #: ../modules/user-listing/userlisting.php:1185 2734 2775 msgid "" 2735 2776 "You need to activate the Userlisting feature from within the \"Modules\" tab!" 2736 2777 msgstr "" 2737 2778 2738 #: ../modules/user-listing/userlisting.php:11 782779 #: ../modules/user-listing/userlisting.php:1185 2739 2780 msgid "You can find it in the Profile Builder menu." 2740 2781 msgstr "" 2741 2782 2742 #: ../modules/user-listing/userlisting.php:13 282783 #: ../modules/user-listing/userlisting.php:1335 2743 2784 msgid "No results found!" 2744 2785 msgstr ""
Note: See TracChangeset
for help on using the changeset viewer.