MyBB Community Forums

Full Version: Overview Block Modification [1.4]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Author: Jozefronki

Only For, Top Posters, New Threads, New Posts

Example Site;
http://www.gencliginmekani.com/

Modification Screenshot;
[Image: 83327923bd0.jpg]


http://rapidshare.com/files/188834119/Gr...m.rar.html

my friends, as before copy to images folder to graphics given by addition.
of course, before take a reserve all time
(You can arrange the graphics according to yourself)


Templates >> Public Templates >>

index_overview_column_topposters
Open Replace With:

<style type="text/css">
.encok {
background:#fffaac;
border-top: 1px solid #000;
border-bottom: 1px solid #000;
border-left: 3px solid #000;
border-right: 3px solid #000;
text-align: left;
padding: 5px 5px;
}
</style>
<style>
.encok1 {
background:url(/images/yazan.png) repeat-y top left;
}
</style>
<style>
.encok2 {
background:url(/images/tcatbg.png) repeat-y top left;
}
</style>

<td valign="top" class="encok"><table width="100%" border="0" cellspacing="0" cellpadding="$theme[tablespace]">
        <tr class="encok1">
        <td colspan="2" valign="top"><center><strong>$lang->overview_top_posters</strong></center></td>
        </tr>
        <tr class="encok2">
        <td valign="top"><strong>$lang->overview_username</strong></td>
        <td align="right" valign="top"><strong>$lang->overview_posts</strong></td>
        </tr>
        $topposters_row
        </table></td>


index_overview_column_topposters_row
Open Replace With:

<style type="text/css">
.encok {
background:#fffaac;
border-top: 1px solid #000;
border-bottom: 1px solid #000;
border-left: 3px solid #000;
border-right: 3px solid #000;
text-align: left;
padding: 5px 5px;
}
</style>
<tr class="encok">
 <td valign="top"><div class="smalltext"><a href="member.php?action=profile&uid=$uid">$username</a></div></td>
 <td align="right" valign="top"><div class="smalltext"><a href="search.php?action=finduser&uid=$uid">$postnum</a></div></td>
 </tr>



index_overview_column_newthreads
Open Replace With:

<style type="text/css">
.yenikonu {
background:#f1ffd1;
border-top: 1px solid #B1DD0E;
border-bottom: 1px solid #B1DD0E;
border-left: 4px solid #B1DD0E;
border-right: 4px solid #B1DD0E;
text-align: left;
padding: 5px 10px;
font-weight: bold;
}
</style>
<style>
.yenikonu1 {
background:url(/images/konu.png) repeat-y top left;
}
</style>
<style>
.can {
background:url(/images/tcatbg.png) repeat-y top left;
}
</style>
<td valign="top" class="yenikonu"><table width="100%" border="0" cellspacing="0" cellpadding="$theme[tablespace]">
        <tr class="yenikonu1">
        <td colspan="3" valign="top"><center><strong>$lang->overview_newest_threads</strong></center></td>
        </tr>
        <tr class="can">
        <td valign="top"><strong>$lang->overview_topic</strong></td>
        <td valign="top"><strong>$lang->overview_author</strong></td>
        <td align="right" valign="top"><strong>$lang->overview_replies</strong></td>
        </tr>
        $newthreads_row
        </table></td>



index_overview_column_newthreads_row
Open Replace With:

<style type="text/css">
.yenikonu2 {
background:#f1ffd1;
border-top: 1px solid #B1DD0E;
border-bottom: 1px solid #B1DD0E;
border-left: 4px solid #B1DD0E;
border-right: 4px solid #B1DD0E;
text-align: left;
padding: 5px 10px;
font-weight: bold;
}
</style>
<tr class="yenikonu2">
 <td valign="top"><div class="smalltext"><b><a href="showthread.php?tid=$tid" title="$subject_long">
	<font color="#000000">$subject</font></a></b></div><b></td>
 <td valign="top"></b><div class="smalltext"><b><a href="member.php?action=profile&uid=$uid">
	<font color="#000000">$username</font></a></b></div><b></td>
 <td align="right" valign="top"></b><div class="smalltext"><b><a href="javascript:MyBB.whoPosted($tid);">
	<font color="#000000">$replies</font></a></b></div></td>
 </tr>



index_overview_column_newposts
Open Replace With:

<style>
.yenimesaj1 {
background:url(/images/mesaj.png) repeat-y top left;
}
</style>
<style>
.enmesaj2 {
background:url(/images/tcatbg.png) repeat-y top left;
}
</style>


<td valign="top" class="yenimesaj"><table width="100%" border="0" cellspacing="0" cellpadding="$theme[tablespace]">
        <tr class="yenimesaj1">
        <td colspan="2" valign="top"><center><strong>$lang->overview_newest_posts</strong></center></td>
        </tr>
        <tr class="enmesaj2">
        <td valign="top"><strong>$lang->overview_subject</strong></td>
        <td align="right" valign="top"><strong>$lang->overview_author</strong></td>
        </tr>
        $newposts_row
        </table></td>



index_overview_column_newposts_row
Open Replace With:

<style type="text/css">
.yenimesaj {
background:#d1f6ff;
border-top: 1px solid #0287a7;
border-bottom: 1px solid #0287a7;
border-left: 4px solid #0287a7;
border-right: 4px solid #0287a7;
text-align: left;
padding: 5px 10px;
font-weight: bold;
}
</style>
<tr class="yenimesaj">
 <td valign="top"><div class="smalltext"><a href="showthread.php?tid=$tid&pid=$pid#pid$pid" title="$subject_long">$subject</a></div></td>
 <td align="right" valign="top"><div class="smalltext"><a href="member.php?action=profile&uid=$uid">$username</a></div></td>
 </tr>
hi u know how to reduce the lenght of the titles in the overview board to a specific amount ????