Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Spuds on May 02, 2009, 12:55:37 PM

Title: Caps Lock Detection on Login
Post by: Spuds on May 02, 2009, 12:55:37 PM



Caps Lock Detection on Login 1.1.0.2
Show a warning if the user is typing their password with caps lock activated.
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1807) | Comment On This Mod (http://www.simplemachines.org/community/index.php?action=post;topic=307932.0)

Author: Spuds (http://custom.simplemachines.org/mods/index.php?action=profile;u=11359)
Type: Registration and login (http://custom.simplemachines.org/mods/index.php?action=search;type=18)
Available since: April 28 2009
Latest version: 1.1.0.1 (June 27 2011)
Compatible with: SMF 1.1.x, SMF 2.0
Available languages: , , , , , ,



What does it do?
Caps Lock Detection on Login shows a warning if the user is typing their password with caps lock activated.

How does it work?
Caps Lock Detection on Login uses javascript to detect caps lock. If caps lock is on, it shows a warning in red.

How to use
To use Caps Lock Detection on Login, download the package from the SMF customization site (http://custom.simplemachines.org/mods/index.php?mod=1807), and install it via your Package Manger (http://docs.simplemachines.org/index.php?topic=95).
The modification should start working, there are no settings to configure.

Support & comments
If you have a problem with this mod, want to comment, or have any question, please post to the modification support topic (http://www.simplemachines.org/community/index.php?action=post;topic=307932.0) and I will reply as soon as possible.

Customize this modification
You can use the caps lock detection everywhere in your forum. Simply add this to where you want to show the warning:

<div class="error" style="visibility:hidden" id="div_name">', $txt['capslock_warning'], '</div>

Replace div_name with an ID of your choice. Then add this to the area you want to caps lock protect:

onkeypress="capsLock(event,\'div_name\')"

Replace div_name with the ID of your div, the one you set above.

Other information
Original idea
o Requested by Joe N (http://www.simplemachines.org/community/index.php?action=profile;u=183191).
Translation of this mod
o I am always happy to get translations of my work so that more users can use it. If you have translated this modification, please post the translation in the support topic (http://www.simplemachines.org/community/index.php?action=post;topic=307932.0).
Please make sure you have translated everything, and that there are no spelling mistakes etc.
Also, please post both a non-UTF8 version and a UTF8 version.

Changelog
1.1.0.2 | June 27 2011
* Supports SMF 2.0 & 1.1.14
1.1.0.1 | November 9 2009
* Supports SMF 2.0 RC2 and Curve!
1.1 | May 23 2009
* Supports SMF 2.0 RC1-1.
1.0 | April 27 2009
$ The mod was submitted to the SMF mod site.


Title: Re: Caps Lock Detection on Login
Post by: Sudhakar Arjunan on May 02, 2009, 02:19:07 PM
Good Mod Nas.
Title: Re: Caps Lock Detection on Login
Post by: TW1ST3D on May 02, 2009, 04:32:49 PM
I wonder...................If we can tweak it to check the Quick Reply Box as well?
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on May 03, 2009, 03:30:26 AM
Thanks, A.SK.

@TW1ST3D,
yes, ofcourse we can. :) Read my description.
Please attach Display.template.php here, or follow the advice in the readme. :)
Title: Re: Caps Lock Detection on Login
Post by: TW1ST3D on May 03, 2009, 12:37:41 PM
OH Yeah !!!  You are the Man !!!   I'm going to play with this.   Thanks NAS, Good stuff right here !!
Title: Re: Caps Lock Detection on Login
Post by: diegolyanky on May 03, 2009, 03:21:17 PM
Nice MOD ! ...

And, if you want to change the color of text, then search for:

<div class="error" style="visibility:hidden" id="quick_login">', $txt['capslock_warning'], '</div>

And replace with:

<strong><font color="#FFFF00"><div class="error" style="visibility:hidden" id="quick_login">', $txt['capslock_warning'], '</div></font></strong>

Where, "font color="#FFFF00" is the color what you want ;)

Title: Re: Caps Lock Detection on Login
Post by: 4Kstore on May 04, 2009, 12:08:26 AM
Perfect mod!! thanks!
Title: Re: Caps Lock Detection on Login
Post by: Joe N on May 04, 2009, 08:41:32 AM
It has finally been approved!
Well done
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on May 04, 2009, 08:47:34 AM
Thanks guys. :)
Title: Re: Caps Lock Detection on Login
Post by: Hiver101 on May 04, 2009, 11:57:12 AM
thanks for this great mod
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on May 04, 2009, 12:20:10 PM
You're welcome, resti! :)
Title: Re: Caps Lock Detection on Login
Post by: Joe N on May 06, 2009, 12:35:37 PM
Hey Nas

Is there any settings for this?
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on May 06, 2009, 12:39:28 PM
Settings? To enable/disable it? No.
Title: Re: Caps Lock Detection on Login
Post by: Joe N on May 06, 2009, 12:45:02 PM
Mine doesn't work
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on May 06, 2009, 12:52:16 PM
The entire mod?
Are you using a custom theme?
Title: Re: Caps Lock Detection on Login
Post by: Joe N on May 06, 2009, 02:19:21 PM
no. I write in capitals in the password but doesn't show up

Joe
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on May 06, 2009, 02:20:29 PM
Could you attach Login.template.php and index.template.php here?
Title: Re: Caps Lock Detection on Login
Post by: Joe N on May 07, 2009, 12:58:54 PM
Sorry Nas. My ftp thing is playing up and it isn't letting me download stuff. I had to put the code on a doc  that is alright?

See attachment

Joe
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on May 07, 2009, 01:19:43 PM
Cold you make them .txt instead?
Title: Re: Caps Lock Detection on Login
Post by: Joe N on May 07, 2009, 01:47:30 PM
sure


Title: Re: Caps Lock Detection on Login
Post by: candidosa2 on May 07, 2009, 10:40:07 PM
yes nice work good mod thank you
when update dont forget portuguese

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Caps Lock detection on Login Mod by Nas translate candidosa2
$txt['capslock_warning'] = 'Caps Lock est&aacute; activada.';
// End Caps Lock detection on Login Mod by Nas

]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Caps Lock detection on Login Mod by Nas translate candidosa2
$txt['capslock_warning'] = 'Caps Lock est&aacute; activada.';
// End Caps Lock detection on Login Mod by Nas

]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Caps Lock detection on Login Mod by Nas translate darkness
$txt['capslock_warning'] = 'Caps Lock est&aacute; ativada.';
// End Caps Lock detection on Login Mod by Nas

]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Caps Lock detection on Login Mod by Nas translate darkness
$txt['capslock_warning'] = 'Caps Lock est&aacute; ativada.';
// End Caps Lock detection on Login Mod by Nas

]]></add>
</operation>
</file>
Title: Re: Caps Lock Detection on Login
Post by: Sirius OCTeam on May 25, 2009, 02:37:08 AM
hi,

thanks for this one.

here you are the french

  <file name="$languagedir/Modifications.french.php">
<operation>
<search position="end" />
<add><![CDATA[
// Caps Lock detection on Login Mod by Nas
$txt['capslock_warning'] = 'La touche MAJ est active.';
// End Caps Lock detection on Login Mod by Nas

]]></add>
  <file name="$languagedir/Modifications.french-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
// Caps Lock detection on Login Mod by Nas
$txt['capslock_warning'] = 'La touche MAJ est active.';
// End Caps Lock detection on Login Mod by Nas

]]></add>
</operation>
</file>
Title: Re: Caps Lock Detection on Login
Post by: Joe N on May 25, 2009, 04:20:37 AM
Quote from: Nas on May 06, 2009, 02:20:29 PM
Could you attach Login.template.php and index.template.php here?

I attached them
Title: Re: Caps Lock Detection on Login
Post by: Blinker on July 02, 2009, 10:30:58 AM
Hi Nas

Nice mod, thanks. :)

I was wondering if you could help me with something: on the main login screen the password input box has been pushed up slightly and is now out of alignment. I noticed in your screenshots the same thing occurs.

Since most of the time the warning isn't there it would be nice to have everything line up again. How difficult would it be to have the text display to the right of the password box as per my screenshot? Alternatively, there is some room below that would allow the box to come down just a little (again, see screenie).

What do you think? Is this possible?
Title: Re: Caps Lock Detection on Login
Post by: TurtleKicker on July 11, 2009, 12:56:32 PM
Installed fine here on SMF 1.1.9 with no errors but also not working. I've tried the login fields on the top of the main page, as well as the dedicated index.php?action=login screen.

Using the default theme.
Title: Re: Caps Lock Detection on Login
Post by: Joe N on July 12, 2009, 06:05:26 AM
Quote from: sremick on July 11, 2009, 12:56:32 PM
Installed fine here on SMF 1.1.9 with no errors but also not working. I've tried the login fields on the top of the main page, as well as the dedicated index.php?action=login screen.

Using the default theme.

Went on your site and used a test username and did a caps lock password. shows up fine
Title: Re: Caps Lock Detection on Login
Post by: Mystiquo on July 21, 2009, 03:21:43 PM
it'ok but there is a problem, w3c isn't valid
this is my result:
#  Warning  Line 117, Column 20: character "&amp;" is the first character of a delimiter but occurred as data

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 117, Column 21: character "&amp;" is the first character of a delimiter but occurred as data

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 117, Column 31: character "<" is the first character of a delimiter but occurred as data

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 117, Column 38: character "&amp;" is the first character of a delimiter but occurred as data

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 117, Column 39: character "&amp;" is the first character of a delimiter but occurred as data

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 117, Column 69: character "&amp;" is the first character of a delimiter but occurred as data

... keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey))



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 117, Column 70: character "&amp;" is the first character of a delimiter but occurred as data

...eyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey))



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 117, Column 80: character "<" is the first character of a delimiter but occurred as data

...iftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey))



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 117, Column 88: character "&amp;" is the first character of a delimiter but occurred as data

...|((keyCode >= 97 && keyCode <= 122) && shiftKey))



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 117, Column 89: character "&amp;" is the first character of a delimiter but occurred as data

...((keyCode >= 97 && keyCode <= 122) && shiftKey))



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Error Line 117, Column 20: XML Parsing Error: xmlParseEntityRef: no name

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <


# Error Line 117, Column 21: XML Parsing Error: xmlParseEntityRef: no name

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <


# Error Line 117, Column 31: XML Parsing Error: StartTag: invalid element name

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <


# Error Line 117, Column 38: XML Parsing Error: xmlParseEntityRef: no name

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <


# Error Line 117, Column 39: XML Parsing Error: xmlParseEntityRef: no name

if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <


# Error Line 117, Column 69: XML Parsing Error: xmlParseEntityRef: no name

... keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey))


# Error Line 117, Column 70: XML Parsing Error: xmlParseEntityRef: no name

...eyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey))


# Error Line 117, Column > 80: XML Parsing Error: StartTag: invalid element name

...iftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey))...


# Error Line 117, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...iftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey))...


# Error Line 117, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...iftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey))...



Can you help me?
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on July 28, 2009, 02:54:29 PM
W3c should be valid. I'll look at it in the next update.




Also, if you have any feature request, feel free to sign up and file a request at this site:
http://www.forentadatorerna.se/

Title: Read: Caps Lock Detection on Login
Post by: ailarkaljurand on August 12, 2009, 04:57:29 PM
That's good I can use it everywhere I want. But what is that file where I must type it? I don't understand. ANd else, I'm not much good in english, but I hope you understand me
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on August 13, 2009, 03:32:28 AM
Quote from: ailarkaljurand on August 12, 2009, 04:57:29 PM
That's good I can use it everywhere I want. But what is that file where I must type it?

The file will depend on what area you want to use the mod in.
If, for example, you wish to use the caps lock detection in the password field at rehistration, the file would be Register.template.php.
Title: Re: Caps Lock Detection on Login
Post by: chriso29 on September 29, 2009, 04:13:13 PM
I'm using version 1.1.10 with the theme kani. I haven't been able to get it to work. Do you have any tips?

Thanks :D
Title: Re: Caps Lock Detection on Login
Post by: badaliens on September 29, 2009, 08:25:29 PM
Quote from: Nas on July 28, 2009, 02:54:29 PM
W3c should be valid. I'll look at it in the next update.




Also, if you have any feature request, feel free to sign up and file a request at this site:
_http://www.forentadatorerna.se/

i have last version and have the same problem
#  Warning  Line 82, Column 202: character "&amp;" is the first character of a delimiter but occurred as data

...16)?true:false); if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCod



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 82, Column 203: character "&amp;" is the first character of a delimiter but occurred as data

...6)?true:false); if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 82, Column 213: character "<" is the first character of a delimiter but occurred as data

...lse); if(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 &&



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 82, Column 220: character "&amp;" is the first character of a delimiter but occurred as data

...f(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 82, Column 221: character "&amp;" is the first character of a delimiter but occurred as data

...(((keyCode >= 65 && keyCode <= 90) && !shiftKey)||((keyCode >= 97 && keyCode



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 82, Column 251: character "&amp;" is the first character of a delimiter but occurred as data

... 90) && !shiftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey)) document



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 82, Column 252: character "&amp;" is the first character of a delimiter but occurred as data

...90) && !shiftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey)) document.



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 82, Column 262: character "<" is the first character of a delimiter but occurred as data

...iftKey)||((keyCode >= 97 && keyCode <= 122) && shiftKey)) document.getElement



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 82, Column 270: character "&amp;" is the first character of a delimiter but occurred as data

...|((keyCode >= 97 && keyCode <= 122) && shiftKey)) document.getElementById(div



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 82, Column 271: character "&amp;" is the first character of a delimiter but occurred as data

...((keyCode >= 97 && keyCode <= 122) && shiftKey)) document.getElementById(div)



This message may appear in several cases:

    * You tried to include the "<" character in your page: you should escape it as "&lt;"
    * You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    * Another possibility is that you forgot to close quotes in a previous tag.

# Error Line 82, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...


# Error Line 82, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...


# Error Line 82, Column > 80: XML Parsing Error: StartTag: invalid element name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...


# Error Line 82, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...


# Error Line 82, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...


# Error Line 82, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...


# Error Line 82, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...


# Error Line 82, Column > 80: XML Parsing Error: StartTag: invalid element name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...


# Error Line 82, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...


# Error Line 82, Column > 80: XML Parsing Error: xmlParseEntityRef: no name

...vascript"> function capsLock(e,div){ keyCode = e.keyCode?e.keyCode:e.which; s...
Title: Re: Caps Lock Detection on Login
Post by: Joe N on October 01, 2009, 12:01:32 PM
where is this shone?

Also, what theme and smf version?
Title: Re: Caps Lock Detection on Login
Post by: SpelingMistakes on November 04, 2009, 06:38:36 PM
Is it possible to use this for nicknames - usernames – I hate when people type whole nickname with big letters – searching for solution for that I found this :) – Maybe it will solve my problems

Few questions

1.   this is only notice – it cant stop user in going trough other steps of registration
2.   I am interested in solution which will stop user in doing something if it is not kind of good manned (writing with big letter – especially if you write your username) – can this do that?
3.   Can this be used for names of Topics also

Thanks in advance for your answer

Spel
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on November 05, 2009, 12:50:38 AM
Yes, it is possible. Please read the "Customize this modification" in the first post.

1. No, it was never supposed to stop them from registering - Only warn them about it.
2. Whit some tweaking, perhaps.
3. Yes. Again, read the "Customize this modification".
Title: Re: Caps Lock Detection on Login
Post by: SpelingMistakes on November 05, 2009, 05:06:23 AM
I have read about adjusting it to my needs or "Customize this modification", but I am not a coder, and there is not explicitly written – it works that and that – because of that I ask this

Spel
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on November 09, 2009, 07:19:06 AM
Changelog
1.1.0.1 | November 9 2009
* Supports SMF 2.0 RC2 and Curve!
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on November 09, 2009, 07:22:09 AM
Quote from: SpelingMistakes on November 05, 2009, 05:06:23 AM
I have read about adjusting it to my needs or "Customize this modification", but I am not a coder, and there is not explicitly written – it works that and that – because of that I ask this

Spel

Please attach Post.template.php here and I'll show you how to fix this for topic names.

Quote from: SpelingMistakes on November 04, 2009, 06:38:36 PM
2.   I am interested in solution which will stop user in doing something if it is not kind of good manned (writing with big letter – especially if you write your username) – can this do that?

In the next update I'm going to include a new setting for admins. If it's set to true, an alert message will popup when someone writes with capslock on, making it impossible for them to do anything if they keep writing with capslock on.
Title: Re: Caps Lock Detection on Login
Post by: Guardian ekiM on November 13, 2009, 03:25:56 AM
While trying to install this mod on 2.0 RC2, I received 1 error in my Theme's index.template.php and the mod appears to be NOT working.
Currently, I'm using theme Extreme6 from:
http://custom.simplemachines.org/themes/index.php?lemma=1078
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on November 13, 2009, 03:31:05 AM
Mind attaching index.template.php here?
Title: Re: Caps Lock Detection on Login
Post by: nnick on November 13, 2009, 06:21:53 AM
Hi,

What should we do to make it work with custom theme?
default works fine :)

great mod :)
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on November 13, 2009, 06:23:31 AM
Please attach index.template.php of your custom theme.
Title: Re: Caps Lock Detection on Login
Post by: nnick on November 13, 2009, 06:29:05 AM
here it is

PS:
That was fast :)
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on November 13, 2009, 06:57:33 AM
This file should do it.
Title: Re: Caps Lock Detection on Login
Post by: nnick on November 13, 2009, 07:07:04 AM
Perfect

(I was half way making changes myself. Sorry been away from applying mods for quite a while and lost touch, needed a jump start :) )
Title: Re: Caps Lock Detection on Login
Post by: c-o-d-e on November 28, 2009, 08:18:41 PM
I tried this mod and It never appeared to work?
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on November 29, 2009, 02:35:38 AM
Are you using a custom theme?
Any errors on installation?
Title: Re: Caps Lock Detection on Login
Post by: c-o-d-e on November 29, 2009, 11:00:03 AM
Custom theme.. umm.. I did a copy of the Curve theme. Though haven't made any changes to it accept adding more navigations.
That would be classed as Custom wouldn't it?
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on November 29, 2009, 11:01:04 AM
Yes. You have to apply the edits to your custom theme as well.
Title: Re: Caps Lock Detection on Login
Post by: Joker™ on December 08, 2009, 08:41:25 AM
g8 mod but im facing a problem

in some browsers like safari, ie8 a scroll bar is coming in front of login area .....

plz see the pic attached
Title: Re: Caps Lock Detection on Login
Post by: Joker™ on December 09, 2009, 11:51:06 PM
Quote from: sid2varun on December 08, 2009, 08:41:25 AM
g8 mod but im facing a problem

in some browsers like safari, ie8 a scroll bar is coming in front of login area .....

plz see the pic attached

bump
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on December 10, 2009, 12:46:02 AM
I will look at it.
Title: Re: Caps Lock Detection on Login
Post by: Matthew K. on December 10, 2009, 12:48:09 AM
Better to use <span style=""></span> in place of font, b, i, u, or any other styling tags themselves.
Quote from: diegolyanky on May 03, 2009, 03:21:17 PM
Nice MOD ! ...

And, if you want to change the color of text, then search for:

<div class="error" style="visibility:hidden" id="quick_login">', $txt['capslock_warning'], '</div>

And replace with:

<strong><font color="#FFFF00"><div class="error" style="visibility:hidden" id="quick_login">', $txt['capslock_warning'], '</div></font></strong>

Where, "font color="#FFFF00" is the color what you want ;)
Title: Re: Caps Lock Detection on Login
Post by: Joker™ on December 25, 2009, 12:21:55 AM
Quote from: Yule Goat on December 10, 2009, 12:46:02 AM
I will look at it.


bro any solution yet :)
Title: German translation
Post by: ncode on January 03, 2010, 09:53:24 AM
German translation:

<file name="$languagedir/Modifications.german.php">
<operation>
  <search position="end" />
   <add><![CDATA[
    // Caps Lock detection on Login Mod by Nas translation by ncode
    $txt['capslock_warning'] = 'Feststelltaste ist aktiviert.';
    // End Caps Lock detection on Login Mod by Nas
   ]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.german-utf8.php">
<operation>
  <search position="end" />
   <add><![CDATA[
    // Caps Lock detection on Login Mod by Nas translation by ncode
    $txt['capslock_warning'] = 'Feststelltaste ist aktiviert.';
    // End Caps Lock detection on Login Mod by Nas
   ]]></add>
</operation>
</file>
Title: Re: Caps Lock Detection on Login
Post by: Bugo on January 13, 2010, 11:12:31 PM
Russian translation:

// Caps Lock detection on Login Mod by Nas
$txt['capslock_warning'] = 'У Вас Caps lock включен!';
// End Caps Lock detection on Login Mod by Nas
Title: Re: Caps Lock Detection on Login
Post by: Joker™ on January 21, 2010, 06:16:07 AM
sorry removed ur modification  :)

hope u will post solution soon for someone else
Title: Re: Caps Lock Detection on Login
Post by: kicky on February 10, 2010, 10:23:16 AM
Hi,

I install this mod with no problem into my SMF 1.1.11
But it looks not work properly

After I see the description, I have a question, is this mod work with english utf-8 languange?
Title: Re: Caps Lock Detection on Login
Post by: Matthew K. on February 10, 2010, 10:29:45 AM
@kicky - To add utf-8 support if a mod does not offer it, simply add the text strings to the utf-8 file.
Title: Re: Caps Lock Detection on Login
Post by: kicky on February 10, 2010, 10:35:44 AM
Quote from: Labradoodle-360 on February 10, 2010, 10:29:45 AM
@kicky - To add utf-8 support if a mod does not offer it, simply add the text strings to the utf-8 file.

where I can get the string?
Title: Re: Caps Lock Detection on Login
Post by: Matthew K. on February 10, 2010, 10:39:21 AM

// Caps Lock detection on Login Mod by Nas
$txt['capslock_warning'] = 'Caps lock is activated.';
// End Caps Lock detection on Login Mod by Nas
Title: Re: Caps Lock Detection on Login
Post by: kicky on February 10, 2010, 11:03:27 AM
@ Labradoodle

Thanks a bunch
But I want to make sure which file that I can add this string?
English-utf8.template.php?
Title: Re: Caps Lock Detection on Login
Post by: kicky on February 11, 2010, 04:32:10 AM
@ Labradoodle

Done, it works now.

Thanks you so much
Title: Re: Caps Lock Detection on Login
Post by: Siirist on April 04, 2010, 02:23:46 AM
Hello,  :)

We are running SMF ver 2.0 RC3.  We parsed this for our version and then did the manual edits. ;)

But it is not working.  :-\   Maybe we did something wrong, but we checked.  :-[

Has anyone else installed this in the new and improved SMF ver 2.0 RC3?  ???

Oh, and we are using Core as the default theme.  O:)

Thanks in advance.  ;)

We are hopeful of a reply. :D

Take Care,
Cloud 8)
Title: Re: Caps Lock Detection on Login
Post by: Siirist on May 21, 2010, 10:57:17 AM
Bump
Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on May 21, 2010, 10:59:37 AM
Oops, sorry for the long delay.

So you're using Core as your default theme?
How's it 'not working'?
Can you attach the edited files here?
Title: Re: Caps Lock Detection on Login
Post by: Siirist on May 21, 2010, 07:51:44 PM
Quote from: Nas on May 21, 2010, 10:59:37 AM
Oops, sorry for the long delay.

So you're using Core as your default theme?
How's it 'not working'?
Can you attach the edited files here?


Hey Nas,

Okay, it's been awhile (I was looking through my posts and that is how I found to bump this, so yeah..
Much has changed. Have wiped one of two forums and so went to install again and everything passed with Core as default.

Also running Mystic Jade theme and got

2.     Replace     ./Themes/mysticjade_20rc3/index.template.php     Test failed

So will install it and then do the #2 replace manually.

Be right back.

Cloud  8)


EDIT - Didn't work
Attached the files

www.rollerderbyforum.org
username=Demo
password=justtosee
Title: Re: Caps Lock Detection on Login
Post by: Siirist on May 25, 2010, 11:49:39 PM
Um, Bump?

Cloud
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 01, 2010, 12:43:50 PM
Quote from: A Cloud Walker on May 25, 2010, 11:49:39 PM
Um, Bump?

Cloud


Using SMF ver2.0 RC3

Confirmed all the parse(s) are in place.

Bumping again.

Cloud
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 04, 2010, 07:19:26 PM
Quote from: A Cloud Walker on June 01, 2010, 12:43:50 PM
Quote from: A Cloud Walker on May 25, 2010, 11:49:39 PM
Um, Bump?

Cloud


Using SMF ver2.0 RC3

Confirmed all the parse(s) are in place.

Bumping again.

Cloud



And again,
Bump
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 07, 2010, 07:57:11 PM
Push?
Title: Re: Caps Lock Detection on Login
Post by: Liam. on June 08, 2010, 12:10:10 PM
Well you're using Core as default, not Mystic Jade anyway.


But have a look at the error, parse it, find a line or two of the code that matches, and try do it yourself.
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 08, 2010, 02:13:15 PM
Quote from: Liam. on June 08, 2010, 12:10:10 PM
Well you're using Core as default, not Mystic Jade anyway.


But have a look at the error, parse it, find a line or two of the code that matches, and try do it yourself.

I would do that,
however,
there is no error,
there is no indication of which file(s) to modify
and when I was preparing to install this mod on a forum, it seemed to indicate that there were THREE (3) modifications to be made to the index.template.php.
Wait, what?
It seems that Caps_Lock_Detection-Put-it-in-any-file.jpg shows that there is only ONE (1) or is that possibly TWO (2) modifications, but NOT THREE (3).
And besides, what about "The modification should start working, there are no settings to configure" see NoSettingsToConfigure.jpg

I just don't understand how to make 3 changes when only 1 is described.  :-[

EDIT -
these are the ones that passed and failed the install

Themes/default/Login.template.php = fail

Themes/default/Languages/Modifications.English.php = fail

1 Themes/BrightForest/index.template.php = pass
2 Themes/BrightForest/index.template.php = fail
3 Themes/BrightForest/index.template.php = fail

1 Themes/Unusual/index.template.php = pass
2 Themes/Unusual/index.template.php = fail
3 Themes/Unusual/index.template.php = pass

1 Themes/A-1 Rainbow/index.template.php = pass
2 Themes/A-1 Rainbow/index.template.php = fail
3 Themes/A-1 Rainbow/index.template.php = pass

1 Themes/MysticJade/index.template.php = pass
2 Themes/MysticJade/index.template.php = fail
3 Themes/MysticJade/index.template.php = fail

1 Themes/SweetDream/index.template.php = pass
2 Themes/SweetDream/index.template.php = fail
3 Themes/SweetDream/index.template.php = pass
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 14, 2010, 01:32:31 AM
Bump
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 16, 2010, 03:13:35 AM
Quote from: SurvivorOfAbuse on June 08, 2010, 02:13:15 PM
Quote from: Liam. on June 08, 2010, 12:10:10 PM
Well you're using Core as default, not Mystic Jade anyway.


But have a look at the error, parse it, find a line or two of the code that matches, and try do it yourself.

I would do that, however, there is no error given,
AND
when I was preparing to install this mod on ANOTHER DIFFERENT forum, it indicated that there were
THREE (3) modifications to be made to the index.template.php.
Wait, what?

It seems that Caps_Lock_Detection-Put-it-in-any-file.jpg shows that there is only ONE (1) or is that possibly TWO (2) modifications, but NOT THREE (3).

And what about "The modification should start working, there are no settings to configure" see NoSettingsToConfigure.jpg

I just don't understand how to make 3 changes when only 1 is described.  :-[


Can anyone help?
Thanks are given in advance
Cloud
Title: Re: Caps Lock Detection on Login
Post by: Lord_Fenix on July 07, 2010, 07:54:40 AM
How I can modify this tool to take effect when any user register (username and password fields)?

i can do an spanish translation, something interesed?
Title: Re: Caps Lock Detection on Login
Post by: robin0van0der0vliet on August 28, 2010, 04:28:59 AM
I have maked a dutch translation of this modification.

$txt['capslock_warning'] = 'Caps lock is geactiveerd.';
Title: Re: Caps Lock Detection on Login
Post by: iPhoneDestek on September 09, 2010, 04:27:18 PM
translation in turkish


<file name="$languagedir/Modifications.turkish.php">
<operation>
  <search position="end" />
   <add><![CDATA[
// Caps Lock detection on Login Mod translation by SirtLanVadisi.net
    $txt['capslock_warning'] = 'Caps Lock aktif';
    // End Caps Lock detection on Login Mod by SirtLanVadisi.net
   ]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.turkish-utf8.php">
<operation>
  <search position="end" />
   <add><![CDATA[
// Caps Lock detection on Login Mod translation by SirtLanVadisi.net
    $txt['capslock_warning'] = 'Caps Lock aktif';
    // End Caps Lock detection on Login Mod by SirtLanVadisi.net
   ]]></add>
</operation>
</file>




Title: Re: Caps Lock Detection on Login
Post by: Apllicmz on December 22, 2010, 12:16:43 AM
Good Mod
when Update dont forget portuguese

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Caps Lock detection on Login Mod by Nas translate candidosa2
$txt['capslock_warning'] = 'O Caps Lock est&aacute; activado.';
// End Caps Lock detection on Login Mod by Nas suporte smfpt

]]></add>
        </operation>
    </file>       
    <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Caps Lock detection on Login Mod by Nas translate candidosa2
$txt['capslock_warning'] = 'O Caps Lock est&aacute; activado.';
// End Caps Lock detection on Login Mod by Nas suporte smfpt

]]></add>
        </operation>
    </file>       

Title: Re: Caps Lock Detection on Login
Post by: Marcus Forsberg on December 23, 2010, 09:57:20 AM
Confirmed that this will work on RC4 without any edits.
Title: Re: Caps Lock Detection on Login
Post by: henrik1782 on December 25, 2010, 07:31:55 AM
thanks for the mod

danish translation

<file name="$languagedir/Modifications.danish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Caps Lock detection on Login Mod by Nas
$txt['capslock_warning'] = 'Caps Lock er aktiveret.';
// End Caps Lock detection on Login Mod by Nas

]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.danish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Caps Lock detection on Login Mod by Nas
$txt['capslock_warning'] = 'Caps Lock er aktiveret.';
// End Caps Lock detection on Login Mod by Nas

]]></add>
</operation>
</file>
Title: Re: Caps Lock Detection on Login
Post by: moneff on January 24, 2011, 05:09:45 PM
Hello,
I want to add this Mod for my forum SMF RC4...
But i REALLY don't know how to add a mod..
This is my first mod to add..
I like it very much but i don't know what to edit..

So i have installed it and now what..?
Do i need something to edit? or..?
Because at the moment it's not working when i press the Capslock..
:(

Please help men :)
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 29, 2011, 12:39:12 PM
Hi,

Cookie Monster are you still supporting this mod.  ???  I REALLY LIKE IT, but if not, I will just uninstall.  :-\

Awaiting your reply. ;)

Take Care,  :)
Cloud  8)
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 30, 2011, 08:03:21 PM
*bump*

Installed on ver 2.0 final. Not working. Any thoughts?

Cloud
Title: Re: Caps Lock Detection on Login
Post by: Spuds on June 30, 2011, 08:18:22 PM
What browser?  I just to one of the sites in your sig and it worked fine.
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 30, 2011, 08:33:04 PM
Quote from: Spuds on June 30, 2011, 08:18:22 PM
What browser?  I just to one of the sites in your sig and it worked fine.


SPUDS!! 
Try Your Sanctuary (http://www.asanctuary.net/yoursanctuary/index.php)  I use Mozilla FireFox.

Thanks,
Cloud 8)
Title: Re: Caps Lock Detection on Login
Post by: Spuds on June 30, 2011, 09:47:31 PM
Just tried that site with FF 5, both caps lock and holding down shift give the cpas lock notice ...
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 30, 2011, 09:59:31 PM
Quote from: Spuds on June 30, 2011, 09:47:31 PM
Just tried that site with FF 5, both caps lock and holding down shift give the cpas lock notice ...


Hmmm,  Okay, well I thought it might be a cache thing, but no.  Must just be me.  Will ask other members.

Thanks for all your help.

Be Well,
Cloud  8)

Title: Re: Caps Lock Detection on Login
Post by: PLAYBOY on July 17, 2011, 12:23:05 AM
you may want to change the Turkish translation by from Caps Lock Aktif (Caps Lock Active) to
"Buyuk Harfle Yazmaktasiniz!" (You are writing in Caps)

Nice mod. Good job.
Title: Re: Caps Lock Detection on Login
Post by: 9083ja on August 12, 2011, 12:55:51 PM
Quote from: A_Survivor of abuse on June 30, 2011, 09:59:31 PM
Quote from: Spuds on June 30, 2011, 09:47:31 PM
Just tried that site with FF 5, both caps lock and holding down shift give the cpas lock notice ...


Hmmm,  Okay, well I thought it might be a cache thing, but no.  Must just be me.  Will ask other members.

Thanks for all your help.

Be Well,
Cloud  8)



same problem on 2.0 final...
Title: Re: Caps Lock Detection on Login
Post by: 3ch0 on October 14, 2011, 03:28:20 PM
Installed on 2.0.1 and now My Site text is huge and I have this at the top of every screen:

// Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod

www dot b07 dot org

Any assistance would be much appreciated
Title: Re: Caps Lock Detection on Login
Post by: TitanL2Divide on October 27, 2011, 07:30:56 AM
Quote from: 3ch0 on October 14, 2011, 03:28:20 PM
Installed on 2.0.1 and now My Site text is huge and I have this at the top of every screen:

// Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod

www dot b07 dot org

Any assistance would be much appreciated

I have the same problem ???

Even when i uninstalled the mod it still shows .

How can i get rid off it ?

Best Regards,

Titan .
Title: Re: Caps Lock Detection on Login
Post by: Spuds on October 27, 2011, 07:56:57 PM
check your Modifications.english-utf8.php or Modifications.english.php files for those lines and remove them ... make sure that file ends in a ?> as well.
Title: Re: Caps Lock Detection on Login
Post by: Evil_Genius77 on November 08, 2011, 06:47:02 PM
Help, this happened to me too, but I have no idea how to find the PHP files you talk about! Please reply as soon as possible!
Title: Re: Caps Lock Detection on Login
Post by: Spuds on November 08, 2011, 07:05:53 PM
Link to your site? 
Title: Re: Caps Lock Detection on Login
Post by: Evil_Genius77 on November 08, 2011, 07:06:56 PM
fantasticaentertainment.com. If you like/need to, create an account and I'll make you a temporary administrator.
Title: Re: Caps Lock Detection on Login
Post by: Spuds on November 08, 2011, 07:12:23 PM
yeah thats strange ... can you pm me a temp ftp account so I can fix that ....
Title: Re: Caps Lock Detection on Login
Post by: Evil_Genius77 on November 08, 2011, 07:14:22 PM
What's an FTP account? I don't know if I have one... By the way I may be offline for like a half an hour in the next hour or so if you're not receiving immediate replies.
Title: Re: Caps Lock Detection on Login
Post by: CatHunterSteve on December 12, 2011, 04:23:48 PM
http://virginiacatfishing.com/smf1/index.php

I just installed this app on SMF 2.0.1 and now I have this code above the header of my board and it will not go away even after deleation of the Mod. Additionally now I have enlarged fonts and my menu went verticle as in example.
Code above header:
// Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod// Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod
Copy and paste of verticle menu:
Home
Community
News
Help
VirginiaCatfishing's Social Groups
Search Admin
PortaMx Admin Center...
Settings Manager
Block Manager
Category Manager
Article Manager
SEF Manager
Language Manager
Features and Options
Package Manager
Error Log
Permissions
Moderate
Moderation Log
Reported Posts
Profile
Summary
Account Settings
Forum Profile
Youtube's channel
My Messages
Read your messages
Send a message
Calendar
View Calendar
Post Event
Member Map Articles Contact Staff List Links Members
View the memberlist
Search For Members
Logout

How cat this be fixed without starting all over?

Title: Re: Caps Lock Detection on Login
Post by: Matthew K. on December 12, 2011, 04:28:28 PM
Can you attach your ./Themes/default/languages/Modifications.english.php? Or the utf-8 version if that's what you're using?
Title: Re: Caps Lock Detection on Login
Post by: CatHunterSteve on December 12, 2011, 04:55:05 PM
Quote from: Labradoodle-360 on December 12, 2011, 04:28:28 PM
Can you attach your ./Themes/default/languages/Modifications.english.php? Or the utf-8 version if that's what you're using?


I had deleated the MOD before I recieved your request and didn't know if I should re-install the mod before I sent you the PHP file.
File attached...
Title: Re: Caps Lock Detection on Login
Post by: Matthew K. on December 12, 2011, 05:02:55 PM
Both of those files appear to be okay, is the issue persisting?
Title: Re: Caps Lock Detection on Login
Post by: CatHunterSteve on December 12, 2011, 05:09:16 PM
Yes sir even after I uninstalled and deleted the mod I still have the problem. I use the default theme "curve" but I do not know if that matters.

I am using UTF-8 language on the board but I do not see a Modifications.english-utf8.php file in the directory.
Title: Re: Caps Lock Detection on Login
Post by: BlueGas on January 28, 2012, 05:03:01 PM
// Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod // Caps Lock detection on Login Mod $txt['capslock_warning'] = 'Caps lock is activated.'; // End Caps Lock detection on Login Mod


this is stuck at the top/header of my forums and i cant get rid of it even after uninstalling and reinstalling and uninstalling again-- please help me with this,,  thanks for your time
Title: Re: Caps Lock Detection on Login
Post by: Spuds on January 28, 2012, 06:56:14 PM
Please attach both your
index.template.php (from your themes/default directory) and your
modifications.english.php file from (themes/default/languages)
Title: Re: Caps Lock Detection on Login
Post by: Ninja ZX-10RR on June 21, 2014, 03:48:22 AM

:D
Title: Re: Caps Lock Detection on Login
Post by: Piilot on October 21, 2015, 03:41:44 PM
It doesn't work on my theme: Reseller

Any fixes? Thanks!
Title: Re: Caps Lock Detection on Login
Post by: Siirist on June 25, 2016, 10:32:34 AM
Fellow Members and Staff,

This Mod functions and performs as intended when using SMF ver 2.0.11 with the DEFAULT theme. It is believed that it will therefore function on any 2.0.x forum provided the default theme is used.

I installed it manually, and believe that it will not function with any other theme that does not have a Login.template.php AND an index.template.php, because I believe that those two files "drive" the mod to post the text that has been added to the ./Themes/default/languages/Modifications.english.php (or any other language)

Because of this, I have had to set the default theme as Curve and then allow users to "choose" the theme they would like to use.

Those that build mods cannot ensure that the mod will function every theme in existence. There are hundreds, if not thousands of themes.

Enjoy this mod that saves your forum from logging login errors, and have a great day.

Be Well,
Siriist