[Plugin: Register Plus] Update for 2.7 Cus it dont work anymore
-
Will there be an update for this plugin? To be compatible with wp 2.7?
-
Just installed Register Plus on 2.7, enable plugin, changed some Settings, logged out, and registered a new user.
Please provide details of the problems you are encountering.
The password strength meter does not work on our site after the update to 2.7. See https://terracebaypl.hostignition.com
I just downloaded and tried it, can’t seem to get it to work, I installed, activated, and didn’t change any settings. Logged out, and tried to register, but it still seems to be set to the default register page. I’m using 2.7.
i installed on wp 2.7 and it working good, but i don’t have the password strength meter option checked
I installed a fresh copy of WP 2.7 and then added Register Plus 3.5.1. It works fine, except neither the date picker nor the password strength meter work. Turns out that there are two JavaScript problems (jrbrown19’s having the same problem).
- You have to specify a Default Year for Register Plus’s Date Field Settings, otherwise RP tries to pass through nothing for the year argument of the date picker.
- There is a problem in WP’s common.js, in getAllUserSettings(): the userSettings variable is undefined. I’m not sure where it’s meant to be defined, but given that this error doesn’t occur on the standard WP login page, perhaps RP’s affecting something that defines the variable? As a temporary fix, I modified the method from this:
// Returns all settings as js object. function getAllUserSettings() { return wpCookies.getHash('wp-settings-'+userSettings.uid) || {}; }
to this:
// Returns all settings as js object. function getAllUserSettings() { if (typeof(userSettings) == 'undefined') { return {}; } else { return wpCookies.getHash('wp-settings-'+userSettings.uid) || {}; } }
Some other things regarding date fields:
- The field that follows a date field starts on the same line as it; a couple of br tags need to be added in there.
- I think that date fields should be read-only, given that no validation is done on the selected date. Even with the date picker, you can enter other characters.
- The date doesn’t appear, nor does the picker, in the profile page. I haven’t explored this yet, so it may just be a problem for me
Hope this helps.
Another thing, uploading your own image for the log in and sign up page doesn’t work anymore. Any fixes to that?
I did the changes that MarQ_ZA suggested and now don’t get JS errors but the password strength meter still does not work.
I’ve also found that the image upload doesn’t work, and that password strength meter doesn’t work despite my JavaScript fix. ??
OK, here’s a fix for the password strength meter: edit register-plus.php and change the if statement in check_pass_strength() from this:
if ( strength == pwsL10n.bad ) { ... } else if ( strength == pwsL10n.good ) { ... } else if ( strength == pwsL10n.strong ) { ... } else { ... }
to this:
if ( strength == 2 ) { ... // Bad } else if ( strength == 3 ) { ... // Good } else if ( strength == 4 ) { ... // Strong } else { ... // Short }
Oh, turns out that the image upload works fine for me.
@that didn’t work for me ??
Should my code look like this?
if ( strength == 2 ) { 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 ); } else { // this catches 'Too short' and the off chance anything else comes along jQuery(res).addClass('short'); jQuery(res).html( pwsL10n.short ); }
OK, I need some help. I am a relative newbie to both WP and coding, so please be gentle.
I installed RP on WP2.7 and I cannot get the following to occur:
1) The simple captcha ALWAYS returns as invalid when trying to register, so I had to uncheck it, though I would like to utilize this function.
2) One of my custom fields…the last one which was defined as a text area and marked as required, always gives an error that it is not filled even when it was, so I had to uncheck the requires function for that.
3) When I finally get to the part that says an email is being sent to verify the registration, I NEVER get the email to click the link to verify!As a side note, does anyone know how to remove the top header of the registration and login page that says “back to ‘blog name'”? Or how to change the color of the background for both registration and login pages?
THANKS for any answers I can get this week…I am supposed to have this site up for my husband by Monday!
Ok also, just tried the Forgot my password link, got the email for that, BUT it is from WORDPRESS??? How in the world do I change this…we cannot have people getting emails from “WordPress” for our site. So unprofessional. HELP!! Please…:-)
@joshposh: that’s correct. Perhaps some other JavaScript code is broken and is breaking the strength meter. For instance, have you fixed getAllUserSettings() like I mentioned above?
@marq_za
I didn’t. I did now ‘tho and it solved the problem. Thanks ??I’d love for the plugin to be “officialy” updated. As for the custom logo/login image, change line 268 from:
$upload_dir = ABSPATH . get_option('upload_path');
to
$upload_dir = get_option('upload_path');
- The topic ‘[Plugin: Register Plus] Update for 2.7 Cus it dont work anymore’ is closed to new replies.