Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: !Hachi! on January 31, 2007, 10:21:16 AM

Title: Unread Posts by Category
Post by: !Hachi! on January 31, 2007, 10:21:16 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=609)

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
Title: Re: Unread Posts by Category
Post by: Grumelo on February 09, 2007, 04:31:23 AM
I'm sorry but i don't understand what this mod is doing ?
Can you make a screenshot to explain ?
Title: Re: Unread Posts by Category
Post by: hotrod007 on April 17, 2007, 12:37:52 AM
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?
Title: Re: Unread Posts by Category
Post by: vipmoney on September 13, 2007, 03:28:21 PM
Not working ... The mod is applied with success, but nothing changes
Title: Re: Unread Posts by Category
Post by: Si6776 on February 08, 2009, 08:16:58 AM
Has anyone managed to get this to work?  If not, is there any other way to get Unread Posts listed by board category?
Title: Re: Unread Posts by Category
Post by: ictus on March 28, 2009, 06:58:06 PM
so what's this thing meant to do?

Title: Re: Unread Posts by Category
Post by: samurai-lupin on October 02, 2010, 03:00:22 AM
It doesn't work for me either but I would ove it get this going.
Title: Re: Unread Posts by Category
Post by: teos55 on May 23, 2011, 08:09:56 AM
 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