Support Forum
Is there a hack to make read topics not appear in bold text?
Yellow Swordfish
Glinton, England
SP Master
Offline
The template function to display the topic name (in forum view) is sp_TopicIndexName() and like all template functions one of the optional arguments is 'tagClass'. This defaults to the class .spRowName which you will find in the theme CSS file.
So... you could put an if statement in there to test whether the current topic has any unread posts - which would need to test the $spThisTopic->unread property. If true then you could set tagClass to spRowName and if false you could set tagClass to an alternative class in which the font is not bold.
Well - Ok - I have not actually tried this but it should work!
YELLOW
SWORDFISH
|
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626