× Joomla Facebook Connect support forum

Topic-icon JFBCConnect for PHPbb3

Active Subscriptions:

None
15 years 3 months ago #8086 by spandey
Hi,

Anyone had any luck integrating facbook with phpbb forum? is it possible to use JFBCConnect somehow?

--Best
Shashank
The topic has been locked.
Support Specialist
15 years 3 months ago #8093 by alzander
Replied by alzander on topic JFBCConnect for PHPbb3
Are you still trying RokBridge? I know you mentioned it worked in another post, so trying to gauge the what you're looking for.

If you're trying to add the Login With Facebook button, and already have the user-syncing working, we can likely give you some snippets of code to add to your PHPBB template which may help fix the problem... but if it's something else, let us know, and we'll see what we can do :)
The topic has been locked.
Active Subscriptions:

None
15 years 3 months ago #8094 by spandey
Replied by spandey on topic JFBCConnect for PHPbb3
Yea Rokbridge works and syncing happens but i want to add fbconnect button on phpbb3 and also want to be using [JFBCLike] tags. Is it possible?

-Best
Shashank
The topic has been locked.
Active Subscriptions:

None
15 years 3 months ago #8099 by fb_650063770
Replied by fb_650063770 on topic JFBCConnect for PHPbb3
I had to outsource someone to do this for me. I was able to integrate JFBConnect with Moodle and phpBB3 using JFusion. However, we had to save the passwords in a unencrypted way. Not advisable if your site needs tight security.

I think if you use Jfusion, phpBB3 will be integrated with JFBConnect. I tried Rokbridge but it didn't work. I wish I had Rokbridge but Jfusion works for both phpBB and Moodle.

I had to outsource because I cannot make it work together with Moodle. I believe Moodle uses a different login system.

Hope this helps. =)
The topic has been locked.
Active Subscriptions:

None
15 years 3 months ago #8100 by spandey
Replied by spandey on topic JFBCConnect for PHPbb3
I have nothing against JFusion but i have been using Joomla<----> Rockettheme for long. Don't want to move to another third party (Just want to keep away from compatibility issues). Moving to JFusion will be my last resort. Also Rockettheme developers are very active i believe. But thanks for your input.

-Best
Shashank
The topic has been locked.
Support Specialist
15 years 3 months ago #8112 by alzander
Replied by alzander on topic JFBCConnect for PHPbb3
Shashank,
I'm going to spew some instructions here, but they're un-tested.. so you may run into issues. If you implement them in PHPBB though, it should be enough to let us see what's wrong (if something is), and give you a few more instructions...
Most of this is copying some code from you Joomla HTML output and hard-coding it into your PHPBB template file. This will basically recreate a lot of what JFBConnect is doing dynamically, and just make it static on your page.

1) Visit your home page, and open up the source HTML
2) Search for jfbconnect.js, you should see a line like below in the <head> section. Copy this to your PHPBB template:
<script type="text/javascript" src="/components/com_jfbconnect/includes/jfbconnect.js"></script>
3) Search for jfbcLogoutFacebook. This will be in a big <script type="text/javascript" block. Copy this whole block to your <head> section of PHPBB
4) Finally, search for "fb:login-button", you should see something like below. Copy this line wherever you want the Login With Facebook button to appear:
<fb :login-button v="2" onlogin="javascript:jfbc.login.login_button_click();">Login With Facebook</ fb:login-button>

Hopefully that makes sense, and will work out well for you. Again, once you get that, I'm sure there will be some things to iron out, but if we can get the Login With Facebook button to appear, we'll be in a good spot. I don't think we'll ever get the [JFBCLike] tag to work, but it's pretty easy to add manually, just so you know.
The topic has been locked.
Active Subscriptions:

None
15 years 3 months ago #8119 by spandey
Replied by spandey on topic JFBCConnect for PHPbb3
Hi,

I am going to do these changes. Can you add me on facebook? I sent you request.

-Best
Shashank
The topic has been locked.
Active Subscriptions:

None
15 years 3 months ago #8120 by spandey
Replied by spandey on topic JFBCConnect for PHPbb3
.../forum/styles/hybrid/template/hybrid.php is this the file i should be editing when you say template?
The topic has been locked.
Active Subscriptions:

None
15 years 3 months ago #8121 by spandey
Replied by spandey on topic JFBCConnect for PHPbb3
How about adding custom code after pulling out from developer.facebook.com? Will that work??? I really tired of working with programming language which so not my expertise......on top of it when it has been coded by someone else :(. I think i will wait for a plugin for PHPbb3 or some1 generous who can come to my rescue. may be you whenever you are free.
The topic has been locked.
Support Specialist
15 years 3 months ago #8126 by alzander
Replied by alzander on topic JFBCConnect for PHPbb3
Shashank,
Unfortunately, I'm not very familiar with PHPBB at all. The steps above will help, but you'd need to have some knowledge of PHPBB to do them, or be able to find it online.

It may be something we try to do, but it won't be for a long while. Another (quick) suggestion I can give is to do something that I'm pretty sure the jFusion people recommend, which is just disabling PHPBB registration, and redirecting any Login and Registration links to the Joomla site, which can then have the Login With Facebook button.

I know that's not all the features you're looking for, but is probably the best I can offer. Any Joomla questions, we're great at.. outside that area is getting outside our expertise quickly.
The topic has been locked.