Forums

[Plugin: Register Plus] Password always "Too short" (4 posts)

  1. davidbrugge
    Member
    Posted 2 months ago #

    I assume that this is an install problem since I don't see anyone else reporting the same issue.
    On my registration page, the password always says "Too short" regardless of the length of password

  2. n03lm
    Member
    Posted 2 months ago #

    nope not an install problems. I also have the problem I think it is a fault with the password strength meter. The problem is RP has not been updated wince wp 2.6.5 and so not all features work properly. see
    http://wordpress.org/support/topic/247214?replies=3
    and more specifically here
    http://wordpress.org/support/topic/227976?replies=15#post-947093
    I think you need to change the codes for the password strength

  3. n03lm
    Member
    Posted 2 months ago #

    I have made the following patch file to correct the problem

    *** register-plus.php.preedit	Sat Apr 25 02:10:03 2009
    --- register-plus.php	Sat Aug 29 16:24:49 2009
    ***************
    *** 1347,1361 ****
    
      		jQuery(res).removeClass('short bad good strong');
    
    ! 		if ( strength == pwsL10n.bad ) {
      			jQuery(res).addClass('bad');
      			jQuery(res).html( pwsL10n.bad );
      		}
    ! 		else if ( strength == pwsL10n.good ) {
      			jQuery(res).addClass('good');
      			jQuery(res).html( pwsL10n.good );
      		}
    ! 		else if ( strength == pwsL10n.strong ) {
      			jQuery(res).addClass('strong');
      			jQuery(res).html( pwsL10n.strong );
      		}
    --- 1347,1361 ----
    
      		jQuery(res).removeClass('short bad good strong');
    
    ! 		if ( strength == 1 ) {
      			jQuery(res).addClass('bad');
      			jQuery(res).html( pwsL10n.bad );
      		}
    ! 		else if ( strength == 3 ) {
      			jQuery(res).addClass('good');
      			jQuery(res).html( pwsL10n.good );
      		}
    ! 		else if ( strength == 4 ) {
      			jQuery(res).addClass('strong');
      			jQuery(res).html( pwsL10n.strong );
      		}

    just copy this into a file and then do
    patch < patchfilename
    on a command line where patchfilename is the name of you saved the patch to. HTH
    Ian

  4. radhavenkat
    Member
    Posted 2 months ago #

    n03lm, you seem to have become the resident expert on RP -- any chance you might share your collected changes with us? I can blindly hack at the php, but I'm no expert. I would appreciate your insight.

    I am petrified to upgrade my woefully outdated WP 2.6.3 install because I will lose RP functionality (something on which my customer insists!) I'd love to get to WP 2.8.4 and automated upgrades sometime before this century is out.

    FTR, I don't need captcha or the password strength meter.

    Thoughts?

Reply

You must log in to post.

About this Topic