MyBB Community Forums

Full Version: Need a little styling help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello im in the process of making my first mybb style, i've changed the way the forum show,s the last post but not sure how to get it too show the message Never when there's no post in the forum section.

If you look here it show's the last post subject icon + word by for the post author instead of the word Never cause i have no post in them section's.

thanks

http://img261.imageshack.us/img261/4149/51071201bn3.png
This is a theme issue, moved.
this might work ..

open admincp->styles/templates-> Sandstorm -> forumbit_depth2_forum ->

and find at the BOTTOM
something similar to

Quote:<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
</tr>

the above bold porrtion is what i think is missing

if that doesn't work please post here the following templates

forumbit_depth1_forum_lastpost
forumbit_depth2_forum
forumbit_depth2_forum_lastpost
Nope did,nt work thanks anyway here's the files you wanted.

forumbit_depth1_forum_lastpost
<span class="smalltext">
<div align="left"><a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br/>{$lang->by} {$lastpost_profilelink}</div></span>
<div align="right"><span class="smalltext">{$lastpost_date}
<font color="#6f0000">{$lastpost_time}</font></span>
<a href="{$lastpost_link}" title="{$full_lastpost_subject}">
<img src="{$theme['imgdir']}/follow.gif" alt="" style="vertical-align:middle"/></a></div>


forumbit_depth2_forum
<tr>
<td class="{$bgcolor}" align="center" valign="middle" 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="{$bgcolor}" valign="middle">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}<br /><br />

<div style="border: 1px dotted #363636; background-color: #262626;">
<br>
<div align="right"><i><font size="2">{$lastpost_date}
<font color="#FFFFFF">{$lastpost_time}</font></span> <img src="{$theme['imgdir']}/follow.gif" alt="" style="vertical-align:middle"/></a> <a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<font color="#FFFFFF">{$lang->by}</font> {$lastpost_profilelink}</span>
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"></i></font>&nbsp;&nbsp;&nbsp;&nbsp;</div>
        <br>
        </div>
      </div>



</div></td>

<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>

</tr>



forumbit_depth2_forum_lastpost
<tr>
<td class="{$bgcolor}" align="center" valign="middle" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="middle">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}<br /><br /></div></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap"><i>{$threads}{$unapproved['unapproved_threads']}</i></td>
<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap"><i>{$posts}{$unapproved['unapproved_posts']}</i></td>
</tr>