Topic: Integrate PunBB 1.3 in a page of Wordpress

Hello
I have a Wordpress blog and a forum with punbb 1.3, now i 'lld like insert the forum in a page of my blog how can i do it?
BYe

Re: Integrate PunBB 1.3 in a page of Wordpress

what exactly do you need?
do you mean you just want to have a separate forum page with a layout similar to blog?
or do you mean more?
could you give us a link kind of "I want just like this"?

Carpe diem

3 (edited by fantasma 2008-08-11 09:11)

Re: Integrate PunBB 1.3 in a page of Wordpress

no forum in _blank page but forum in page of my blog.

A example: http://gallery.menalto.com/forum

Re: Integrate PunBB 1.3 in a page of Wordpress

fantasma wrote:

no forum in _blank page but forum in page of my blog.

A example: http://gallery.menalto.com/forum

Install PunBB to the subdirectory like /forum/ and customize PunBB template using blog's style header and footer. Does it help?
If not, feel free to ask questions.

Carpe diem

Re: Integrate PunBB 1.3 in a page of Wordpress

yes i need help for do it, can help?

Re: Integrate PunBB 1.3 in a page of Wordpress

You might also want to have a look at this if you want to do the job completely:

http://www.rkblog.rk.edu.pl/w/p/punbb-a … on-plugin/

Re: Integrate PunBB 1.3 in a page of Wordpress

thanks, links really interesting, but for now i no need the plugin for integrate users.
only want a forum i a page of my wp, for now.

Re: Integrate PunBB 1.3 in a page of Wordpress

fantasma wrote:

yes i need help for do it, can help?

I can try to explain one way to do it ))

1. Create the static page using you blog's template.
2. Split this file in the place where the page content must be placed. Call these parts header and footer.
3. Modify your /include/template/main.tpl, put header instead of first 9 lines and footer instead of last 2 lines.

Carpe diem

Re: Integrate PunBB 1.3 in a page of Wordpress

ok thanks i will try this

Re: Integrate PunBB 1.3 in a page of Wordpress

<?php
/* 
 Template Name: Forum
 */
  ?>
<?php get_header() ?>
<br />
<div class="leftcontent">
HERE THE INPUT FOR THE FORUM
</div>
<?php get_footer(); ?>

This is a simply page template of WP, i not understand how can call the forum.

In my host i have this:

in root have wp and in a folder have the board punbb, the name folder is forum.

Re: Integrate PunBB 1.3 in a page of Wordpress

fantasma wrote:

In my host i have this: in root have wp and in a folder have the board punbb, the name folder is forum.

Aha... complete theme mixture may be a bit tricky.
The real task is to create a PunBB template similar to your WP template.
To do this take a look at 1.2 instructions:
* http://almosteffortless.com//2005/09/25 … and-punbb/
* http://punbb.informer.com/forums/post/76027/#p76027 and the following discussion.
* http://punbb.informer.com/forums/topic/ … wordpress/

The idea with 1.3 is the same: you need to link WP-template CSS and copy all the HTML (header and footer) into PunBB template (correcting paths and removing WP-tags when necessary).

Carpe diem

Re: Integrate PunBB 1.3 in a page of Wordpress

it's extremly difficult. The CSS not work correctly (the css of my wp not work correclty with the forum).
i will try again. Thanks for the info.

13

Re: Integrate PunBB 1.3 in a page of Wordpress

Im working on a completely new function with the jl-punbb pluging working.

here is what i have so far with the integrations.
http://nalan.org
and
http://bunpai.com

it pulls the cats and menu links as well as the template based from wp into punbb.
i would like to work on this alittle time before i start sharing. right now about 5 files and images.. just going to try to keep it simpler for user.

Q

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 !!!

Re: Integrate PunBB 1.3 in a page of Wordpress

put the menù of wp in main tamplate of punbb?

15

Re: Integrate PunBB 1.3 in a page of Wordpress

sorta.. i have been working on slicing the wp template up and calling it in the main.tpl via <pun_include"header.php"> and so own.
now i can call wp functions inside of punbb.
next will be pun inside of wp ..

Q

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 !!!

Re: Integrate PunBB 1.3 in a page of Wordpress

hi,
  i have seen ur  site http://bunpai.com....the intergration was very good ....can u gide me how to intergrate wordpress and punbb forum ....

i need templates intergration...
sorry my bad english

17

Re: Integrate PunBB 1.3 in a page of Wordpress

Anatoly, can you tell me what to put in wordpress code on right sidebar (www.interfanclub.com), I want to put the 5 latest active themes

Re: Integrate PunBB 1.3 in a page of Wordpress

http://punbb.informer.com/forums/topic/ … wordpress/

19

Re: Integrate PunBB 1.3 in a page of Wordpress

I sawed it after I left this topic

Re: Integrate PunBB 1.3 in a page of Wordpress

I made a total integration between Word Press Multi User (Wpmu) and PunBB and it works very well in all Wpmu-themes.

The thing was that Word Press (Wp) and PunBB have a lot of functions in common. This results in a crash while trying to either open Wp environment in PunBB or the other way around.

The trick then was to rename all the functions, and occurrences of that function, in PunBB to a unique name. This means i.e. that new_post() will be named pun_new_post() and redirect() will get the name pun_redirect().

When all that was done the integration was no problem. I made it work with Wpmu so that when you create your new blog you get a punBB forum as well.

Now the problem is that I can't upgrade my installation or install mods and extensions for PunBB because of all the renamed functions. So my suggestion to the Pun Developers is to have unique names on all the functions. to put the prefix "forum_" is enough (as has been done to most of the functions already).

Thx.

Re: Integrate PunBB 1.3 in a page of Wordpress

Thanks for your explanation.

I'm afraid we can't change function names right now in the 1.3 branch. There are many extensions released, so we have to support the compatibility.

However, this should be taken into account in future releases.

Re: Integrate PunBB 1.3 in a page of Wordpress

Sounds promising. Thanks.