Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Sam,
Do you mean you submit a comment with custom fields on the frontend? I think it will not work because it is noted in the documentation
It's important to note that MB Comment Meta works only in the back end. It does not add custom fields for comments in the front end.Please read more here https://metabox.io/plugins/mb-comment-meta
Peter
ModeratorHello,
Please follow the documentation to know how to output the
image_selectfield
https://docs.metabox.io/fields/image-select/For example:
rwmb_meta( 'wordpress_builder_select' );And please notice that, this field saves the value, not the image URL. If you want to output the image with URL, please use the helper function rwmb_the_value().
For example:
rwmb_the_value( 'wordpress_builder_select' );Peter
ModeratorHello,
I see you've submitted a refund ticket also. I will close this one.
Peter
ModeratorHello,
The field group exported indicates that you are using the default table (wp_postmeta) of WordPress. I don't know how your DB engine cannot work with the default table of WordPress, even with a custom table and broken down.
There are many plugins that use the default table of WordPress to store the post meta or create other custom tables to store its data like WooCommerce.
I'm not sure how you design your server to work but I think it's not a Meta Box issue itself.February 15, 2023 at 10:08 PM in reply to: Bug: Conditional Logic Set On Value Of Taxonomy Custom Field Prevents Post Save #40535Peter
ModeratorHello James,
Can you please share the code that you use to create the conditional logic and custom fields on your site? And please share some screenshots or a screen record of the issue. I will try to reproduce it on my local site to see if it is a bug.
Peter
ModeratorHello,
I see the option "Save field value" is not enabled so the field value will not be saved. Please enable this option for all fields and check the issue again.
Screenshot https://monosnap.com/file/iJQ404spOgT9PSu6tjYLPU9OYZEjPzPlease read more on the documentation https://docs.metabox.io/field-settings/
Peter
ModeratorHello,
Thank you for your feedback.
Working with the media modal is not easy because it uses JS code to render and save data also. We are also trying to improve our fields to work with this.
I'm going to escalate those issues to the development team to fix them. Just one note:
the selection applied to the media is not registered (saved), when looking into the admin panel media category list, "0" remains after each value
You are using the field typetaxonomy_advancedso it will save the post meta, not set the post terms. Then you will not see the number of posts (image) associated with a taxonomy.Please read more on the documentation https://docs.metabox.io/fields/taxonomy-advanced/
February 14, 2023 at 10:48 PM in reply to: Can repeatable fields (the MB extension) be exported w/ MB Builder? #40518Peter
ModeratorHello Morgan,
Meta Box does not support a repeatable field, I think you are talking about the cloneable field, please read more here https://docs.metabox.io/cloning-fields/
It is a native feature of field settings, which means any field can be cloned, no need to use a specific field. And of course, it can be generated to PHP code.February 14, 2023 at 10:44 PM in reply to: ✅Setting Default Values For MB Builder Custom Field Types #40517Peter
ModeratorHello,
Currently, there is no option to set the default value when adding a new field in the builder. I will inform the development team to consider supporting this in future updates.
If you want to set the default value for the field when editing the post, please use the field settingstd.February 14, 2023 at 10:11 PM in reply to: Gutenberg Block with Relation does not work anymore #40516Peter
ModeratorHello,
I have not received any email from you. Can you please resend it?
Peter
ModeratorHello,
I'm not sure if two plugins can work with custom fields created by Meta Box. But if it can work with default custom fields of WordPress, it can work with some simple fields created by Meta Box like
text,number,email...Peter
ModeratorHello,
This text is registered for translation under the domain "mb-user-profile". If you are using a translation plugin, please scan the plugin and find the text with the domain to translate.
You can find it in the file /mb-user-profile/src/Forms/Info.php line 34
Peter
ModeratorHello,
If you use the attribute
edit='true', for example:[mb_frontend_form id='my-custom-fields' post_fields='title' edit='true'], you will be able to edit the post after submitting the form.If you want to edit the post on the frontend, please create a dashboard page with a frontend dashboard shortcode. It supports a table of posts that belong to the current user to edit/delete. Please read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#user-dashboard
Peter
ModeratorGreat.
Let me know if you have any questions.Peter
ModeratorHello,
You can use the filter hook
rwmb_{$field_id}_valueto format the date value before saving it to the database. For example:add_filter( 'rwmb_date_03tqmu7k17qs_value', function( $new, $field, $old, $object_id ) { $timestamp = strtotime( $new ); $new = wp_date( 'd F o', $timestamp ); return $new; }, 99, 4 );replace
date_03tqmu7k17qswith your field date ID. Please read more on the documentation
https://docs.metabox.io/filters/rwmb-field-type-value/
https://developer.wordpress.org/reference/functions/wp_date/ -
AuthorPosts