Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Han, unfortunately, we don't have that feature yet.
Anh Tran
KeymasterThanks a lot! I added a screenshot on that page, and also on field settings page.
March 23, 2020 at 10:03 AM in reply to: ✅Render OpenStreetMap for Archive/Pages (Elementor or any) #18659Anh Tran
KeymasterHi,
1) To display map for cities (one per city), you can use the
rwmb_metahelper function. If you want to display all cities on a map, please see this tutorial.2) Unfortunately, FacetWP can't filter by maps. You should make it filter by other fields (cities, wards, etc.), and the map will be displayed accordingly.
March 23, 2020 at 9:59 AM in reply to: ✅Trouble getting file url of file attachment in cloneable group #18658Anh Tran
KeymasterI got it. We forget that the returned value of the
file_advancedfield is an array! So we need to get only the first file ID.if ( isset( $file_attachment['attachment'] ) ) { $file_id = reset( $file_attachment['attachment']; // Get the first file only. $file_url = wp_get_attachment_url( $file_id ); echo '<a href="' . $file_url . '" target="_blank">' . $file_name . '</a>'; }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.
-
AuthorPosts