MyBB Community Forums

Full Version: Thread/posts problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wanna ask that on my website: www.rawalpindiforum.pk some forums shows its posts/threads stats normally, like this: [attachment=33440]. And on some forums it just shows the number of threads and posts, but the threads and posts does not look as written:[attachment=33445].

Please guide me how this will be resolved?

I am waiting for your reply.
Regards
Moving to theme support - look in the forum bit templates - depth 2 cat I think.-
What should I have to do in this template?
^ compare with the code you have in forumbit_depth2_forum template for the Threads & Posts
I have the following code in the said template:

<tr>
<td class="trow2" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="trow3" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="trow3" valign="top" align="right" style="white-space: nowrap">{$lang->forumbit_threads}: {$threads}{$unapproved['unapproved_threads']}<br />{$lang->forumbit_posts}: {$posts}{$unapproved['unapproved_posts']}</td>
<td class="trow3" width="3%" valign="top" align="right" style="white-space: nowrap"></td>
<td class="trow4" width="20%" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
below code can be used in place of what you have for the threads & posts in forumbit_depth2_cat template
<td class="trow3" valign="top" align="right" style="white-space: nowrap">{$lang->forumbit_threads}: {$threads}{$unapproved['unapproved_threads']}<br />{$lang->forumbit_posts}: {$posts}{$unapproved['unapproved_posts']}</td>
<td class="trow3" width="3%" valign="top" align="right" style="white-space: nowrap"></td>

original code can be like below
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
As i told you.... the more you work on the forum the more bugs you will find... because you are using a 1.6 theme on your 1.8 forum....

http://community.mybb.com/thread-165197-...pid1130101