Topic: fluxBB/punBB and Wordpress integration plugin

I've made a plugin for Wordpress that integrates user system with punBB (WP manages login/logout/register and password change for itself and for punBB - one way integration). To use this plugin you just install it in you Wordpress and proceed with the instructions smile

Plugins released for punBB/fluxBB 1.2 and 1.3

- English
- Polish

smile

Re: fluxBB/punBB and Wordpress integration plugin

Nice smile
Hmm, instead of having people edit FluxBB files you should write an extension that performs the proper functions smile

Re: fluxBB/punBB and Wordpress integration plugin

1.2 is unpluggable for this, but I see what can be made with 1.3 when I get some free time smile

Re: fluxBB/punBB and Wordpress integration plugin

Yeah, that's what I meant wink

Re: fluxBB/punBB and Wordpress integration plugin

Just got this plugin working so it makes the users in both WP & Flux, but it seems like new registred users becomes subscriders in the WP userlist; and moderators in the forums userlist.

Is this a bug or can I change this somehow?

In the forum admin -> users -> groups,
I have "member" as default group.

Also ive tried to google for login redirect to "home" instead of WP panel, but i guess that is a Q for another thread.

Great job on the plugin btw.

Edit: I use WP2.6 and fluxbb-1.3-beta2.

Last edited by essius (2008-07-20 16:31:12)

Re: fluxBB/punBB and Wordpress integration plugin

hm.... registered users go to group_id 4 which in 1.2 was a group for normal users. (punbb_user_register in plugin  file)

Re: fluxBB/punBB and Wordpress integration plugin

Can you use the correct $forum_config/$pun_config value rather than a hardcoded value?

Re: fluxBB/punBB and Wordpress integration plugin

riklaunim wrote:

hm.... registered users go to group_id 4 which in 1.2 was a group for normal users. (punbb_user_register in plugin  file)

Is it as follows..
1 - admin
2 - guest
3 - member
4 - moderator
..?

Guess I shouldnt mess around with this myself. Can you hint me with some codepaste?

Re: fluxBB/punBB and Wordpress integration plugin

I'll look at the changes in 1.3 and release a fixed version smile

Re: fluxBB/punBB and Wordpress integration plugin

riklaunim wrote:

I'll look at the changes in 1.3 and release a fixed version smile

Sounds great smile

There also seem to be a problem when delete a user; the user stays on the forum side if deleted from WP, and vise versa.

Also the new cookie in WP2.6 makes the login break. (there are some info about that at bbPress, they have problems with it to.)

Re: fluxBB/punBB and Wordpress integration plugin

essius wrote:

There also seem to be a problem when delete a user; the user stays on the forum side if deleted from WP, and vise versa.

The plugin doesn't handle user deletion. (And the plugin works only from the WP side)

essius wrote:

Also the new cookie in WP2.6 makes the login break. (there are some info about that at bbPress, they have problems with it to.)

It works for me on localhost smile



jl-punbb 0.0.07.2008.01 for 1.3 released smile with fixed user synchronization. Download link is the same.

Re: fluxBB/punBB and Wordpress integration plugin

riklaunim wrote:
essius wrote:

There also seem to be a problem when delete a user; the user stays on the forum side if deleted from WP, and vise versa.

The plugin doesn't handle user deletion. (And the plugin works only from the WP side)

essius wrote:

Also the new cookie in WP2.6 makes the login break. (there are some info about that at bbPress, they have problems with it to.)

It works for me on localhost smile



jl-punbb 0.0.07.2008.01 for 1.3 released smile with fixed user synchronization. Download link is the same.

Thx for the quick update smile

About the cookies,
I run Flux in domain.com/forum/ and WP in domain.com/wp/ - with the setting to domain.com is the WP (the WP method of get-blog-header and change in WP-admin). The variations ive tried in flux config for cookies always get me logged out/i must login or the msg that cookies has not been set when going from WP to Flux and try to login.

Any solution from the top of youre head?

Re: fluxBB/punBB and Wordpress integration plugin

I use http://localhost/X/forum/ http://localhost/X/wp/ in tests and it works without any changes to cookie config in punBB/fluxBB 1.3. Try to check if the cookie is created when you login to WP and compare it value with a cookie created when you login to punBB (without the redirects). If the values are the same - then something with the cookie config is wrong.

Last edited by riklaunim (2008-07-21 19:59:46)

Re: fluxBB/punBB and Wordpress integration plugin

riklaunim wrote:

I use http://localhost/X/forum/ http://localhost/X/wp/ in tests and it works without any changes to cookie config in punBB/fluxBB 1.3. Try to check if the cookie is created when you login to WP and compare it value with a cookie created when you login to punBB (without the redirects). If the values are the same - then something with the cookie config is wrong.

Thank you P! smile

It works just fine now.

Re: fluxBB/punBB and Wordpress integration plugin

this may be a bit of topic. but im running wordpress 2.6. i would like to have a page that says "forum" and when you press it you will come to wp-login.php and after loggin in there it will take you to the forums.

is that possibel?

Last edited by debil (2008-07-27 21:26:56)

Re: fluxBB/punBB and Wordpress integration plugin

Try to hack the Wordpress Theme smile

Re: fluxBB/punBB and Wordpress integration plugin

since this plugin is 1 way it would be a good idea to "force" your users to login thru the wp-login.php before coming to the forum.

otherwise i think it will be very confusing.

Re: fluxBB/punBB and Wordpress integration plugin

the punBB modification part adds redirection to wordpress login form for punBB links like register, login, change password smile

Re: fluxBB/punBB and Wordpress integration plugin

riklaunim wrote:

the punBB modification part adds redirection to wordpress login form for punBB links like register, login, change password smile

smile thats great. sorry i didnt tryed your plugin out before asking these silly questions. great work anyway smile

Re: fluxBB/punBB and Wordpress integration plugin

just tryed the plugin. having problems with the cookie settings i think. i got the wp install running on www.mydomain.com in the root. and the fluxbb install in www.mydomain.com/forum

how do i need to set
$cookie_domain = '';
$cookie_path = '/';

it seems to work flawless when i put wordpress in www.mydomain.com/wp/ and flux in www.mydomain.com/forum/

also is it possibel to get a redirect when you have logged in? its a little bit irritating when logging in on the forum and it throws you back to the wp portal dashboard.

Last edited by debil (2008-07-28 00:36:04)

Re: fluxBB/punBB and Wordpress integration plugin

Try to set one of those variables to mydomain.com smile As for redirect back to forum - try to find a WP login plugin that supports redirects and use it instead of the standard login page.

Re: fluxBB/punBB and Wordpress integration plugin

Ah, the dashboard thing after the login is something that irritates me, too. I use the MiniMetaWidget plugin für Wordpress but the redirect function doesn't work when logging in from the forum.

I also have a logout problem. If I click logout in Wordpress I'm definitly logged out. If I click logout in the forum I'm still logged in at Wordpress. Is this working as intended or did I make a mistake somewhere?

Anyway, I'm very happy about the whole integration possibility thing.

Re: fluxBB/punBB and Wordpress integration plugin

logout from forum also needs a redirect.. will be done.

I didn't used MiniMetaWidget - if it's made correctly it should use Wordpress api calls - then the plugin should work.

Re: fluxBB/punBB and Wordpress integration plugin

mmm does this work with 1.3 latest dev , i mean i am doing a wordpress and Fluxbb Site so i will need it

Sports2All: Watch Online all the Sports (Wrestling, Football, Cricket & All other Sports)

Re: fluxBB/punBB and Wordpress integration plugin

use the "punBB 1.3.* and Wordpress 2.6" version smile