Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Xtra Signup Version 1.4

  • Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    Hey all,

    I just uploaded version 1.3 of my plugin BP Xtra Signup.

    This version includes a few small bug fixes, a couple beauty fixes and 2 new features.

    Feature 1 is a ajax username availability checker, which is heavily based on this post by Brajesh Singh:
    http://buddydev.com/buddypress/creating-a-buddypress-wordpress-username-availability-checker-for-your-site/

    I thought it’d make a nice addition and I had implemented a modified version of this on a recent project, so I added it to the plugin. Hope you don’t mind, Brajesh. You’ve been given full credits for the code!

    The 2nd feature is the addition of the standard password strength checker you get on the user pages in the WP backend.

    Both features can be turned on or off individually.

    One other thing I changed is, that the checkbox to sign up to a Mailchimp newsletter is unchecked by default now. Some legal bodies in certain countries might argue that new users are generally lazy and don’t really read everything that’s on a page and then are quite surprised and might sue you for getting ‘spammed’ by emails from Mailchimp. I might make this an option in the next version, if people really want the old way back.

    Enjoy!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    Just updated the plugin to v1.3.1 in the repository.

    New in this release is the suggestion of a username, if the desired username is taken already and the support for usernames in the signup table used only on WP MS installs.

    Avatar of Bowe
    Bowe
    Participant

    @bowromir

    very useful plugin! Thanks :)

    Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    No worries, Bowe :) Glad you like it!

    Most social networks only accept users over the age of 13, so the next release will include a date of birth check. Should be online within a day or two…

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    These two additions to the signup are excellent, password strength always worries me and had been looking at the various scripts around, and it’s a nice UX to let the person know that their chosen name is already taken. All in all a really useful compact little plugin.

    Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    Cheers, hnla,

    at the moment the plugin uses 2 js files (1 for the username availability and 1 for the password strength), which i’m not too happy with. Downside of this is that if both options are activated it means the inclusion of one more js file and one more http request, so I’ll look into changing that in the next version or so…

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    One thing occurred to me, and purely from a user perspective, is the password matching; it would be nice if it would only compare the two passwords when the user had finished, on blur or something; to have the text display ‘Mismatch’ from the off might confuse some people who will think they have entered a character incorrectly

    I agree about the extra requests they will tend to build up if not careful with many and various plugins throwing JavaScript around.

    Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    Well, now that you brought it up, I kind of agree. It never occured to me that some users might be put off by the ‘Mismatch’ from the off, but I guess you can never be too carefull, when it comes to your users :) JS isn’t really my strength and the JS I did use is straight from WP core, but I’ll have a look anyways. MIght learn something along the way…

    I think we need a built-in (wp-core) way to concatinate all scripts (and styles) added through wp_enqueue_script ( or wp_enqueue_style respectively). There are some plugins that do that, but none of em have ever worked 100% for me. I am pretty sure Drupal has a way of doing it. You are right, these requests keep building up…

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Haven’t looked at Drupal in a while, probably worth checking how they handle things. I might try and grab a few minutes in the morning and see if there’s a better way of doing the matching, although my jQuery/JS skills have become sadly rusty over the last year.

    It’s easy for us to overlook how things are perceived by less experienced users, I knew instantly the password would match when I had finished typing but I also knew I was typing the exact same password so my experience is not a useful guideline? I know users that would be thrown, try a few times then think they had mistyped the original, changed that and now be in a mess :)

    Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    Alright, I updated the plugin to version 1.4. The only new addition is a date of birth check.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    @travel-junkie

    Just been having a play around, although can’t yet see an approach to change the mismatch notice when > 0 characters I did add in a stronger warning on username password matches.

    I changed //password1 == username to return ‘badPassUsername’ leaving ‘badPass’ to work for the score < 40

    Added a new var badPassUsername = 6

    added new ‘case 6′ to the switch and made relevant adjustments to the var pwsL10n in bpxs-core.php

    so now on my copy a username == password1 match informs the user the password is insecure as username matches password, that’s the polite version anyway :)

    What I wanted to work further on is to then halt the process until user had made a change as at the minute despite the warning the registration will still submit that numpty password.

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.