Alt Forumlar Alt alta dizilsin

Slaughter

New member
Katılım
22 Ağu 2005
Mesajlar
287
Reaction score
0
Puanları
0
Konum
Your Dreams
Admin CP >>> Templateler >>> Style Manager (Tema Düzenleyici) >>> « » >>> Forum Home Templates >>> forumhome_forumbit_level2_post

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


bunun hepsini altakile deiştirin
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


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

Alttaki Templatelerde altaki kodlari sekildeki gibi ekliyin
Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> « » -> Forum Home Templates -> forumhome_subforumbit_post

Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> « » -> Forum Home Templates ->forumhome_subforumbit_nopost

bunların ikisine de alttaki kodla
ra kırmızı olanları şekildeki 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]

----

Eyer Eklentiyi Kurduktan sora alt forumlarin dizilişinde bi terslik olursa alttaki ayarlari yapin duzelir ;)

Admin CP -> Templateler -> Style Manager (Tema Düzenleyici) -> « » -> Forum Home Templates -> forumhome_forumbit_level1_nopost
forumhome_forumbit_level1_post
forumhome_forumbit_level2_nopost
forumhome_forumbit_level2_post

bu 4 templatede de alttaki kodları bulup, kırmızı renkli kodları şekildeki gibi ekleyin


Kod:
<if condition="$show['subforums']">

			[COLOR=Red]<if condition="$GLOBALS[subrow] = false"></if>
[/COLOR]
			<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>


Hergece yatarken forum un yedegini kesin alin benim cok yandi ole basim sizde yasamayin sorun ;)
 
Başka bir alternatifte

functions_forumlist.php dosayasını açın ve bu kodu bulun

PHP:
foreach($iforumcache["$parentid"] AS $forums)

üstüne bu kodları ekleyin

PHP:
$output .= "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\" ><tr valign=\"top\"> ";
    $cols = 0;

bu kodu bulun

PHP:
eval('$subforum = "' . fetch_template("forumhome_subforumbit_$canpost") . '";');
                if (!empty($output))
                {
                    $subforum = $splitter["$canpost"] . $subforum;
                }
                if ($depth < $vboptions['subforumdepth'])
                {
                    $output .= construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1);
                }
            }
        }
    }
    return $output;
}

bununla değiştirin

PHP:
eval('$subforum = "' . fetch_template("forumhome_subforumbit_$canpost") . '";');
                //sub-forum hack
                if ($depth < $vboptions['subforumdepth'])
                {
                    $cols++;
                    if ($cols==3)
                        {
                        $cols = 1;
                        $output .= "</tr><tr>";
                        }
                $output .= "<td width=50%>" . construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1) . "</td>";
                }
            }
        }
    }
    $output.="</tr></table>";
    return $output;
// end sub-forum hack
}
 
keşke dark ınkini yapsaydım yaws dostum forum dağıldı gitti başka style yüklü değildi biton üye kaldım öle

şimdilik geçici bi tema kullanıyorum ama bana bunun nasıl düzeltileceğini açıklarsan sevinirim dostum

ayrıca varsa güzel bi tema çok ii olur hh ye benzeyen:)
 
bende dediğim gibi forum gitti :) sadece online olanlar gözüküyo forum ortalarda yok anasını satim:)

edit:mavercik

yaptım valla:)
 
acil yardımmmmmmmm

zaten sorunum da bu eklentileri yapamıyorumm


aktiflik vb alt başlıklar çıkmıyor azil yadım istiyorummm
 
Dark_Angel anlatımınıza teşekkürler uyguladım anlatımınızı peki şimdi alt forum oluşturmak için ne yapmam lazım acaba...
 
ben yapıyorum ama daha cok bozuluyor goruntu ???
 
Arkadaşlar ikinizin dediklerinide yaptım hiçbir deişiklik yok bu işte bir yanlışlık olmalı bnm ki 3.0.7 bu eklenti başka bir versiyona ait olmasın gerçi böyle bişi duymadım ama diğer arkadaşlar size de sözümher zaman yedek alın ;)
 
Dark'ın verdiği kodlar sorunlu arkadaşlar...
onu denedim ya kodlarda bi sorun var ya da bilmiyorum ama sorunlu:)
 
Dark_Angel' Alıntı:
Başka bir alternatifte

functions_forumlist.php dosayasını açın ve bu kodu bulun

ne yalan sölim hala bu php dosyasını bulamadım!!! :( ne FTP de ne de templatelerde bi yardım bea.... :( herkese kolay gelsin :d
 
Dark_Angel' Alıntı:
Başka bir alternatifte

functions_forumlist.php dosayasını açın ve bu kodu bulun

PHP:
foreach($iforumcache["$parentid"] AS $forums)

üstüne bu kodları ekleyin

PHP:
$output .= "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\" ><tr valign=\"top\"> ";
    $cols = 0;

bu kodu bulun

PHP:
eval('$subforum = "' . fetch_template("forumhome_subforumbit_$canpost") . '";');
                if (!empty($output))
                {
                    $subforum = $splitter["$canpost"] . $subforum;
                }
                if ($depth < $vboptions['subforumdepth'])
                {
                    $output .= construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1);
                }
            }
        }
    }
    return $output;
}

bununla değiştirin

PHP:
eval('$subforum = "' . fetch_template("forumhome_subforumbit_$canpost") . '";');
                //sub-forum hack
                if ($depth < $vboptions['subforumdepth'])
                {
                    $cols++;
                    if ($cols==3)
                        {
                        $cols = 1;
                        $output .= "</tr><tr>";
                        }
                $output .= "<td width=50%>" . construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1) . "</td>";
                }
            }
        }
    }
    $output.="</tr></table>";
    return $output;
// end sub-forum hack
}

Ya arkadaşlar bende alt forum görünüyor ama nerdeyse birleşik gibi bi yardım ederseniz sevinirim
 
ya arkadaş şu yazdığın yanlış kodlar yüzünden az daha forum gidiyordu zor kurtardım eyer kodlar da bi yanlışlık varsa ya silin yada düzeltin bilmeyenlerin forumu gidebilir yoksa.Bu sorunu ben değişiklik yaptığım templatelerde orjinaline geri dönder şıkkını kullanarak hallettim yapamayanlar böyle yapabilir...
 
phonemon' Alıntı:
Başka bir alternatifte

functions_forumlist.php dosayasını açın ve bu kodu bulun

ne yalan sölim hala bu php dosyasını bulamadım!!! :( ne FTP de ne de templatelerde bi yardım bea.... :( herkese kolay gelsin :d


O DEDIGIN DOSYA includes klasorunun icinde dostum

includes/functions_forumlist.php
 
arkads ıkısınıde denedım hıcbı segısıklık yok
 
Geri
Üst