News:

Wondering if this will always be free?  See why free is better.

Main Menu

This keeps returning me to unread replies...

Started by MoreBloodWine, November 05, 2010, 11:39:07 AM

Previous topic - Next topic

MoreBloodWine

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>
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Oya

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

MoreBloodWine

Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Advertisement: