Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 30 total)
  • Author
    Posts
  • in reply to: Submit Button Issue #43879
    P.P.
    Participant

    Hello guys, will the issue be addressed at all, or we should seek another solution?

    in reply to: Submit Button Issue #43230
    P.P.
    Participant

    Hi, any chance this issue can be solved soon?

    in reply to: Rendering "Embed" Shortcode #43168
    P.P.
    Participant

    Thank you.
    I forgot to mention I use the WYSIWYG field, with

    'raw' => true,
    'options' => [
    	'wpautop' => false,
    ]

    But I tested with with disabling raw option as well.

    Anyway, custom WB shortcode for now solved the issue.

    in reply to: Rendering "Embed" Shortcode #43165
    P.P.
    Participant

    I couldn't make this work. I am showing the {{ post.content }} in a view.

    However, I made a shortcode with something like:

    	global $post;
    	$content = apply_filters( 'the_content', get_the_content( $post->ID ) );
    
    	return $content;
    

    following comments on this page and it works, the [embed] shortcode renders on the page.

    in reply to: โœ…Dashboard pagination #43160
    P.P.
    Participant

    Pagination would be very handy. Refreshing view of hundreds of posts takes time.
    Any tips on including custom pagination would be welcomed.

    in reply to: Select Advanced Dropdown Position Issue #43015
    P.P.
    Participant

    To add context, the Select Advanced field has 'multiple' => true and is included within Tab.

    I have also checked another field that accepts only single values and is not included in a Tab, and then the dropdown is displaying correctly below, but the issue still exists when the dropdown appears above the selection container.

    in reply to: Submit Button Issue #42988
    P.P.
    Participant

    Thanks, hopefully this can be fixed.

    Indeed Chrome seems to handle form submission with fewer problems than Brave and Firefox, according to the users of my website who were testing it in this browser, but Brave and Firefox also show differences in this matter.

    Looking forward to hearing from you.

    in reply to: Submit Button Issue #42961
    P.P.
    Participant

    Now, the problem seems to be with the callback to the ajax request.

    I have the following callback function set in 'remote' => admin_url( 'admin-ajax.php?action=test_request' ):

    function test_function() {
    	$title = $_GET['post_title'];
    
    	if ( 65 >= mb_strlen( $title, 'UTF-8' ) ) {
    		echo 'true';
    	} else {
    		echo 'false';
    	}
    	die;
    }
    add_action( 'wp_ajax_test_request', 'test_function' );

    Testing it in Firefox gives the following results:

    1. When I edit the post and click on Save without clicking inside any text fields the form submission doesn't trigger.
    2. When I edit the post and before I click Save I click inside the title field (this field undergoes above validation), the form triggers submission. The title's validation works upon clicking inside the filed as expected (if the title is longer than 65 characters the validation fails, otherwise, the field is valid and the error message disappears).

    If you still prefer to have the code I use to create the metabox, can we share it securely?

    in reply to: Submit Button Issue #42958
    P.P.
    Participant

    Digging deeper and I could narrow down the issue reason to the remote parameter of the rules key.

    Next, different browsers behave different way, depending on how many rules within validation key have remote parameter set up:

    1. In Brave: When I have only single field with validation > rules > field_name > remote set to something like 'remote' => admin_url( 'admin-ajax.php?action=h29dk' ) the form works. However, adding second remote rule for another field (with different action name) causes the issue with the form submission. Two rules, one with remote parameter and one without, don't cause the issue.

    2. Firefox: The issue exists already with only single rule with remote parameter.

    Would be grateful for further tips on how this could be fixed in order to keep remote validation.

    in reply to: Submit Button Issue #42948
    P.P.
    Participant

    Okay, I think I have found the reason why the form submission isn't triggered as expected.
    It's the validation part of the meta_boxes array. Removing validation key restored normal form submission. I haven't yet made any further tests, but at least there's a starting point, and maybe it might help you pointing out a solution? I will carry on checking it anyway.

    in reply to: Submit Button Issue #42941
    P.P.
    Participant

    I tried to disable other plugins and switch to default theme, but no change.
    I also checked for any errors on form submission, but receiving no errors.
    Currently I use tabs to preset fields, I tried to check for issues with tabs disabled, but still the problem exists.

    in reply to: Submit Button Issue #42861
    P.P.
    Participant

    Hi, I am not able to share the website, which is offline.

    I create the form with:
    [mb_frontend_form id="field_group_1,field_group_2,field_group_3" edit="true" post_fields="" post_type="custom_post_type" submit_button="Save"]

    Then each field group is made with rwmb_meta_boxes filter.

    I noticed the issue exists when I edit existing post. Empty form triggers submission without the issue.

    P.P.
    Participant

    Hi Peter,

    I thought there would be different way, but okay, thank you for the suggestion.

    P.P.
    Participant

    Hi,
    The website is unfortunately offline. I create one form with the following shortcodes: [mb_user_profile_info id="user_profile"] and [mb_user_profile_info id="rwmb-user-info"].

    Here is one screenshot.

    in reply to: WYSIWYG Editor Alters HTML Code? #41427
    P.P.
    Participant

    The website is unfortunately being developed offline. But the issue is fixed if I disable wptexturize() function. This is okay for me, I don't need it.

Viewing 15 posts - 1 through 15 (of 30 total)