Topics with new post bold?

Started by tennis4you, August 31, 2011, 08:30:57 AM

Previous topic - Next topic

tennis4you

Any way to get the title of the post to be bold when there is a new post?  I think I had that function until I just upgraded to 2.0.  I searched the mods but did not see it.

All Colours Sam

where exactly do you wwant the tittles to become bold?
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

tennis4you

I guess in the forum boards themselves, if that makes sense?

So when you click on a board from the index the titles of the posts will be bold when there are new posts (Yeah, I know there is already a nice little orange tag that says "new").

All Colours Sam

OK, on your MessageIndex.template.php  find this:


', $topic['is_sticky'] ? '<strong>' : '', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? '&nbsp;<em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] ? '</strong>' : '';



and replace with this:

', $topic['is_sticky'] || $topic['new'] ? '<strong>' : '', '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], (!$context['can_approve_posts'] && !$topic['approved'] ? '&nbsp;<em>(' . $txt['awaiting_approval'] . ')</em>' : ''), '</span>', $topic['is_sticky'] || $topic['new'] ? '</strong>' : '';
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Advertisement: