Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Simon,
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,
This issue has been fixed in this commit https://github.com/wpmetabox/meta-box/commit/263fd9a7f13e79dfdb57a3a6e1538b642f83246a
it will be included in the next version of Meta Box.Thank you.
January 19, 2025 at 11:19 PM in reply to: ✅Issues with Post Title Generation Using Custom Table Data #47468Peter
ModeratorHello,
I think that the callback function runs at the action hook
save_postwon't get the correct field value because custom field values are saved after saving the post. I suggest you:1. Use the helper function rwmb_meta() to get the field value that is saved to the custom table
https://docs.metabox.io/extensions/mb-custom-table/#getting-field-value2. Or use the action hook
rwmb_{$field_group_id}_after_save_postto ensure all field values are saved.
https://docs.metabox.io/actions/rwmb-after-save-post/
Reference https://support.metabox.io/topic/adding-metabox-field-data-to-the-post-title/3. Or get the field value from the global variable $_POST.
I hope that helps.
January 19, 2025 at 10:54 PM in reply to: Adjusting Width of Admin Filter and Translating Text in Relation Field #47467Peter
ModeratorHello Simon,
1. There isn't an option to change the width of the filter field. It will show the proper width for the length of the filter title. You can change the filter title when editing the relationship and see how it works. Please check these screenshots https://imgur.com/a/MxohpEj
2. The text "Please enter 1 or more characters" is hard-coded in the select2 JS file https://github.com/wpmetabox/meta-box/blob/master/js/select2/i18n/en.js
inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"}it isn't possible to translate the text in the JS file like that.
And please notice that, supporting customization code is beyond our scope of support. If you want to customize your site, we offer a customization service. You can contact us here for more details https://metabox.io/contact/
January 19, 2025 at 8:27 PM in reply to: OSM map does not render fully when the field has conditional logic #47465Peter
ModeratorHello John,
I believe this issue is solved after you increase the PHP setting max_input_vars as in another topic https://support.metabox.io/topic/custom-fields-broken/
I'm waiting for your feedback.
January 19, 2025 at 8:23 PM in reply to: Making OSM map invisible? Pin location updates address? Address field behaviour? #47464Peter
ModeratorHello John,
2. Thanks for your feedback. I will inform the development team to consider supporting that feature in future updates.
January 18, 2025 at 2:14 PM in reply to: ✅'Switch' Custom Field Element Cannot be Defaulted to "On" #47449Peter
ModeratorHello,
I recheck this setting of the
switchfield on my site and see that it still works correctly. Can you please share all the field group code so I can add it to my site and check the issue?Peter
ModeratorHello Bjarte
Thanks for reaching out. This issue has been fixed in a new commit and we will include it in the next update of the MB Blocks plugin.
Peter
ModeratorHello Bart,
Please share your site admin account by submitting this contact form https://metabox.io/contact/
I will take a look.Peter
ModeratorHello Jeff,
The extension Frontend Submission only supports submitting posts or custom models in the front end; it doesn't support submitting data to update the settings page. Please read more about this extension in the documentation https://docs.metabox.io/extensions/mb-frontend-submission/
Peter
ModeratorHello John,
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.
January 17, 2025 at 11:43 PM in reply to: OSM map does not render fully when the field has conditional logic #47440Peter
ModeratorHello John,
I think the conditional logic setting isn't correct so it will break the Javascript code and cause the issue with the map which will use some Javascript to display the map in the front end.
Please export the field group to a JSON file and share it here https://docs.metabox.io/extensions/meta-box-builder/#export--import
I will help you investigate the issue.January 17, 2025 at 11:39 PM in reply to: This is a Custom Fields Issue - The Images are Disappearing #47439Peter
ModeratorHello Jon,
If you are using the builder to create custom fields, please export the field group to a JSON file and share it here. I will import the field group to my site and try to reproduce the issue.
Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
January 17, 2025 at 11:35 PM in reply to: Making OSM map invisible? Pin location updates address? Address field behaviour? #47438Peter
ModeratorHello John,
Thanks for reaching out.
1. Currently, you have to add the OSM field to the field group to use the Geolocation feature. It is noted in the documentation https://docs.metabox.io/extensions/meta-box-geolocation/
If you don't want to display the map field, you can add a custom class to the field and create some custom CSS code to hide it.
2. This is also noted in the documentation https://docs.metabox.io/extensions/meta-box-geolocation/#two-way-data-binding
when you change the pin on the map, the latitude and longitude will be changed/updated, not the address. I think that is expected because we don't have addresses for every point/pin on a map such as in a forest, sea, desert ...3. I'm afraid it isn't possible. The address text field is the returned result from OSM/Google API; we just fill it with the returned result. Other address components are extracted from the address field.
Peter
ModeratorHello,
I still cannot reproduce the issue on my demo site to understand what's wrong there. However, I will forward the error message to the development team to check if we can improve something for future updates.
Thank you.
-
AuthorPosts