14, February 2012

Use Email to Login - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  Php User Class
Topic: Use Email to Login
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Use Email to Login  (Read 1963 times)
Atari ST fan
*
Posts: 7
46 credits
Members referred : 0


« on: Mar 06, 2008, 01:48:56 am »

I'd like my users to login with their email address. What stuff would I need to change for this to happen?

I still want a username and email in the users table, so I don't need any DB changes, just to be able to login with email.
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5779
46271 credits
Members referred : 3



« Reply #1 on: Mar 06, 2008, 02:47:59 pm »

You just need to use the same table field in the username and login directives. Check the var $tbFields?> property of the class.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Atari ST fan
*
Posts: 7
46 credits
Members referred : 0


« Reply #2 on: Mar 06, 2008, 05:10:04 pm »

Great, thanks!

Guess I should have looked at the code, probably could have figured this out myself. Pretty easy Wink
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5779
46271 credits
Members referred : 3



« Reply #3 on: Mar 08, 2008, 02:42:47 pm »

Yeah that's the purpose of this class Wink

In the next version we will have more flexibility too (I am thinking to add some plugins and a basic framework)

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7633
Tags : phpuserclass Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  Php User Class
Topic: Use Email to Login
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 14, 2012, 02:34:31 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.