MyBB Community Forums

Full Version: Clicking the icon to the left of the forum name
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to make it so when a user clicks the "new posts in this forum" icon to the left of the forum name it sets all the threads in that forum to "read" ?

Thanks!
You'll have to go into Admin CP --> Templates --> Modify/Delete --> Expand your Template set --> Forum Bit Templates

Open each template that has a name that ends with "_forum" and replace
<img src="$theme[imgdir]/$folder.gif" alt="$altonoff" />
(the code above may be slightly different from what you have)
with
<a href="misc.php?action=markread&fid=$forum[fid]"><img src="$theme[imgdir]/$folder.gif" alt="$altonoff" /></a>
Yeaha! Big Grin

Thanks, worked like a charm!