Forum Replies Created
-
AuthorPosts
-
December 16, 2023 at 11:36 AM in reply to: MB Relationships - Database error for relationship between users_to_posts #44105
Peter
ModeratorHello,
Yes, I test this feature on my demo site and do not see that issue. If you don't like sharing credentials, please create a new WordPress site and add only one relationship code to see how it goes.
Peter
ModeratorHello,
The field "custom_html" doesn't save the data and it doesn't have a field ID. It is used to display an instruction for the user in the admin area. I will inform the development team to remove its field ID in the builder.
Following the documentation https://docs.metabox.io/fields/custom-html/December 15, 2023 at 2:22 PM in reply to: How to Get an Image To display based on Custom Field Value #44099Peter
ModeratorHello,
In the admin area, you can use the extension MB Conditional Logic to show/hide a field based on another field value.
In the frontend, you can create an
ifstatement to check a field value before outputting another field value. I think it is a simple code, like this.if( $willing_to_help_field == true ) { echo $icon_field; }Peter
ModeratorHello,
I see the slowdown issue of the field group when having more custom fields. I will forward them to the development team to check them and improve the performance.
Regarding the group data, it works as the standard serialized data of WordPress and is a core feature. There isn't an option to change the data format to JSON. If you want to search and replace the value in the DB, you can use the plugin https://wordpress.org/plugins/better-search-replace/ which supports serialization.December 15, 2023 at 10:10 AM in reply to: MB Relationships - Database error for relationship between users_to_posts #44097Peter
ModeratorHello,
Please share your site credentials via this contact form https://metabox.io/contact/
I will take a look.December 14, 2023 at 3:45 PM in reply to: MB Relationships - Database error for relationship between users_to_posts #44089Peter
ModeratorHello,
If there are two meta boxes, you should have two relationships in the code or in the builder. Please recheck this and remove one and recheck the error in the post screen also.
Peter
ModeratorHello,
There isn't a time duration field. You can get the start and end time field value then calculate the duration and output it in the frontend. Following the documentation https://docs.metabox.io/fields/time/
Peter
ModeratorHello,
It looks like the issue in this topic https://support.metabox.io/topic/js-call-mb_frontend_form-shortcode/
You can create a button and redirect the user to the frontend form page to edit the post.December 14, 2023 at 11:46 AM in reply to: โ Confirm email change via unique link - for existing user account #44086Peter
ModeratorHello,
Thank you for your feedback.
This feature is not supported in the frontend. I will inform the development team to consider supporting this in future updates.
December 14, 2023 at 11:12 AM in reply to: โ How to querry Favorite Posts for non logged in users in Bricks Builder? #44084Peter
ModeratorHello Sridhar,
I just understand the user ID is the author of the post in the loop. For non-logged-in users, you can get the posts from the cookie. Please take a look at the file
/wp-content/plugins/mb-favorite-posts/src/Helper.phpFor example:
$favorites = MetaBox\FavoritePosts\Helper::get_favorites(); foreach( $favorites as $post_id ) { echo $post_id; }It is noted in the documentation https://docs.metabox.io/extensions/mb-favorite-posts/#data
December 13, 2023 at 2:55 PM in reply to: Avoid duplicate selections across group members (with clone and sort) #44077Peter
ModeratorHello,
I'm afraid that it isn't supported currently. The subfield in the clone group can select all choices as the first group item.
December 13, 2023 at 2:54 PM in reply to: PHP code for Google Map to auto populate street_address, lat, lng, street #44076Peter
ModeratorHello,
Please check if you assign a string to the variable
$prefix, try to remove it andbindingsetting in the map field and check this issue again. Remove the redundant code=> 'vn'in thegeosetting also.Peter
ModeratorHello,
Please export your field group to a JSON file and share it here. I will test it on my demo site and escalate the issue to the development team.
Thank you.
Peter
ModeratorHello Charlie,
You can add whatever you want to create the taxonomy slug, but it should be unique and follow the guide of WordPress https://developer.wordpress.org/reference/functions/register_taxonomy/
and not match the reserved terms https://codex.wordpress.org/Reserved_TermsAlso, please notice that, MB Custom Post Types helps you to create the post type with UI instead of using the code register_post_type(), register_taxonomy(). You can read the WordPress documentation for more information.
December 13, 2023 at 9:27 AM in reply to: โ How to querry Favorite Posts for non logged in users in Bricks Builder? #44070Peter
ModeratorHello,
For logged-in users, you need to pass the user ID to this code
$post_ids = get_user_meta( $user_id, 'mbfp_posts', true );to get the user meta. For example:
$post_ids = get_user_meta( 123, 'mbfp_posts', true ); //123 is the user IDYou can contact Bricks support and ask them how to get the user ID in the loop.
If you are not able to complete the task, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/ -
AuthorPosts