Admin
10-08-2006, 08:38
Sizde supersatforumdaki katagorilen alt alt olması için en basit ve kesin yontemi şöyledir.Templatelerde yapmanız gerekn bir şey yok.
Bende templatelerdeki kodlarla oynayınca sıralama düzgün olmuyordu .Bu sorunu yabancı bir siteden anlatımla çözdüm
-Editleyecegimiz dosyayı bir yerede yedek alın ne olur ne olmaz
bu dosyayı ftp den bulun includes dosyasının içindeki /functions_forumlist.php
Dosyamızı actıktan sonra bu kodları bulun
if (!isset($vbulletin->iforumcache["$parentid"]))
{
return $output;
}
Aşagısına Şu kodları Ekleyin
$output .= "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\" ><tr valign=\"top\"> ";
$cols = 0;
Sonra Şu kodları bulun
if (!empty($output))
{
$subforum = $splitter["$canpost"] . $subforum;
}
if ($depth < $vbulletin->options['subforumdepth'])
{
$output .= construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1);
}
}
}
return $output;
Bununla Değiştirin
//sub-forum hack
if ($depth < $vbulletin->options['subforumdepth'])
{
$cols++;
if ($cols==3)
{
$cols = 1;
$output .= "</tr><tr>";
}
$output .= '<td width="50%">' . construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1) . "</td>";
}
}
}
if ($cols ==1) $output.="<td> </td></tr></table>";
else $output.="</tr></table>";
return $output;
}
//end hack
Aslında yabancı sitede templatelerde bir işlem yapmanızı gerektiginiz söylenmiş ama bendenedim altforumların boyutu küçülüyor tavsiye etmem
*Bu sekil includes/functions_forumlist.php ekledikten sonra tekrar dosyanızı ftp ye atınız.
Sorun oluşursa yedek dosyasını atınız tekrardan
ANLATIM BANA AİTTİR
Bende templatelerdeki kodlarla oynayınca sıralama düzgün olmuyordu .Bu sorunu yabancı bir siteden anlatımla çözdüm
-Editleyecegimiz dosyayı bir yerede yedek alın ne olur ne olmaz
bu dosyayı ftp den bulun includes dosyasının içindeki /functions_forumlist.php
Dosyamızı actıktan sonra bu kodları bulun
if (!isset($vbulletin->iforumcache["$parentid"]))
{
return $output;
}
Aşagısına Şu kodları Ekleyin
$output .= "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\" ><tr valign=\"top\"> ";
$cols = 0;
Sonra Şu kodları bulun
if (!empty($output))
{
$subforum = $splitter["$canpost"] . $subforum;
}
if ($depth < $vbulletin->options['subforumdepth'])
{
$output .= construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1);
}
}
}
return $output;
Bununla Değiştirin
//sub-forum hack
if ($depth < $vbulletin->options['subforumdepth'])
{
$cols++;
if ($cols==3)
{
$cols = 1;
$output .= "</tr><tr>";
}
$output .= '<td width="50%">' . construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1) . "</td>";
}
}
}
if ($cols ==1) $output.="<td> </td></tr></table>";
else $output.="</tr></table>";
return $output;
}
//end hack
Aslında yabancı sitede templatelerde bir işlem yapmanızı gerektiginiz söylenmiş ama bendenedim altforumların boyutu küçülüyor tavsiye etmem
*Bu sekil includes/functions_forumlist.php ekledikten sonra tekrar dosyanızı ftp ye atınız.
Sorun oluşursa yedek dosyasını atınız tekrardan
ANLATIM BANA AİTTİR