MyBB Community Forums
[F] Default templates problem [C-Michael83] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.2 (https://community.mybb.com/forum-100.html)
+------ Thread: [F] Default templates problem [C-Michael83] (/thread-38170.html)



[F] Default templates problem [C-Michael83] - SaeedGh - 2008-09-23

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.


[F] Default templates problem - Ryan Gordon - 2008-09-30

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