From: Pete J. <pj...@gi...> - 2008-07-18 17:29:31
|
tiki-confirm_user_email.php tests the value email_due. Mine is -1 (see prior listing), so I that means it doesn't think it needs to send an email? Not sure what to do next. # grep email_due ./* ./tiki-admin_include_login.php: simple_set_value('email_due'); ./tiki-confirm_user_email.php:if (!isset($prefs['email_due']) || $prefs['email_due'] < 0) { ./tiki-login.php: $isEmailDue = $userlib->is_email_due($user, 'email'); ./lib/userslib.php has this: function is_email_due($user) { ... $confirm = $this->getOne("select `email_confirm` from `users_users` where " . $this->convert_binary(). " `login`=?", array($user)); if ($confirm + (60 * 60 * 24 * $prefs['email_due']) < $this->now) { return true; mysql .... -e 'SELECT userid,login,email_confirm from users_users' | grep <username> 15 <username> 1216318997 # grep email_confirm ./lib/* ./lib/userslib.php: $query = "update `users_users` set `password`=? ,`hash`=? ,`provpass`=?, valid=?, `email_confirm`=?, `waiting`=? where `login`=?"; ./lib/userslib.php: $new_email_confirm = $this->now; ./lib/userslib.php: `registrationDate`, `hash`, `pass_confirm`, `email_confirm`, `created`, `valid`, `openid_url`, `lastLogin`, `waiting`) ./lib/userslib.php: (int) $new_email_confirm, ./lib/userslib.php: $confirm = $this->getOne("select `email_confirm` from `users_users` where " . $this->convert_binary(). " `login`=?", array($user)); ./lib/userslib.php: $query = 'update `users_users` set `provpass`=?, `email_confirm`=?, `unsuccessful_logins`=? where `login`=? and `provpass`=?'; Sorry, just flailing now... Any suggestions? Thanks! Pete |