Back to vBulletin 3.6 Add-ons

Caps Lock Warning
Mod Version: 1.01, by alexgeek

This modification is in the archives.
vB Version: 3.6.8 Rating: (4 votes - 4.75 average) Installs: 17
Released: 24 Dec 2007 Last Update: Never Downloads: 99
Not Supported Template Edits Additional Files Re-usable Code Translations  

What it does.
This mini-mod will detect if the password entered is in all caps and alert the user that caps lock may be on. Not much of a mod I know, but this is my first.


Step 1.

Upload tooltip.js to the your forum root (website.com/, website.com/forums/ etc.).

Step 2.
In navbar at the following at the top.
HTML Code:
<script type="text/javascript" src="tooltip.js"></script>
Step 3.
find the following in navbar or header (possibly other template, dependent on style.):
PHP Code:
<input name="vb_login_password" id="navbar_password" type="password" tabindex="102" class="forms3"  /> 
Replace it with:
PHP Code:
<input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" onkeydown="caps(this.value);" /> 
Done!

Test by putting caps lock on and entering a password such as "AAAA" you should get a small tooltip as a warning (may take a second to load).

German Version

Spoiler (click to open)


What it does.
This mini-mod will detect if the password entered is in all caps and alert the user that caps lock may be on. Not much of a mod I know, but this is my first.


Step 1.

Upload tooltip.js to the your forum root (website.com/, website.com/forums/ etc.).

Step 2.
In navbar at the following at the top.
HTML Code:
<script type="text/javascript" src="tooltip.js"></script>
Step 3.
find the following in navbar or header (possibly other template, dependent on style.):
PHP Code:
<input name="vb_login_password" id="navbar_password" type="password" tabindex="102" class="forms3"  /> 
Replace it with:
PHP Code:
<input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" onkeydown="caps(this.value);" /> 
Done!

Test by putting caps lock on and entering a password such as "AAAA" you should get a small tooltip as a warning (may take a second to load).

http://www.vbulletin.org/forum/showthread.php?p=1408036#post1408152
Attached Files
File Type: zip allcapswarn.zip (11.8 KB, 83 views)

Close

Download

This modification is archived, downloads are still allowed.

File Type: %1$s allcapswarn.zip (11.8 KB, 83 downloads)


vblts.ru supports vBulletin®, 2022-2025