Topic: Pulling news from PunBB forum

It's probably been asked before, but I was wondering if there
was a PHP script that would let me specify a forum to pull the latest xx posts
to put on the main page of my website.
I had a script like this for phpbb but wasn't really sure what to search for.

Thanks
-JustBlaze

Re: Pulling news from PunBB forum

See Recent 10 posts section in wiki for example.

Carpe diem

3 (edited by JustBlaze 2008-10-06 02:32)

Re: Pulling news from PunBB forum

Fatal error: Call to a member function query_build() on a non-object in (deleted this)/index.php on line 55

I'm getting that error with the script from the wiki.
Do you guys have any idea how to fix it?

Thanks
-JustBlaze

Re: Pulling news from PunBB forum

JustBlaze wrote:
Fatal error: Call to a member function query_build() on a non-object in (deleted this)/index.php on line 55

I'm getting that error with the script from the wiki.
Do you guys have any idea how to fix it?

Do you heve PunBB 1.3 RC or later (not 1.2 or 1.3 beta) installed?

After

require FORUM_ROOT.'include/common.php';

you should have a variable $forum_db initialized as an object.

Carpe diem