It also works 'online' if you take out the 'wap' references.
Thanks for that Jonka. Its almost what I've been looking for. I'm no php/mysql expert, but I'd like to adapt your code to show, from the most recently active topic, the topic name, the topic originator and the text from the first post in that topic.
Any suggestions how to do this?
Thanks

Hi
I want to show the first few words of the latest topic, along with the posters name on my homepage. I've checked out extern.php but that just generates a link to the topic.
Any suggestions?
Thanks

3

(2 replies, posted in PunBB 1.2 show off)

Discovered punBB this afternoon, installed it, integrated it into my site (with the help of a couple of posts here wink ), and have it up and running all within a few hours.
This looks a good script - thanks to all concerned.
Visit www.motagator.net, or www.motagator.net/s_punBB/index.php to go straight there.
Just need to wait for my first posters now smile
Cheers
Pash

4

(2 replies, posted in PunBB 1.2 troubleshooting)

Ah!!!  -  RTFM wink
Thanks for the nudge in the right direction.
Its looking better all ready.
Pa

5

(2 replies, posted in PunBB 1.2 troubleshooting)

Hi
If you look at www.motagator.net/s_forums.php, you'll see the punbb forum inside an iframe within my webpage. All the code either side of the iframe is within two templates ('header' and 'footer') and the code looks as follows -

<?php @include("http://www.motagator.net/s_header.tpl"); ?>
<center>
<iframe onLoad="iFrameHeight();" src="http://www.motagator.net/s_punBB/index.php" scrolling="no" scroll="no" id="iframename" marginwidth="0" marginheight="0" frameborder="0" style="width:95%;"></iframe>
</center>
<?php @include("http://www.motagator.net/s_footer.tpl"); ?>

iframes aren't very 'browser friendly' so I'd prefer not to use them.

I notice that there are 'header.php' and 'footer.php' files in the punbb folder. If I include my header.tpl file at the top of the punbb header.php file, it seems to work, but when I put my footer.tpl file at the bottom of the punbb footer.php file, things get screwed!!

Any suggestions?

Thanks
Pash

6

(2 replies, posted in PunBB 1.2 troubleshooting)

OK - Thanks for the reply

7

(2 replies, posted in PunBB 1.2 troubleshooting)

Hi
Just downloaded and installed without problems, except for one issue -
When it came to generating the config.php file, the script to copy was missing the end "?>".
I put it in and all seems well.
Just finding my way around the package now - looks good!!!
Its running inside an iframe at www.motagator.net/s_forums.php
Cheers
Pasher