Sublime directory Surf the web anonymous Pagerank Monitor


Use Email to Login

riscphree
Thu 6 March 2008, 01:48 am GMT +0100
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.

Nikolas
Thu 6 March 2008, 02:47 pm GMT +0100
You just need to use the same table field in the username and login directives. Check the var $tbFields?> property of the class.

riscphree
Thu 6 March 2008, 05:10 pm GMT +0100
Great, thanks!

Guess I should have looked at the code, probably could have figured this out myself. Pretty easy ;)

Nikolas
Sat 8 March 2008, 02:42 pm GMT +0100
Yeah that's the purpose of this class ;)

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

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional