Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Unread Posts by Category

Started by !Hachi!, January 31, 2007, 10:21:16 AM

Previous topic - Next topic


Link to Mod

if cat is not Collapsible it will not show  for that
Like this board it will add --Unread Posts-- for every category its really small one.i thought it will be late for all to get new version of smf so i made it so everyone can use it.its only 1 line mod.
  For now no bugs found on windows server/Linux server i test it so hope it will work fine for everyone.
for custom Themes open your folder and find file named as boardindes.template.php
and find:
// If this category even can collapse, show a link to collapse it.
if ($category['can_collapse'])
echo '

Replace it with:
// If this category even can collapse, show a link to collapse it.
if ($category['can_collapse'])
echo '
<div style="float: right;">
<a href="', $scripturl, '?action=unread;c=', $category['id'], '">Unread Posts</a>

Thats all :D cheers done.if you are unable to find the file your theme is using default one so install it as it is.
----------------1.0.x users---------
Sorry guys i am unable to test it on 1.0 line if you test for me let me know or i will do it for you after few days but it will work i hope!
Happy Ramadan


I'm sorry but i don't understand what this mod is doing ?
Can you make a screenshot to explain ?


Would really love this Mod.&nbsp; I'm using 1.1.1 and followed all directions but it's not working.

I'm using a theme and added the code.

Any help on this Mod?


Not working ... The mod is applied with success, but nothing changes


Has anyone managed to get this to work?  If not, is there any other way to get Unread Posts listed by board category?


so what's this thing meant to do?


It doesn't work for me either but I would ove it get this going.


 I know, it's been longtime with no acitivity, but I'll try my chance :-)

Running smf 1.1.13  default theme

Refering to topic :

Ok it puts "Unread Posts" to each category, but shouldnt it be nice to have language support ?
Like modifications.language-utf8.php