Page 1 of 1

Get latest post

Posted: Sun Sep 15, 2002 8:46 am
by Trygve
Is it possible to use php to get the latest threads in a forum?
and show them like this, on a web page:

Latest post in forum:
*post1
*post2
*post3

Posted: Sun Sep 15, 2002 9:28 am
by hob_goblin
yes, using regular expressions and the filesystem functions.

I personally, would just download a hack since there are already alot out there.

Try looking around at http://www.phpbbhacks.com if it's a phpbb

Posted: Sun Sep 15, 2002 9:36 am
by Trygve
ITs a vbbuletin board.

Posted: Sun Sep 15, 2002 9:48 am
by hob_goblin
google it, 'vbulletin hacks'

Posted: Sun Sep 15, 2002 12:32 pm
by MattF
or you could do a simple DB query "SELECT * FROM posts ORDER BY timestamp DESC LIMIT 10"