Caps Lock Detection on Login

Started by Spuds, May 02, 2009, 12:55:37 PM

Previous topic - Next topic

nnick

Hi,

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

great mod :)

Marcus Forsberg

Please attach index.template.php of your custom theme.

nnick


Marcus Forsberg


nnick

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 :) )

c-o-d-e

I tried this mod and It never appeared to work?

Marcus Forsberg

Are you using a custom theme?
Any errors on installation?

c-o-d-e

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?

Marcus Forsberg

Yes. You have to apply the edits to your custom theme as well.

Joker™

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
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Joker™

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
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Marcus Forsberg


Matthew K.

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 ;)

Joker™

Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

ncode

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>

Bugo

Russian translation:

// Caps Lock detection on Login Mod by Nas
$txt['capslock_warning'] = 'У Вас Caps lock включен!';
// End Caps Lock detection on Login Mod by Nas

Joker™

sorry removed ur modification  :)

hope u will post solution soon for someone else
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

kicky

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?

Matthew K.

@kicky - To add utf-8 support if a mod does not offer it, simply add the text strings to the utf-8 file.

kicky

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?

Advertisement: