Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
I see some PHP errors in your code. So I rewrote it as follows: https://ghostbin.com/paste/b9er9. Please try it.
October 26, 2018 at 2:53 PM in reply to: ✅select advanced in Group showing: "Warning : Invalid argument supplied foreach" #11772Anh Tran
KeymasterYes, it happens for all choice fields. The problem is the Builder doesn't process sub-fields. We're trying to fix that.
October 26, 2018 at 9:21 AM in reply to: ✅pre_get_posts to get all posts connected to single object #11769Anh Tran
KeymasterOh, I know why. I'm using the development version, which fixes the post type set to
any. I've just updated the plugin on wordpress.org. Please update and try again!Sorry for the confusion.
Anh Tran
KeymasterHi,
- No, you can just use the AIO plugin. Just a note, if you need free extensions, they will be installed independently. AIO includes only premium extensions.
- Yes, it's white-label partly. The main menu is requires for some extensions such as MB Custom Post Type and MB Builder. But if you don't use them, and use only AIO, then you can filter the
mb_aio_show_settingsand it won't show the menu.
Anh Tran
KeymasterHi Todd,
Can you post your solution here? It might help others.
I'm also interested in the problem with groups. Basically, it acts like a normal text field, the data should be saved as a serialized string.
Anh Tran
KeymasterHi Pascal,
I answered you via email. Posting here in case anyone needs it:
I see you're using the old syntax of Meta Box to register meta boxes. I've made the change to this: https://ghostbin.com/paste/d2k7b
Please try it.
Note that the way to register directly via class
RW_Meta_Boxis not supported anymore. While it might work in normal cases, it's not compatible with other extensions. Please see the docs here: https://docs.metabox.io/creating-meta-boxes/Let me know if you see any bug.
October 25, 2018 at 4:57 PM in reply to: ✅Filter settings for Metabox AIO doesn't work along with manual settings #11754Anh Tran
KeymasterHi BB,
Sorry for the filter. I've made a change on the AIO plugin, which changes the way it saves data. So, the filter is no longer available. Instead of that, please filter the
mb_aio_extensions. It accepts an array of extensions' slugs. For more info, please see the docs.Anh Tran
KeymasterHello,
I answered you on Github. I'm posting here in case anyone needed:
The fix in this issue was applied in the Conditional Logic extension.
However, as the extension heavily uses DOM elements to perform the check, it's still slow. I'd suggest to reduce the number of fields (by organizing them better) and/or the number of conditions.I'll keep improving the JS part, but probably not much at the moment.
Anh Tran
KeymasterHi Purdue,
Are you enabling revision and using MB Revision?
October 25, 2018 at 4:33 PM in reply to: ✅Bug: Checkboxes saved in custom table but shown in UI #11751Anh Tran
KeymasterHi Purdue,
I've re-checked and don't see that problem. Can you post your code here to test?
Anh Tran
KeymasterHi Vadym,
Thanks a lot for your links. I've tested again and experienced the same problem. This issue is something related to the way Gutenberg saves data from TinyMCE editors. It's a bug in the Gutenberg and was reported here. The developer team seems not to have a final solution at the moment. The only workaround is running
window.tinyMCE.triggerSave()before saving posts.Anh Tran
KeymasterHello,
text_listsave data in multiple rows in the database. So, usingupdate_post_metamight removes all existing values.I'd suggest using
add_post_metainstead:add_post_meta($applicantID, $prefix . "address", 'one', false); add_post_meta($applicantID, $prefix . "address", 'two', false);Notice the last parameter, it must be set to
false. For more info, please see the Codex.October 25, 2018 at 2:59 PM in reply to: ✅OpenStreetMap is not working properly with Tabs Extension #11747Anh Tran
KeymasterHi Saqib,
Can you post your code? I checked again and it seems to be working to me. Here is my video: http://recordit.co/L6VvwBMlme
October 25, 2018 at 2:47 PM in reply to: ✅pre_get_posts to get all posts connected to single object #11746Anh Tran
KeymasterHi Juanita,
Sorry to get back late. I tried your code and created a video on that: http://recordit.co/BlAq5rhUVr. The query seems fine to me. Please take a look.
Anh Tran
KeymasterI've checked the code again and it works for me. Please see the video here: http://recordit.co/fnO1hhDR0z
I'm not doing anything special, only copy the code. Can you please check that again? If you see anything difficult, please send me an email with temporary admin account, I'll take a look at that for you.
-
AuthorPosts