PDA

View Full Version : How can i take latest forum topics and show them on my new Site Layout


hypnoticpimp
12-10-2005, 06:13 AM
Hey , Can someone please tell me how i can take like my latest 5 or 10 topics from a specifc section, of my forum, and show them on a section on my new site layout, not forum?, and does my site have to be .html or .php?

Zubaz
12-21-2005, 11:57 PM
$query = mysql_query("SELECT * FROM `[vb_prefix]_thread` WHERE `open`='1' ORDER BY `dateline` DESC LIMIT 0,8");
There's your query, and it won't call closed threads.

And since you asked, yes - it has to be php.

hypnoticpimp
06-16-2006, 02:06 PM
Thats a query lol. i need php code

roosevelt
06-17-2006, 05:24 AM
You can use my RSSI package to do the same thing :). For example this is showing threads from Games category in my forum. http://www.relforums.com/vrssi.php?id=ltsf&fid=103

vRSSI MOD URL: https://vborg.vbsupport.ru/showthread.php?t=113214