I wanted something for a TP block to mark individual topics as read so I pieced this together and while it does work like it should in that it clears individual topics it always returns me to the unreadrpelies place. Now I know that this is due to the sa=unreadreplies but I can't find a way to keep this working without it in there. I did at one point achieve this feat but it marked all topics as readd instead of just the one the red X was placed beside.
So, I ask... can anyone help me figure out how I can keep the current functionality of this but have it always return me to the page I'm was o nwhen I clicked the ink ?
<b><a href="index.php?action=markasread;sa=unreadreplies;topics=' , $post['topic'] , '.msg' , $post['new_from'] , ";sesc=" , $context['session_id'] , '" style="color: #FF0000;" title="Mark as Read">X</a></b>
there's no way to do what you're asking without modifying smf's code - a thread is marked read when you visit it, or when the entire board is marked read, and the latter just returns you to the list of threads
Marking as solved, ty for your help.