I am having a couple problems.
1. How do I get this code to loop more then once. As it is now, it only displays 1 entry and I dont know why.
Code:
//Display The News
$newsquery = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "home_news");
while ($news = $vbulletin->db->fetch_array($newsquery))
{
$newstitle = htmlspecialchars_uni($news['newstitle']);
$newstext = htmlspecialchars_uni($news['message']);
$tid = $news['threadnum'];
eval('$home_newslist = "' . fetch_template('home_newslist') . '";');
}
eval('$home_news = "' . fetch_template('home_news') . '";');
2. How do you pull the latest poll from a certain forum and display it on a custom vB page.