Some people use simple passwords, that's why I released this.
I know it's simple, but yeah some people certainly need this
Screen:
Like for v.2Code:<link type="text/css" rel="stylesheet" href="../Public/Styles/Default/CSS/login.css"/> <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.pack.js"></script> </head> <style type="text/css">#weak,#medium{border-right:solid 1px #DEDEDE;}#sm{margin:0px;padding:0px;height:14px;font-family:Tahoma,Arial,sans-serif;font-size:9px;}#sm ul{border:0px;margin:0px;padding:0px;list-style-type:none;text-align:center;}#sm ul li{display:block;float:left;text-align:center;padding:0px 0px 0px 0px;margin:0px;height:14px;}.nrm{width:84px;color:#adadad;text-align:center;padding:2px;background-color:#F1F1F1;display:block;vertical-align:middle;}.red{width:84px;color:#FFFFFF;text-align:center;padding:2px;background-color:#FF6F6F;display:block;vertical-align:middle;}.yellow{width:84px;color:#FFFFFF;text-align:center;padding:2px;background-color:#FDB14D;display:block;vertical-align:middle;}.green{width:84px;color:#FFFFFF;text-align:center;padding:2px;background-color:#A0DA54;display:block;vertical-align:middle;}</style> <style>.input-ok,.input-ok-content{border:1px solid #00CC00;}.pane-smeetpanes-registration-form .badge-100-percent-free{background:url("http://webcdn.smeet.com/sites/all/themes/smeet/smeettheme/misc/images/panes/smeetpanes/registration-form/badge.gif") no-repeat scroll left top transparent;color:#000000;font-size:12px;font-weight:bold;height:66px;text-align:center;text-transform:uppercase;width:66px;}.pane-smeetpanes-registration-form .badge-100-percent-free span{display:block;line-height:13px;padding:20px 0 0;}.pane-smeetpanes-registration-form .form-footer-left{float:left;}.pane-smeetpanes-registration-form .form-footer-right{float:right;width:195px;}</style> <script type="text/javascript"> function evalPwd(s) { var cmpx = 0; if (s.length >= 6) { cmpx++; if (s.search("[A-Z]") != -1) { cmpx++; } if (s.search("[0-9]") != -1) { cmpx++; } if (s.length >= 8 || s.search("[\x20-\x2F\x3A-\x40\x5B-\x60\x7B-\x7E]") != -1) { cmpx++; } } if (cmpx == 0) { document.getElementById("weak").className = "nrm"; document.getElementById("medium").className = "nrm"; document.getElementById("strong").className = "nrm"; } else if (cmpx == 1) { document.getElementById("weak").className = "red"; document.getElementById("medium").className = "nrm"; document.getElementById("strong").className = "nrm"; } else if (cmpx == 2) { document.getElementById("weak").className = "yellow"; document.getElementById("medium").className = "yellow"; document.getElementById("strong").className = "nrm"; } else { document.getElementById("weak").className = "green"; document.getElementById("medium").className = "green"; document.getElementById("strong").className = "green"; } } </script> <script type="text/javascript"> function checkBd() { incomingd = $('#bdday').val(); incomingm = $('#bdmonth').val(); incomingy = $('#bdyear').val(); birthdayIsValid = 1; if( incomingd >= 1 && incomingd <= 31 ) { } else { birthdayIsValid = 0; } if( incomingm >= 1 && incomingm <= 12 ) { } else { birthdayIsValid = 0; } if( incomingy >= 1970 && incomingy <= 2011 ) { } else { birthdayIsValid = 0; } } function doCheckMail() { MailisFree = 1; name = $("#formemail").val(); $.get("mailcheck.php", {ajaxAct: "check_habbo_name", mail: name}, function(data) { if( $.trim(data) == "0" ) { $("#habbo_name_message_box").html("<h3>Nos enregistrements indiquent que cette adresse mail est déjà utilisée.</h3> Tu ne peux pas utiliser la même adresse mail qui est déjà utilisée par un autre joueur."); $("#habbo_name_message_box").removeClass().addClass("errormsg"); MailisFree = 0; } else { $("#habbo_name_message_box").html("<img src=\"http://icons.iconarchive.com/icons/visualpharm/must-have/256/Check-icon.png\" style=\"width: 12px; position: absolute; height: 12px; top: 325px; bottom: auto; left: 550px; right: auto\";>"); $("#habbo_name_message_box").removeClass().addClass(""); } }); } $().ready(function() { $('#formemail').keypress(function(e){ if(e.which == 13){ doCheckMail(); } }); $('#formemail').blur(function(e){ doCheckMail(); }); $("#register_step_one").validate({ submitHandler: function(form) { checkBd(); if( birthdayIsValid === 1 ) { doCheckMail(); if (MailisFree === 1) { form.submit(); } } else { errorForm(); } }, rules: { email: { required: true, email: true }, password: { required: true, minlength: 5 }, cpassword: { required: true, minlength: 5, equalTo: "#formpassword" } }, messages: { email: "Tu dois indiquer une adresse email valide.", password: "Ce champ est requis.", cpassword: "Ce champ est requis." } }); }); emailIsValid = 0; usernameIsValid = 0; passwordIsValid = 0; passwordIsConfirmed = 0; birthdayIsValid = 0; MailisFree = 0; function errorForm() { $('#bd_err').removeClass("display_none"); } </script> <style type="text/css">input{background-color:#E2E4E6;}</style> </head> <body id="page-request-password"> <div id="page-wrapper"> <div id="page-shadow-wrapper"> <div id="page-visual"></div> <div id="page-content-wrapper"> <div id="page-content" class="clear-block"> <label for="password"><strong><font color="#000A14">Password</font></strong> <span>(<a href="#" style="cursor: help;" title="Les mots de passe doivent faire entre 5 et 15 caractères">?</a>)</span></label><br/> <input type="password" name="password" id="formpassword" onkeyup="evalPwd(this.value);"/> <div id="sm"><ul><li id="weak" class="nrm">Weak</li><li id="medium" class="nrm">Medium</li><li id="strong" class="nrm">Strong</li></ul></div> <br/>
Upcoming update:
Screenshot by Lightshot






