Change password form shortcode doesn't work

Support MB User Profile Change password form shortcode doesn't workResolved

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #36530
    stefanocorradinistefanocorradini
    Participant

    Hi,

    I put this shortcode in my "change password" page but it does not output anything:

    [mb_user_profile_info id="rwmb-user-info"]

    Everything else works (the login form, default user fields form ...), only this shortcode doesn't display anything.

    I'm using the latest version of MB User Profile (2.0.2)
    I also tried on a different WP site and I have the same issue

    Kind regards

    #36537
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    There was an issue with the change password form and I've escalated the development team to fix it in the next update.

    #36619
    Joe AndersonJoe Anderson
    Participant

    Has there been any update to this? I'm still getting "Error: No meta boxes are available!"

    #36658
    BucketPressBucketPress
    Participant

    Having the same issue too. System is using the latest Metabox 5.64, and AIO 1.16.2. Not sure whether the latest bug fix that fixes metabox overriding user profile fields is supposed to solve this issue? But I'm still experiencing the same problem. The shortcode renders nothing. This thread should not be marked as 'resolved' yet.

    #36663
    Joe AndersonJoe Anderson
    Participant

    I found a solution to this. I pulled the password fields from within the user profile plugin's code and added it to my own metabox. Use the following shortcode and metabox setup. You should be able to add additional user profile fields as listed in the documentation as well:

    [mb_user_profile_info id="your-metabox-id"]

    $meta_boxes[] = [
    	'title'		=> '',
    	'id'     => 'your-metabox-id',
    	'type'   => 'user',
    	'fields' => [
    		[
    			'id'   => 'first_name',
    			'name' => esc_html__( 'First Name', 'yourdomain' ),
    			'type' => 'text',
    		],
    		[
    			'id'   => 'last_name',
    			'name' => esc_html__( 'Last Name', 'yourdomain' ),
    			'type' => 'text',
    		],
    		[
    			'id'   => 'user_email',
    			'name' => esc_html__( 'Email', 'yourdomain' ),
    			'type' => 'text',
    		],
    		[
    			'name'     => __( 'New Password', 'yourdomain' ),
    			'id'       => 'user_pass',
    			'type'     => 'password',
    			'required' => true,
    			'desc'     => '<span id="password-strength" class="rwmb-password-strength"></span>',
    		],
    		[
    			'name'     => __( 'Confirm Password', 'yourdomain' ),
    			'id'       => 'user_pass2',
    			'type'     => 'password',
    			'required' => true,
    		],
    	],
    ];
    #36685
    Matej MoharMatej Mohar
    Participant

    It's also not working for me so for now, I'm using @Joe solution. I can assure it was working before, so I guess there was an update in the meantime.

    Best regards, Matej

    #36846
    Stephen C.Stephen C.
    Participant

    Still not fixed yet? This is kind of an important issue and it has been about 3 weeks since this thread had been started.

    #37006
    BucketPressBucketPress
    Participant

    Latest updates to Metabox 5.65 and AIO 1.16.3 solves the issue.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.