News:

Wondering if this will always be free?  See why free is better.

Main Menu

Password Strength Meter

Started by DoctorMalboro, January 24, 2011, 02:45:38 PM

Previous topic - Next topic

Arantor

The mod doesn't support 1.1.13:
QuoteCompatible With: 2.0 RC4

Krillin

I discovered that after the fact. To solve this for us, I have installed 2.0 RC5.

I hope it works as planned. I have also reinstalled the mods I were adding at the time of this posting.

Thanks for the reply.
Gaming Community Web Site
Forums Use: SMF 2.0.18
Mods Installed: (NONE)
Browser: Chrome

Krillin

#42
Quote from: Masterd on March 13, 2011, 12:54:35 PM
It works perfectly on SMF 2.0 RC5.
It works, yes. Perfectly. We do not think so.

You have to fix the alignment of the fields as they do not display as shown. We have worked on this for very many hours. Been playing with the code all afternoon and half of the evening and we have perfected the results.

Here is how to fix the issue without the trial and errors we faced for over 6 hours. It should not take you more than 5-10 minutes to apply this fix.

Open to edit 'themes/default/Register.Template.php' make these following changes.
Find
<div style="position: relative; margin-left: 319px;" id="passwordDescription">'.$txt['empty_password'].'</div>
Change To:
<div style="position: relative; margin-left: 48.2%;" id="passwordDescription">'.$txt['empty_password'].'</div>
Open the 'themes/default/css/index.css and scroll down to near the end of file and find:
#passwordStrength {
        height: 10px;
        display: block;
        position: relative;
        left: 319px;
        margin-bottom: 10px;
}

Replace with:
#passwordStrength {
        height: 10px;
        display: block;
        position: absolute;
        left: 50%;
        margin-bottom: 10px;
}

Save all open files and go check the results for yourself.

We made the changes to our 'package' install to avoid having to make these changes to our SMF 2.0 RC5 files again.

We tested this on Widescreen and Square-screen monitors with 16:9 ratio and 4:3 ratio with 100% correct results. 16:10 Widescreen ratio is slightly off. This was noted after post and attachment. Don't know how this can be done in unison.

We hope the Author, DoctorMalboro, applies this fix.

Thanks and to anyone who needs and uses this. You're welcome.

View our fix here: Demo

EDIT: Removed attachment.
Gaming Community Web Site
Forums Use: SMF 2.0.18
Mods Installed: (NONE)
Browser: Chrome

DoctorMalboro

Actually, no. No mod updates until... I don't know, I get time to check my mods and do the resolution screenie thingy and stuff like that. And that looks quite de-align in my screen if you ask me...

Also, 1.1.13 won't be supported (if I do that, I would have to support 1.0.21 and give support to everyone).

When I want to do something non-reciprocal, I will update this mod next to the others...

Krillin

I tried using 50% for both values and it was slightly off. Could not figure out why, and whole numbers did not seem to align the meter with the text. So then we had to start using tenths to get more refined alignment.

Widescreen monitors with 16:10 (1400 x 900) ratio will be slightly off. I do not know what you see DoctorMalboro, perhaps you have a 16:10 ratio screen? But do I know why the numbers do not work correctly in ANY format screen (4:3, 16:9 or 16:10). These are standard monitor ratios. Do not understand why 16:10 ratio is NOT aligned properly. Do not even understand why these two fields cannot use the same percentages for alignment and have the same results as standard 4:3 and 16:9 ratios.  :-\

QuoteWe tested this on Widescreen and Square-screen monitors with 16:9 ratio and 4:3 ratio with 100% correct results. 16:10 Widescreen ratio is slightly off. This was noted after post and attachment. Don't know how this can be done in unison.

This is not a simplistic layout for SMF 2.0 RC5 and can make your head spin trying to figure it out. Website I have been building and designing since 1996.  :o

I know I cannot be the only one who has this problem. Even on new installation of RC5. I have more than one computer and one on Linux so they all cannot be wrong. The text and bar form stock uses 319px pixles (static) and were no where near the text boxes as displayed.  ???  I am just trying to help.
Gaming Community Web Site
Forums Use: SMF 2.0.18
Mods Installed: (NONE)
Browser: Chrome

DoctorMalboro

As I say, when I feel to... I will update it (Probably never...).

Groovy™

Serbian_latin-utf8  translate:

$txt['enable_password_strength_meter'] = 'Uključi merač jačine lozinke.<div class="smalltext">Merač će pokazati koliko je korisnička lozinka jaka u toku registracije</div>';
$txt['password_very_weak'] = 'Veoma slaba';
$txt['password_weak'] = 'Slaba';
$txt['password_better'] = 'Bolja';
$txt['password_medium'] = 'Sradnja';
$txt['password_strong'] = 'Jaka';
$txt['password_strongest'] = 'Najjaca';
$txt['password_strength'] = 'Jaćina lozinke:';
$txt['empty_password'] = 'Nema lozinke';

Martingonnella

Hello, Please update this on 2.0 please!!! :-)

Doburpally

#48
I know that this is an old topic, I liked this mod so I have made the package compatible with 2.0 & 2.0.1 including 2.0 RC4 + 2.0 RC5 :)

KitchM

I could not get this great mod to work on my system with SMF 2.0.8.  The error I get is:
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
I sure hope you upgrade it.  It is such a great and useful idea.  ;)

Thanks very much for your kind consideration.

Advertisement: