This works well with the News Slideshow modification if you want to arrange the order in which the stories appear on the slideshow as well. This is what I did to use it that way:
Quote:
Open the "mod_fpslideshow.php" file. Search for "sticky" (only one instance in the entire file) and replace with "threadweight".
Old line of code:
Quote:
$getnews = $db->query_read("SELECT threadid from ".TABLE_PREFIX."thread WHERE attach !='0' AND forumid in($forumid) ORDER by sticky DESC, threadid DESC LIMIT $limit");
|
New line of code:
Quote:
$getnews = $db->query_read("SELECT threadid from ".TABLE_PREFIX."thread WHERE attach !='0' AND forumid in($forumid) ORDER by threadweight DESC, threadid DESC LIMIT $limit");
|
Now use the vb_Cement modification to arrange your sticky news items in the forum you are pulling the news from. Enjoy!
|