MyBB Community Forums

Full Version: Advanced Sidebox, what code to add to display forum category?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello. I installed Advanced SIdebox, and so far it seems to be working great. I only wish to add a code to have the box display the forum category that the thread is in. I imagine that it has to be done in the "asb_latest_threads_thread" template which looks like this:

<tr>
					<td class="{$altbg}">
						{$gotounread}<a href="{$mybb->settings['bburl']}/{$thread['threadlink']}" title="{$fullSubject}"><strong>{$thread['subject']}</strong></a>
						<span class="smalltext"><br />
						{$last_poster}<br />
							{$lastpostdate} {$lastposttime}<br />
							<strong>&raquo; </strong>{$lang->asb_latest_threads_replies} {$thread['replies']}<br />
							<strong>&raquo; </strong>{$lang->asb_latest_threads_views} {$thread['views']}
						</span>
					</td>
				</tr>

I would like to display the forum category just below the title of the thread. Can anyone help? Much thanks in advance.