× Joomla Facebook Connect support forum

Topic-icon Joomla and vBulletin

Active Subscriptions:

None
12 years 8 months ago #12323 by lostinsweden
I have a Joomla 1.5 front end with vBulletin 4.0.6 as my forum. We are using jbridge to link the two and have installed JFBConnect to enable Facebook logins. We've a problem with using login's via JFBConnect to go through to the vBulletin.

Is there a workaround to make this possible?
The topic has been locked.
Support Specialist
12 years 8 months ago #12338 by alzander
Replied by alzander on topic Joomla and vBulletin
We'd need to know a little bit more about your configuration, but we should be able to help you get going.

Please let us know what version of JFBConnect your working with. Also, please post from the account you subscribed from. Priority support is for subscribers only.

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

None
12 years 8 months ago #12350 by lostinsweden
Replied by lostinsweden on topic Joomla and vBulletin
I'm using JFBConnect 3.1.2
The topic has been locked.
Support Specialist
12 years 8 months ago #12351 by alzander
Replied by alzander on topic Joomla and vBulletin
3.1.2 is more than 6 months old, and JFBConnect is currently on version 3.4. Unless you have an active subscription, we won't be able to support such an old version. Please post with your subscriber account, or upgrade to a newer release which has numerous new features and bugfixes. For the full changelog, see:
www.sourcecoast.com/jfbconnect/docs/changelog

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

None
12 years 8 months ago #12500 by lostinsweden
Replied by lostinsweden on topic Joomla and vBulletin
Thanks Alex, we've purchased the latest version and have installed it on the Joomla side and are working on the vBulletin side.
The topic has been locked.
Support Specialist
12 years 8 months ago #12505 by alzander
Replied by alzander on topic Joomla and vBulletin
For the vBulletin integration, you'll need to copy a few things from the Joomla HTML to the vBulletin code to make it work. Specifically, open the Joomla HTML and grab the following bits and insert them into the vBulletin side:
1) In the opening html tag, insert the following namespace:
xmlns:fb="http://www.facebook.com/2008/fbml
2) Search for jfbconnect.js, which should be in a script tag. Take that whole line and move it to vBulletin. Update the path if necessary.
3) Search for "jfbcLogoutFacebook". It will be in a ~5-6 line script tag block. Copy that whole block over to your vBulletin template
4) Search for "fb-root". It will be in a div declaration right after the opening body tag. Copy the entire div id="fb-root" and the block of Javascript code underneath it and paste it into your vBulletin template directly after the opening body tag.

Once done, you should be able to use all the Facebook social widgets by manually adding them to the page. For the login button specifically, search your Joomla page for "fb:login-button" and copy that text over. It's a little different for each site depending on the permissions you require. For this site, it looks like:
<fb:login-button v="2" size="medium" perms="email,publish_stream" onlogin="javascript:jfbc.login.login_button_click();">Login With Facebook</fb:login-button>
For the login button, alternatively, you can use your own image or just a standard text link by following the instructions at the top of the Common Support Questions area:'
www.sourcecoast.com/jfbconnect/docs/common-support-questions

I think that covers it all, but please let us know how it goes!

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

None
12 years 8 months ago #12550 by lostinsweden
Replied by lostinsweden on topic Joomla and vBulletin
Just so I'm certain, I should be searching within the html in the template for our site for the code, correct?
The topic has been locked.
Support Specialist
12 years 8 months ago #12556 by alzander
Replied by alzander on topic Joomla and vBulletin
No. Actually, you should be searching in the output of the page. You basically want all the code that JFBConnect generates, as it's output to the user. Since it's different per site, you want to fetch it by just opening the HTML from your homepage or other similar page that uses JFBConnect and take the code directly from the output, as that will be the 'correct' code for your site.

Hope that makes sense, but if you need anything else, just let us know,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #12698 by lostinsweden
Replied by lostinsweden on topic Joomla and vBulletin
Ok, I have followed all the instructions to add this to the forums but I now have a different problem.
The Facebook Connect isn't setting off the Dual Login. This means that regardless of whether you hit "Facebook Connect" on the Joomla homepage or the VBulletin forum, it only logs in to Joomla. Any ideas on how to fix this?
The topic has been locked.
Support Specialist
12 years 8 months ago #12706 by alzander
Replied by alzander on topic Joomla and vBulletin
I'm not sure, honestly. You may need to talk to the JBridge developers about how to work with different authentication providers on the Joomla side.

My best guess would be that it's the ordering of the Authentication or User plugins. Verify (with JBridge), what order their dual-login plugins should fire.. before, or after other authentication and user plugins, and that may help. If they only work with Joomla User credentials though, and don't use the handshake and authentication provided by other authentication plugins, there may not be a way around the issue you're seeing.

Hope that helps explain and gives you some ideas,
Alex
The topic has been locked.