1

Topic: Pulling latest PunBB forum threads onto the sidebar of my wordpress

Is there a way to have a section on the sidebar of my Wordpress site called "Recent Forum Posts" or even better "Most Commented Forum Posts"?

Basically have forum topics (say, 5 of them) posted to the sidebar of my wordpress site,, hopefully depending on which topics are having the most discussion?

Does anyone know of a mod like this? There is one for Wordpress that does this with PhPBB, but I'd like to be able to do this with PunBB.

Any suggestions?

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

just include the extern file and that will give you a list.

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

please could you be more clearly?
I'm interested too smile

4

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

Open extern.php and the intructions are in there.

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

extern.php seems a very good idea!

6

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

That's what I use on my sites, click the sig links.

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

I wish I could use extern.php.

When I do, it's incredibly slow.  It slows down the loading of the site.  Any ideas?  My site is fast, my forums are fast.  I can't explain why trying to pull in a few titles is so slow.

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

I'm going to have to try this agian, it was giving me a php error when I tried to put the code into my template...

9 (edited by bob-smith 2006-04-09 19:34)

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

I get errors for including extern.php?action=online, why could this be? i followed the instructions in extern.php and included it, double-checked the code & the address (my address = my URL, replaced for this post).

"Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /(my-address) on line 43

Warning: main(http://(my-address)/extern.php?action=active): failed to open stream: Success in /(my-address) on line 43

Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /(my-address) on line 43

Warning: main(http://(my-address)/extern.php?action=active): failed to open stream: Success in /(my-address) on line 43

Warning: main(): Failed opening 'http://(my-address)/extern.php?action=active' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /(my-address) on line 43"

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

anyone?

11

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

go to mod forum section.you ll see ajaxed extern.php topic..


i did it with that code (of course fixed some)

12 (edited by chasix 2006-05-07 21:09)

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

Yes extern works great with getting the latest topics; is there a way to show some of the message as well with extern.php
thanks.

13

Re: Pulling latest PunBB forum threads onto the sidebar of my wordpress

yes there is a way to display the topic and the message in the main index file
http://punbb.org/forums/viewtopic.php?id=11476
news_punbb.
i moded a css template and used bit of this plugin.
http://bunpai.com

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!