1

(35 replies, posted in PunBB 1.3 discussion)

http://www.liewcf.com/archives/2005/04/ … wordpress/

I used this method.

Good luck.

2

(35 replies, posted in PunBB 1.3 discussion)

zazzou93 wrote:

Hi,

beckham_lkc : Do you try to integrate wordpress theme into punbb (like this method ) ? Does it work ?
I have a problem on this point, see my post

Thanks

zazzou93, i did not use that method. I used the method mentioned in tiendx2002's first post.. maybe you try to redo everything again using that post and my post...

or else, try to list out your settings...

3

(35 replies, posted in PunBB 1.3 discussion)

the code on tiendx2002's first post works for me smile  I am using wordpress 2.8 and punbb 1.3.4

Test results:
1. login using registered wp-user but it <didnt redirect me to the forum>... but was logged in to the forum
2. registered a new user, logged in to the forum, same result as 1.
3. logged in, tried to change passwd, redirected to wp-profile, change passwd, logout, and login again, was able to use the new passwd, login but <didnt redirect me to the forum>
4. try to logout from wp, it did log out from forum. big_smile
5. try to logout from the forum, didnt log me out from wordpress. (just logout from forum) sad

i had the following config:

wp: domain.com
forum: domain.com/forum

define('PUNPATH', './forum'); // path to punbb folder
define('PUNPREFIX', 'pbb_'); // punBB table prefix
define('LANGUAGE', 'English'); // punBB language name, English, etc.


EDITED July 2009:

function punbb_wp_logout()  < look for this function in the plugin
    {
    include PUNPATH.'/config.php';
    setcookie($cookie_name, NULL, time()-3600, '/', 'domain.com', '0');
    }

$base_url = 'http://domain.com/forum';
$cookie_domain = 'domain.com';
$cookie_path = '/';

basically the only things that didnt work are: redirection to the forum after loggin in and point #5.

EDIT: i solve the redirection by replacing the login.php in punbb:

header('Location: http://domain.com/wp-login.php?redirect_to=http://domain.com/forum');

now left item #5.... anyone can enlighten? Thanks a bunch.. wink