Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Austin,
That's right. The values of sub-fields don't go through the functions that transform the raw value to meaningful values. This is the initial design of the group data.
May 23, 2019 at 10:05 PM in reply to: ✅User Edit After Frontend Submission - only shows confirmation msg #14696Anh Tran
KeymasterI'm making some changes in other extensions and will update the AIO later. If you're in a hurry, please copy the files from the individual plugin and overwrite the files in AIO plugin.
Anh Tran
KeymasterHi guys,
I answered Neil in another topic and via emails. Regarding this problem, the best way to do this at the moment is creating a shortcode and use the shortcode in the page builders. I added sample code in the documentation, please take a look:
https://docs.metabox.io/extensions/meta-box-group/#outputing-group-in-a-page-builder
May 23, 2019 at 10:02 PM in reply to: MB Custom Post Type requires Meta Box to function correctly. Click here to activ #14694Anh Tran
KeymasterHi,
The Problem is, that i read on your FAQ-Page, that i can’t use metaxbox for a small free-version of my Plugin? Why is this and how can i handle it?
If you use free extensions, it's fine to do so. The rule is only active if you include premium extensions in your free plugins and release on .org. That make our premium work free and people have access to it freely.
How can i disable the “Metabox” menuentry in the WP Admin?
You can do that with this line of code:
add_filter( 'rwmb_admin_menu', '__return_false', 99 );Anh Tran
KeymasterHi Will,
When you insert posts, please don't use
add_post_metato add custom fields. Instead, use$wpdbto insert data to the custom table, like this:global $wpdb; $post_id = wp_insert_post( $post_data ); $custom_fields = [ 'ID' => $post_id, 'field_1' => $value_1, 'field_2' => $value_2, ]; $wpdb->insert( 'custom_table', $custom_fields );Anh Tran
KeymasterHi Smartbrand,
We have it in our plan this year and will try to finish it. It's not available at the moment.
Anh Tran
KeymasterHi Hazmi,
I got it. Do you know when the problem, so I can track what has changed since then?
Also, can you check how many ajax requests when page is loaded? It's in the Network tab in the console, filtered by XHR request type:
https://imgur.elightup.com/bZbbjBX.png
By the way, can I have a temporary admin account to see the problem?
Anh Tran
KeymasterHi Sam,
Thanks a lot for your reply. I've just checked and found that it's a JS bug in the recent version, which I've just fixed here. Please update and try again.
Anh Tran
KeymasterIs that 40 fields or 40 images per field? The number of requests = the number of fields * the number of clones. All of the requests are sent at the time of loading. So that might be the bottleneck.
Do you see the same error when you insert image to the post content the normal way?
May 22, 2019 at 8:59 AM in reply to: ✅User Edit After Frontend Submission - only shows confirmation msg #14664Anh Tran
KeymasterNo, it can be anywhere. It's a bug in the latest version. I've just updated it. Please update and try again.
May 22, 2019 at 8:21 AM in reply to: ✅rwmb_normalize_meta_box Filter not present in code but is present in docs #14662Anh Tran
KeymasterHi Clayton,
Sorry, the docs was not updated. This filter was rarely used and was removed from the plugin. To change the meta box title, please use this code:
add_action( 'init', function() { $meta_box = rwmb_get_registry( 'meta_box' )->get( 'your_meta_box_id' ); $meta_box->meta_box['title'] = 'New title'; }, 99 );May 22, 2019 at 8:16 AM in reply to: MB Custom Post Type requires Meta Box to function correctly. Click here to activ #14661Anh Tran
KeymasterHi Reinhard,
The Meta Box AIO plugin still requires Meta Box to work. MB Custom Post Type is a part of Meta Box AIO, and thus still needs Meta Box. The Meta Box AIO has all the extensions, but not Meta Box.
So, please just install Meta Box separately and they'll work. You'll need only Meta Box and Meta Box AIO.
May 22, 2019 at 8:14 AM in reply to: ✅Displaying Grouped MB Fields in Beaver Themer (Version #3) #14660Anh Tran
KeymasterHi Neil,
Sorry for replying late. I've looked at the problem for many times, and to be honest, I haven't figured out a good way to do that with BB. The only think that I imagine that can work is integrating with a template system like Twig, so people can write markup for the field. But it's too much work and I couldn't do it at the moment.
My suggestion for now is creating a shortcode to display a group, then use the shortcode in BB. It's the way I'm doing at the moment.
Anh Tran
KeymasterHi Sam, can you give a little more details on the bug? Do you see any error in the console?
Anh Tran
KeymasterHow many image fields that start to cause the back end dead?
And how many posts and images in the site?
-
AuthorPosts