Current time: 05-24-2012, 11:51 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Default templates problem [C-Michael83]
09-23-2008, 11:40 PM
Post: #1
[F] Default templates problem [C-Michael83]
Hi,

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

This template is:

PHP Code:
{$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":

PHP Code:
                if($mybb->settings['showforumviewing'] != && $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.

I'll be able to continue supporting My plugins as soon as this bug gets fixed.
Find all posts by this user
09-30-2008, 12:04 AM
Post: #2
[F] Default templates problem
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
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication