Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1665)
cb|Emailogin 0.63This 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.0cb|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/>
Changelog0.63
- Bug fixed: Admin can now change username from user's Profile->Account settings.
0.62
- Bug fixed: When clicking on activation link the username was shown in the login form instead of the email address.
- Compatible with SMF 1.1.16 and 2.0.2
0.61
- Fixed a bug that was affecting users of the SMF 2.0 version of this mod. An error was given when users with a secret question set on their profile tried to request or set a new password.
- The mod is now released under the GNU General Public License v3.0
- A copyright is added to the credits section of SMF 2.0
0.6
- Updated to SMF 1.1.14 and 2.0
0.52
- Added changes to Register template on SMF 1.1.13. The Hide email address from public? checkbox is now checked by default (thanks to forumuser)
- Added German language (thanks to ranseyer)
- Added ISO-8859-1 versions of all languages
0.51
- Added changes to Wireless template
- Added changes to ssi_login()
- Added Turkish language (thanks to PLAYBOY)
- Added Danish language (thanks to Jesna)
0.5
- Updated to SMF 1.1.13 and 2.0 RC5
0.40.3
- Updated to SMF 1.1.11 and 2.0 RC2, and so with the new Curve theme
0.2
- Updated to SMF 1.1.10 and 2.0 RC1.2
- Fixed some glitches when login forced on unauthorized boards and on maintenance mode
0.1.a
- Added compatibility with SMF 1.1.8
0.1
- Initial release for SMF 2.0 RC1
More infoDemo and previous versions of this MOD
http://codebirth.com
Additional packages for previous cb|Emailogin versionsWireless 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)
- Turkish-UTF8 (http://www.simplemachines.org/community/index.php?topic=295933.msg2961273#msg2961273) (by PLAYBOY)
- Danish-UTF8 (http://www.simplemachines.org/community/index.php?topic=295933.msg2961278#msg2961278) (by Jesna)
Hi...
very good mod
I want to Supporting for smf 1.1.8
Thank You. :)
I have added compatibility for 1.1.8 ;)
Thanks for your suggestions.
Very clever! :D
Good mod really, nice idea :)
probably one of tghe best mods. People forget their usernames easier than their e mails. I am installing now. Thanks for the mod
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.
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.
very good mod!
Are you using cookies in order to load systematically the last email used from the IP.
Giovanni
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.
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
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.
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! :)
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
Yes, there are still some glitches that I will fix in the next version.
Thanks for pointing this out.
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!
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
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?
1.1.10
I hate to bump this, but does anyone still have the version compatible with 2.0 RC1.2? Its not on their website anymore.
Yes, it's here
http://codebirth.com/index.php?topic=2.0
You need to login to see the download link
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
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
MOD has been updated to 1.1.13 and 2.0 RC5.
Let me know if you find any issue.
The 1.1.13 updated version worked like a charm.
Thanks very, very much.
-forumuser
Will this work on RC4 with security patch? Thanks.
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.
If it hasn't been translated to Turkish, i can do it as soon as you give me the list of words.
@Astral2000 The attached package should install fine on RC4
Hi everbody
I'm a new member
remember me,please
Thank you. :)
Thavee, wrong topic, wrong site.
Easily forgotten.
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 ?
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 :)
Thanks :)
Edit: FYI The registration email just arrived. 10 minutes after you manually activated me.
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?
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.
@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 :)
Quote from: codebirth on February 15, 2011, 08:52:43 AM
@Astral2000 The attached package should install fine on RC4
Many thanks :)
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
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 :)
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.';
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
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.
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.
Thanks
Can you please change the text on the mobile template?
Sure, I will look into that this evening.
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.
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.
Yes, they will be included in the next release for sure.
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?
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.
Thank you kindly. :)
A new version (0.51) is available which includes the recent changes and new languages.
http://custom.simplemachines.org/mods/index.php?mod=1665
Thanks for updating this mod today. It is very useful. Thank you. :)
Do we have to uninstall the old one before installing the new one?
1.1.13
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
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!
@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 :)
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
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?
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.
@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 :)
A new version of this mod has been released.
cb|Emailogin 0.52
- Added changes to Register template on SMF 1.1.13. The Hide email address from public? checkbox is now checked by default (thanks to forumuser)
- Added German language (thanks to ranseyer)
- Added ISO-8859-1 versions of all languages
Let me know if you find any issue.
Thanks!
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.
Can you support 2 Gold please this is a great mod
thanks
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.
Excellent thank you 8)
cb|Emailogin 0.6 compatible with SMF 1.1.14 and 2.0 Final is now available ;)
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
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
Smells like a bug, I'm looking into it.
It's not happening to all email addresses .... hmmm
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.
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.
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.
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?
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.
Yes, i try to apply the changes without uninstalling the previous version :)
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.
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.
Can I install this mod by using the package manager?
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?
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.
Same problem here ... I can't change the member's username.
Any news???
Can somebody fix this bug please?
and update the mod for 2.0.1
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 .....
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 :-[
Thank you very much.
oh god thanks...
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.
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 ....