What is the name of the style you are using?sunnyebiz wrote:Hi
Thank you so much ,it has done,but one thing i want this mod to work below Statstics not above to birthdays,So what can i do
Take this code, save it as top_five_body.html and upload it into your styles template folder overwriting the one that is there now.sunnyebiz wrote:I am using black pearl style ( sub silver 2)
Code: Select all
<div id="top_five_nh">
<script type="text/javascript">
<!--
tmp = 'birthdays';
if(GetCookie(tmp) == '2')
{
ShowHide('top_five_nh', 'top_five_h', 'top_five_nh');
}
//-->
</script>
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top:9px;padding-right:6px;float:right;cursor:pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="javascript:ShowHide('top_five_nh','top_five_h','top_five_nh');" /><div class="tbl-title"><h4>Top Five</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
<th width="40%">{L_NEWEST_TOPICS}</th>
<th width="20%">{L_TOP_FIVE_ACTIVE}</th>
<th width="40%">{L_TOP_FIVE_NEWEST}</th>
</tr>
<tr>
<td class="row1"><!-- BEGIN hot_topic_row --><span class="genmed"><a href="{hot_topic_row.U_TOPIC}">{hot_topic_row.TOPIC_TITLE}</a> {hot_topic_row.USERNAME_FULL}</span><br /><!-- END hot_topic_row --></td>
<td class="row1"><!-- BEGIN top_five_active --><span class="genmed">{top_five_active.USERNAME_FULL} {L_POSTS}: <a href="{top_five_active.S_SEARCH_ACTION}">{top_five_active.POSTS}</a></span><br /><!-- END top_five_active --></td>
<td class="row1"><!-- BEGIN top_five_newest --><span class="genmed">{top_five_newest.USERNAME_FULL} {L_JOINED}: {top_five_newest.REG_DATE}</span><br /><!-- END top_five_newest --></td>
</tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c"> </div></div></div></div>
</div>
Code: Select all
<!-- INCLUDE top_five_body.html -->
Code: Select all
<!-- IF not S_USER_LOGGED_IN -->
<br clear="all" />
<form method="post" action="{S_LOGIN_ACTION}">
OPENaakash83 wrote:thankuuu very much for such a wonderful mod, I have one question , Can you please tell me how can we display the name of the auther of last post instead of the name of topic starter(As this mod shows the name of topic starter). I am using board version 3.0.4 with Subsilver theme.
Code: Select all
'ON' => 'p.poster_id = u.user_id',
Code: Select all
'ON' => 't.topic_last_poster_id = u.user_id',
If the user doesn't have the auths to view the forum that the topic is in, then they won't see that topic.bob_raid wrote:May I know will this mod show the last five topics that had a recent post which was
restricted for member view?