1
slyss
Login with e-mail
  • 2007/6/10 9:00

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


Hi all

i need to hack include/checklogin.php for login with email into my site...

I use 2.2.5 and Extended Profile.

If i go to modify www.mysite.com/include/checklogin.php the modifications don't work.... for eg. if i delete all internal of the checklogin.php my site still work fine...

so... where is my REAL checklogin.php? The problem is Extended Profiles? I have search but there aren't checklogin.php into Extended Profile.

Thanks a lot...
[size=x-large]2008 Xoops Book[/size]

2
Red_Bee
Re: Login with e-mail
  • 2007/6/10 11:06

  • Red_Bee

  • Just popping in

  • Posts: 98

  • Since: 2004/5/12


Just wonder why you need that function.

Also, isn't it less secure to use email instead of username?
......

3
slyss
Re: Login with e-mail
  • 2007/6/10 11:30

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


Quote:

Red_Bee wrote:


Also, isn't it less secure to use email instead of username?


yes but i need this...

anybody ?

i need to add

if( strstr$_POST['uname'] , '@' ) ) {
    list( 
$uname ) = $xoopsDB->fetchRow$xoopsDB->query"SELECT loginname FROM ".$xoopsDB->prefix('users')." WHERE email='".$myts->addSlashes($_POST['uname'])."'" ) ) ;
}


but any modifications don't appears...

i don't know why but if i try to delete all internal of include/checklogin.php my site still work fine....
[size=x-large]2008 Xoops Book[/size]

4
slyss
Re: Login with e-mail
  • 2007/6/10 12:54

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


hi david...

i haven't try because is an php file and not a template...

but i will go to try for any doubt...
[size=x-large]2008 Xoops Book[/size]

5
Dave_L
Re: Login with e-mail
  • 2007/6/15 17:48

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


include/checklogin.php should be the correct file.

After messing with the login processing, you may need to empty (delete the rows in) the session table and delete the cookies for the site.

6
slyss
Re: Login with e-mail
  • 2007/6/28 7:37

  • slyss

  • Quite a regular

  • Posts: 343

  • Since: 2006/1/26


dosn't work
[size=x-large]2008 Xoops Book[/size]

Login

Who's Online

254 user(s) are online (161 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits