[RC] - Two Block Simple Subforum Forums - 1.0.0

Eklenti geliştirme bölümü.

[RC] - Two Block Simple Subforum Forums - 1.0.0

İleti sabri ünal 01.01.2007, 21:53

This mod, add on for Simple Subforum mod...

This mod list subforums 2 block...

for example this image :)

Resim

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.
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti yaso19 02.01.2007, 13:57

bide easy sub forum a yapsanız bundan tam süper olacak sabri üstat :)
Kullanıcı avatarı
yaso19
Üye
Üye
 
İleti: 531
Kayıt: 05.02.2006, 01:01
Konum: İzmir

Cvp: [RC] - Two Block Simple Subforum Forums - 1.0.0

İleti BaRCeLoNa 05.03.2007, 19:40

Şuanda yok yakushada bu mod kurulu ve gerçekten siteyi doğru düzgün gösteriyor :) :wink:
barcelona tema v 1.0 %40 [ l l l l l l l l l ]
http://www.forumuni.com
Kullanıcı avatarı
BaRCeLoNa
Üye
Üye
 
İleti: 271
Kayıt: 16.05.2006, 23:26
Konum: İzmir

Re: [RC] - Two Block Simple Subforum Forums - 1.0.0

İleti phpBB_Hastası 31.07.2007, 14:48

Tek bu mod için simple sub forumu kurdum yeni siteme :)
Kullanıcı avatarı
phpBB_Hastası
Üye
Üye
 
İleti: 79
Kayıt: 03.11.2006, 16:38
Konum: İstanbul

Re: [RC] - Two Block Simple Subforum Forums - 1.0.0

İleti MythBusted 26.04.2008, 16:35

Kod: Tümünü seç
<!-- mod : announces -->
<!-- IF TPL_CFG_YENIMESAJ -->

<!-- [+] MOD: son x konu  -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
   <th nowrap="nowrap" colspan="5">{L_LAST_X}</th>
</tr>
<tr>
   <td class="cat" align="center" width="100%"><span class="genmed"><b>{L_LAST_TOPIC}</b></span></td>
   <td class="cat" align="center"><span class="genmed">&nbsp;<b>{L_LAST_FORUM}</b>&nbsp;</span></td>
   <td class="cat" align="center"><span class="genmed">&nbsp;<b>{L_LAST_REPLY}</b>&nbsp;</span></td>
   <td class="cat" align="center" nowrap="nowrap"><span class="genmed">&nbsp;<b>{L_LAST_WR}</b>&nbsp;</span></td>
   <td class="cat" align="center" nowrap="nowrap"><span class="genmed">&nbsp;<b>{L_LAST_DATE}</b>&nbsp;</span></td>
</tr>
<!-- BEGIN last_x_topic_row -->
<tr>
   <td class="row1 gensmall" align="left" nowrap="nowrap">&nbsp;<a href="{last_x_topic_row.U_TITLE}">{last_x_topic_row.L_TITLE}</a>&nbsp;</td>
   <td class="row1 gensmall" align="right" nowrap="nowrap">&nbsp;<a href="{last_x_topic_row.U_FORUM}">{last_x_topic_row.S_FORUM}</a>&nbsp;</td>
   <td class="row1 gensmall" align="center" nowrap="nowrap">&nbsp;{last_x_topic_row.L_REPLIES}&nbsp;</td>
   <td class="row1 gensmall" align="right" nowrap="nowrap">&nbsp;<a href="{last_x_topic_row.U_POSTER}">{last_x_topic_row.S_POSTER}</a>&nbsp;</td>
   <td class="row1 gensmall" align="right" nowrap="nowrap">&nbsp;{last_x_topic_row.S_POSTTIME}&nbsp;</td>
</tr>
<!-- END last_x_topic_row -->
</table>
<br />
<!-- [-] MOD: son x konu  -->


<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr>
   <td align="left" valign="bottom"><span class="gensmall">{CURRENT_TIME}</span></td>
  </tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" class="forumline_red">
  <tr>
   <td class="th_red" colspan="2"><span class="cattitle">&nbsp;»&nbsp;<a href="{U_INDEX}" class="cattitle">{L_INDEX}</a></span></td>
  </tr>
  <tr>
   <td class="row1" align="center" valign="middle" rowspan="2">{AVATAR_IMG}</td>
   <td class="row1" width="100%"><span class="genmed">{WELCOME_USER}</span><br /><span class="gensmall">{WELCOME_USER_INFO}</span></td>
  </tr>
  <!-- BEGIN switch_user_logged_in -->
  <tr>
   <td class="row1" width="100%"><span class="gensmall">{LAST_VISIT_DATE}<br />{WELCOME_NEWS}</span></td>
  </tr>
  <!-- END switch_user_logged_in -->
  <!-- BEGIN switch_user_logged_out -->
  <form method="post" action="{S_LOGIN_ACTION}">
  <tr>
      <td class="row1" valign="middle">
<table border="0" cellpadding="1" cellspacing="1" width="100%">
  <tr>
    <td align="left"><span class="gensmall">{L_USERNAME}:</td>
    <td width="100%">
   <input class="post" type="text" name="username" size="10" />
   &nbsp;&nbsp;&nbsp;{L_PASSWORD}:
   <input class="post" type="password" name="password" size="10" maxlength="32" /></span>
    </td>
  </tr>
<!-- BEGIN switch_allow_anti_robotic_login -->
  <tr>
    <td align="left"><span class="gensmall">{L_SECURITY_CODE}:</span><br /><img src="images/spacer.gif" alt="" width="100" height="1" /></td>
    <td width="100%">
        <input class="post" type="text" name="login_key" maxlength="5" size="10" />
        <span class="gensmall">&nbsp;<img src="{S_ANTI_ROBOT1}" alt="" border="0" /><img src="{S_ANTI_ROBOT2}" alt="" border="0" /><img src="{S_ANTI_ROBOT3}" alt="" border="0" /><img src="{S_ANTI_ROBOT4}" alt="" border="0" /><img src="{S_ANTI_ROBOT5}" alt="" border="0" /></span>
    </td>
  </tr>
<!-- END switch_allow_anti_robotic_login -->
  <tr>
    <td width="100%" colspan="2"><span class="gensmall">
    <!-- BEGIN switch_allow_autologin -->
    <input class="text" type="checkbox" name="autologin" value="ON" checked />&nbsp;&nbsp;{L_AUTO_LOGIN}&nbsp;&nbsp;
    <!-- END switch_allow_autologin -->
   <input type="checkbox" name="hideonline" tabindex="5" value="ON" />
   &nbsp;&nbsp;{L_OL_HIDEONLINESTATUS}   
   &nbsp;&nbsp;&nbsp;
   <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /></span>
    </td>
  </tr>
</table>
      </td>
  </tr>
  </form>
  <!-- END switch_user_logged_out -->
  <!-- BEGIN switch_suggest_topic -->
  <tr>
   <td class="row1" width="100%" colspan="2"><span class="gensmall">{WELCOME_SUGGESTED_TOPICS}&nbsp;&nbsp;<a href="{WELCOME_SUGGESTED_LINK}" class"gensmall">{WELCOME_SUGGESTED_TITLE}</a></span></td>
  </tr>
  <!-- END switch_suggest_topic -->
</table>{SHADOW}
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr>
   <td align="right" valign="bottom" class="gensmall"><a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>
<!-- ENDIF -->

{PORTAL_TAIL}

<!-- BEGIN switch_enable_global_marquee -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline_red" align="center">
  <tr>
     <td class="th_red" height="25" align="center"><span class="cattitle">{GLOBAL_TITLE}</span></td>
  </tr>
  <tr>
     <td class="row1" align="left" height="40" valign="middle"><div align="center"class="dmarquee"><div><div><span class="genmed">&nbsp;<b>{GLOBAL_ANNOUNCEMENT}</b>&nbsp;</span></div></div></div></td>
  </tr>
</table>
{SHADOW}
<br>
<!-- END switch_enable_global_marquee -->

<!-- BEGIN switch_disable_global_marquee -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline_red" align="center">
  <tr>
     <td class="th_red" height="25" align="center"><span class="cattitle">{GLOBAL_TITLE}</span></td>
  </tr>
  <tr>
     <td class="row1" align="left" height="40" valign="middle"><div align="center"><span class="genmed">&nbsp;<b>{GLOBAL_ANNOUNCEMENT}</b>&nbsp;</span></div></td>
  </tr>
</table>
{SHADOW}
<br>
<!-- END switch_disable_global_marquee -->

{BOARD_ANNOUNCES}

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
   <th width="200" class="thTop" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
   <!-- IF TPL_CFG_YONET -->
   <th class="thCornerR" nowrap="nowrap">&nbsp;Bölüm Yetkilileri&nbsp;</th>
   <!-- ENDIF -->   
  </tr>
  <!-- BEGIN catrow -->
  <tr>
   <td class="catLeft" colspan="6" height="28"><span class="cattitle">&nbsp;»&nbsp;<a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
  </tr>
<!-- BEGIN forumrow -->
<!-- IF ! forumrow.PARENT -->
  <tr>
   <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="30" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="100%">
   <table cellpadding="0" cellspacing="0" width="100%" border="0">
      <tr>
         <td align="center" valign="middle" height="24" width="24"><!-- IF TPL_CFG_FORUMICONS -->{catrow.forumrow.FORUM_ICON_IMG}<!-- ENDIF --></td><td><span class="gen">&nbsp;</span></td>
         <td width="100%"><span {catrow.forumrow.FORUM_COLOR} class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" {catrow.forumrow.FORUM_COLOR} class="forumlink" {catrow.forumrow.TARGET}>{catrow.forumrow.FORUM_NAME}</a></span>
         <span class="gensmall">
<!-- IF TPL_CFG_IZLEYENLER -->
<!-- BEGIN switch_users_viewing -->
      (<b>{catrow.forumrow.USERS_VIEWING}</b> {L_USERS_VIEWING})
<!-- END switch_users_viewing -->
<!-- ENDIF -->
         </span><br />
         <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /></span>
     <!-- IF TPL_CFG_ALTKATEGORI -->
     <!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 -->, <!-- ELSE --><span class="genmed"> <b>{L_SUBFORUMS}: </b> <!-- 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 --><!-- ENDIF -->
         </td>
      </tr>
   </table>
   </td>
   <td class="row2" align="left" valign="middle" nowrap="nowrap" width="200"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></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>
   <!-- IF TPL_CFG_YONET -->
   <td class="row2" align="center" valign="middle" nowrap="nowrap" width="120">
   <!-- IF catrow.forumrow.MODERATORS -->
   <div class="poem">
   <span class="gensmall">{catrow.forumrow.MODERATORS}</span>
   </div>
   <!-- ENDIF -->
   </td>
   <!-- ENDIF -->
</tr>
<!-- ENDIF -->
<!-- END forumrow -->
<!-- END catrow -->
</table>
{SHADOW}

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr>
   <td align="left">
   <!-- BEGIN switch_user_logged_in -->
      <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
   <!-- END switch_user_logged_in -->
   </td>
   <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>

<table width="100%" cellpadding="3" cellspacing="1" class="forumline">
  <tr>
   <td class="catHead" colspan="3" height="28"><span class="cattitle">&nbsp;»&nbsp;İstatistikler</span></td>
  </tr>
<tr>
   <td class="row1" align="center" valign="middle" rowspan="4"><a href="viewonline.php" title="{L_WHO_IS_ONLINE}"><img src="templates/vira/images/index_stat.gif" width="45" height="31" /></a></td>
   <td class="row2" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS} | {L_TOTAL_TOPICCOUNT} <b>{TOTAL_TOPICCOUNT}</b> | {TOTAL_USERS} | {NEWEST_USER}<br />{L_POSTS_PER_USER}<b>{POSTS_PER_USER}</b> | {L_POSTS_PER_DAY}<b>{POSTS_PER_DAY}</b> | {L_TOPICS_PER_DAY}<b>{TOPICS_PER_DAY}</b> | {L_USERS_PER_DAY}<b>{USERS_PER_DAY}</b></td>
   <td class="row1" width="13%" rowspan="3">
      <table cellspacing="0" border="0" align="center" cellpadding="2" width="100%" height="100%">
           <tr>
             <td><img src="templates/vira/images/folder_new_big.gif" width="23" height="15" alt="{L_NEW_POSTS}"/></td>
             <td><span class="gensmall">{L_NEW_POSTS}</span><br /><img src="templates/vira/images/spacer.gif" alt="" width="90" height="1" /></td>
           </tr>
           <tr>
             <td><img src="templates/vira/images/folder_big.gif" width="23" height="15" alt="{L_NO_NEW_POSTS}" /></td>
             <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
           </tr>
           <tr>
             <td><img src="templates/vira/images/folder_locked_big.gif" width="23" height="15" alt="{L_FORUM_LOCKED}" /></td>
             <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
           </tr>
      </table>
   </td>
</tr>
<tr>
   <td class="row2" align="left" width="100%"><span class="gensmall">{RECORD_USERS}</span></td>
</tr>
<tr>
   <td class="row2" align="left"><span class="gensmall"><b>Yetkiler</b>&nbsp;<b>::</b>&nbsp;{COLOR_GROUPS_LIST}</span></td>
</tr>
<tr>
   <td colspan="2" class="row2" align="left">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td width="50%"><span class="gensmall">{TOPM_UN}[{L_TOPM_UPO_L}]{L_TOPM_POSTS_L}</span></td>
    <td width="50%">
<!-- BEGIN switch_user_logged_in -->
   <span class="gensmall">&nbsp;<b><a href="{U_RECOMMEND_FORUM}">{L_RECOMMEND_FORUM}</a></b></span>
<!-- END switch_user_logged_in -->
    </td>
  </tr>
</table>
   </td>    
</tr>
<!-- IF TPL_CFG_CEVRIMICI -->
<tr>
   <td class="catHead" colspan="3" height="28"><span class="cattitle">&nbsp;»&nbsp;<a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>    
</tr>
<tr>
<td class="row1" align="center" valign="middle" rowspan="2"><a href="viewonline.php" title="{L_WHO_IS_ONLINE}"><img src="templates/vira/images/whosonline.gif" width="45" height="31" /></a></td>
   <td class="row1" align="left" colspan="2"><span class="gensmall">{TOTAL_USERS_ONLINE} </span>
    <hr /><span class="gensmall">{LOGGED_IN_USER_LIST}</span></td>
</tr>
<!-- IF TPL_CFG_BUGUNONLINE -->
<!-- Start add - Last visit MOD -->
<tr>
   <td class="row1" align="left" colspan="2"><span class="gensmall">{L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />{USERS_TODAY_LIST}</span></td>   
</tr>
<!-- End add - Last visit MOD -->
<!-- ENDIF -->
<!-- ENDIF -->
</table>
{SHADOW}

<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
   <td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>




Arkadaşlar bi yardım edebilir misiniz burda ayarlayamadım kodları.
MythBusted
Üye
Üye
 
İleti: 1
Kayıt: 16.04.2008, 21:58


Eklenti Geliştirme



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron