Well, you could try this:
Code:
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
$show_array = array(11,12,23,24); //example of forum id's you want to show
$cache = array();
foreach($vbulletin->forumcache AS $forumcache)
{
$i = $forumcache['forumid'];
if(in_array($i, $show_array))
{
$cache[$i] = $forumcache;
}
}
$vbulletin->forumcache = $cache;
Notice I changed the code so it
shows the forums you want instead of ignoring forums. (no "!" in front of in_array)
I have no idea how this is going to work. You could be in for a big complicated job. For starters every link has a base path like "http://www.my_forum.com/forum", I don't know how to get the correct path for the threads or forums in the new file/page.