1

Topic: Displaying latest posts away from the forum directory.

Hello.

I'm loving punBB already, simple and effective. smile

My punBB sits in a subdirectory (let's call it 'forum'). My main website is straight on the domain. I would like to get my forums 5-10 latest posts (with only the topic subject visible) and display them in a list at my main website.

I read the wiki's integration section and spotted an example on displaying latest 10 posts, but I'm not sure if it works for me the way I want. I'm not a PHP/backend expert so any info on this would be nice. smile

Many thanks in advance!

(And sorry if this is the wrong section to ask this.)

Re: Displaying latest posts away from the forum directory.

You have to define FORUM_ROOT correctly. This code must work fine:

define('FORUM_ROOT', './forum/');

Re: Displaying latest posts away from the forum directory.

I've managed it very easily here:
http://www.eroyton.co.uk/doku.php

I'm using dokuwiki and it has some very simple syntax to let me embed my latest forum topics.

4

Re: Displaying latest posts away from the forum directory.

Alrighty, so it's doable. I'll give it a shot. Thanks. smile