powerlessracing

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!

Last edited by powerlessracing (2008-05-02 05:27:38)

rhondalicious

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

Riklaunim

Re: Wordpress integration plugin :)

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

My site [PHP, Python, Linux]

late

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.

Riklaunim

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]

late

Re: Wordpress integration plugin :)

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

Riklaunim

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]

fantasma

Re: Wordpress integration plugin :)

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

Riklaunim

Re: Wordpress integration plugin :)

plugin for 1.3 punbb/fluxbb will be released soon smile

My site [PHP, Python, Linux]

Riklaunim

Re: Wordpress integration plugin :)

Plugins released for punBB/fluxBB 1.2 and 1.3

- English
- Polish
smile

My site [PHP, Python, Linux]

Anatoly

Re: Wordpress integration plugin :)

Riklaunim wrote:

Plugins released for punBB/fluxBB 1.2 and 1.3

- English
- Polish
smile

Cool.

Carpe diem

late

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.

Riklaunim

Re: Wordpress integration plugin :)

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

My site [PHP, Python, Linux]

late

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/)

Last edited by late (2008-07-18 18:41:56)

Riklaunim

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]

late

Re: Wordpress integration plugin :)

The cookies are not the same.

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

Riklaunim

Re: Wordpress integration plugin :)

very strange neutral

My site [PHP, Python, Linux]

nekys

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

Riklaunim

Re: Wordpress integration plugin :)

What Wordpress version are you running? wink

My site [PHP, Python, Linux]

nekys

Re: Wordpress integration plugin :)

2.3.3

Riklaunim

Re: Wordpress integration plugin :)

The latest plugin is designed for Wordpress 2.6.

My site [PHP, Python, Linux]

nekys

Re: Wordpress integration plugin :)

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

nekys

Re: Wordpress integration plugin :)

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

Riklaunim

Re: Wordpress integration plugin :)

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

My site [PHP, Python, Linux]

nekys

Re: Wordpress integration plugin :)

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