Read / Unread indicators on compact forums [message #30704] |
Thu, 09 March 2006 23:32 |
Ernesto
Messages: 413 Registered: August 2005
Karma: 0
|
Senior Member |
|
|
Anyone got a hack for adding read / unread indicators for compact forums?
I tried to just add {VAR: forum_read_indicator} but that didnt help (Just shows as "No new messages" all the time).
So, if anyone but me thinks read/unread indicators would be nice on compact subforums, hollar if you got the thm/src tweak )
Ginnunga Gaming
|
|
|
|
Re: Read / Unread indicators on compact forums [message #36312 is a reply to message #30704] |
Fri, 16 March 2007 06:44 |
Ernesto
Messages: 413 Registered: August 2005
Karma: 0
|
Senior Member |
|
|
File: index.tmpl -> idx_compact_forum_entry
Original code:
{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>
Ginnunga Gaming
|
|
|
|