login through email

Joomla version 1.0 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
frycu
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Jul 16, 2008 10:38 am

login through email

Post by frycu » Wed Jul 16, 2008 10:40 am

hello,
Is there anyu extension in joomla that the login is through E-mail Address and Password?

osjoomla
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Oct 09, 2008 12:41 am

Re: login through email

Post by osjoomla » Thu Oct 09, 2008 12:44 am

Please get it at here

it can help you login through email or username
[url=http://joomseller.com/index.php?option= ... &Itemid=67]Link here[url]

dijo
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Fri Dec 05, 2008 5:21 am
Location: India(Kerala)

Re: login through email

Post by dijo » Thu Mar 19, 2009 10:00 am

Hi,

Check this one its free plugin :-

http://extensions.joomla.org/extensions ... 39/details

Thanks & Regards,
Dijo
Dream is not what u see in sleep. Dream is the thing which does not let u sleep.

manjunath123
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Fri Dec 04, 2009 12:35 pm
Contact:

Re: login through email

Post by manjunath123 » Mon Dec 28, 2009 1:31 pm

Hi..

Where is code which checks input username and password for user login?
I need to change the query to login by email id and password..
I dont want to use plugins..

Please help..
Thank you..

elilopes
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Jul 13, 2010 3:01 pm

Re: login through email

Post by elilopes » Tue Dec 21, 2010 3:58 pm

Login Through Email http://extensions.joomla.org/extensions ... based/6196

Change joomla.php file in plugins\authentication, login's query is:

Code: Select all

$db =& JFactory::getDBO();

$query = 'SELECT `id`, `password`, `gid`'
   . ' FROM `#__users`'
   . ' WHERE username=' . $db->Quote( $credentials['username'] )
   ;

$db->setQuery( $query );
$result = $db->loadObject();

tez
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 248
Joined: Tue Nov 14, 2006 3:29 am
Contact:

Re: login through email

Post by tez » Thu Jul 14, 2011 11:27 am

I added the following code just before the ;

Code: Select all

. ' OR email='. $db->Quote( $credentials['username'] )
Anyone spot any security problems with this?

EDIT: doesn't work.... says Email Already Registered, also fails to work through Forgotten Password page.

mrtstoke
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Thu Apr 21, 2011 10:42 am

Re: login through email

Post by mrtstoke » Thu Jul 14, 2011 11:39 am

manjunath123 wrote:Hi..

Where is code which checks input username and password for user login?
I need to change the query to login by email id and password..
I dont want to use plugins..

Please help..
Thank you..
It is always better to use plugin rather than modifying the core files cause that will break your site when you upgrade. And it is easy to go back to the how it was by uninstalling the plugin if you change your mind.

User avatar
dylanjh
Joomla! Ace
Joomla! Ace
Posts: 1823
Joined: Fri Sep 22, 2006 6:22 pm
Location: UK
Contact:

Re: login through email

Post by dylanjh » Sun Nov 06, 2011 10:43 am

Frycu
This will do want you want, and without core hacks:
http://extensions.joomla.org/extensions ... tion/10343
Dylan
EmailAsUsername - Remove Usernames Joomla! Virtuemart And JomSocial registration http://www.lunarhotel.co.uk Many other extensions supported.

Dareliss
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Jun 05, 2012 6:51 pm

Re: login through email

Post by Dareliss » Mon Jun 11, 2012 7:58 am

could any1 paste working code to login with email instead of username? because i really want to edit core without plug-ins.

Dareliss
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Jun 05, 2012 6:51 pm

Re: login through email

Post by Dareliss » Mon Jun 11, 2012 8:25 am

and could some1 write which files holds code for checking user name, password in db and which other files are influenced ?
ty in advance :)

Dareliss
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Jun 05, 2012 6:51 pm

Re: login through email

Post by Dareliss » Thu Jun 14, 2012 8:54 am

where are code for user validation placed?

adineh
I've been banned!
Posts: 21
Joined: Sat Sep 17, 2011 4:05 pm

Re: login through email

Post by adineh » Thu Jun 28, 2012 7:05 am

you can check it with phpmyadmin and users tables


Locked

Return to “Upgrading - 1.0.x”