Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
Can you please share the error message when updating the package via Composer? Please try to use this command to update Meta Box packages and let me know if it works.
rm -rf vendor && composer clear-cache && composer installFollowing the documentation https://docs.metabox.io/integration/#why-cant-i-update-with-composer
The 404 Not Found is normal. Composer doesn't use that URL directly to get the info about the packages.
March 13, 2024 at 9:16 PM in reply to: ✅mbct_before_update - want to identify if a field has changed #44833Peter
ModeratorHello Benjamin,
I checked the code and think you are correct. The data is saved to the cache before updating to the custom table so you will see
$row['status'] = $data['status']. Using the SQL query to get the current field value in the table is a good way.Peter
ModeratorHello Lambert,
You can go to My Account page > Manage license > View the site > Delete the current site and activate the license on a new site, screenshot https://imgur.com/d2Mnqt3
https://metabox.io/my-account/Peter
ModeratorHello Lambert,
Please follow the documentation below to create a custom block and insert it to the page content
https://docs.metabox.io/extensions/mb-blocks/#video-tutorialPeter
ModeratorHello Nick,
It isn't possible. When the URL has the parameter "rwmb_frontend_field_post_id", it will replace the attribute
post_idof the form shortcode.
You can check the functionpopulate_via_query_string()in the file /mb-frontend-submission/src/FormFactory.php to understand the workflow.March 12, 2024 at 9:58 PM in reply to: multiple front end forms on one page and url parameter queries #44820Peter
ModeratorHello Nick,
It isn't encouraged to use more frontend forms on a page some features might not work properly. You should use one frontend form/shortcode per page.
Related topics
https://support.metabox.io/topic/multiple-frontend-submission-forms-and-ids/
https://support.metabox.io/topic/multiple-forms-of-same-type-on-same-page/Peter
ModeratorHello,
I see the login form displays the same in English and French languages, screenshots https://imgur.com/a/7wHMqKW
Please share your site credentials via this contact form https://metabox.io/contact/
I will take a look.March 11, 2024 at 10:42 PM in reply to: ✅Possible to add custom fields as columns in the Front-end submission dashboard? #44806Peter
ModeratorHello,
The current frontend dashboard doesn't support showing extra columns or filter posts. You can follow this topic to create a custom frontend dashboard on your own https://support.metabox.io/topic/duplicate-dashboard-shortcode
the post list in the dashboard is just created by a WP query.Peter
ModeratorHello Chris,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Let me know how it goes.
Peter
ModeratorHello Nick,
Yes, you can update the $_POST value when validating the form. For example:
add_filter( 'rwmb_frontend_validate', function( $validate, $config ) { $_POST['field_id'] = 'test field value'; rwmb_request()->set_post_data( $_POST ); return $validate; }, 10, 2 );Following the documentation https://docs.metabox.io/actions/rwmb-before-save-post/
Peter
ModeratorHello,
If the value is serialized in the database, like group field, it is difficult to query posts by a subfield value. You can use an SQL query or a third-party plugin to do that. Please follow the documentation
https://metabox.io/create-group-of-custom-fields-with-meta-box-group/#how-does-the-meta-box-group-save-data
https://docs.metabox.io/extensions/mb-custom-table/#query-posts-with-wp_queryPeter
ModeratorHello Nick,
Are you using custom code to create the CSS on your end? If you want to override the style of columns.css, you can use the
!importantproperty..rwmb-hidden-wrapper { display: none !important; }March 11, 2024 at 9:19 PM in reply to: ✅Get Fields from Records in a Reciprocal Relationship of a Related Post #44800Peter
ModeratorHello,
Please share your site credentials via this contact form https://metabox.io/contact/
I will take a closer look.Peter
ModeratorThanks for sharing the solution.
Peter
ModeratorHello Nick,
WordPress itself saves the array to the database as a serialized string and our plugin works with that standard feature. There are some benefits noted in the documentation https://docs.metabox.io/cloning-fields/#data-of-cloneable-fields
- Works for all field types, including nested groups.
- Works perfectly with the helper function or with WordPress's get_post_meta function (WordPress automatically deserializes string and returns an array).
- Reduces the database size (number of rows), especially when you have nested groups of many fields. -
AuthorPosts