Forum Replies Created
-
AuthorPosts
-
December 20, 2018 at 9:35 AM in reply to: โ Frontend display of all linked posts in multiple relationships #12747
Anh Tran
KeymasterI've updated the snippet, can you try again?
Anh Tran
KeymasterHi Mauro,
I see the error says that there's a problem connecting to wordpress.org. Can you please try again?
Anh Tran
KeymasterHey guys,
Thanks a lot for your tests! And sorry for the delay reply.
You're right about the order of existing posts. Since we upgrade the database structure, all existing posts won't have the order. So you need to edit them once to trigger the order change. Then everything else will work as expected.
I'll update the plugin now ๐
PS: I use the
masterbranch for developing. Nodevbranch at the moment.Anh Tran
KeymasterI have optimized your code to make it much shorter here: https://ghostbin.com/paste/uk3zq. As all the year has a same meta box, it can be wrapped in a function.
However, the speed is slow maybe because of the
postfield. Eachpostfield make a query to the database to get all posts. As you have 14postfields for 14 years, there are 14 queries. That might be the cause.Update: I have updated the plugin on Github https://github.com/wpmetabox/meta-box/ that has an improvement for the
postfield. Now it runs only 1 query instead of 14. Please download from Github and try it.Anh Tran
KeymasterThanks a lot for your video. You're right about the nesting levels. It's a bug and I've just fixed on Github: https://github.com/wpmetabox/meta-box/. Please take a look.
Anh Tran
KeymasterHi,
Looks like the
requiredattribute causes the issue. I tested your code and see that when you set the fieldrequired, you have to select the terms for all dropdowns in the select tree before saving posts. So, if that's not your intent, you should remove therequiredattribute.December 19, 2018 at 8:43 AM in reply to: โ Frontend display of all linked posts in multiple relationships #12731Anh Tran
KeymasterHi Max,
The current version doesn't support query from multiple relationships at once. However, there's a workaround. You can make a raw query to get all your connected posts like this:
Anh Tran
KeymasterHi Milind,
Thanks a lot for your feedback!
Working with existing post types is like injecting Meta Box into something that already built. Especially in case of WooCommerce, which has a lot of business logic behind the scene. In my opinion, even if you have good collection of plugins, there are still some parts required custom coding.
We're going to add more support for BB and Themer in the next version. Mostly for the Group (repeater) and Conditional Logic feature in Themer.
Anyway, I've just issued the refund. Hopefully you'll be back to us in the future. And good lock with your project.
Anh Tran
KeymasterHi Milind,
Thanks for your message.
Would you mind sharing what you're trying to do with WooCommerce? Since your message is a little bit unclear, I can't provide detailed guideline.
Regrading about coding, Meta Box can be used by non-coders with the help of MB Builder extension or the documentation where you can copy and paste the code. The PHP part is for advanced things where you want to customize the plugin.
In case it doesn't work for you, I'm happy to issue a refund.
Anh Tran
KeymasterI'm a big fan of Posts 2 Posts and I think it's bad for the community to see it dies. So, I created MB Relationships :).
At the moment, the UI is for edit users only. We haven't worked on adding fields in the "create user" screen.
December 14, 2018 at 5:36 PM in reply to: โ Your main plugin "meta-box" ignore language settings in WP #12673Anh Tran
KeymasterFinally, I got it fixed here. Calling to
get_plugin_datain the About page causes the bug. Not sure why ๐December 14, 2018 at 2:33 PM in reply to: โ Image Upload: image is deleted after change position using drag and drop #12671Anh Tran
KeymasterThanks for your feedback. I've just noticed the issue on WP 5.0.1. Did you test with the same version (or Gutenberg)?
Update:
Turns out it's a bug in the plugin when
force_delete=true. I've fixed on Github. Can you please check it?Anh Tran
KeymasterHi Doug,
I've just made the video to check the problem. So far it works for me: http://recordit.co/mRNyr8h4f2. Can you try again?
I also recorded another video to demonstrate more complex actions: http://recordit.co/MrHGxyfzAM
It seems to work well on my side.
Anh Tran
KeymasterHi Jonathan,
Can you try the latest version on Github?
Anh Tran
KeymasterHey guys,
Thanks a lot for testing! I've fixed the bug that Doug pointed out. This bug prevents the data from saving. Can you please try the latest version on Github?
https://github.com/wpmetabox/mb-relationships
It's the dev version and not the same as 1.4.1 version on .org. I will release version 1.5.0 if this works ๐
-
AuthorPosts