• Welcome to Simple Machines Community Forum. Please login or sign up.
January 20, 2022, 06:07:05 PM

News:

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


Caps Lock Detection on Login

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

Previous topic - Next topic

Matthew K.


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

kicky

February 10, 2010, 11:03:27 AM #61 Last Edit: February 10, 2010, 11:30:15 AM by kicky
@ Labradoodle

Thanks a bunch
But I want to make sure which file that I can add this string?
English-utf8.template.php?

kicky

@ Labradoodle

Done, it works now.

Thanks you so much

Siirist

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)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Marcus Forsberg

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?

Siirist

May 21, 2010, 07:51:44 PM #66 Last Edit: May 25, 2010, 11:45:22 PM by A Cloud Walker
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
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

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
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

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
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Liam.

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.

Siirist

June 08, 2010, 02:13:15 PM #72 Last Edit: June 08, 2010, 02:22:15 PM by A Cloud Walker
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
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

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
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Lord_Fenix

July 07, 2010, 07:54:40 AM #75 Last Edit: July 07, 2010, 08:10:40 AM by Lord_Fenix
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?

robin0van0der0vliet

I have maked a dutch translation of this modification.

$txt['capslock_warning'] = 'Caps lock is geactiveerd.';

iPhoneDestek

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>






$$  Q u a l i t y    I n f o r m a t i o n    L i n e  for iPhone $$



<   M O D  |  T R A N S L A T O R  |  TO  |  TUR  |  A N D   |  G E R   >


Apllicmz

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>       




Marcus Forsberg

Confirmed that this will work on RC4 without any edits.

Advertisement: