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
Aþagýsýna Þu kodlarý EkleyinPHP- Kodu:if (!isset($vbulletin->iforumcache["$parentid"]))
{
return $output;
}
Sonra Þu kodlarý bulunPHP- Kodu:$output .= "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\" ><tr valign=\"top\"> ";
$cols = 0;
Bununla DeðiþtirinPHP- Kodu:if (!empty($output))
{
$subforum = $splitter["$canpost"] . $subforum;
}
if ($depth < $vbulletin->options['subforumdepth'])
{
$output .= construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1);
}
}
}
return $output;
Aslýnda yabancý sitede templatelerde bir iþlem yapmanýzý gerektiginiz söylenmiþ ama bendenedim altforumlarýn boyutu küçülüyor tavsiye etmemPHP- Kodu://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
*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


Teþekkur:
Beðeni: 




Yer imleri