3
Which Version Of XooPS? (Might be important)
well for 2.0.15 (the only current version i had on my test machine).
i think this is it... modify the loginuser method.
file: kernel/member.php (some code from it. i like pasting in code.) --
[color=006600] /**
* log in a user
*
* @param string $uname username as entered in the login form
* @param string $pwd password entered in the login form
* @return object XoopsUser reference to the logged in user. FALSE if failed to log in
*/ [/color]
function &loginUser($uname, $pwd)
{
$criteria = new CriteriaCompo(new Criteria('uname', $uname));
$criteria->add(new Criteria('pass', [color=CC3300] md5($pwd)[/color]));
$user = $this->_uHandler->getObjects($criteria, false);
if (!$user || count($user) != 1) {
$user = false;
return $user;
}
return $user[0];
}
.. enter .. disclaimer.. for me not being responsible for things messing up.. .. good luck.
CBB / LatestNews / Publisher / XM-Spotlight
(ノ◕ヮ◕)ノ*:・゚✧