Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Unread Topics

ok, I figured out that “Sticky” is not part of the topic title. But the poll and support forum plugins hook the topic_title function. To make the [Poll], [Resolved], [Unresolved] parts of the topic_title to show up as bold I modified one line in your plugin on line number 14 of bb_unread_topics.php . I changed

add_filter('topic_title', 'utplugin_show_unread');

to

add_filter('topic_title', 'utplugin_show_unread', 100);

By adding the 100 at the end of add_filter the utplugin_show_unread function will execute after the other functions that book topic_title. While there may be functions that use a number higher than 100, I doubt it, so you should be safe.

Skip to toolbar