Forumların alt alta dizilmesi

Dark_Angel

Webmaster
Yönetici
Administrator
Katılım
17 Haz 2005
Mesajlar
4,841
Reaction score
0
Puanları
36
Yaş
44
Konum
192.168.0.1
Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> Forum Home Templates -> forumhome_forumbit_level2_post template inde aşağıdakini bul;

PHP:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

alttakiyle değiştir

PHP:
<if condition="$show['subforums']"> 
 
            <table width="100%" cellpadding="1" cellspacing="0" border="0"> 
 
            <tr> 
 
                <td width="50%" align="left" colspan="2"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:</div></td> 
 
            </tr> 
 
            <tr> 
 
                $forum[subforums] 
 
            </tr> 
 
            </table> 
 
        </if>

Daha sonra alttaki her iki templatenin de içeriğini boşaltın, yani silin (zaten sadece virgül vardır)

Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> Forum Home Templates -> forumhome_subforumseparator_post ve
Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> Forum Home Templates ->forumhome_subforumseparator_nopost

Daha sonra forumhome_subforumbit_post template ini açın ve aşağıdaki kırmızı ile belirtilmiş kodları aşağıdaki koddaki gibi ekleyin

Kod:
[COLOR=Red]<td width="50%" align="left" nowrap="nowrap">[/COLOR]
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> 
[COLOR=Red]</td> 
<if condition="$GLOBALS[subrow]"> 
</tr><tr> 
</if> <if condition="$GLOBALS[subrow] = !$GLOBALS[subrow]"></if>[/COLOR]

forumhome_subforumbit_nopost template ini açın aynı şekilde aşağıdaki kırmızı ile belirtilmiş kodları aşağıdaki koddaki gibi ekleyin

Kod:
[COLOR=Red]<td width="50%" align="left" nowrap="nowrap">[/COLOR]
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> 
[COLOR=Red]</td> 
<if condition="$GLOBALS[subrow]"> 
</tr><tr> 
</if> <if condition="$GLOBALS[subrow] = !$GLOBALS[subrow]"></if>[/COLOR]
 
olmadı birşeyy

yaptık ama değişen bir şey olamadı tardım eder isen sevinecemmmmm


acil olarakk tan aynısı uyguladık şimdi ne yapacaz acaba


xx
 
bende yaptım olmadı seninki nasıloldu merak ettim
 
bende denedım ama olmadı gb bıde dahada bozdu valla
 
KodLarı yanlıs yerlestırosunuzdur..Cunku kodlar dogru.Kucuq 1 yerde hata oldumu forum aLLaq bullaq oluyor benımde basıma geldı
 
gerçekten süper oldu eline yüreğine sağlık
 
hala aynısı tüm kodar doru iki kere templateleri resetleyip baştan yaptım oLmadı sağlık oLsun :D
 
Bazı arkadaşlar bu uygulamayı yaparken ve yaptıktan sonra hatalarla karşılaştıklarını söylediler (anasayfada genişleme ve düzensizlikler vesaire); sorun yaşayanlar direk şu metodu denesin; altta ismini ve içeriğini verdiğim templateleri aynen kendikileriyle değiştirsinler...

forumhome_forumbit_level1_nopost
HTML:
<tbody>
	<tr>
		<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
			<center><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></center>
			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
					<if condition="$show['subforums']">

			<if condition="$GLOBALS[subrow] = false"></if>

			<table width="100%" cellpadding="1" cellspacing="0" border="0">

			<tr>

				<td width="50%" align="left" colspan="2"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:</div></td>

			</tr>

			<tr>

				$forum[subforums]

			</tr>

			</table>

		</if>
		</td>
	</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>

forumhome_forumbit_level1_post
HTML:
<tbody>
	<tr align="center">
		<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
		
		<table cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
			<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
			<td>
			<div>
				<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
				<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
			</div>
			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
			<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
		<if condition="$show['subforums']">

			<if condition="$GLOBALS[subrow] = false"></if>

			<table width="100%" cellpadding="1" cellspacing="0" border="0">

			<tr>

				<td width="50%" align="left" colspan="2"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:</div></td>

			</tr>

			<tr>

				$forum[subforums]

			</tr>

			</table>

		</if>
			</td>
		</tr>
		</table>
		
		</td>
		<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
		<td class="alt1">$forum[threadcount]</td>
		<td class="alt2">$forum[replycount]</td>
		<if condition="$vboptions['showmoderatorcolumn']">
		<td class="alt1"><div class="smallfont">$forum[moderators] </div></td>
		</if>
	</tr>
</tbody>
<if condition="$childforumbits">
<tbody>
	$childforumbits
</tbody>
</if>

forumhome_forumbit_level2_nopost
HTML:
<tr>
	<td class="tcat"><span class="smallfont"> </span></td>
	<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">5<else />4</if>">
		<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
		<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
		<if condition="$show['subforums']">
<if condition="$GLOBALS[subrow] = false"></if>
<div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
	</td>
</tr>
$childforumbits

forumhome_forumbit_level2_post
HTML:
<tr align="center">
	<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
	<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
		<div>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
			<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
		</div>
		<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
		<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
		<if condition="$show['subforums']"> 
<if condition="$GLOBALS[subrow] = false"></if>

            <table width="100%" cellpadding="1" cellspacing="0" border="0"> 

            <tr> 

                <td width="50%" align="left" colspan="2"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:</div></td> 

            </tr> 

            <tr> 

                $forum[subforums] 

            </tr> 

            </table> 

        </if> 
	</td>
	<td class="alt2" width="100%" nowrap="nowrap">$forum[lastpostinfo]</td>
	<td class="alt1">$forum[threadcount]</td>
	<td class="alt2">$forum[replycount]</td>
	<if condition="$vboptions['showmoderatorcolumn']">
	<td class="alt1"><div class="smallfont">$forum[moderators] </div></td>
	</if>
</tr>
$childforumbits

forumhome_subforumbit_nopost
HTML:
<td width="50%" align="left" nowrap="nowrap">

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>

</td>

<if condition="$GLOBALS[subrow]">

	</tr><tr>

</if>

<if condition="$GLOBALS[subrow] = !$GLOBALS[subrow]"></if>

forumhome_subforumbit_post
HTML:
<td width="50%" align="left" nowrap="nowrap">

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>

</td>

<if condition="$GLOBALS[subrow]">

	</tr><tr>

</if>

<if condition="$GLOBALS[subrow] = !$GLOBALS[subrow]"></if>

forumhome_subforumseparator_nopost ve forumhome_subforumseparator_post templatelerinin içeriğini de silin...
 
kardeş bu kodlar forumu mahveti ne yaptın sen yaf nasıl düzletecez
 
bu yol oluyo ama mesela diyeli 4 tane alt forum var bu alt forumların ikisini sağa ikisini sola alıyo.
diyelim 5 forum var 3ünü sola 2 si saga alıyo
ve sag tarafa aldıgı o 2 subforum hiza olarak biraz daha düzensiz oluyo.yani biraz daha altta oluyo ne bilim işte
örnek

 
bende de olmadı ben vbulletin 3.5.3 kullanıyorum acaba yanlış versiyuonda mı denedim..bi yardım etseniz..:cool:
 
RedioR' Alıntı:
bende de olmadı ben vbulletin 3.5.3 kullanıyorum acaba yanlış versiyuonda mı denedim..bi yardım etseniz..:cool:

Ya Arkadaşım Aynı Sorun Bendede Var Aslında Alt Forum Anasayfada Gözüküyor Ama Neredeyse Normal Forumlardan Hiç bi Farkı Yok Aynı Boyutta Aynı Görünümde Yani Herkezdeki Gibi Ufak Ufak Deil Ve Hiç Kimse Çözemedi Bu Olayı Bana yardım Edebilecek Arkadaşlar Msn'den Felan Yardım Ederse Sevinirim Lütfe benimkide 3.5.3
 
Bi ilgilenseniz yav bende yapıcam ama korktum bak şimdi yapsam mı ki :(:(
 
Bunları denemeden önce bi metin belgesi oluşturup yedeklerini alın... Yoksa tüm ayarları baştan yapmak zorunda kalabilirsiniz...
 
ellerine sağlık süper işe yaradı bende bunu arıyordum
 
Geri
Üst