News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Unread Posts by Category

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

Previous topic - Next topic

!Hachi!

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>
</div>

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!
Regards
hassan
www.pakurdu.net
Happy Ramadan

Grumelo

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

hotrod007

#2
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?

vipmoney

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

Si6776

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

ictus

so what's this thing meant to do?


samurai-lupin

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

teos55

 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 : http://www.simplemachines.org/community/index.php?topic=434915.0

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

Advertisement: