sources/classes/class_session.php
Find (both instances)
And comment it out (both instances) like so
sources/action_public/search.php
Find
Replace with
sources/action_public/forums.php
Find
Add after
Find
Add after
sources/action_public/topics.php
Find
Add after
Find
Replace with
Find (both instances)
Code:
$this->ipsclass->vars['session_expiration'] = $this->ipsclass->vars['session_expiration'] ? (time() - $this->ipsclass->vars['session_expiration']) : (time() - 3600);
And comment it out (both instances) like so
Code:
//$this->ipsclass->vars['session_expiration'] = $this->ipsclass->vars['session_expiration'] ? (time() - $this->ipsclass->vars['session_expiration']) : (time() - 3600);
sources/action_public/search.php
Find
Code:
$topic = $this->forums->parse_data( $topic, 0 );
Replace with
Code:
$topic = $this->forums->parse_data( $topic, 1 );
sources/action_public/forums.php
Find
Code:
if( $this->ipsclass->forum_read[ $topic['forum_id'] ] > $last_time )
{
$last_time = $this->ipsclass->forum_read[ $topic['forum_id'] ];
}
Add after
Code:
if( $this->ipsclass->member['members_markers']['board'] > $last_time )
{
$last_time = $this->ipsclass->member['members_markers']['board'];
}
Find
Code:
$save_array['marker_unread'] = intval($count['cnt']);
Add after
Code:
$save_array['marker_last_cleared'] = $this->db_row['marker_last_cleared'];
Find
Code:
$save_array['marker_unread'] = $this->db_row['marker_unread'] - 1;
Add after
Code:
$save_array['marker_last_cleared'] = $this->db_row['marker_last_cleared'];
$read_topics_tid[] = $this->topic['tid'];
Find
Code:
if ( $this->ipsclass->vars['db_topic_read_cutoff'] and $this->ipsclass->member['id'] )
{
$last_time = (isset($this->my_topics_read[ $this->topic['tid'] ]) AND intval( $this->my_topics_read[ $this->topic['tid'] ] )) ? intval( $this->my_topics_read[ $this->topic['tid'] ] ) : ( (isset($this->db_row['marker_last_cleared']) AND intval( $this->db_row['marker_last_cleared'] )) ? intval( $this->db_row['marker_last_cleared'] ) : 0);
}
Replace with
Code:
if ( $this->ipsclass->vars['db_topic_read_cutoff'] and $this->ipsclass->member['id'] )
{
$last_time = (isset($this->my_topics_read[ $this->topic['tid'] ]) AND intval( $this->my_topics_read[ $this->topic['tid'] ] )) ? intval( $this->my_topics_read[ $this->topic['tid'] ] ) :
( (isset($this->db_row['marker_last_cleared']) AND intval($this->db_row['marker_last_cleared']) ) ? intval( $this->db_row['marker_last_cleared'] ) :
( (isset( $this->ipsclass->member['members_markers']['board']) AND intval($this->ipsclass->member['members_markers']['board']) ) ? intval($this->ipsclass->member['members_markers']['board']) : 0 ) );
}