1 (edited by tbone 2009-01-18 16:02)

Topic: Export forum posts to another page

Hello Everyone,
is there a resource/how-to guide for using extern.php?

Running: PunBB 1.3.2



got it: http://wiki.punres.org/Syndication

2

Re: Export forum posts to another page

Hey gang,
Info on that page appears to be a bit outdated. I'm looking for a way to extend the entire contents of posts within a given forum. Just like what appears to be going on here at punbb.informer.com

as you can see here: http://suncoastaviansociety.org/
I've been able to get the post title extended.

Hope to hear from someone soon.

Re: Export forum posts to another page

thats just a matter of grabbing topic data from the punbb SQL tables..relatively easy if you know a little php.

4

Re: Export forum posts to another page

Around line 258 of extend.php, under list item <li>
Add     "echo $item['description'];"  with whatever formatting you'd like to extend topic message.

Figured I'd share in case anyone else was interested. tongue

5

Re: Export forum posts to another page

That section "Recent Forums posts" in the front PunBB page is looking well.

Can the webmaster post its source?

I'm using PunBB at Forex Forum since 2006.

6

Re: Export forum posts to another page

Any ideas?

This:

        <div class="fsb_widget">
            <h3>Recent Forums Topics</h3>
            <?php include('http://forexsb.com/forum/extern.php?action=active'); ?>
        </div>

Produces:

Bad request. The link you followed is incorrect or outdated.


I'm using  URL Scheme - folder based.

I'm using PunBB at Forex Forum since 2006.

7 (edited by User33 2009-01-23 18:29)

Re: Export forum posts to another page

Use this instead:

<ul>
<?php echo file_get_contents('http://forexsb.com/forum/extern.php'); ?>
</ul>

8

Re: Export forum posts to another page

Excellent!!! Thank you.

I'm using PunBB at Forex Forum since 2006.