MyBB Community Forums

Full Version: [F] Default templates problem [C-Michael83]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

In default theme, and clearly in "forumbit_depth3" template, is an unnecessary/wrong variable.

This template is:

{$comma}{$statusicon}<a href="{$forum_url}" title="{$forum_viewers_text}">{$forum['name']}</a>

$forum_viewers_text can not be a title because it is in a Span tag! see end of below code that come from "functions_forumlist.php":

				if($mybb->settings['showforumviewing'] != 0 && $forum['viewers'] > 0)
				{
					if($forum['viewers'] == 1)
					{
						$forum_viewers_text = $lang->viewing_one;
					}
					else
					{
						$forum_viewers_text = $lang->sprintf($lang->viewing_multiple, $forum['viewers']);
					}
					$forum_viewers_text = "<span class=\"smalltext\">{$forum_viewers_text}</span>";
				}

Also subforum title is always empty.
Thank you.
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group