Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: codebirth on February 27, 2009, 09:39:04 AM

Title: cb|Emailogin
Post by: codebirth on February 27, 2009, 09:39:04 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1665)

cb|Emailogin 0.63

This MOD will force your forum members to login using their email address instead of username. This behaviour can be useful in many situations.

The package will also change some language strings to adapt to the new behaviour.

Languages: English, Spanish ES, Turkish, Danish, German




GNU General Public License v3.0

cb|Emailogin - Force your forum members to login using their email address
Copyright (C) 2009-2012, codebirth
Website: http://www.codebirth.com


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see <http://www.gnu.org/licenses/>




Changelog

0.63


0.62


0.61


0.6


0.52


0.51


0.5


0.4


0.3


0.2


0.1.a


0.1





More info

Demo and previous versions of this MOD
http://codebirth.com

Additional packages for previous cb|Emailogin versions

Wireless template patch (for cb|Emailogin <= 0.5)
This patch will apply changes to the Wireless template for your users that connect through WAP, WAP2 or iMode.
Wireless template patch (http://www.simplemachines.org/community/index.php?topic=295933.msg2964346#msg2964346)

Language Packs  (for cb|Emailogin <= 0.5)
Title: Re: Email Login
Post by: Question. on February 27, 2009, 11:48:08 AM
Hi...

very good mod

I want to Supporting  for smf 1.1.8

Thank You.  :)
Title: Re: Email Login
Post by: codebirth on February 27, 2009, 02:15:26 PM
I have added compatibility for 1.1.8 ;)

Thanks for your suggestions.
Title: Re: Email Login 0.1.a
Post by: phpMyTony on February 27, 2009, 07:10:55 PM
Very clever! :D
Title: Re: Email Login 0.1.a
Post by: Minare on February 27, 2009, 10:16:23 PM
Good mod really, nice idea :)
Title: Re: Email Login 0.1.a
Post by: Afro on May 20, 2009, 04:56:39 AM
probably one of tghe best mods. People forget their usernames easier than their e mails. I am installing now.  Thanks for the mod
Title: Re: Email Login 0.1.a
Post by: ttuu on May 20, 2009, 06:05:04 AM
It would be nice if you can I'll come in with a user name and mail address.
Both will be active.
And user get what he remembers.
Title: Re: Email Login 0.1.a
Post by: codebirth on May 20, 2009, 06:08:58 AM
Quote from: ttuu on May 20, 2009, 06:05:04 AM
It would be nice if you can I'll come in with a user name and mail address.
Both will be active.
And user get what he remembers.

That is already implemented in SMF by default. You can login with username or email without installing any MOD  8)

This MOD is to force login with email ONLY.
Title: Re: Email Login 0.1.a
Post by: cubetgio on May 28, 2009, 02:43:15 AM
very good mod!

Are you using cookies in order to load systematically the last email used from the IP.

Giovanni
Title: Re: Email Login 0.1.a
Post by: codebirth on May 28, 2009, 03:11:07 AM
Quote from: cubetgio on May 28, 2009, 02:43:15 AM
very good mod!

Are you using cookies in order to load systematically the last email used from the IP.

Giovanni

Sorry I don't understand what you mean. Nothing special is used other than the cookies that SMF set when you login.
Title: Re: Email Login 0.1.a
Post by: cubetgio on June 02, 2009, 01:45:04 AM
hello

sorry i'am not an expert.

What i mean is:

does the mod keep in memory the last email of the last user logged in a smf forum

Giovanni
Title: Re: Email Login 0.1.a
Post by: codebirth on June 02, 2009, 03:21:30 AM
Quote from: cubetgio on June 02, 2009, 01:45:04 AM
hello

sorry i'am not an expert.

What i mean is:

does the mod keep in memory the last email of the last user logged in a smf forum

Giovanni

Yes, if you want it will remember you.
Title: Re: Email Login 0.1.a
Post by: quintias on July 28, 2009, 05:51:34 AM
Quote from: codebirth on February 27, 2009, 09:39:04 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1665)
Changelog
============

0.1.a


  • Added compatibility with SMF 1.1.8

In package-info.xml replace:

<install for="1.1.8 - 1.99.99">
<readme parsebbc="true">readme.txt</readme>
<modification>modification_1_x.xml</modification>
</install>

<uninstall for="1.1.8 - 1.99.99">
<modification reverse="true">modification_1_x.xml</modification>
</uninstall>


with

<install for="1.1*">
<readme>readme.txt</readme>
<modification>modification_1_x.xml</modification>
</install>

<uninstall for="1.1*">
<modification reverse="true">modification_1_x.xml</modification>
</uninstall>

and it will successfully install and uninstall with SMF 1.1.10

Great job on the mod!

Enjoy everyone!  :)
Title: Re: Email Login 0.1.a
Post by: cubetgio on July 29, 2009, 05:01:40 AM
hello,

the system set back Userid request instead of email request when you click on a link that is pointing on a topic that access is not allowed for the guest.

will you mange to change this in a next version ?

Giovanni
Title: Re: Email Login 0.1.a
Post by: codebirth on July 29, 2009, 05:30:47 AM
Yes, there are still some glitches that I will fix in the next version.

Thanks for pointing this out.
Title: Re: Email Login 0.2
Post by: codebirth on August 02, 2009, 11:43:04 AM
Version 0.2 is out. It includes a fix to properly install on 1.1.10 (thanks to quintias) and it also fixes the problem stated by cubetgio (thanks) and other minor problems.

First you'll have to uninstall any previous version of Email Login.

If you are running 2.0 RC1.2 and it gives you an error when you try to unistall click on the Advanced link to force compatibility with 2.0RC1-1, then uninstall, and afterwards you can take compatibility back to RC1.2.

If you have any question just post here and we'll try to help.

Thanks!
Title: Re: Email Login 0.2
Post by: cubetgio on August 04, 2009, 03:02:04 PM
hello codebirth,

Thanks for the upgrade and your quick follow up !

Here below is the message that i get when i try to uninstalll. Could you help with an automatic patch to uninstall ?

"This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information."

Thanks
Title: Re: Email Login 0.2
Post by: codebirth on August 04, 2009, 03:12:49 PM
The uninstaller and the installer is the same file, it just reverse the actions, so maybe other thing is causing that error...

What SMF version are you using?
Title: Re: Email Login 0.2
Post by: cubetgio on August 05, 2009, 07:10:38 AM
1.1.10
Title: Re: cb|Emailogin
Post by: Blah blah on January 21, 2011, 02:54:34 PM
I hate to bump this, but does anyone still have the version compatible with 2.0 RC1.2? Its not on their website anymore.
Title: Re: cb|Emailogin
Post by: codebirth on January 21, 2011, 03:31:46 PM
Yes, it's here

http://codebirth.com/index.php?topic=2.0

You need to login to see the download link
Title: Re: cb|Emailogin
Post by: forumuser on February 12, 2011, 10:39:15 PM
Hello codebirth,

Great mod. My forum is under attack right now by a script making multiple log-ins using member's usernames.
I've been blocking IPs to reduce the amount of attempts.

Any chance this can be updated to 1.1.13?

It would be much appreciated.

Thanks,
forumuser
Title: Re: cb|Emailogin
Post by: ljunatic on February 13, 2011, 01:01:49 AM
Quote from: forumuser on February 12, 2011, 10:39:15 PM
Hello codebirth,

Great mod. My forum is under attack right now by a script making multiple log-ins using member's usernames.
I've been blocking IPs to reduce the amount of attempts.

Any chance this can be updated to 1.1.13?

It would be much appreciated.

Thanks,
forumuser

Same problem here! 1.1.13 support would be VERY much appreciated
Title: Re: cb|Emailogin
Post by: codebirth on February 13, 2011, 02:31:22 AM
MOD has been updated to 1.1.13 and 2.0 RC5.

Let me know if you find any issue.
Title: Re: cb|Emailogin
Post by: forumuser on February 13, 2011, 09:45:50 AM
The 1.1.13 updated version worked like a charm.

Thanks very, very much.

-forumuser

Title: Re: cb|Emailogin
Post by: Astra_200 on February 14, 2011, 07:30:17 AM
Will this work on RC4 with security patch? Thanks.
Title: Re: cb|Emailogin
Post by: Vandaahl on February 14, 2011, 02:40:47 PM
Can anybody please upload version 0.4 of this mod? I am running SMF 2.0 RC3 and it won't install the newest version of the mod. I can't upgrade my SMF because it is so heavily modified that it takes alot of work and I don't have the time right now. Thank in advance!

Edit: I found it over at http://codebirth.com/, but I can't seem to register there to download it, because the account activation doesn't seem to work.

Edit: I was able to log in to that site and download version 0.4. Thanks.
Title: Re: cb|Emailogin
Post by: PLAYBOY on February 15, 2011, 03:27:11 AM
If it hasn't been translated to Turkish, i can do it as soon as you give me the list of words.
Title: Re: cb|Emailogin
Post by: codebirth on February 15, 2011, 08:52:43 AM
@Astral2000 The attached package should install fine on RC4
Title: Re: cb|Emailogin
Post by: thavee on February 15, 2011, 08:59:39 AM
Hi everbody
I'm a new member
remember me,please

Thank you. :)
Title: Re: cb|Emailogin
Post by: willerby on February 15, 2011, 01:17:41 PM
Thavee, wrong topic, wrong site.

Easily forgotten.
Title: Re: cb|Emailogin
Post by: Tanks on February 16, 2011, 01:08:35 PM
Hi Codebirth

I just signed up on your forum to get my hands on the 0.3 Version of your mod for my RC2 forum.

I'm still waiting for the registration email, I guess your forum is rather slow on sending it ? :p

Anyway, I wanted to ask you if there are any bugs with that version or if I should just go ahead and install it ?
Title: Re: cb|Emailogin
Post by: codebirth on February 16, 2011, 01:33:56 PM
Hi Tanks, don't know what's going on with the registration emails. I have approved your account manually.

There are no known bugs in version 0.3, you can go ahead with it :)
Title: Re: cb|Emailogin
Post by: Tanks on February 16, 2011, 01:36:05 PM
Thanks :)

Edit: FYI The registration email just arrived. 10 minutes after you manually activated me.
Title: Re: cb|Emailogin
Post by: PLAYBOY on February 16, 2011, 05:17:43 PM
Quote from: laetabi on February 15, 2011, 01:17:41 PM
Thavee, wrong topic, wrong site.

Easily forgotten.

How can we forget you after this message in this topic? :) Welcome to SMF

Very good mod. I loved it and its very very useful. Good job and Thank you.
I am willing to translate this mod to Turkish. Can somebody provide the texts?
Title: Re: cb|Emailogin
Post by: willerby on February 16, 2011, 05:33:20 PM
If considering using this mod on a large active forum after the recent spate of log-in attacks, it may be worth changing the text within index.english.php to explain to your members why email log-in is now required and to give those who have forgotten the email address used an admin contact...

I used something like the following:

---------------------------
$txt['username_no_exist'] = 'That email address does not exist.<br /><br />As a result of persistent hacking attempts exploiting published usernames, this forum now requires the registered email address for log-in. If you experience problems logging in, please contact xxxxx@xxxxx';
$txt['no_user_with_email'] = 'There are no usernames associated with that email address.<br /><br />As a result of persistent hacking attempts exploiting published usernames, this forum now requires the registered email address for log-in. If you experience problems logging in, please contact xxxxx@xxxxx';


Users soon get used to logging in with email and most store their log-in details in their browser and remain logged in forever.

Great mod and a secure fix for the recent spambot attempts to crack passwords using usernames.
Title: Re: cb|Emailogin
Post by: codebirth on February 16, 2011, 05:57:30 PM
@PLAYBOY and anyone willing to translate this MOD :) These are the texts for both SMF 1.1.13 and 2.0 RC5

QuoteSMF 1.1.13

$txt[40] = 'That email address does not exist.';
$txt['smf52'] = 'Login with email, password and session length';

$txt[37] = 'You should fill in an email address.';
$txt[520] = 'This is the displayed name that people will see.';

$txt['smf100'] = 'Email';


SMF 2.0 RC5

$txt['username_no_exist'] = 'That email address does not exist.';
$txt['quick_login_dec'] = 'Login with email, password and session length';

$txt['identification_by_smf'] = 'This is the displayed name that people will see.';
$txt['need_email'] = 'You should fill in an email address.';

$txt['user_email'] = 'Email';
$txt['password_reminder_desc'] = 'If you\'ve forgotten your login details, don\'t worry, they can be retrieved. To start this process please enter your email address below.';

Since there's not much to translate it would be appreciated if anyone translating the MOD can provide translations for both 1.1.13 and 2.0 RC5.

Thanks everyone for your contributions and comments :)
Title: Re: cb|Emailogin
Post by: Astra_200 on February 16, 2011, 09:15:52 PM
Quote from: codebirth on February 15, 2011, 08:52:43 AM
@Astral2000 The attached package should install fine on RC4

Many thanks :)
Title: Re: cb|Emailogin
Post by: Jesna on February 19, 2011, 01:21:07 PM
Im using danish language. Does it work on a danish forum then? Normally there is some changes in Modifications.english ihave to put over in Modifications.danish to get the language to show but there isnt here??

/Jakob
Title: Re: cb|Emailogin
Post by: PLAYBOY on February 19, 2011, 01:41:21 PM
SMF 1.1.13

$txt[40] = 'Boyle bir email adresi yok';
$txt['smf52'] = 'Email adresinizi, sifrenizi ve cevirimici surenizi giriniz';

$txt[37] = 'Bir email adresi girmelisiniz';
$txt[520] = 'Bu kisilerin gorebilecegi, gorunen isim';

$txt['smf100'] = 'Email';


SMF 2.0 RC5

$txt['username_no_exist'] = 'Boyle bir email adresi yok';
$txt['quick_login_dec'] = 'Email adresinizi, sifrenizi ve cevirimici surenizi giriniz';

$txt['identification_by_smf'] = 'Bu kisilerin gorebilecegi, gorunen isim';
$txt['need_email'] = 'Bir email adresi girmelisiniz';

$txt['user_email'] = 'Email';
$txt['password_reminder_desc'] = 'Eger giris bilgilerinizi unuttuysaniz, hatirlatilabilir. Hatirlatma islemine baslatmak icin asagida email adresinizi giriniz.';

Turkish Translation :)
Title: Re: cb|Emailogin
Post by: Jesna on February 19, 2011, 02:00:29 PM
Danish translation - Dansk oversættelse

SMF 1.1.13

$txt[40] = 'Denne email adresse eksisterer ikke.';
$txt['smf52'] = 'Log på med email, kodeord og sessionslængde';

$txt[37] = 'Du skal udfylde en email adresse.';
$txt[520] = 'Dette er det viste navn, som folk vil se.';

$txt['smf100'] = 'Email';


SMF 2.0 RC5

$txt['username_no_exist'] = 'Denne email adresse eksisterer ikke.';
$txt['quick_login_dec'] = 'Log på med email, kodeord og sessionslængde';

$txt['identification_by_smf'] = 'Dette er det viste navn, som folk vil se.';
$txt['need_email'] = 'Du skal udfylde en email adresse.';

$txt['user_email'] = 'Email';
$txt['password_reminder_desc'] = 'Hvis du har glemt dit login, kan du få det igen. For at starte denne proces skal du indtaste din email adresse nedenfor.';
Title: Re: cb|Emailogin
Post by: codebirth on February 20, 2011, 04:58:50 AM
Thanks for the translations PLAYBOY and Jesna :) I'm going to pack them as language packages so they can be applied to current and previous versions of the mod running on SMF >= 1.1.10 or SMF >= 2.0 RC1.2
Title: Re: cb|Emailogin
Post by: codebirth on February 20, 2011, 06:59:43 AM
Turkish-UTF8 Language Pack

This is the Turkish-UTF8 language pack for cb|Emailogin 0.2, 0.3, 0.4 and 0.5

Compatible with SMF 1.1.10, 1.1.11, 1.1.12, 1.1.13, 2.0 RC 1.2, 2.0 RC2, 2.0 RC3, 2.0 RC4, and 2.0 RC5

You have to install it from the Packages manager of your SMF board.

Thanks to PLAYBOY for the translation.
Title: Re: cb|Emailogin
Post by: codebirth on February 20, 2011, 07:03:09 AM
Danish-UTF8 Language Pack

This is the Danish language pack for cb|Emailogin 0.2, 0.3, 0.4 and 0.5

Compatible with SMF 1.1.10, 1.1.11, 1.1.12, 1.1.13, 2.0 RC 1.2, 2.0 RC2, 2.0 RC3, 2.0 RC4, and 2.0 RC5

You have to install it through the Packages manager of your SMF board.

Thanks to Jesna for the translation.
Title: Re: cb|Emailogin
Post by: Aportadordelmix on February 21, 2011, 03:33:24 PM
Thanks
Title: Re: cb|Emailogin
Post by: Jade Elizabeth on February 22, 2011, 04:12:51 AM
Can you please change the text on the mobile template?
Title: Re: cb|Emailogin
Post by: codebirth on February 22, 2011, 04:18:49 AM
Sure, I will look into that this evening.
Title: Re: cb|Emailogin
Post by: codebirth on February 22, 2011, 01:09:44 PM
Hello,

This patch will apply changes to the Wireless template, so your users that connect through WAP, WAP2 or iMode will also see the text Email instead of Username in the login form. I have tested it with SMF 1.1.13 and SMF 2.0 RC5 but I guess it will work with previous SMF versions too.

Please, let me know if you find any issue.
Title: Re: cb|Emailogin
Post by: PLAYBOY on February 24, 2011, 03:48:54 AM
If all of these patches and language files will be included in the next update, i d ratter wait for it and install all at once.
Title: Re: cb|Emailogin
Post by: codebirth on February 24, 2011, 04:00:35 AM
Yes, they will be included in the next release for sure.
Title: Re: cb|Emailogin
Post by: SulevFan on March 04, 2011, 07:31:49 AM
I'm using ssi_login() on my site. Is there some way this mod can be applied to the ssi code so that all pages can use email login?
Title: Re: cb|Emailogin
Post by: codebirth on March 05, 2011, 03:48:42 AM
Quote from: SulevFan on March 04, 2011, 07:31:49 AM
I'm using ssi_login() on my site. Is there some way this mod can be applied to the ssi code so that all pages can use email login?

Sure, I will look into that.
Title: Re: cb|Emailogin
Post by: SulevFan on March 05, 2011, 01:26:21 PM
Thank you kindly. :)
Title: Re: cb|Emailogin
Post by: codebirth on March 07, 2011, 06:30:06 AM
A new version (0.51) is available which includes the recent changes and new languages.

http://custom.simplemachines.org/mods/index.php?mod=1665
Title: Re: cb|Emailogin
Post by: sharks on March 07, 2011, 01:51:58 PM
Thanks for updating this mod today. It is very useful. Thank you. :)
Title: Re: cb|Emailogin
Post by: PLAYBOY on March 07, 2011, 06:54:07 PM
Do we have to uninstall the old one before installing the new one?

1.1.13
Title: Re: cb|Emailogin
Post by: SulevFan on March 07, 2011, 08:45:16 PM
Hello. I received an update notification in Spanish, I think.

Anyone knows why?

Quote
Hola SulevFan,

La personalización, cb|Emailogin, ha sido actualizada en la zona de las personalizaciones. La ultima versión es ahora, 0.51.
Puedes comprobarlo usando el siguiente enlace:
SulevFan

Has recibido esta notificación porque te suscribiste en su momento a recibir notificaciones de esta personalización. Puedes evitar futuras notificaciones visitando el enlace anterior al mod y cancelando dicha suscripción.

La descripción de esta personalización es la siguiente:
cb|Emailogin
Title: Re: cb|Emailogin
Post by: SulevFan on March 07, 2011, 08:48:54 PM
Another question. Can someone please expand on the changes to ssi_login()? Is it the change I asked about to allow email login via ssi_login()?

Thanks!
Title: Re: cb|Emailogin
Post by: codebirth on March 08, 2011, 04:15:29 AM
@PLAYBOY Yes, you have to uninstall any previous version of the mod.

@SulevFan I don't know why you received the notificaction in Spanish but it could be a bug. Spanish is my language but the notification is automatically sent by SMF so it should be sent in each subscriber's language I think.

The changes on ssi_login() only affect the login form generated by SSI.php which I think it was what you asked. There's actually nothing else to change to allow email login via ssi_login()

@sharks You're welcome. Thanks for your message :)
Title: Re: cb|Emailogin
Post by: Jade Elizabeth on March 08, 2011, 08:09:32 AM
Quote from: codebirth on February 22, 2011, 01:09:44 PM
Hello,

This patch will apply changes to the Wireless template, so your users that connect through WAP, WAP2 or iMode will also see the text Email instead of Username in the login form. I have tested it with SMF 1.1.13 and SMF 2.0 RC5 but I guess it will work with previous SMF versions too.

Please, let me know if you find any issue.

Thanks tonnes!! :D
Title: Re: cb|Emailogin
Post by: SulevFan on March 08, 2011, 01:54:04 PM
Quote from: codebirth on March 08, 2011, 04:15:29 AM

@SulevFan I don't know why you received the notificaction in Spanish but it could be a bug. Spanish is my language but the notification is automatically sent by SMF so it should be sent in each subscriber's language I think.

The changes on ssi_login() only affect the login form generated by SSI.php which I think it was what you asked. There's actually nothing else to change to allow email login via ssi_login()

Thanks! I tested it and it works great. I have an unrelated weirdness (http://www.simplemachines.org/community/index.php?topic=425401.msg2981399#msg2981399) that I asked about. I know it's not your province, but I figure you may know a lot about SSI?
Title: Re: cb|Emailogin
Post by: PLAYBOY on March 08, 2011, 09:17:04 PM
I was updating the mod and i didint see the Turkish translation.
Most turks dont use UTF-8 (because of converting problems) so would be so kind to add regular turkish to the next update? I know its very easy to add it manually but it would be lot more helpful if its added to the next update.
Title: Re: cb|Emailogin
Post by: codebirth on March 10, 2011, 10:22:51 AM
@PLAYBOY No problem, I will include regular ISO-8859-1 languages in the next update  ;)

@SulveFan I've read your other post but I don't know what is causing that, sorry  :(

@Jade Elizabeth You're welcome  :)
Title: Re: cb|Emailogin
Post by: codebirth on March 30, 2011, 07:34:01 AM
A new version of this mod has been released.

cb|Emailogin 0.52



Let me know if you find any issue.

Thanks!
Title: Re: cb|Emailogin
Post by: PLAYBOY on April 05, 2011, 05:11:48 PM
Good job. Now, it is great.

Suggestions for the next update;
1- Option to turn the feature off.
2- Option to customize the "wrong username/password" warning. Because so many members try to login with their username and get that error because they dont know about the changes on the login, even if you put a big red banner on the top. So they get "wrong username/password" error. It would be nice to customize that message as "Please make sure you put your email adress instead of your username and try again." or something like that.

Thank you again for this very nice mod.
Title: Re: cb|Emailogin
Post by: snooks on June 13, 2011, 01:31:40 PM
Can you support 2 Gold please this is a great mod

thanks
Title: Re: cb|Emailogin
Post by: codebirth on June 13, 2011, 01:41:06 PM
Quote from: snooks on June 13, 2011, 01:31:40 PM
Can you support 2 Gold please this is a great mod

thanks

Sure, support for 2.0 Gold and 1.1.14 will be available in a few days.
Title: Re: cb|Emailogin
Post by: snooks on June 13, 2011, 01:46:32 PM
Excellent thank you  8)
Title: cb|Emailogin for 1.1.14 and 2.0 Final
Post by: codebirth on June 14, 2011, 02:17:44 PM
cb|Emailogin 0.6 compatible with SMF 1.1.14 and 2.0 Final is now available  ;)
Title: Re: cb|Emailogin for 1.1.14 and 2.0 Final
Post by: snooks on June 14, 2011, 02:27:27 PM
Quote from: codebirth on June 14, 2011, 02:17:44 PM
cb|Emailogin 0.6 compatible with SMF 1.1.14 and 2.0 Final is now available  ;)

Thank you very much  :P
Title: Re: cb|Emailogin
Post by: searchgr on June 26, 2011, 03:22:01 PM
When a member forgets the password and choose an authentication reminder i get the following error:

http://www.*****.net/index.php?action=reminder;sa=picktype
The database value you're trying to insert does not exist: email_address
Function: RemindPick
File: /home/*****/public_html/Sources/Reminder.php
Line: 95
Title: Re: cb|Emailogin
Post by: codebirth on June 26, 2011, 03:42:00 PM
Smells like a bug, I'm looking into it.
Title: Re: cb|Emailogin
Post by: searchgr on June 26, 2011, 03:48:23 PM
It's not happening to all email addresses .... hmmm
Title: Re: cb|Emailogin
Post by: codebirth on June 26, 2011, 04:36:22 PM
The error appears only if the user has set a security question on his profile. A new version that fix this bug will be available later today.
Title: Re: cb|Emailogin
Post by: searchgr on June 26, 2011, 04:39:48 PM
Quote from: codebirth on June 26, 2011, 04:36:22 PM
The error appears only if the user has set a security question on his profile. A new version that fix this bug will be available later today.

Yes, you are right. That user has set a secret question.

First time i see so fast response. Thank you.
Title: Re: cb|Emailogin
Post by: codebirth on June 26, 2011, 06:18:53 PM
A new version (0.61) that fixes this problem and includes a few changes (please read changelog) is now available.

Thanks for reporting this bug, searchgr. Please, let me know if you find any other issue :)

Note: As usual, you first have to uninstall any previous version of this mod before upgrading.
Title: Re: cb|Emailogin
Post by: searchgr on June 27, 2011, 03:35:40 PM
I tried a manual edit. I see that the only change is at the reminder.php file.

I found the lines:

elseif (isset($_POST['user']) && $_POST['user'] != '')
{
$where = 'member_name = {string:member_name}';
$where_params['member_name'] = $_POST['user'];
$where_params['email_address'] = $_POST['user'];


and replaced them with the following:

elseif (isset($_POST['user']) && $_POST['user'] != '')
{
$where = 'email_address = {string:email_address}';
$where_params['email_address'] = $_POST['user'];
}


It doesn't work. Can anybody confirm that the 0.61 version fixes the bug?
Title: Re: cb|Emailogin
Post by: codebirth on June 27, 2011, 04:03:59 PM
I guess you have not uninstalled any previous version of this mod. In previous versions there were other changes in Reminder.php, so you first have to uninstall the mod so the code of Reminder.php is back to original.

After that you can install version 0.61 which, replacing a different piece of code, adds the same functionality as before and also fix the bug.
Title: Re: cb|Emailogin
Post by: searchgr on June 27, 2011, 04:20:16 PM
Yes, i try to apply the changes without uninstalling the previous version :)
Title: Re: cb|Emailogin
Post by: searchgr on June 27, 2011, 05:29:28 PM
Quote from: codebirth on June 27, 2011, 04:03:59 PM
I guess you have not uninstalled any previous version of this mod. In previous versions there were other changes in Reminder.php, so you first have to uninstall the mod so the code of Reminder.php is back to original.

After that you can install version 0.61 which, replacing a different piece of code, adds the same functionality as before and also fix the bug.

Thank you. Now is ok.
Title: Re: cb|Emailogin
Post by: riou on June 30, 2011, 10:52:53 PM
This mod seems to not allow me to change users Username, when installed it seems to block the box so it never shows so I can't change their username, but when it's uninstalled the username change works fine.
Title: Re: cb|Emailogin
Post by: goodtimes247 on July 14, 2011, 08:31:18 PM
Can I install this mod by using the package manager?
Title: Re: cb|Emailogin
Post by: PLAYBOY on July 15, 2011, 01:57:24 AM
Quote from: PLAYBOY on April 05, 2011, 05:11:48 PM
Suggestions for the next update;
1- Option to turn the feature off.
2- Option to customize the "wrong username/password" warning. Because so many members try to login with their username and get that error because they dont know about the changes on the login, even if you put a big red banner on the top. So they get "wrong username/password" error. It would be nice to customize that message as "Please make sure you put your email adress instead of your username and try again." or something like that.


Any answers about this?

QuoteA copyright is added to the credits section of SMF 2.0
Is this a copyright on main page? or is it in admin panel or something?
Title: Re: cb|Emailogin
Post by: PLAYBOY on September 17, 2011, 10:16:59 PM
This mod prevent me changing the username of the member. I can change only the displayed name.

How do you change the Username (not displayed name) of the member from their profile?

It doesnt give me the option to change their username.

This is what comes up when you click on "Change" under the "Username"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg220.imageshack.us%2Fimg220%2F3905%2Fcaptureavq.jpg&hash=8d7b4b02db1df5c90e378073a9fa4637de638a79)

So you can change only the displayed name but not the username.
Title: Re: cb|Emailogin
Post by: searchgr on September 18, 2011, 02:38:34 AM
Same problem here ... I can't change the member's username.
Title: Re: cb|Emailogin
Post by: PLAYBOY on October 13, 2011, 12:47:18 PM
Any news???
Can somebody fix this bug please?

and update the mod for 2.0.1
Title: Re: cb|Emailogin
Post by: searchgr on November 14, 2011, 01:47:17 AM
Quote from: PLAYBOY on September 17, 2011, 10:16:59 PM
This mod prevent me changing the username of the member. I can change only the displayed name.

How do you change the Username (not displayed name) of the member from their profile?

It doesnt give me the option to change their username.

This is what comes up when you click on "Change" under the "Username"

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg220.imageshack.us%2Fimg220%2F3905%2Fcaptureavq.jpg&hash=8d7b4b02db1df5c90e378073a9fa4637de638a79)

So you can change only the displayed name but not the username.

No news from the author ....
His website also looks inactive .....
Title: Re: cb|Emailogin
Post by: codebirth on January 28, 2012, 03:24:50 AM
Sorry I've been busy with other business in the last months and was not aware of this. Checking this issue right now...

EDIT:

This have been fixed in version 0.63. Don't forget to uninstall any previous version of this mod before installing the latest one. You may have to use Advanced -> Emulate version in the Package Manager if you don't see the Uninstall link.

Thanks and sorry for delay  :-[
Title: Re: cb|Emailogin
Post by: searchgr on January 28, 2012, 10:12:57 AM
Thank you very much.
Title: Re: cb|Emailogin
Post by: PLAYBOY on January 28, 2012, 02:12:48 PM
oh god thanks...
Title: Re: cb|Emailogin
Post by: TheLookBook on February 29, 2012, 09:56:08 PM
I have this mod installed on my forum and love the results for security reasons. Is there a way to decrease the box for the email to fit my side bar in my theme. It looks right when logged in but it stretches the menu box when logged out. Take a look at the snapshots.
Title: Re: cb|Emailogin
Post by: searchgr on April 21, 2014, 02:44:06 PM
Does anybody use this mod? I have some conflicts when i try to upgrade to php 5.4 and i wonder if this mod causes the errors ....