MyBB Community Forums

Full Version: Edit $subforums?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there!
I've been working on my forum recently and I wish to make a little trick with the subforums.
The trick is all about making the subforums bold on the forum list, if there are unread posts in it. Accutally, the templates don't allow me to do it, and that's no surprise. I've noticed the subforum icon turning on and off on new posts in subforums and tried to follow it to find its source, but I gave up.

So - do you know any way to make the subforums name bold on new posts, as I mentioned? If you haven't tried it yet, any reference to core files, which contain the subforums' code will be veery appreciated, I think I'll manage to do it on my own.
I wanted to make it, because i find it very comfortable in use.

Thanks in advance,
Vic.
In forumbit_depth3 template change:
<a href="{$forum_url}" title="{$forum_viewers_text_plain}">
to:
<a href="{$forum_url}" title="{$forum_viewers_text_plain}" class="subforumlink_{$lightbulb['folder']}">

Then add to global.css:
.subforumlink_minion {
    font-weight: bold; //or font-weight: bold !important;
}
and on the index page force cache refresh with CTRL + F5.
Thanks, that's what I wanted Smile