Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Thank you for your reporting.
I've tested this case again and see that if a statement is hidden then the logic does not work. I will inform the development to check this case and let you know later.
Long Nguyen
ModeratorHi Martin,
I'm afraid there are no settings or options to populate a field value base on another field value. You can use the extension MB Conditional Logic to show/hide a field base on the relationship value.
Long Nguyen
ModeratorHi Martin,
You should use the code to set the default value (current date) for the first field, then clone fields will inherit the default value.
[ 'id' => $prefix . 'job_update_date', 'type' => 'date', 'name' => esc_html__( 'Task Date', 'text-domain' ), 'clone' => true, 'clone_default' => true, 'std' => date("Y-m-d"), ],Get more details about cloneable sub-fields here https://docs.metabox.io/extensions/meta-box-group/#clone-default-values.
Long Nguyen
ModeratorHi,
- It's not possible to modify the message by coding but you can use a translation plugin to translate the text to your language.
-
Yes, I see it's not convenient for users to re-type the information. I will create a feature request for the development team to support this case.
Thank you.
Long Nguyen
ModeratorHi,
Sorry if I misunderstood your questions. I will try to reply sequently.
- If you use the filter to modify the register form, you can only use the fields in the code as default fields and add more fields by adding the attribute
id="meta-box-id"to the shortcode to create different forms. - Please try again with this code (remove the array key)
- No, because we use the filter to modify the field settings while the custom table needs the meta box settings. Read more on the documentation https://docs.metabox.io/extensions/mb-custom-table/#using-custom-tables.
- I will inform the Keymaster to take a look at that case.
function add_more_registration_fields( $fields ) { $fields = [ [ 'name' => __( 'Email', 'mb-user-profile' ), 'id' => 'user_email', 'type' => 'email', 'required' => true, ], [ 'name' => __( 'Password123', 'mb-user-profile' ), 'id' => 'user_pass', 'type' => 'password', 'required' => true, 'desc' => '<span id="password-strength" class="rwmb-password-strength"></span>', ], [ 'name' => __( 'Confirm Password123', 'mb-user-profile' ), 'id' => 'user_pass2', 'type' => 'password', 'required' => true, ], // ... add more fields here ]; return $fields; }Long Nguyen
ModeratorHi,
Did you require/include the file "custom-functions/functiones.php" in the main file functions.php of the "astra-child" theme?
You can add the code to the file functions.php, screenshot https://share.getcloudapp.com/5zuA6xGb
or just use the plugin Code Snippets to see it works.Long Nguyen
ModeratorHi Rebecca,
You can add the code to the file functions.php in the theme/child theme folder or use the plugin Code Snippets https://wordpress.org/plugins/code-snippets/.
Long Nguyen
ModeratorHi Mike,
Yes, possible. You can add the custom settings for the field which you want to show. Screenshot https://share.getcloudapp.com/o0uEw0o2.
Get more details on these documentations:
https://docs.metabox.io/extensions/meta-box-builder/#custom-settings
https://docs.metabox.io/extensions/mb-admin-columns/#usageLong Nguyen
ModeratorHi,
Please update the new version of MB Core v1.1.5 or MB Custom Post Type v2.0.10 to fix this issue.
Long Nguyen
ModeratorHi Aart Jan,
Thank you for your reporting.
Are you using PHP 8 version? I suppose that this error notice displays when you update PHP version 7.4 to 8. Some PHP functions need to update to compatible with the new version.
For stability, please use version 7.4 in a while.
Long Nguyen
ModeratorHi,
Thank you for your reporting.
I've informed the development team about this issue and it will be fixed in the next update as soon as possible.
Long Nguyen
ModeratorHi Mike,
It is possible that there is a conflict between two plugins MB Frontend Submission and WP Bakery Builder. Please edit the page with the default editor of WordPress to let the dashboard page works.
Long Nguyen
ModeratorHi,
Please check the file functions.php in the activated theme. Or you can use the plugin Code Snippets to run the code https://wordpress.org/plugins/code-snippets/.
Long Nguyen
ModeratorHi,
Thank you for getting in touch.
It's the conflict between our plugin and another theme, not the issue of the plugin itself, I've informed the developer team to check it and get back to you if there is any information.
Long Nguyen
ModeratorHi,
I will inform the developer team to explore the possibility. Thank you.
-
AuthorPosts