Log in

View Full Version : Latest Threads from a Certain Forum to Display on ForumHome?


Death Star
11-22-2005, 09:46 PM
Is there a way to display the latest threads from only a certain forum in a table on the homepage?

I have a news table in a left column that I would like to have automatically update with the latest threads in the news section, and only the news section.

http://www.overclockstop.com

Thanks :)

bump

Death Star
11-24-2005, 07:58 AM
bump***

Anybody? :surprised:

Vierie
11-24-2005, 09:17 AM
You could try this hack: https://vborg.vbsupport.ru/showthread.php?t=83230

You would have to change the xml-file a bit.

Find:
// fetch the permissions for each forum
global $vbulletin;
$forumperms = array();

Below add:

$limitfids = x;

x would be the ID of the forum, from which you want to have the threads displayed.

Find:// ## HIDE FORUMS WITHOUT THE CANVIEW PERMISSION ##
if (!($forumperms[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums']) {
$limitfids .= ','.$forum['forumid'];
}

Remove it.

Find:
AND forumid NOT IN (0$limitfids)

Change to:
AND forumid IN (0$limitfids)

If I didn't forget something critical that should work, but give me some feedback.

Death Star
11-24-2005, 06:25 PM
Thank you so much :D Works like a charm!