Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Currently, the login form does not use AJAX, it works simply like the login form of WordPress https://developer.wordpress.org/reference/functions/wp_login_form/
1. You can add the login shortcode to a page and let the user stay on the same page after logging in. But I'm not sure if it can work with the modal/popup or not.
2. No, the Register button is not supported in this form.
3. The Lost Password will display under (near) the login button.
4. There is no way to integrate with 2FA authentication currently.
September 27, 2022 at 6:13 AM in reply to: Second validation message with rwmb_frontend_after_display_confirmation #38431Long Nguyen
ModeratorHi,
Instead of adding the HTML code to a second hook, you can concatenate it to the validation message. For example:
add_filter( 'rwmb_frontend_validate', function( $validate, $config ) { if ( empty( $_POST['text_rt5pl53zoi'] ) ) { $validate = 'Please add a text'; $validate .= "<div class=\"rwmb-error\">Unfortunately, your newsletter subscription failed.</div>"; } return $validate; }, 10, 2 );Read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#validation
September 26, 2022 at 10:26 PM in reply to: ✅Shortcode in archive page shows only the last post data #38424Long Nguyen
ModeratorHi,
You should create two different View templates, one used on the archive page and one used on the single post. If you use the shortcode of the single post, it will not work correctly. Please read more about WP template here https://developer.wordpress.org/themes/basics/template-hierarchy/
Long Nguyen
ModeratorHi,
This issue has been fixed a long time ago, from this commit https://github.com/wpmetabox/mb-custom-post-type/commit/12491d94f425496cdef03cb5516f091d6ce81121
and relate to this topic https://support.metabox.io/topic/cpts-and-taxonomy-register-issues/I also do not see that issue on my demo site when getting the PHP code. Please make sure that you have the latest version of the MB Custom Post Type & Custom Taxonomy plugin v2.3.3 then recheck this issue.
Long Nguyen
ModeratorHi,
Thanks for your feedback.
The value "Add to Wishlist" is actually saved to the database but somehow it does not display the updated value on the settings page. I've escalated this issue to the development team to fix it in the next update.
Long Nguyen
ModeratorHi Nick,
Currently, the MB Custom Table extension does not support adding a FOREIGN KEY to a custom table. I will inform the development team to consider supporting this feature in future updates.
September 24, 2022 at 10:58 AM in reply to: Ajax interfering with using get_the_ID() inside rwmb_frontend_after_process #38409Long Nguyen
ModeratorHi,
Thanks for your feedback.
I see the field value is updated as well but somehow the function
get_queried_object_id()does not return the correct post/page ID that displays the frontend form. I will inform the development team to check this issue and get back to you later.September 24, 2022 at 10:30 AM in reply to: ✅Ajax Front End Form Submission - Form Disappears. #38408Long Nguyen
ModeratorHi,
I'm not sure what exact the reason is, but you can wrap the form in a
<div>tag and style the confirmation text with the custom class > child element.Long Nguyen
ModeratorHi,
I've checked the field
site_settings_urls_start_page_promotionson your site and the value to translate is not correct, then I re-add this field to the String translation and it is translated as well. I send the screen record via the ticket.Long Nguyen
ModeratorHi,
Thanks for your additional information.
Both ways to get the field value with Twig code:
attribute()function and dot (.) notation should work on your site. I've also informed the development team to remove one way to avoid confusion for the user.September 23, 2022 at 10:10 AM in reply to: "Post field" doesn't work after update (custom fields of settings page) #38400Long Nguyen
ModeratorHi,
Can you please deactivate all plugins except Meta Box, MB AIO and switch to the standard theme of WordPress then recheck this issue? It could be a conflicting issue with another plugin like optimization or caching plugin.
Long Nguyen
ModeratorHi,
The feature Generate PHP Code helps you to register the custom fields on other sites that do not have MB Builder, it does not help to import data on your site.
Regarding the import plugin, WP All Import (Pro) is not fully compatible with Meta Box extensions to import data to the custom table. You can try to contact their support to ask for help with this issue.
Long Nguyen
ModeratorHi Arno,
Now you can see the second URL is translated as well, screenshot (removed)
You can check whether the translation is completed or not by checking the icon "pen" or "circle arrows", screenshot https://monosnap.com/file/EAyVJy42XLpBJuihNbtvumdXVOca93
Long Nguyen
ModeratorHi,
Can you please let me know which version of MB Views is on your site? Please ensure you have the latest version 1.11.3 and clear all caches (browser, plugin) then recheck this issue.
Long Nguyen
ModeratorHi Joe,
Please add the
post_typessetting when registering the meta box to display it on the CPT edit screen. Read more on the documentation https://docs.metabox.io/creating-fields-with-code/add_filter( 'rwmb_meta_boxes', 'prefix_attached_images_meta_box' ); function prefix_attached_images_meta_box( $meta_boxes ) { $meta_boxes[] = array( 'title' => esc_html__( 'Attached images', 'textdomain' ), 'post_types' => 'pack', 'fields' => array( array( 'type' => 'custom_html', 'callback' => 'prefix_get_images', ), ), ); return $meta_boxes; } -
AuthorPosts