Forum Replies Created
-
AuthorPosts
-
February 8, 2024 at 11:04 PM in reply to: Frontend rendering issue after plugin update to 1.24.2 #44516
Peter
ModeratorHello,
Please try to bypass HTML filtering and let me know how it goes https://docs.metabox.io/shortcode/#bypass-html-filtering
Peter
ModeratorHello,
What is the WordPress version on your site? Please update WP core to the new version 6.4.2 and check this issue again.
Peter
ModeratorHello,
Please share the form shortcode that you are using and the callback function that you hook to the action
rwmb_frontend_after_process. A screen record of the issue would be appreciated.Peter
ModeratorHello,
Please read more about the potential security issue here https://www.facebook.com/groups/metaboxusers/posts/1436653003619006/
If you want to output the field value, please try to use the helper function rwmb_meta().
February 6, 2024 at 11:00 PM in reply to: Frontend rendering issue after plugin update to 1.24.2 #44503Peter
ModeratorHello Joe,
I see you are using Bricks builder. It might be related to this topic https://support.metabox.io/topic/unable-to-save-in-bricks-builder-after-updating-to-1-24-1/?swcfpc=1
Please try to deactivate Bricks, add shortcode to the post content and check this issue again.February 6, 2024 at 10:51 PM in reply to: ✅Conditional Logic not working properly (over and over again !!) #44502Peter
ModeratorHello,
I check the field ID prefix again on my demo site and see that with or without the prefix, the conditional logic still works. The conditional logic uses jQuery to search for the field ID and match the condition. The field ID with a prefix has the format
prefix_fieldIDso if you add the exact field ID to the condition including the prefix, you will see it works accurately.I think there is another field that has a similar ID and cause the issue. I don't receive the site credentials. Please share it again via this contact form https://metabox.io/contact/
I will take a look.Thank you.
Peter
ModeratorHello Gil,
You can try to use this plugin https://wordpress.org/plugins/post-duplicator/
to duplicate post with custom fields.Peter
ModeratorHello,
As I mentioned above, the field value is saved to the table wp_postmeta. You can access the database, table wp_postmeta, search for the meta key: field ID and you can see the associated post ID and field value.
Please read more about custom fields in the documentation https://wordpress.org/documentation/article/assign-custom-fields/February 5, 2024 at 10:50 PM in reply to: ✅Conditional Logic not working properly (over and over again !!) #44488Peter
ModeratorHello,
The field ID prefix should be added to the conditional logic. The issue without prefix could be fixed in a new update. Can you please recheck this issue with other field groups?
February 5, 2024 at 10:38 PM in reply to: ✅Unable to save in Bricks Builder after updating to 1.24.1 #44487Peter
ModeratorGuys, we've released a new version of the plugin MB Revision 1.3.7. Please try to install and activate this single plugin on your site and use the Bricks builder again. You can activate it while activating Meta Box AIO.
Let me know how it goes.
February 5, 2024 at 10:20 PM in reply to: Last class added not working on front-end in Bricks Builder #44486Peter
ModeratorHello,
If you don't use the extension MB Revision, please navigate to Meta Box > Extensions > Disable this extension and check the issue again.
Peter
ModeratorHello Jayron,
What is the data that you want to know? The field value or field settings?
The field value (AKA post meta) is saved to the table wp_postmeta. The field settings are registered on page load and they are not saved to the database if you use the code to register the fields.February 5, 2024 at 10:06 PM in reply to: Removing "show_heading()" action from eg. rwmb_before_user-default ? #44484Peter
ModeratorHello Bomes,
It is difficult to remove the callback by using PHP code. An easy way is to use the CSS code to hide the meta box heading, for example:
.rwmb-meta-box[data-object-type=user] h2 { display: none; }February 5, 2024 at 9:36 PM in reply to: Automating Meta Box Relationship Creation Between Users and Custom Post Types #44483Peter
ModeratorHello Gerhard,
You can try to pass a specific post ID and user ID to the MB Relationship API and see if it works:
function create_team_member_profile($user_id) { ... // Check if Meta Box Relationships API is available and establish the relationship if ( function_exists('MB_Relationships_API') ) { // Correctly use the API to add the relationship from 'Team' post to 'User' MB_Relationships_API::add( 123, 456, 'team-member-user' ); } }If not, I think the callback function is executed before Meta Box and MB extensions are initialized or the relationship ID isn't correct.
February 5, 2024 at 9:25 PM in reply to: custom field data does not show, but is in the database #44482Peter
ModeratorHello,
should the field name not have updated the database automatically?
No. After creating the fields in the builder or registering with code, it helps you to show the field appearance on loading, there isn't any value in the database. You need to add something to the field and save the post to save the field value to the database.what do I need to edit in the database to get the fields back?
You will need to use some custom code to update the field ID in the database. Please read more in this topic https://support.metabox.io/topic/update_post_meta-for-cloneable-group-fields/
If you cannot complete the task, you can contact us here https://metabox.io/contact/
We offer a customization service with an extra fee. -
AuthorPosts