Easy subforum kurdum ancak temaya uyduramadım.

phpBB 2.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Easy subforum kurdum ancak temaya uyduramadım.

Mesaj gönderen halil »

Merhabalar;
Easy subforumu kurdum temam ise SoftBlue. Tema dosyaları içinde kodlardan biri hariç hepsini buldum değiştirdim.

Birtek viewforum_body.tpl dosyasında aşağıdaki kodu bulamadım. Bendeki viewforum_body.tpl dosyasında böyle bir kod yok.

Kod: Tümünü seç

#
#-----[ FIND ]------------------------------------------------
#
	  <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>

#
#-----[ REPLACE WITH ]------------------------------------------------
#
	  <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
	  	  <!-- BEGIN switch_parent_link -->
	  	   -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
	  	  <!-- END switch_parent_link -->
 -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
İkinci bir sorun ise yukarıyı yapamasamda altforumların çalıştı ancak alt forum renklerim tema rengime uygun değil. Renkleri subsilvera uygun.
Ve alt forumlardan birine girince rengi siyah oluyor öyle kalıyor.

Oysa ben temamdaki alt forum renklerinin beyaz olmasını ve üzerine mouse ile gelince gri olmasını istiyorum. Acaba bunu nasıl yapabilirim.

[ resmi görüntülemek için tıklayın ]
İşte aynen alt forumların bu renk. Şiirler ise normal temanın mouse ile üzerine geldiğinde aldığı gri renk. Alt forumlarında böyle olsun istiyorum. Beyaz ve üzerine gelince gri
Lütfen buna bir çözüm :roll:
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Mesaj gönderen halil »

Arkadaşlar her türlü dosyayı kurcaladım ama hiçbişey anlamıyorum :shock:

Yokmu yardım edebilecek biri :roll:
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

viewforum_body.tpl dosyanı yükle bakalım burda..
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Mesaj gönderen halil »

Hemen gönderiyorum

Kod: Tümünü seç

<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr> 
	  <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
	</tr>
	<tr> 
	  <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
	  <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>

	  	  <!-- BEGIN switch_parent_link -->
	  	   -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
	  	  <!-- END switch_parent_link -->
 -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
	</tr>
  </table>
<div class="forumlinemain">
<!-- BEGIN switch_attached_list -->
   <br />
   <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
     <tr>
		<th colspan="2" class="thCornerL" height="15" nowrap="nowrap">&nbsp;{switch_attached_list.L_ATTACHED_FORUM}&nbsp;</th>
		<th width="50" class="thTop" nowrap="nowrap">&nbsp;{switch_attached_list.L_ATTACHED_TOPICS}&nbsp;</th>
		<th width="50" class="thTop" nowrap="nowrap">&nbsp;{switch_attached_list.L_ATTACHED_POSTS}&nbsp;</th>
		<th class="thCornerR" nowrap="nowrap">&nbsp;{switch_attached_list.L_LAST_POST}&nbsp;</th>
     </tr>
	<!-- BEGIN switch_attached_present -->
	<tr>
		<td class="row1" align="center" valign="middle" height="38"><img src="{switch_attached_list.switch_attached_present.FORUM_FOLDER_IMG}" width="46" height="25" alt="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" title="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" /></td>
		<td class="row1" width="75%"><span class="forumlink"><a class="forumlink" href="{switch_attached_list.switch_attached_present.U_VIEWFORUM}">{switch_attached_list.switch_attached_present.FORUM_NAME}</a></span><br /><span class="genmed">{switch_attached_list.switch_attached_present.FORUM_DESC}</span></td>
		<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.TOPICS}</span></td>
		<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.POSTS}</span></td>
		<td class="row2" align="center" nowrap="nowrap" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.LAST_POST_ID}</span></td>
	</tr>
	<!-- END switch_attached_present -->
   </table>
   <br />
<!-- END switch_attached_list -->
  <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
	<tr> 
	  <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap"><a href="{U_VIEW_FORUM}" class="cattitle">{FORUM_NAME}</a></th>
	  <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
	  <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
	  <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
	  <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
	</tr>
	<!-- BEGIN topicrow -->
	<tr> 
	  <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
	  <td class="row2" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<img src="templates/SoftBlue/images/icon_mini_faq.gif" border="0" alt="" hspace="3" /><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
		{topicrow.GOTO_PAGE}</span></td>
	  <td class="row1" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
	  <td class="row1" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
	  <td class="row3" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
	  <td class="row3" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
	</tr>
	<!-- END topicrow -->
	<!-- BEGIN switch_no_topics -->
	<tr> 
	  <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
	</tr>
	<!-- END switch_no_topics -->
	<tr> 
	  <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 
		<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
		</span></td>
	</tr>
  </table>
</div>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
	<tr> 
	  <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
	  <td align="right" valign="middle" nowrap="nowrap"><span class="nav">{PAGINATION}&nbsp;&nbsp;{PAGE_NUMBER}</span> 
		</td>
	</tr>
	  </table>
</form>
<div class="forumlinemain">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr> 
	<td class="catHead" colspan="2" height="28"><table width="100%">
<tr>
<td width="50%" align="left"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
<td width="50%" align="right"><span class="cattitle"><a href="{U_MARK_READ}" class="cattitle">{L_MARK_TOPICS_READ}</a></span></td>
</tr>
</table></td>
  </tr>

  <tr>
	<td class="row1" align="left" width="100%" colspan="2"><span class="gensmall">{LOGGED_IN_USER_LIST}<br />{L_MODERATOR}: {MODERATORS}</span>
	</td>
  </tr>
<tr> 
	<td class="catHead" colspan="2" height="28"><span class="cattitle">Üye İzinleri</span></td>
  </tr>

  <tr> 
      <td align="left" class="row2"><span class="gensmall">{S_AUTH_LIST}</span></td>
	<td class="row1" align="right"><span class="gensmall"><table cellspacing="3" cellpadding="0" border="0">
			<tr>
				<td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}"  /></td>
				<td class="gensmall">{L_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}"  /></td>
				<td class="gensmall">{L_NO_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}"  /></td>
				<td class="gensmall">{L_ANNOUNCEMENT}</td>
			</tr>
			<tr> 
				<td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}"  /></td>
				<td class="gensmall">{L_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}"  /></td>
				<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}"  /></td>
				<td class="gensmall">{L_STICKY}</td>
			</tr>
			<tr>
				<td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}"  /></td>
				<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
				<td>&nbsp;&nbsp;</td>
				<td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}"  /></td>
				<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
			</tr>
		</table></span></td>
  </tr>
</table>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
	<td align="right">{JUMPBOX}</td>
  </tr>
</table>

İlginize teşekkürler :)
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

Kod: Tümünü seç

     <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
          <!-- BEGIN switch_parent_link -->
           -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
          <!-- END switch_parent_link -->
 -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
bu kodu yerleştirmişsin zaten..
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Mesaj gönderen halil »

Bendeki easysubforum kurulum açıklamasında ( phpbb.comdan indirdim sanırım) viewforum_body.tpl dosyasında değiştirmem gereken iki yer olduğunu söylüyor

Aynen böyle

Kod: Tümünü seç

#
#-----[ OPEN ]------------------------------------------------
#
   /templates/subSilver/viewforum_body.tpl

#
#-----[ FIND ]------------------------------------------------
#

	  <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>

#
#-----[ REPLACE WITH ]------------------------------------------------
#

	  <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>

	  	  <!-- BEGIN switch_parent_link -->
	  	   -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
	  	  <!-- END switch_parent_link -->
 -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
 
#
#-----[ FIND ]------------------------------------------------
#
   <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">

#
#-----[ BEFORE, ADD ]-----------------------------------------
#
   
<!-- BEGIN switch_attached_list -->
   <br />
   <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
     <tr>
		<th colspan="2" class="thCornerL" height="15" nowrap="nowrap">&nbsp;{switch_attached_list.L_ATTACHED_FORUM}&nbsp;</th>
		<th width="50" class="thTop" nowrap="nowrap">&nbsp;{switch_attached_list.L_ATTACHED_TOPICS}&nbsp;</th>
		<th width="50" class="thTop" nowrap="nowrap">&nbsp;{switch_attached_list.L_ATTACHED_POSTS}&nbsp;</th>
		<th class="thCornerR" nowrap="nowrap">&nbsp;{switch_attached_list.L_LAST_POST}&nbsp;</th>
     </tr>
	<!-- BEGIN switch_attached_present -->
	<tr>
		<td class="row1" align="center" valign="middle" height="38"><img src="{switch_attached_list.switch_attached_present.FORUM_FOLDER_IMG}" width="46" height="25" alt="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" title="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" /></td>
		<td class="row1" width="75%"><span class="forumlink"><a class="forumlink" href="{switch_attached_list.switch_attached_present.U_VIEWFORUM}">{switch_attached_list.switch_attached_present.FORUM_NAME}</a></span><br /><span class="genmed">{switch_attached_list.switch_attached_present.FORUM_DESC}</span></td>
		<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.TOPICS}</span></td>
		<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.POSTS}</span></td>
		<td class="row2" align="center" nowrap="nowrap" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.LAST_POST_ID}</span></td>
	</tr>
	<!-- END switch_attached_present -->
   </table>
   <br />
<!-- END switch_attached_list -->

 
#
#-----[ FIND ]------------------------------------------------
#
	  <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>

#
#-----[ REPLACE WITH ]------------------------------------------------
#
	  <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
	  	  <!-- BEGIN switch_parent_link -->
	  	   -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
	  	  <!-- END switch_parent_link -->
 -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
İlk replace olayını yaptım ancak 2. replace olayı için gerekli kodu bulamadım. Benim yaptığım değişim 1. olan.

Zaten tam yapamasamda alt forum çalışıyor :D
ama renk olayını bir türlü çözemedim :roll:
İyice karıştırdım sanırım, yaş ilerledikten sonra bu işlere kalkışmamak gerekiyormuş demek ki :D
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

2sinide doğru yapmışın kendi kendine olamıyacağına göre renkler için css dosyası ile oynaman lazım..
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Mesaj gönderen halil »

Maalesef hiç anlamıyorum kodlardan sabahtan beri bakıyorum :cry: Acaba buraya göndersem bakabilirmisiniz :roll:

SoftBlue.css

Kod: Tümünü seç

/*
  The SoftBlue Theme for phpBB version 2+
  Created by: Sigma12
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 11px; color: #000000; margin:0px;padding:0px;
	background-color: #9BBBDA;
	scrollbar-face-color: #DEE3E7;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #DEE3E7;
	scrollbar-3dlight-color: #D1D7DC;
	scrollbar-arrow-color:  #006699;
	scrollbar-track-color: #EFEFEF;
	scrollbar-darkshadow-color: #98AAB1;
}

/* General font families for common tags */
font,th,td,p { font-family:  Verdana, Tahoma, Arial, sans-serif ; font-size: 11px; color: #000000; }
a:link,a:active,a:visited { color : #000000; }
a:hover		{ text-decoration: underline; color : #222222; }
hr	{ height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}


/* This is the border line & background colour round the entire page */
.bodyline	{  }

/* This is the outline surrounding the main blocks */
.forumlinemain { background-color: #97B9DA; border: 1px #585889 solid; padding: 4px; width: 100%; margin-bottom: 2px; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: #585889; }

.logo { background-image: url(images/logo_phpBB_bg.gif); }


/* Main table cell colours and backgrounds */
td.row1	{ background-color: #ABC5E2; }
td.row2	{ background-color: #92B6D8; background-image: url(images/forum_bg.jpg); background-repeat: repeat-y;}
td.row3	{ background-color: #BDD1E8; }


/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: #FFFFFF;
		background-image: url(images/cellpic2.jpg);
		background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: #000000; font-size: 10px; font-weight : bold;
	background-color: #000000; height: 25px;
	background-image: url(images/cellpic3.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(images/cellpic1.gif);
			background-color:#D1D7DC; height: 28px;
}


/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; height: 25px; }
td.row3Right,td.spaceRow {
	background-color: #D1D7DC; border: #FFFFFF; border-style: solid; }

th.thHead,td.catHead { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 0px 0px 0px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 0px 0px 0px; }
th.thLeft,td.catLeft	  { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thBottom,td.catBottom  { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thTop	 { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thCornerL { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thCornerR { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }


/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2	{
			font-weight: bold; font-size: 22px; font-family: Arial, Tahoma, Verdana, sans-serif;
			text-decoration: none; line-height : 120%; color : #000000;
}


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #444444; text-decoration: underline; }


/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 10px; color : #000000 }
a.mainmenu		{ text-decoration: none; color : #006699;  }
a.mainmenu:hover{ text-decoration: underline; color : #444444; }


/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 10px ;  color : #000000}
a.cattitle		{ text-decoration: none; color : #000000; }
a.cattitle:hover{ text-decoration: none; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 11px; color : #ffffff; }
.forumlink a:link, .forumlink  a:visited, .forumlink  a:active { text-decoration: none; color: #FFF }
a.forumlink:hover{ text-decoration: underline; color : #666666; }


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #000000;}
a.nav			{ text-decoration: none; color : #006699; }
a.nav:hover		{ text-decoration: underline; }


/* titles for the topics: could specify viewed link colour too */


.topictitle			{ font-weight: bold; font-size: 11px; color : #ffffff; }
a.topictitle:link   { text-decoration: none; color : #ffffff; }
a.topictitle:visited { text-decoration: none; color : #ffffff; }
a.topictitle:hover	{ text-decoration: underline; color : #666666; }


/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : 11px; color : #000000;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 10px; color : #000000; }


/* The content of the posts (body of text) */
.postbody { font-size : 12px;}
a.postlink:link	{ text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #444444}


/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}


/* Copyright and bottom info */
.copyright		{ font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright		{ color: #444444; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}


/* Form elements */
input,textarea, select {
	color : #000000;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : #FFFFFF;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : #EFEFEF;
	color : #000000;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* The main submit button option */
input.mainoption {
	background-color : #FAFAFA;
	font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
	background-color : #FAFAFA;
	font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #DEE3E7; border-style: none; }


/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Mesaj gönderen halil »

Maalesef dün geceden beri deniyorum kafama göre renk kodlarında değişiklikler yapıyorum her şeyin rengini değişyitdim ama alt forumlar aynen duruyor :roll:
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
cupra
Kayıtlı Kullanıcı
Mesajlar: 2505
Kayıt: 01.04.2006, 02:33
Konum: smyrna
İletişim:

Mesaj gönderen cupra »

Kod: Tümünü seç

/* The content of the posts (body of text) */
.postbody { font-size : 12px;}
a.postlink:link   { text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #444444} 
bu kısımmış gibi geldi..
denemek lazım birde subforum için acaba css dosyasına eklenti yapılıyormu?..
esas konu o standart dışı renkler ondan olabilir. subforum mod kurulumunda css içine renk kodu atılmışmı kontrol etmek gerek..
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Mesaj gönderen halil »

Kurulum .css dosyaları ile ilgili bir değişiklik yapılmıyor.
Modun orjinal hali aşağıda;

Easy Sub Forum

Kod: Tümünü seç

############################################################## 
## MOD Title: Easy Sub-Forums
## MOD Author: acoolwelshbloke < acoolwelshbloke@tec2spec.co.uk > (Paul Norman) http://www.tec2spec.co.uk 
## MOD Description: This mod allows you to "attach" specific forums to another so that they are not displayed
## on the main index page but inside another forum. This emulates the sub-forums features but does not really
## create true sub-forum functionality.
## MOD Version: 1.0.8
##
## Installation Level: (Easy)
## Installation Time: 10 Minutes
## Files To Edit:    
##					includes/functions.php
##					admin/admin_forums.php
##					index.php
##					viewforum.php
##					viewtopic.php
##					posting.php
##					templates/subSilver/index_body.tpl
##					templates/subSilver/viewforum_body.tpl
##					templates/subSilver/viewtopic_body.tpl
##					templates/subSilver/admin/forum_edit_body.tpl
##					templates/subSilver/admin/forum_admin_body.tpl
##					templates/subSilver/posting_body.tpl
##					language/lang_english/lang_main.php
##					language/lang_english/lang_admin.php
##
## Included Files: (n/a)
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
############################################################## 
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################  
## Author Notes:
##
## This mod is based on pseudo attached forum mod by Harishankar (http://literaryforums.org). 
## It has been re-written from the ground up.
## Installs fine with EasyMod on vanilla phpBB setup 
## 
## THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY 
## EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 
## TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
## FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL 
## THE AUTHOR OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
## INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
## SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
## ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
## ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
############################################################## 

#
#-----[ SQL ]-------------------------------------------------
#
# If your phpbb table prefix is different, then change it to
# reflect the correct one.
#
#

	ALTER TABLE `phpbb_topics` ADD INDEX (topic_last_post_id);
	ALTER TABLE `phpbb_forums` ADD attached_forum_id MEDIUMINT(8) DEFAULT '-1' NOT NULL;
	
#
#-----[ OPEN ]------------------------------------------------
#
   /includes/functions.php


#
#-----[ FIND ]------------------------------------------------
#

function get_db_stat($mode)
{


#
#-----[ BEFORE, ADD ]------------------------------------------
#
   // Added by Easy Sub-Forums MOD

function check_unread($forum_id)
{
global $new_topic_data, $tracking_topics, $tracking_forums, $HTTP_COOKIE_VARS, $board_config;
   if ( !empty($new_topic_data[$forum_id]) )
   {
      $forum_last_post_time = 0;

      while( list($check_topic_id, $check_post_time) = @each($new_topic_data[$forum_id]) )
      {
         if ( empty($tracking_topics[$check_topic_id]) )
         {
            $unread_topics = true;
            $forum_last_post_time = max($check_post_time, $forum_last_post_time);

         }
         else
         {
            if ( $tracking_topics[$check_topic_id] < $check_post_time )
            {
               $unread_topics = true;
               $forum_last_post_time = max($check_post_time, $forum_last_post_time);
            }
         }
      }

      if ( !empty($tracking_forums[$forum_id]) )
      {
         if ( $tracking_forums[$forum_id] > $forum_last_post_time )
         {
            $unread_topics = false;
         }
      }

      if ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all']) )
      {
         if ( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all'] > $forum_last_post_time )
         {
            $unread_topics = false;
         }
      }

   }

return $unread_topics;

} 

   // END Added by Easy Sub-Forums MOD


#
#-----[ FIND ]------------------------------------------------
#
function make_jumpbox($action, $match_forum_id = 0)
{
	global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID;


#
#-----[ AFTER, ADD ]------------------------------------------
#
	global $parent_lookup;


#
#-----[ FIND ]------------------------------------------------
#
					if ( $forum_rows[$j]['cat_id'] == $category_rows[$i]['cat_id'] && $forum_rows[$j]['auth_view'] <= AUTH_REG )
					{


#
#-----[BEFORE, ADD ]------------------------------------------
#
						if ($parent_lookup==$forum_rows[$j]['forum_id'] && !$assigned)
						{
							$template->assign_block_vars('switch_parent_link', array() );

							$template->assign_vars(array(
								'PARENT_NAME' => $forum_rows[$j]['forum_name'],
								'PARENT_URL'=>append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id'])
								));
							$assigned=TRUE;
						}


#
#-----[ OPEN ]------------------------------------------------
#
   /admin/admin_forums.php

#
#-----[ FIND ]------------------------------------------------
#
   $forumstatus = $row['forum_status'];
   
#
#-----[ AFTER, ADD ]------------------------------------------
#
   // Added by Easy Sub-Forums MOD
   
			   $forum_attached_id = $row['attached_forum_id'];
				$sql = "SELECT * from ". FORUMS_TABLE. " WHERE attached_forum_id = $forum_id";
				if( !$r = $db->sql_query($sql) )
				{
					message_die(GENERAL_ERROR, "Couldn't get list of children Forums", "", __LINE__, __FILE__, $sql);
				}

				if( $db->sql_numrows($r) > 0 )
				{

					$not_attachable=1;
					$has_subforums=1;
					$template->assign_block_vars('switch_attached_no', array());
					if (intval($HTTP_POST_VARS['detach_enabled'])) $detach_enabled = "checked=\"checked\"";

				}
				else
				{

					// this forum is not a parent of any other forum
					$sql = "SELECT * FROM ". FORUMS_TABLE. " WHERE attached_forum_id=-1 and cat_id= $cat_id and forum_id<>$forum_id ORDER BY forum_order";

					if( !$result1 = $db->sql_query($sql) )
					{
						message_die(GENERAL_ERROR, "Couldn't get list of attachable Forums", "", __LINE__, __FILE__, $sql);
					}
					if( $db->sql_numrows($result1) > 0 )
					{
						$attachable_forums = '<option value = "-1"'.($forum_attached_id==-1?' selected':'').'> NOT ATTACHED TO ANY FORUM </a>';
						while( $row1 = $db->sql_fetchrow($result1) )
						{
							$s='';
							if ($forum_attached_id == $row1['forum_id'])
							{
								$s = " selected=\"selected\"";
							}
							$attachable_forums .= '<option value="'.$row1[forum_id].$s.'">' . $row1[forum_name] . '</option>\n';
						}
					}
					else
					{
						$no_attachable_forums=1;
					}

				}
   // End Added by Easy Sub-Forums MOD


#
#-----[ FIND ]------------------------------------------------
#

				$forum_id = '';
				$prune_enabled = '';
#
#-----[ AFTER, ADD ]------------------------------------------
#
   // Added by Easy Sub-Forums MOD

					$sql = "SELECT * FROM ". FORUMS_TABLE. " WHERE attached_forum_id=-1 and cat_id= $cat_id ORDER BY forum_order";

					if( !$result1 = $db->sql_query($sql) )
					{
						message_die(GENERAL_ERROR, "Couldn't get list of Categories/Forums", "", __LINE__, __FILE__, $sql);
					}
				if( $db->sql_numrows($result1) > 0 )
				{
					$attachable_forums = '<option value = "-1"'.(($forum_attached_id==-1 || !$forum_attached_id)?' selected':'').'> NOT ATTACHED TO ANY FORUM </a>';
					while( $row1 = $db->sql_fetchrow($result1) )
					{

						if ($forum_attached_id == $row1['forum_id'])
						{
							$s = " selected=\"selected\"";
						}
						$attachable_forums .= '<option value="'.$row1[forum_id].$s.'">' . $row1[forum_name] . '</option>\n';
					}


				}
				else
				{
					$no_attachable_forums=1;
				}
   // END Added by Easy Sub-Forums MOD

#
#-----[ FIND ]------------------------------------------------
#
	$catlist = get_list('category', $cat_id, TRUE);
#
#-----[ BEFORE, ADD ]------------------------------------------
#

   // Added by Easy Sub-Forums MOD

			$forum_attached_id = $attachable_forums;
   // END Added by Easy Sub-Forums MOD


#
#-----[ FIND ]------------------------------------------------
#

			$s_hidden_fields = '<input type="hidden" name="mode" value="' . $newmode .'" /><input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '" />';
#
#-----[ AFTER, ADD ]------------------------------------------
#
   // Added by Easy Sub-Forums MOD

			if ($not_attachable or $no_attachable_forums)
			{
				if ($has_subforums)
				{
					$lang['Attached_Description'] = $lang['Has_attachments'].'<br>'. $lang['Attached_Description'];
					$s_hidden_fields .='<input type="hidden" name="has_subforums" value="1" />';
				}
				if ($no_attachable_forums) $lang['Attached_Description'] = $lang['No_attach_forums'].'<br>'. $lang['Attached_Description'];
				$s_hidden_fields .='<input type="hidden" name="attached_forum_id" value="-1" />';
			}
			else
			{
				$template->assign_block_vars('switch_attached_yes', array());
			}
				$s_hidden_fields .='<input type="hidden" name="old_cat_id" value="'.$cat_id.'" />';
   // END Added by Easy Sub-Forums MOD

#
#-----[ FIND ]------------------------------------------------
#
   
   'S_PRUNE_ENABLED' => $prune_enabled,

#
#-----[ AFTER, ADD ]------------------------------------------
#
   // Added by Easy Sub-Forums MOD
   'S_ATTACHED_FORUM_ID' => $forum_attached_id,
   'S_DETACH_ENABLED'=> $detach_enabled,
   // End Added by Easy Sub-Forums MOD
      
#
#-----[ FIND ]------------------------------------------------
#
   'L_CATEGORY' => $lang['Category'],

#
#-----[ AFTER, ADD ]------------------------------------------
#

   // Added by Easy Sub-Forums MOD
   'L_ATTACHED_FORUM' => $lang['Attached_Field_Title'] ,
   'L_ATTACHED_DESC' => $lang['Attached_Description'],
   'L_DETACH_DESC'	=> $lang['Detach_Description'],
   // End Added by Easy Sub-Forums MOD

#
#-----[ FIND ]------------------------------------------------
#
		$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")
				VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";

#
#-----[ REPLACE WITH ]----------------------------------------
#
   // Modified by Easy Sub-Forums MOD
   
			if (intval($HTTP_POST_VARS['old_cat_id']) != intval($HTTP_POST_VARS[POST_CAT_URL]))
			{
   				$HTTP_POST_VARS['attached_forum_id']=-1;
   			}

		$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, attached_forum_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")
				VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) .  ", " . intval($HTTP_POST_VARS['attached_forum_id']) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
   // End Added by Easy Sub-Forums MOD


#
#-----[ FIND ]------------------------------------------------
#
				$sql = "UPDATE " . FORUMS_TABLE . "
				SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
				WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);

#
#-----[ REPLACE WITH ]----------------------------------------
#
   // Modified by Easy Sub-Forums MOD
			if (isset($HTTP_POST_VARS['detach_enabled']) && isset($HTTP_POST_VARS['has_subforums']))
			{
				$sql = "UPDATE ". FORUMS_TABLE. " SET attached_forum_id=-1 WHERE attached_forum_id=" . intval($HTTP_POST_VARS[POST_FORUM_URL]);
				if( !$result = $db->sql_query($sql) )
				{
					message_die(GENERAL_ERROR, "Couldn't detach subforums", "", __LINE__, __FILE__, $sql);
				}

			}

 			if (intval($HTTP_POST_VARS['old_cat_id']) != intval($HTTP_POST_VARS[POST_CAT_URL]))
   			{
				$HTTP_POST_VARS['attached_forum_id']=-1;
				if (isset($HTTP_POST_VARS['has_subforums']) && !isset($HTTP_POST_VARS['detach_enabled']))
				{
					$sql = "UPDATE ". FORUMS_TABLE ." SET cat_id=". intval($HTTP_POST_VARS[POST_CAT_URL]) ." WHERE attached_forum_id=" . intval($HTTP_POST_VARS[POST_FORUM_URL]);
					if( !$result = $db->sql_query($sql) )
					{
						message_die(GENERAL_ERROR, "Couldn't update subforums to new category", "", __LINE__, __FILE__, $sql);
					}

				}
			}

			$sql = "UPDATE " . FORUMS_TABLE . "
				SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) .", attached_forum_id = " . intval($HTTP_POST_VARS['attached_forum_id']) . ", forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
				WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
   // End Added by Easy Sub-Forums MOD

#
#-----[ FIND ]------------------------------------------------
#
	if( $total_forums = $db->sql_numrows($q_forums) )
	{
		$forum_rows = $db->sql_fetchrowset($q_forums);
	}

#
#-----[ AFTER, ADD ]------------------------------------------
#

	$subforum_rows=$forum_rows;


#
#-----[ FIND ]------------------------------------------------
#

				$template->assign_block_vars("catrow.forumrow",	array(
					'FORUM_NAME' => $forum_rows[$j]['forum_name'],
					'FORUM_DESC' => $forum_rows[$j]['forum_desc'],
					'ROW_COLOR' => $row_color,
					'NUM_TOPICS' => $forum_rows[$j]['forum_topics'],
					'NUM_POSTS' => $forum_rows[$j]['forum_posts'],

					'U_VIEWFORUM' => append_sid($phpbb_root_path."viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"),
					'U_FORUM_EDIT' => append_sid("admin_forums.$phpEx?mode=editforum&" . POST_FORUM_URL . "=$forum_id"),
					'U_FORUM_DELETE' => append_sid("admin_forums.$phpEx?mode=deleteforum&" . POST_FORUM_URL . "=$forum_id"),
					'U_FORUM_MOVE_UP' => append_sid("admin_forums.$phpEx?mode=forum_order&move=-15&" . POST_FORUM_URL . "=$forum_id"),
					'U_FORUM_MOVE_DOWN' => append_sid("admin_forums.$phpEx?mode=forum_order&move=15&" . POST_FORUM_URL . "=$forum_id"),
					'U_FORUM_RESYNC' => append_sid("admin_forums.$phpEx?mode=forum_sync&" . POST_FORUM_URL . "=$forum_id"))
				);

#
#-----[ REPLACE WITH ]----------------------------------------
#
				$sub_error=false;
				$do_template=false;
				if ($forum_rows[$j]['attached_forum_id'] !=-1)
				{
				$ok='';
					for($k = 0; $k < $total_forums; $k++)
					{
						$subforum_id = $subforum_rows[$k]['forum_id'];

						if ($subforum_id == $forum_rows[$j]['attached_forum_id'] && $forum_rows[$k]['attached_forum_id']==-1)
						{
							$ok=TRUE;//normal parent found
						}
					}
					if ($forum_rows[$j]['attached_forum_id']==$forum_id) $ok=FALSE; //attached to itself
					if ($forum_rows[$j]['attached_forum_id']==0) $ok=FALSE; //invalid parent
					if (!$ok)
					{
						$do_template=TRUE;
						$sub_error=true;
					}
				}
				else
				{
					$do_template=true;
				}//attached_forum_id'] ==-1


				if ($do_template)
				{
					$template->assign_block_vars("catrow.forumrow",	array(
						'FORUM_NAME' => $forum_rows[$j]['forum_name'],
						'FORUM_DESC' => $forum_rows[$j]['forum_desc'],
						'ROW_COLOR' => $row_color,
						'NUM_TOPICS' => $forum_rows[$j]['forum_topics'],
						'NUM_POSTS' => $forum_rows[$j]['forum_posts'],

						'U_VIEWFORUM' => append_sid($phpbb_root_path."viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"),
						'U_FORUM_EDIT' => append_sid("admin_forums.$phpEx?mode=editforum&" . POST_FORUM_URL . "=$forum_id"),
						'U_FORUM_DELETE' => append_sid("admin_forums.$phpEx?mode=deleteforum&" . POST_FORUM_URL . "=$forum_id"),
						'U_FORUM_MOVE_UP' => append_sid("admin_forums.$phpEx?mode=forum_order&move=-15&" . POST_FORUM_URL . "=$forum_id"),
						'U_FORUM_MOVE_DOWN' => append_sid("admin_forums.$phpEx?mode=forum_order&move=15&" . POST_FORUM_URL . "=$forum_id"),
						'U_FORUM_RESYNC' => append_sid("admin_forums.$phpEx?mode=forum_sync&" . POST_FORUM_URL . "=$forum_id"))
					);
					if ($sub_error)
					{
						$template->assign_block_vars ('catrow.forumrow.switch_error',array());
					}

					for($k = 0; $k < $total_forums; $k++)
					{
						$subforum_id = $subforum_rows[$k]['forum_id'];
						if ($subforum_rows[$k]['attached_forum_id'] == $forum_id)
						{
							$template->assign_block_vars("catrow.forumrow",	array(
								'FORUM_NAME' => $subforum_rows[$k]['forum_name'],
								'FORUM_DESC' => $subforum_rows[$k]['forum_desc'],
								'ROW_COLOR' => $row_color,
								'NUM_TOPICS' => $subforum_rows[$k]['forum_topics'],
								'NUM_POSTS' => $subforum_rows[$k]['forum_posts'],

								'U_VIEWFORUM' => append_sid($phpbb_root_path."viewforum.$phpEx?" . POST_FORUM_URL . "=$subforum_id"),
								'U_FORUM_EDIT' => append_sid("admin_forums.$phpEx?mode=editforum&" . POST_FORUM_URL . "=$subforum_id"),
								'U_FORUM_DELETE' => append_sid("admin_forums.$phpEx?mode=deleteforum&" . POST_FORUM_URL . "=$subforum_id"),
								'U_FORUM_MOVE_UP' => append_sid("admin_forums.$phpEx?mode=forum_order&move=-15&" . POST_FORUM_URL . "=$subforum_id"),
								'U_FORUM_MOVE_DOWN' => append_sid("admin_forums.$phpEx?mode=forum_order&move=15&" . POST_FORUM_URL . "=$subforum_id"),
								'U_FORUM_RESYNC' => append_sid("admin_forums.$phpEx?mode=forum_sync&" . POST_FORUM_URL . "=$subforum_id"))
							);
							$template->assign_block_vars ('catrow.forumrow.switch_attached_forum',array());
						}
					}
				}


#
#-----[ OPEN ]------------------------------------------------
#
   index.php


#
#-----[ FIND ]------------------------------------------------
#
			$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
				FROM (( " . FORUMS_TABLE . " f
				LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )
				LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )
				ORDER BY f.cat_id, f.forum_order";
#
#-----[ REPLACE WITH ]----------------------------------------
#
   // Modified by Easy Sub-Forums MOD

			$sql = "SELECT f.*, p.post_time, p.post_username,  u.username, u.user_id, t.topic_id, t.topic_title
				FROM ((( " . FORUMS_TABLE . " f
				LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )
				LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )
				LEFT JOIN " . TOPICS_TABLE . " t ON t.topic_last_post_id = f.forum_last_post_id)
				GROUP BY f.forum_id ORDER BY f.cat_id, f.forum_order";
   // END Modified by Easy Sub-Forums MOD



#
#-----[ FIND ]------------------------------------------------
#
	{
		$forum_data[] = $row;
	}
#
#-----[ AFTER, ADD ]------------------------------------------
#
   // Added by Easy Sub-Forums MOD
	
	$attach=$forum_data;
   // END Added by Easy Sub-Forums MOD
	
#
#-----[ FIND ]------------------------------------------------
#
   $forum_id = $forum_data[$j]['forum_id'];

#
#-----[ AFTER, ADD ]------------------------------------------
#

   // Added by Easy Sub-Forums MOD

   $attached_id = $forum_data[$j]['attached_forum_id'];
						if ( $is_auth_ary[$forum_id]['auth_view'] && $attached_id == -1 )
						{
							$attached_forums = array();
							foreach ($attach as $key => $value)
							{
								$sub_forum_id = $value['forum_id'];
								if ($value['attached_forum_id']==$forum_id && $is_auth_ary[$sub_forum_id]['auth_view'])
								{
									//combining topic and post count for forum and subforums
									$forum_data[$j]['forum_posts']=$forum_data[$j]['forum_posts']+$value['forum_posts'];
									$forum_data[$j]['forum_topics']=$forum_data[$j]['forum_topics']+$value['forum_topics'];
									//END combining topic and post count

									//Last post link - check if any of subforums have newest posts and link to them instead
									if ($value['post_time']>$forum_data[$j]['post_time'])
									{
										$forum_data[$j]['user_id'] = $value['user_id'];
										$forum_data[$j]['post_username'] = $value['post_username'];
										$forum_data[$j]['forum_last_post_id'] = $value['forum_last_post_id'];
										$forum_data[$j]['post_time'] = $value['post_time'];
										$forum_data[$j]['username'] = $value['username'];
										$forum_data[$j]['topic_title'] = $value['topic_title'];
									}
									// END last post check

									$unread_topics = false;
									if ( $userdata['session_logged_in'] )
									{
										if (check_unread($value['forum_id']))
										{
											$attach_img = $images['icon_minipost_new'];
											$l_attach_img = $lang['New_posts'];
										}
										else
										{
											$attach_img = $images['icon_minipost'];
											$l_attach_img = $lang['No_new_posts'];
										}
									}
									else
									{
										$attach_img = $images['icon_minipost'];
										$l_attach_img = $lang['No_new_posts'];
									}

									$attached_forums[] = array(
										'sub_img'=>$attach_img,
										'sub_alt'=>$l_attach_img,
										'sub_name'=>$value['forum_name'],
										'sub_url'=>append_sid ('viewforum.php?f=' . $value['forum_id'] )
										);
								}
							}
							
// END Added by Easy Sub-Forums MOD

#
#-----[ FIND ]------------------------------------------------
#


									if ( !empty($new_topic_data[$forum_id]) )
									{
										$forum_last_post_time = 0;

										while( list($check_topic_id, $check_post_time) = @each($new_topic_data[$forum_id]) )
										{
											if ( empty($tracking_topics[$check_topic_id]) )
											{
												$unread_topics = true;
												$forum_last_post_time = max($check_post_time, $forum_last_post_time);

											}
											else
											{
												if ( $tracking_topics[$check_topic_id] < $check_post_time )
												{
													$unread_topics = true;
													$forum_last_post_time = max($check_post_time, $forum_last_post_time);
												}
											}
										}

										if ( !empty($tracking_forums[$forum_id]) )
										{
											if ( $tracking_forums[$forum_id] > $forum_last_post_time )
											{
												$unread_topics = false;
											}
										}

										if ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all']) )
										{
											if ( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all'] > $forum_last_post_time )
											{
												$unread_topics = false;
											}
										}

									}


#
#-----[ REPLACE WITH ]----------------------------------------
#
   // Added by Easy Sub-Forums MOD
$unread_topics=check_unread($forum_id);
   // END Added by Easy Sub-Forums MOD


#
#-----[ FIND ]------------------------------------------------
#


								$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);

								$last_post = $last_post_time . '<br />';

								$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '='  . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a> ';
								
								$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';

#
#-----[ REPLACE WITH ]----------------------------------------
#
   // Modified by Easy Sub-Forums MOD

								if (strlen($forum_data[$j]['topic_title'])>=25)
								{
									$forum_data[$j]['topic_title']=substr($forum_data[$j]['topic_title'],0,25). "...";
								}

								$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);

								$last_post = '' . $last_post_time . '' . '<br />';
								
								$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '='  . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a> <a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
   // END Modified by Easy Sub-Forums MOD

#
#-----[ FIND ]------------------------------------------------
#


								$l_moderators = '&nbsp;';
								$moderator_list = '&nbsp;';

#
#-----[ REPLACE WITH ]----------------------------------------
#
   // Modified by Easy Sub-Forums MOD

								$l_moderators = '';
								$moderator_list = '';
   // END Modified by Easy Sub-Forums MOD


#
#-----[ FIND ]------------------------------------------------
#
								'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
							);

#
#-----[ AFTER, ADD ]------------------------------------------
#
   // Added by Easy Sub-Forums MOD
                     $attached_forum_count = count($attached_forums);
                     if($attached_forum_count)
                     {
                       
					   $template->assign_block_vars('catrow.forumrow.switch_attached_forums', array(
                        'L_ATTACHED_FORUMS' => ($attached_forum_count ==1)? $lang['Attached_forum']: $lang['Attached_forums']
						));
						if (count($forum_moderators[$forum_id]) > 0 )
						{
						   $template->assign_block_vars('catrow.forumrow.switch_attached_forums.br', array());
						}
                        for($k = 0; $k < $attached_forum_count; $k++)
                        {
                           $template->assign_block_vars('catrow.forumrow.switch_attached_forums.attached_forums', array(
                              'FORUM_IMAGE' => $attached_forums[$k]['sub_img'],
                              'FORUM_NAME' => $attached_forums[$k]['sub_name'],
                              'L_FORUM_IMAGE' => $attached_forums[$k]['sub_alt'],
                              'U_VIEWFORUM' => $attached_forums[$k]['sub_url']
                           ));
                        }
                     }
   // END added by Easy Sub-Forums MOD
   
#-----[ FIND ]------------------------------------------------
#
  	} // for ... categories

#
#-----[ AFTER, ADD ]------------------------------------------
#
   }

  
#
#-----[ OPEN ]------------------------------------------------
#
   viewforum.php

#
#-----[ FIND ]------------------------------------------------
#

	$sql = "SELECT *
		FROM " . FORUMS_TABLE . "
		WHERE forum_id = $forum_id";
#
#-----[ REPLACE WITH ]----------------------------------------
#
   // Modified by Easy Sub-Forums MOD

	$sql = "SELECT *
		FROM " . FORUMS_TABLE . "
		WHERE forum_id = $forum_id OR attached_forum_id =$forum_id
		ORDER BY attached_forum_id ASC";
   // END Modified by Easy Sub-Forums MOD

#
#-----[ FIND ]------------------------------------------------
#


if ( !($forum_row = $db->sql_fetchrow($result)) )
{
	message_die(GENERAL_MESSAGE, 'Forum_not_exist');
}

#
#-----[ AFTER, ADD ]------------------------------------------
#
   // added by Easy Sub-Forums MOD
$attachments='';
if ($db->sql_numrows ($result) > 1)
{
	$attachments=TRUE;
}
   // END added by Easy Sub-Forums MOD

#
#-----[ FIND ]------------------------------------------------
#

 make_jumpbox('viewforum.'.$phpEx);

#
#-----[ BEFORE, ADD ]------------------------------------------
#

   // Added by Easy Sub-Forums MOD

if ($forum_row[attached_forum_id]>0)
{
	$parent_lookup=$forum_row[attached_forum_id];
}
   // END Added by Easy Sub-Forums MOD

#
#-----[ FIND ]------------------------------------------------
#
   //
   // Okay, lets dump out the page ...
   //

#
#-----[ AFTER, ADD ]------------------------------------------
#
   // Added by Easy Sub-Forums MOD

if ($attachments)
{

		//
		// Obtain a list of topic ids which contain
		// posts made since user last visited
		//
		if ( $userdata['session_logged_in'] )
		{
			$sql = "SELECT t.forum_id, t.topic_id, p.post_time
				FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p
				WHERE p.post_id = t.topic_last_post_id
					AND p.post_time > " . $userdata['user_lastvisit'] . "
					AND t.topic_moved_id = 0";
			if ( !($result = $db->sql_query($sql)) )
			{
				message_die(GENERAL_ERROR, 'Could not query new topic information', '', __LINE__, __FILE__, $sql);
			}

			$new_topic_data = array();
			while( $topic_data = $db->sql_fetchrow($result) )
			{
				$new_topic_data[$topic_data['forum_id']][$topic_data['topic_id']] = $topic_data['post_time'];
			}
		}

		$sql2 = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id, t.topic_id, t.topic_title
			FROM ((( " . FORUMS_TABLE . " f
			LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )
			LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )
			LEFT JOIN " . TOPICS_TABLE . " t ON t.topic_last_post_id = f.forum_last_post_id)
			WHERE attached_forum_id = " . $forum_id . "
			GROUP by f.forum_id ORDER BY f.forum_order";

		$result2 = $db->sql_query ($sql2);
		if (!$result2 )
		{
			message_die ('Could not gather attached forum info', __LINE__, __FILE__, $sql2);
		}

		if ($db->sql_numrows ($result2) != 0)
		{
			while( $row = $db->sql_fetchrow($result2) )
			{
				$forum_data[] = $row;
			}
			$is_auth_ary = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata, $forum_data);

			$x=0;
			foreach ($forum_data as $row2 => $value)
			{
				if ($is_auth_ary[$value['forum_id']]['auth_view'])
				{
					$x++;
					if ($x==1)
					{
						$template->assign_block_vars ('switch_attached_list',
								   array( 'L_ATTACHED_FORUM' => $lang['Attached_forums'],
										 'L_ATTACHED_TOPICS' => $lang['Topics'],
										 'L_ATTACHED_POSTS' => $lang['Posts'],
										 'L_LAST_POST'=>$lang['Last_Post']
									   )
									);

					}
					$attach_forum_link = append_sid('viewforum.php?f=' . $value['forum_id']);
					$attach_forum_name = '<a href="' . append_sid('viewforum.php?f=' . $value['forum_id']) . '">' . $value['forum_name'] . '</a>' ;
					$attach_forum_desc = $value['forum_desc'];
					$attach_forum_topics = $value['forum_topics'];
					$attach_forum_posts = $value['forum_posts'];
					$last_post_id = $value['forum_last_post_id'];

   					if ( $value['forum_status'] == FORUM_LOCKED )
					{
						$folder_image = $images['forum_locked'];
						$folder_alt = $lang['Forum_locked'];
					}
					else
					{
						$unread_topics = false;
						if ( $userdata['session_logged_in'] )
						{
							$unread_topics=check_unread($value['forum_id']);
						}

						$folder_image = ( $unread_topics ) ? $images['forum_new'] : $images['forum'];
						$folder_alt = ( $unread_topics ) ? $lang['New_posts'] : $lang['No_new_posts'];
					}

					if ( $value['forum_last_post_id'] )
					{

						if (strlen($value['topic_title'])>=25)
						{
							$value['topic_title']=substr($value['topic_title'],0,25). "...";
						}

						$last_post_time = create_date($board_config['default_dateformat'], $value['post_time'], $board_config['board_timezone']);
						
						$last_post = '' . $last_post_time . '' . '<br />';
									
						$last_post .= ( $value['user_id'] == ANONYMOUS ) ? ( ($value['post_username'] != '' ) ? $value['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '='  . $value['user_id']) . '">' . $value['username'] . '</a> <a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $value['forum_last_post_id']) . '#' . $value['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
					}
					else
					{
						$last_post = $lang['No_Posts'];
					}




				 $template->assign_block_vars ('switch_attached_list.switch_attached_present',
										 array
										 (
											'FORUM_FOLDER_IMG' => $folder_image,
											'L_FORUM_FOLDER_ALT' => $folder_alt,
											'FORUM_NAME' => $attach_forum_name,
											'U_VIEWFORUM' => $attach_forum_link,
											'FORUM_DESC' => $attach_forum_desc,
											'TOPICS' => $attach_forum_topics,
											'POSTS' => $attach_forum_posts,
											'LAST_POST_ID' => $last_post,
										 ));
				}
		}

	}
	   $db->sql_freeresult ($result2);
}
   // END Added by Easy Sub-Forums MOD

#
#-----[ OPEN ]------------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments" . $count_sql . "

#
#-----[ IN-LINE FIND ]---------------------------------
#

" . $count_sql . "

#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#

, f.attached_forum_id

#
#-----[ FIND ]------------------------------------------------
#

make_jumpbox('viewforum.'.$phpEx, $forum_id);

#
#-----[ BEFORE, ADD ]------------------------------------------
#

if (intval($forum_topic_data['attached_forum_id'])>0)
{
	$parent_lookup=intval($forum_topic_data['attached_forum_id']);
}
#
#-----[ OPEN ]------------------------------------------------
#
posting.php


#
#-----[ FIND ]------------------------------------------------
#

make_jumpbox('viewforum.'.$phpEx);

#
#-----[ BEFORE, ADD ]------------------------------------------
#

if ($post_info[attached_forum_id]>0)
{
	$parent_lookup=$post_info[attached_forum_id];
}
#
#-----[ OPEN ]------------------------------------------------
#
   /templates/subSilver/admin/forum_admin_body.tpl

#
#-----[ FIND ]------------------------------------------------
#
		<td class="row2"><span class="gen"><a href="{catrow.forumrow.U_VIEWFORUM}" target="_new">{catrow.forumrow.FORUM_NAME}</a></span><br /><span class="gensmall">{catrow.forumrow.FORUM_DESC}</span></td>


#
#-----[ REPLACE WITH ]------------------------------------------
#
		<td class="row2"><span class="gen">
	<!-- BEGIN switch_attached_forum -->
		&nbsp;&nbsp;|__
	<!-- END switch_attached_forum -->
	<!-- BEGIN switch_error -->
		ERROR
	<!-- END switch_error -->
<a href="{catrow.forumrow.U_VIEWFORUM}" target="_new">{catrow.forumrow.FORUM_NAME}</a></span><br />
<span class="gensmall">		
<!-- BEGIN switch_attached_forum -->
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!-- END switch_attached_forum -->
{catrow.forumrow.FORUM_DESC}</span></td>


#
#-----[ OPEN ]------------------------------------------------
#
   /templates/subSilver/admin/forum_edit_body.tpl


#
#-----[ FIND ]------------------------------------------------
#

   <tr>
     <td class="row1">{L_CATEGORY}</td>
     <td class="row2"><select name="c">{S_CAT_LIST}</select></td>
   </tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#

	<tr>
		<td class="row1">{L_ATTACHED_FORUM}</td>
		<td class="row2">
		<!-- BEGIN switch_attached_yes -->
		<select name="attached_forum_id">{S_ATTACHED_FORUM_ID}</select>
		<!-- END switch_attached_yes -->
		<!-- BEGIN switch_attached_no -->
		{L_DETACH_DESC} <input type="checkbox" name="detach_enabled" value="1" {S_DETACH_ENABLED} /><br />
		<!-- END switch_attached_no -->
		{L_ATTACHED_DESC}
		</td>
	</tr>


#
#-----[ OPEN ]------------------------------------------------
#
   /templates/subSilver/index_body.tpl


#
#-----[ FIND ]------------------------------------------------
#

</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>


#
#-----[ REPLACE WITH ]------------------------------------------------
#
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
	  <!-- BEGIN switch_attached_forums -->
	  <!-- BEGIN br -->
	  <br />
	  <!-- END br -->
	  <span class="gensmall"><b>{catrow.forumrow.switch_attached_forums.L_ATTACHED_FORUMS}:</b>
	       <!-- BEGIN attached_forums -->
	        <a class="nav" href="{catrow.forumrow.switch_attached_forums.attached_forums.U_VIEWFORUM}"><img alt="{catrow.forumrow.switch_attached_forums.attached_forums.L_FORUM_IMAGE}" border="0" src="{catrow.forumrow.switch_attached_forums.attached_forums.FORUM_IMAGE}" title="{catrow.forumrow.switch_attached_forums.attached_forums.L_FORUM_IMAGE}" />{catrow.forumrow.switch_attached_forums.attached_forums.FORUM_NAME}</a>
	       <!-- END attached_forums -->
	  <span class="genmed">
	  <!-- END switch_attached_forums -->
</td>

#
#-----[ OPEN ]------------------------------------------------
#
   /templates/subSilver/viewforum_body.tpl

#
#-----[ FIND ]------------------------------------------------
#

	  <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>

#
#-----[ REPLACE WITH ]------------------------------------------------
#

	  <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>

	  	  <!-- BEGIN switch_parent_link -->
	  	   -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
	  	  <!-- END switch_parent_link -->
 -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
 
#
#-----[ FIND ]------------------------------------------------
#
   <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">

#
#-----[ BEFORE, ADD ]-----------------------------------------
#
   
<!-- BEGIN switch_attached_list -->
   <br />
   <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
     <tr>
		<th colspan="2" class="thCornerL" height="15" nowrap="nowrap">&nbsp;{switch_attached_list.L_ATTACHED_FORUM}&nbsp;</th>
		<th width="50" class="thTop" nowrap="nowrap">&nbsp;{switch_attached_list.L_ATTACHED_TOPICS}&nbsp;</th>
		<th width="50" class="thTop" nowrap="nowrap">&nbsp;{switch_attached_list.L_ATTACHED_POSTS}&nbsp;</th>
		<th class="thCornerR" nowrap="nowrap">&nbsp;{switch_attached_list.L_LAST_POST}&nbsp;</th>
     </tr>
	<!-- BEGIN switch_attached_present -->
	<tr>
		<td class="row1" align="center" valign="middle" height="38"><img src="{switch_attached_list.switch_attached_present.FORUM_FOLDER_IMG}" width="46" height="25" alt="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" title="{switch_attached_list.switch_attached_present.L_FORUM_FOLDER_ALT}" /></td>
		<td class="row1" width="75%"><span class="forumlink"><a class="forumlink" href="{switch_attached_list.switch_attached_present.U_VIEWFORUM}">{switch_attached_list.switch_attached_present.FORUM_NAME}</a></span><br /><span class="genmed">{switch_attached_list.switch_attached_present.FORUM_DESC}</span></td>
		<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.TOPICS}</span></td>
		<td class="row2" align="center" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.POSTS}</span></td>
		<td class="row2" align="center" nowrap="nowrap" valign="middle"><span class="gensmall">{switch_attached_list.switch_attached_present.LAST_POST_ID}</span></td>
	</tr>
	<!-- END switch_attached_present -->
   </table>
   <br />
<!-- END switch_attached_list -->

 
#
#-----[ FIND ]------------------------------------------------
#
	  <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>

#
#-----[ REPLACE WITH ]------------------------------------------------
#
	  <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
	  	  <!-- BEGIN switch_parent_link -->
	  	   -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
	  	  <!-- END switch_parent_link -->
 -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>


#
#-----[ OPEN ]------------------------------------------------
#
   /templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------------
#
	<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>

#
#-----[ REPLACE WITH ]------------------------------------------------
#
	<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	 
	  	  <!-- BEGIN switch_parent_link -->
 -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
	  	  <!-- END switch_parent_link -->
 -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
#
#-----[ FIND ]------------------------------------------------
#
	<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td> 
	  

#
#-----[ REPLACE WITH ]------------------------------------------------
#
	<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  	  <!-- BEGIN switch_parent_link -->
	  -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
	  	  <!-- END switch_parent_link -->
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td> 

#
#-----[ OPEN ]------------------------------------------------
#
   /templates/subSilver/posting_body.tpl

#
#-----[ FIND ]------------------------------------------------
#
<td align="left"><span  class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>
#
#-----[ AFTER, ADD ]------------------------------------------------
#
	  	  <!-- BEGIN switch_parent_link -->
	  -> <a class="nav" href="{PARENT_URL}">{PARENT_NAME}</a>
	  	  <!-- END switch_parent_link -->


#
#-----[ OPEN ]------------------------------------------------
#
     /language/lang_english/lang_admin.php
   
#
#-----[ FIND ]------------------------------------------------
#
   //
   // That's all Folks!

#
#-----[ BEFORE, ADD ]-----------------------------------------
#
   // Added by Easy Sub-Forums MOD
   $lang['Attached_Field_Title'] = 'Attached to forum';
   $lang['Attached_Description'] = "This field has been added by sub-forums mod.
   It will display all attachable forums (if available) in this category";
   $lang['Detach_Description'] = "Detach all forums";
   $lang['Has_attachments'] = 'This forum has other forums attached to it. If you assign new category to this forum it will move all it\'s subforums to new category unless you select detach checkbox';
   $lang['No_attach_forums'] = 'No attachable forums in this category';
   // End Added by Easy Sub-Forums MOD
   
#
#-----[ OPEN ]------------------------------------------------
#
    /language/lang_english/lang_main.php
   
#
#-----[ FIND ]------------------------------------------------
#
   //
   // That's all, Folks!

#
#-----[ BEFORE, ADD ]-----------------------------------------
#

   // Added by Easy Sub-Forums MOD

   $lang['Attached_forum'] = 'Sub-Forum';
   $lang['Attached_forums'] = 'Sub-Forums';
   
   // End Added by Easy Sub-Forums MOD

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
:roll: :roll:
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Mesaj gönderen halil »

Yok olmayacak sanırım :roll: :roll:
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
MeQueR
Kayıtlı Kullanıcı
Mesajlar: 203
Kayıt: 28.07.2006, 00:22
Konum: Türkiye

Mesaj gönderen MeQueR »

ha şunu bileydin :lol:

bir de yönetim panelinden stil/değiştir e bak orda altforum v.s varmıdır :? ne bilim her ihtimali değerlendirelim dedim de :lol:
Bu mesaj değiştirilmemiştir.... ayrıntılı bilgi için istediğiniz numarayı çevirin :) ..

NOT: cupranın numarasını çevirirseniz mesuliyet kabul edilmez :roll:

beklediğiniz gibi gelmedim ama olsun :P
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Mesaj gönderen halil »

Ne yazık ki orda alt forum yok.

Ya .css dosyasını komple sildim ftp'den yinede temada en ufak değişiklik olmadı. Demek ki benim temam .css dosyasız çalışıyor :D

Şaka bi yana belli bir yaştan sonra bu işlere girmemek lazımmış bunu öğrendim. Evde çocukların maskarası oldum. :roll:
Bakalım uğraşacağım yine ama olmuyor
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kullanıcı avatarı
halil
Kayıtlı Kullanıcı
Mesajlar: 118
Kayıt: 11.07.2006, 21:24
Konum: ankara
İletişim:

Mesaj gönderen halil »

Renkleri yönetim panelinden style yönetiminden değiştirmeye çalıştım değişiyor ancak sadece yönetim paneli renkleri değişiyor.
Forum yine aynı :?:
Halil UZCAN

Kısa bir süre sonra sitemi tamamlayacağım ( İnşallah :) )
Kilitli

“2.0.x MOD Destek” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 2 misafir