Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Alex,
You can manually update by login here https://metabox.io/my-account/. Then download the newest version of the MB Tabs plugin 1.1.8 > back to the Plugins page > deactivate and delete the current version of this plugin > Click Add new and install the new version.
Recommend creating a backup before updating anything https://wordpress.org/plugins/updraftplus/.
Long Nguyen
ModeratorHi,
There is a conflict between the plugin Meta Box and uListing, both plugins use the Google Map Library and it happens the issue. If you want to use the Meta Box Map and remove the uListing Map, please add this code to the file functions.php in the theme folder or use the Code Snippets plugin.
add_action( 'admin_enqueue_scripts', function() { wp_dequeue_script( 'stm-listing-vue-google-maps' ); } );Long Nguyen
ModeratorHi Alex,
I see the same issue on this topic https://wordpress.org/support/topic/cant-update-metabox-tabs-plugin/.
Have you contacted the plugin/theme Oshine to get support in this case? It's a premium product and uses our plugin MB Tabs as a library so they would know where the issue comes from.
Also, please post the error here. It might help us to have a sight of the issue.
October 20, 2020 at 9:31 AM in reply to: ✅Error: Deprecated: Unparenthesized `a ? b : c ? d : e` #22468Long Nguyen
ModeratorHi,
It's the deprecated function of Twig - a library we use to build the View. I've created a feature request for the developer team to update the new version of Twig. It does not affect any function of the plugin Meta Box so you can turn off the notice.
https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/Thank you.
Long Nguyen
ModeratorHi,
The field ID is required to save the field value, please add the setting
idto the field and save it again."fields" => array( array( "id" => "my_image_advanced" "type" => "image_advanced", "force_delete" => true, "max_file_uploads" => 1, ), )October 19, 2020 at 3:13 PM in reply to: ✅Form verification - required fields stopped working #22457Long Nguyen
ModeratorHi,
Please follow the Basic Usage to create meta boxes and custom fields by using the Meta Box's filter to compatible with MB Relationship.
Let me know how it goes.
Long Nguyen
ModeratorHi,
Please use the function rwmb_get_field_settings(), it helps you to get all settings of a field.
October 19, 2020 at 9:36 AM in reply to: ✅Form verification - required fields stopped working #22453Long Nguyen
ModeratorHi,
I've tested this case on my local site and do not see any issue. A required field and a relationship between a CPT and post, the CPT still does not save if the required field isn't filled.
Please deactivate all plugins except Meta Box and MB Relationships then check this issue again. You can also mark the relationship required by using this code.
'from' => 'CPT', 'to' => array( 'post_type' => 'post', 'field' => array( 'required' => true ), )October 18, 2020 at 3:15 PM in reply to: Database Error on Relationships after update to latest MetaBox AIO and WP 5.5.1 #22444Long Nguyen
ModeratorHi,
Please follow this guide to know how to create the staging site https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/.
Then share the credentials (Admin site and FTP account) via this form https://metabox.io/contact/ and let me know where the code stored, I will help you to debug this case.
October 18, 2020 at 2:59 PM in reply to: ✅Preserve admin order of metaboxes in the frontend of the website #22443Long Nguyen
ModeratorHi,
When you reorder meta boxes in the edit screen, the order is saved in the user meta called
meta-box-order_$posttype. So, to get that order, you need to run:$order = get_user_meta( get_current_user_id(), 'meta-box-order_yourposttype', true ); var_dump( $order );See this answer on WPSE for some other info:
October 18, 2020 at 8:33 AM in reply to: ✅Preserve admin order of metaboxes in the frontend of the website #22441Long Nguyen
ModeratorHi Vladimir,
Do you mean the order of meta boxes in the Frontend Submission form? It also keeps the order to show on the frontend as well as on the backend.
October 17, 2020 at 11:28 PM in reply to: ✅calculation in fields | success/error-messages | jQuery version #22438Long Nguyen
ModeratorHi,
Regarding Calculation of field value
Please follow this documentation to know how to enqueue scripts in the backend (admin area) https://developer.wordpress.org/reference/hooks/admin_enqueue_scripts/.
Regarding jQuery version:
Don't worry, if there is any issue relates to the compatibility between Meta Box and WordPress core, we will release an update immediately to fix it.
Regarding hiding success message:
I'm going to create a featured request for the developer team to support an option to show the selected items in the field. Thank you.
October 17, 2020 at 10:46 PM in reply to: ✅Add more than one relationship at a time (MB_Relationships_API::add ) #22437Long Nguyen
ModeratorHi,
The plugin only supports adding a relationship for one user and one post at one time. We have to use the loop to repeat this function for each post.
I'm going to create a feature request for the developer team to cover this case. Thank you.
October 17, 2020 at 8:15 AM in reply to: ✅Add more than one relationship at a time (MB_Relationships_API::add ) #22433Long Nguyen
ModeratorHi JC,
The function
addhelps you to create relationships between 2 specific objects (a user and a post). If you want to create relationships for all users and posts, please follow the Basic Usage https://docs.metabox.io/extensions/mb-relationships/#creating-relationships.October 16, 2020 at 8:19 AM in reply to: ✅Warning on SANITIZER.PHP / NULL ARRAY GIVEN is displayed (just once) when I save #22403Long Nguyen
ModeratorGreat!
Let me know if you have any questions.
-
AuthorPosts