FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Read / Unread indicators on compact forums
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Read / Unread indicators on compact forums [message #36312 is a reply to message #30704] Fri, 16 March 2007 06:44 Go to previous messageGo to previous message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma:
Senior Member
File: index.tmpl -> idx_compact_forum_entry

Original code:
&nbsp;&nbsp;{IF: _uid && $r[14] < $r[2] && $usr->last_read < $r[2]}**{ENDIFI}<a href="{TEMPLATE: index_forum_entry_lnk}">{VAR: r[10]}</a>



My code on my forum:
{IF: _uid && $r[14] < $r[2] && $usr->last_read < $r[2]} {TEMPLATE: forum_unread}{ELSE} {TEMPLATE: forum_read}{END} <a href="{TEMPLATE: index_forum_entry_lnk}">{VAR: r[10]}</a>


[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Avatar Moderator flag
Next Topic: Embedding an IFrame in a post?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri May 17 06:34:58 GMT 2024

Total time taken to generate the page: 0.05233 seconds