This mod list subforums 2 block...
for example this image
live demo screenshot: www.ismailce.net/yakusha
- Kod: Tümünü seç
Mod author: Yakusha <Sabri Ünal> (sabriunal@tnn.net) (www.canver.net)
Mod version: 1.0.0
Mod Desc: add on for Simple Subforum mod... this mod list forums to 2 block...
--- [ OPEN ]------
index_body.tpl
--- [ FIND ]------
<!-- IF catrow.forumrow.MODERATORS --><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /></span><!-- ENDIF -->
<!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 -->, <!-- ELSE --><span class="genmed">{L_SUBFORUMS}: <!-- ENDIF -->{catrow.forumrow.sub.LAST_POST_SUB} <a href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}">{catrow.forumrow.sub.FORUM_NAME}</a><!-- END sub -->
<!-- IF $HAS_SUB --></span><!-- UNDEFINE $HAS_SUB --><!-- ENDIF -->
</td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_POSTS}</span></td>
--- [ REPLACE ]------
<!-- IF catrow.forumrow.MODERATORS -->
<span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /></span>
<!-- ENDIF -->
<table border="0">
<tr>
<!-- BEGIN sub -->
<!-- DEFINE $HAS_SUB = 1 -->
<td width="130">
<span class="gensmall">
{catrow.forumrow.sub.LAST_POST_SUB}
<a href="{catrow.forumrow.sub.U_VIEWFORUM}"
<!-- IF catrow.forumrow.sub.UNREAD -->
class="topic-new"
<!-- ENDIF -->
title="{catrow.forumrow.sub.FORUM_DESC_HTML}">
{catrow.forumrow.sub.FORUM_NAME}
</a>
<!-- IF $sub_i %2 -->
</tr>
<tr>
<!-- ENDIF -->
<!-- END sub -->
<!-- IF $HAS_SUB -->
</span>
</td>
<!-- UNDEFINE $HAS_SUB -->
<!-- ENDIF -->
</tr>
</table>
</td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_POSTS}</span></td>
bu başlık benim sitemde olmalıydı, fakat kayıplara karışmış...
canverde de olmalıydı fakat o da kayıplara karışmış... acaba ben canvere bu kodu eklememiş miydim? acaba mod duyurularda başlıkalımız mı kalmış....
bu arada mod güncell, daha regular bir hale getirildi, tema içindeki php kodu denemesi tamamen kaldarıldı, olur mu öyle uçukluk.