https://www.icyphoenix.com/viewtopic.php?f=27&t=193&p=1478#p1478
-----------------------------------
KugeLSichA
Sun 27 Aug, 2006 17:02

Re: Mark Post As Read Error
-----------------------------------
ok i got it working  :D 

use the tpl file in my first post. apply this

OPEN [b]search.php[/b]
FIND
[codeblock]
//<!-- BEGIN Unread Post Information to Database Mod -->
					'U_MARK_ALWAYS_READ' => $mark_always_read,
//<!-- END Unread Post Information to Database Mod -->
					'U_VIEW_FORUM' => $forum_url,
					'U_VIEW_TOPIC' => $topic_url)
				);
[/codeblock]
AFTER ADD
[codeblock]
//<!-- BEGIN Unread Post Information to Database Mod  -->
				if( $userdata['upi2db_access'] )
				{
					$template->assign_block_vars('searchresults.switch_upi2db_on', array());
				}
//<!-- END Unread Post Information to Database Mod  -->
[/codeblock]

not really sure if there is an easier way. but it works =)


