x-Fan, did you have your problem solved?
.... my boards still getting a whole bunch of guests, and none of my members appeared in the online list are browsing album (no record for this) The record only show the last location in the album, that my member (if he/she is browsing album) was on.
....
if you did solve the problem, please share.
I now have to disable the start_session function in sessions.php:
function start_session($user_id = GUEST, $login_process = 0) {
global $site_db;
$this->user_info = $this->load_user_info($user_id);
if ($this->user_info['user_id'] != GUEST && !$login_process) {
if ($this->read_cookie_data("bbpassword") == $this->user_info['user_password'] && $this->user_info['user_level'] > USER_AWAITING) {
$this->set_cookie_data("bbpassword", $this->user_info['user_password']);
}
else {
$this->set_cookie_data("bbpassword", "", 0);
$this->user_info = $this->load_user_info(GUEST);
}
}
$this->session_id = $this->generate_session_id();
$sql = "";
/* $sql = "INSERT INTO ".SESSIONS_TABLE."
(sessionhash, userid, host, useragent, lastactivity, location, styleid)
VALUES
('$this->session_id', ".$this->user_info['user_id'].", '$this->user_ip', '', $this->current_time, '$this->user_location', '".$this->read_cookie_data("bbstyleid")."')";
*/
...