Not Solved How to show the number of threads & posts in Last post column?
#2
Not Solved
Go to: ACP > Templates > Forumbit Templates > forumbit_depth2_forum > and find;
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}
add the following code just after that;
<br/>
<div class="indextp">{$lang->forumbit_threads}:
{$threads}{$unapproved['unapproved_threads']}&nbsp;&nbsp;|&nbsp;&nbsp;{$lang->forumbit_posts}:
{$posts}{$unapproved['unapproved_posts']}

Now find and remove the following;
<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>

Save the template.

Now go to: ACP > Templates > Forumbit Templates > forumbit_depth1_cat > and find the following and remove;
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
Save template.

Now go to: ACP > Themes > Your Theme > global.css > Open in Advanced Mode > and add the following code at the bottom of all code there;
.indextp {
	background: #EBEBEB;
	border: 1px solid #F8A613;
	padding: 3px;
	text-align: center;
	font-size: 9px;
}

Save stylesheet.

Now should result into this;


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
RE: How to show the number of threads & posts in Last post column? - by Yaldaram - 2010-12-28, 04:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)