× Joomla Facebook Connect support forum

Topic-icon jfbconnect login with jfusion not working

Active Subscriptions:

None
14 years 5 months ago #16877 by mangup
Hi,
I have jfusion integeration with phpbb3 for dual login purpose. When I use the jfbconnect module and perform a joomla user login than the dual login works. However if I use the login using facebook than I am only logged in Joomla but not in jfusion.

Manish
The topic has been locked.
Support Specialist
14 years 5 months ago #16882 by alzander
While we don't test with that configuration directly, we've had many users integrate with jFusion/PHPBB in the past, so it should be possible.

The main thing we'd initially recommend is that any jFusion User or Authentication plugins are ordered after (higher number) than the JFBConnect ones. That will ensure that JFBConnect has properly logged the FB user into Joomla by the time jFusion tries to do it's thing.

If your site is already configured that way, and you're still having issues, let us know. There are some other good posts I can find for you on getting this setup, as well as how to add the Login With FB button inside PHPBB, if you'd like that as well.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #16885 by mangup
I have following plugins:

Plugin Name Order State
User - JFBConnect Facebook 1 Enabled
User - Joomla! 2 disabled
User -JFusion 3 Enabled
User - AlphaUserPoints - New user 4 Enabled
User - G2Bridge 5 Enabled

Authentication - JFBConnect Facebook 1 Enabled
Authentication - JFusion 2 Enabled
Authentication - Joomla 3 disabled

As I said before the dual login works when I use the login button but does not when I use facebook login. I also noticed that when facebook login is used the phpbb user table increments the user_login_attempts field. This means that the jfusion dual login mechanism is getting fired but somehow the login fails.

Thanks
The topic has been locked.
Support Specialist
14 years 5 months ago #16921 by alzander
I understand that it works with Joomla, just not JFBConnect. We'll still need a little more information, but do have some other recommendations of things to try.

1) What is your "User Creation" setting in JFBConnect set to? My recommendation would be to try the "Full Jooml User" setting, which creates a password for the user. The Facebook User Only option has no password, which may cause issues with PHPBB synching.
2) When you create a new user through the registration process of JFBConnect (using the Full Joomla User setting above), can this user login through Joomla and be logged into PHPBB? That will help narrow some things down.
2) What is G2Bridge?
3) Are you using Community Builder, JomSocial, or any other user management extensions?

Again, we don't test with PHPBB, but will gladly help how we can to figure it out.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #16923 by mangup
Hi Alex, Thanks for the quick response

The user creation is set to full joomla
A new user created through facebook (with full joomla) logs in fine when we use the login button.
g2bridge is for gallery2bridge. I tried by disabling this plugin but that doesnot change the behaviour.
we are using community builder

just curious if the user-joomla and authenticatiom-joomla should be enabled.
my site is www.rajcomics.com
I can send you admin credentials if that helps
The topic has been locked.
Support Specialist
14 years 5 months ago #16926 by alzander
I believe that JFusion basically re-implements the Joomla User and Authentication plugins. While on any other site, yes, the Joomla User plugin should definitely be enabled. The Authentication plugin isn't necessary on some sites if they -only- want to allow Facebook users to log in.

Unfortunately, we may have to do some investigation to figure out what's going on. I don't know JFusion well at all, so it may take some time. Basically, when a user logs in through Facebook, we use a very special username/password combination which our authentication plugin recognized. If it sees that, we log the user in (based on his Facebook credentials) to Joomla. Depending on the following, I can see how jFusion could work, or break:
1) If they pass the username/password along to PHPBB and re-authenticate there, it wouldn't work. That's because our username/password keys that we send aren't real and associated with a specific user.
2) However, if jFusion just looks up the username in PHPBB (or email, or something similar) that corresponds to the current Joomla user, that should work.

Since we know other users have successfully implmented JFBConnect/JFusion, I'd expect it's #2. Unfortunately though, I don't have any suggestions as to how to fix the current problems. Is there any logging that can be enabled in JFusion for the front-end login process that might help determine what's happening on their end?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #16934 by mangup
Dear Alex,
I looked around but there is no frint end logging/debugging for jfusion.
Thanks much for your continued assistance.

Manish
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #16937 by mangup
I did some further tinkering and I was able to make it work. There is a setting in phpbb3 plugin of jfusion:

What method would you like to use for phpbb3 dual login => I changed that to "Let jfusion create cookis without accessing files". Before it was "Call phpbb3 files directly (requires the access to phpbb)"

Not sure if this is the real solution or a workaround but I am getting dual logins now.

BTW I would like to mention that I am really impressed with your software. I have tried the fbconnect plugin of community builder earlier but that was full of problems (500 errors, blank pages). But jfbconnect worked as a charm (except for this minor issue with the dual login with jfusion).

Thanks for all your help and many congratulations for making a wonderful product.

Manish
The topic has been locked.
Support Specialist
14 years 5 months ago #16944 by alzander
Manish,
Thanks so much for letting us know how you got it going. I created a new Common Support Question with what you mentioned:
www.sourcecoast.com/jfbconnect/docs/comm...rt-questions#jfusion
If there are any other suggested settings you have, feel free to let us know.

For your solution, it definitely makes sense that that could make a difference. Basically, JFusion is setting a cookie telling PHPBB that a user is logged in. Using the other method that uses JFusion directly would likely send the unique username/password we send and have PHPBB do it's own authentication and create the cookie. That username/password wouldn't work for any user in PHPBB though, and so it would get denied.

We definitely appreciate the compliments for JFBConnect in general. It's taken many years to get it as solid as it is, and we're very happy that it 'just works' most of the time. Your situation was more complex, but glad it worked nonetheless. If you have time, please consider leaving a rating and review on the Joomla Extension Directory for JFBConnect, or our support. It's certainly not required, but very appreciated!
extensions.joomla.org/extensions/social-...ook-integration/7215

Best of luck to you and your site,
Alex
The topic has been locked.