76 (edited by powerlessracing 2008-05-02 05:27)

Re: Wordpress integration plugin :)

I can confirm that the code I posted in message #71 works with both WordPress 2.5 and 2.5.1 without modifications.

Good luck with 1.3!

Re: Wordpress integration plugin :)

I keep getting an error referring to line 93, and I can only log in to the WordPress - I am not able to log back in to the punBB.

Warning: setcookie() expects at most 6 parameters, 7 given in /my/path/to/wp-content/plugins/jl-punbb.php on line 93

Re: Wordpress integration plugin :)

it depends on PHP version (probably using PHP5 setcookie function params).

My site [PHP, Python, Linux]

79

Re: Wordpress integration plugin :)

Hey, I ran into a problem with this plugin. I used the code which powerlessracing posted on post #72 and everything seemed to go alright after getting my punbb path right. But here's the problem: I am not logged in on my forum even though I have just logged into Wordpress before going there. There's no error messages or whatsoever. Is there anything I could try? I'm using Wordpress 2.5.1 and PunBB 1.2.17.

Re: Wordpress integration plugin :)

I'm preparing (~1 week) an updated version of the plugin for latest punBB 1.2 and latest WP. (and commint soon for 1.3 punBB) and I'll try to add more flexibility to the cookie creation.

My site [PHP, Python, Linux]

81

Re: Wordpress integration plugin :)

Great. I'll wait for that new version then.

Re: Wordpress integration plugin :)

Wordpress 2.6 and punBB 1.2.19 working plugin is on my localhost. I'll release it probably tommorow smile

My site [PHP, Python, Linux]

Re: Wordpress integration plugin :)

hello it's possible to add this plugin to 1.3?

Re: Wordpress integration plugin :)

plugin for 1.3 punbb/fluxbb will be released soon smile

My site [PHP, Python, Linux]

Re: Wordpress integration plugin :)

Plugins released for punBB/fluxBB 1.2 and 1.3

- English
- Polish
smile

My site [PHP, Python, Linux]

Re: Wordpress integration plugin :)

Riklaunim wrote:

Plugins released for punBB/fluxBB 1.2 and 1.3

- English
- Polish
smile

Cool.

Carpe diem

87

Re: Wordpress integration plugin :)

Still not working for me... I probably don't know how to set the cookies/paths right.

Site is located at /localhost/site/ and forum at /localhost/forum/

$cookie_name = 'punbb_cookie';
$cookie_domain = 'localhost';
$cookie_path = 'localhost/';

define('PUNPATH', '../forum'); // path to punbb folder <- is the path correct? 1 or 2 dots?

Someone help this dummie out.

Re: Wordpress integration plugin :)

for localhost it works without modification ($cookie_domain = 'localhost'; $cookie_path = 'localhost/'; )

My site [PHP, Python, Linux]

89 (edited by late 2008-07-18 18:41)

Re: Wordpress integration plugin :)

Still not working... so how about the paths when the forum and site are in different folders? (Site at /localhost/site/ and forum at /localhost/forum/)

Re: Wordpress integration plugin :)

../forum

you can add in footer.php:

print_r(base64_decode($_COOKIE['pun_cookie']));

and compare the cookie when you login in punBB and when you login with wordpress if for the same user cookies will be the same smile (note: WP and punBB admin must have the same password...)

My site [PHP, Python, Linux]

91 (edited by late 2008-07-18 19:28)

Re: Wordpress integration plugin :)

The cookies are not the same.

Re: Wordpress integration plugin :)

very strange neutral

My site [PHP, Python, Linux]

93

Re: Wordpress integration plugin :)

I use this mod and works I did all described. But I get an error on login:
Fatal error: Call to undefined function wp_check_password() in /home/user/domains/domain.com/public_html/wordpress/wp-content/plugins/jl-punbb.php on line 61

Re: Wordpress integration plugin :)

What Wordpress version are you running? wink

My site [PHP, Python, Linux]

95

Re: Wordpress integration plugin :)

2.3.3

Re: Wordpress integration plugin :)

The latest plugin is designed for Wordpress 2.6.

My site [PHP, Python, Linux]

97

Re: Wordpress integration plugin :)

OK... I upgraded and it says wrong username. ^^

98

Re: Wordpress integration plugin :)

I mean it says wrong username when I try to use punbb username. On wordpress username works fine.

Re: Wordpress integration plugin :)

It doesn't use punBB users - only wordpress users will be used.

My site [PHP, Python, Linux]

100

Re: Wordpress integration plugin :)

Oh... Now I got it... Is there any way to move phpbb users to wordpress?