WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Register Plus] Update for 2.7 Cus it dont work anymore (34 posts)

  1. blogfreak
    Member
    Posted 5 years ago #

    Will there be an update for this plugin? To be compatible with wp 2.7?

    http://wordpress.org/extend/plugins/register-plus/

  2. MichaelH
    Member
    Posted 5 years ago #

    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.

  3. jrbrown19
    Member
    Posted 5 years ago #

    The password strength meter does not work on our site after the update to 2.7. See http://terracebaypl.hostignition.com

  4. ttiger211996
    Member
    Posted 5 years ago #

    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.

  5. Marcomail
    Member
    Posted 5 years ago #

    i installed on wp 2.7 and it working good, but i don't have the password strength meter option checked

  6. MarQ_ZA
    Member
    Posted 5 years ago #

    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).

    1. 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.
    2. 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:

    1. 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.
    2. 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.
    3. 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.

  7. BlitzB
    Member
    Posted 5 years ago #

    Another thing, uploading your own image for the log in and sign up page doesn't work anymore. Any fixes to that?

  8. jrbrown19
    Member
    Posted 5 years ago #

    I did the changes that MarQ_ZA suggested and now don't get JS errors but the password strength meter still does not work.

  9. MarQ_ZA
    Member
    Posted 5 years ago #

    I've also found that the image upload doesn't work, and that password strength meter doesn't work despite my JavaScript fix. :(

  10. MarQ_ZA
    Member
    Posted 5 years ago #

    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.

  11. joshposh
    Member
    Posted 5 years ago #

    @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 );
    		}
  12. robynlynn007
    Member
    Posted 5 years ago #

    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!

  13. robynlynn007
    Member
    Posted 5 years ago #

    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...:-)

  14. MarQ_ZA
    Member
    Posted 5 years ago #

    @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?

  15. joshposh
    Member
    Posted 5 years ago #

    @MarQ_ZA
    I didn't. I did now 'tho and it solved the problem. Thanks :)

  16. mdvaldosta
    Member
    Posted 5 years ago #

    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');

  17. nativepdx
    Member
    Posted 5 years ago #

    another newbie to WP so 2.7.1 is my first install. Was really glad to find this plugin as I wanted to capture some additional info on my community of readers. I setup four additional checkboxes from which I expect a new user to select one of the four. tested and found that all the checkboxes show as selected in the user profile regardless of which ones actually get picked at registration.

    thanks
    mark

  18. devbit
    Member
    Posted 5 years ago #

    Official update coming soon. It's a big one so it's taking me some time. I'll try to squeeze in a minor update with some 2.7 fixes soon though.

  19. knuckle34
    Member
    Posted 5 years ago #

    thanks for the update devbit!

  20. PolkaMax
    Member
    Posted 5 years ago #

    hi devbit,
    thanks for the announcement.
    i'm looking forward to the update :)

  21. svesce
    Member
    Posted 5 years ago #

    Was able to get it running and made recommended fixes posted above (thanks!).. Having an issue where new registered users are having their usernames reset to "unverified__bl2582gj". Then, as an admin, when I verify the user, the username is resent to [blank].

    I double checked and in fact attempting to login in with the username initially registered (after verification) returns the error "invalid username". Leaving a blank username in the login page obviously returns a "The username field is blank"

    I'm unable to edit the username per the normal rules for the Edit User panel in WordPress. While the Register Plus plugin is active, even the normal User admin exhibits the same behavior when attempting to add a new user (username gets trashed).

    *bleck*

    Stumped.

    Any advice is greatly appreciated.

    Sean

  22. fisherking2k1
    Member
    Posted 5 years ago #

    I am in the same boat as ttiger211996. Not sure if this was resolved, but I have the same exact problem installing 2.7.1 on my Mac locally. I installed the plugin, activated it, and tried to register but it showed the old register page. I even played around with some of the Register Plus settings but it still showed the old register page.

    Any suggestions on other things I can try?

  23. tinwatchman
    Member
    Posted 5 years ago #

    For whatever it counts, I can also confirm that the Password Strength meter doesn't seem to be working in 2.7. It also appears that the Custom CSS field isn't working - or at least any CSS entered in said field doesn't appear in the final Login page. It's no big deal; just wanted to let you know.

  24. mzimmers
    Member
    Posted 5 years ago #

    I too am getting reports from users that captcha is always returning invalid. Any ideas on this one? This is a major feature of RP, and not being able to use it greatly dilutes RP's value to me.

    Thanks...

  25. mzimmers
    Member
    Posted 5 years ago #

    Anyone have an idea on this?

  26. n03lm
    Member
    Posted 5 years ago #

    I'm having big proboblems with RP in 2.7.1 firstly it says

    "You have another plugin installed that is conflicting with Register Plus. This other plugin is overriding the user notification emails. Please see Register Plus Conflicts for more information."

    so I checked out http://skullbit.com/news/register-plus-conflicts/ and I don't have either of these modules installed.

    I did a recursive grep to search for wp_new_user_notification to check that it isn't in any other modules I have and didn't find it. I also searched for pluggable.php - and found that the latest version of postie (which I need) is a bad person and includes plugable.php. So I'll be taking that up with the postie author.

    I can't get the password meter to work even with the hack suggested above.

    captcha doesn't work for me either.

    and the user moderation feature doesn't seem to work either - new users get added strait to the system - though this could be the postie clash above.

    Would really welcome and update for 2.7.1

  27. n03lm
    Member
    Posted 5 years ago #

    OK got a work around for the postie vs register plus issue - rename postie directory to zzz_postie so that it loads last and so the wp_new_user_notification gets defined before postie includes the pluggable.php file. (this sorted the user moderation issue)

    can't get captcha to work on either 2.6 or 2.7.1

  28. tinwatchman
    Member
    Posted 5 years ago #

    Just wanted to thank MarQ_ZA for the fix again. All I need is the Password Meter up and running again - seems to work fine for that.

  29. smackalino
    Member
    Posted 5 years ago #

    will there be an official release fixing all these problems???? maybe someone can send a download link to a fully functioning package for version 2.7?

  30. mrdelish
    Member
    Posted 5 years ago #

    I was getting the problem with the CAPTCHA coming up as invalid every time as well, but added the code suggested by the plugin and it worked just fine (using 2.7 here). Go to the WordPress root and edit wp-login.php. Add "session_start();" somewhere on its own line just after line 1 (it should just be "<?php") and then save. That did the trick for me.

Topic Closed

This topic has been closed to new replies.

About this Topic