Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Sofyan,
Thank you for your feedback. I've just fixed it.
Anh Tran
KeymasterHi John,
We updated Meta Box last year to add Ajax support for object fields, to improve the performance on sites with thousands of posts.
Can you try reinstalling Meta Box? And clear the browser cache before trying again? I think there might be something like missing files or caching of old JS files.
March 21, 2020 at 9:57 AM in reply to: ✅Trouble getting file url of file attachment in cloneable group #18623Anh Tran
KeymasterIf it outputs nothing, probably the file is already deleted from the WordPress admin (maybe someone has deleted the file in the Media Library). If that's the case, you can make a better check with this:
if ( isset( $file_attachment['attachment'] ) && get_attached_file( $file_attachment['attachment'] ) ) { $file_url = wp_get_attachment_url( $file_attachment['attachment'] ); echo '<a href="' . $file_url . '" target="_blank">' . $file_name . '</a>'; }March 21, 2020 at 9:53 AM in reply to: ✅How to extend MB Frontend Submission to anonymous posts #18622Anh Tran
KeymasterHi Jeff,
The MB Frontend Submission plugin allows users to post without requiring logging in. Please paste the shortcode in a page, and view it when you're logged out, you'll still be able to submit posts.
In case you want to assign those posts to a specific author (by default, the author is admin), you can filter to change the
post_authorparameter.Anh Tran
KeymasterHi Pieter,
Thanks for your suggestion regarding the docs. I've just updated it here.
Anh Tran
KeymasterHi Han,
In the Registration form, I have set the password_strength="medium" but it doesn't change the password_strenth in Login form into "strong". Please check your Login form shortcode to see if it has its own password_strength. Thank you.Anh Tran
KeymasterHi,
Unfortunately, it's not allowed. You can use our premiums for your premium plugins, but not for free/public plugins because that equals to giving our premium plugins for free. We have written that clearly in our FAQ.
You can, however, making a plugin that requires MB Blocks to work (without bundling/including it). So, when users use your plugin, they're required to install MB Blocks separately to work.
Anh Tran
KeymasterHi Han,
Let us check the bug and will get back to you soon.
Anh Tran
KeymasterHi Donald,
Can you open the browser console and see if there's any error there? I guess there's some JS issue that prevent the field from saving the value (as the map is reset to the default location, the value is obviously not saved). And because it's not saved, the Views can't render it.
Anh Tran
KeymasterHi,
I've tested and seen that the HTML data is stored correctly, and outputted correctly. Please see my video:
https://www.loom.com/share/9a597fe6bee64a6da559123dc84f4993
Maybe what you want is executing the script, not outputting its URL? Is that the
scripttag oratag?Anh Tran
KeymasterHy Ryan, thanks for your feedback. Let me see if we can remove that part from the plugin. For now, it's best to use default WP fields.
Anh Tran
KeymasterHi Han,
Unfortunately, we don't have that functionality yet.
March 20, 2020 at 3:50 PM in reply to: ✅Importing data from other than WordPress sources - relationships #18601Anh Tran
KeymasterHi Donald,
You might want to take a look at the data structure of
mb_relationshipstable, which is quite simple and easy to understand. It has 5 columns:ID: connection ID (auto increment)from: the ID of the "from" objectto: the ID of the "to" objecttype: the connection type (ID)order_from: the order for the "from" sideorder_to: the order for the "to" side
And based on that, you can prepare the data accordingly.
When inserting into the database manually, you can omit the
order_fromandorder_tofor simplicity.March 20, 2020 at 3:38 PM in reply to: ✅wpautop on custom Gutenberg blocks, can't remove wpautop? #18600Anh Tran
KeymasterHi Mauro,
I tried your code and didn't see any problem with wpautop. Please see my video:
https://www.loom.com/share/22373c8a9cf74fc18bbd401ca2b56ff0
Maybe I'm missing something.
March 20, 2020 at 3:04 PM in reply to: ✅Trouble getting file url of file attachment in cloneable group #18599Anh Tran
KeymasterHi,
The function you use
get_attached_fileis not correct. It returns the file path instead of array, see the docs.To get the file URL, you can use
wp_get_attachment_urlfile.if ( isset( $file_attachment['attachment'] ) ) { $file_url = wp_get_attachment_url( $file_attachment['attachment'] ); echo '<a href="' . $file_url . '" target="_blank">' . $file_name . '</a>'; } -
AuthorPosts