Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Default templates problem [C-Michael83]
#1
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.
#2
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


Forum Jump:


Users browsing this thread: 1 Guest(s)