× Joomla Facebook Connect support forum

Topic-icon RC3, JomSocial Integration, The Next Steps

Support Specialist
15 years 2 months ago #171 by alzander
JFBConnect RC3 was just released and has the feature that just about everyone has asked for: JomSocial integration.
If you'd rather see it in action, then letting me explain, go to our demo site:
facebook.sourcecoast.com

Log in with Facebook, and you'll see your avatar and JomSocial fields automatically populated.

How does JomSocial Integration Work?
There's a new configuration panel called "JomSocial". In here, you can enable JomSocial Profile creation. The options available are to:
1) Automatically import the users FB avatar into JomSocial
2) Select from 20 different FB profile fields and map them to any JomSocial textarea or textbox fields. These will automatically be populated with the user's FB data upon registration.

Why RC3?
We're software developers and generally agree that a Release Candidate shouldn't have huge new feature in it. However, we chose to add them in before the final release for the following reasons:
1) This way, any module developed in the future will be able to see the 'js_enable' configuration setting and act accordingly. This will make module development and compatibility much simpler.
2) You guys wanted it so much!

Going forward
The next steps for JFBConnect are to find and fix any bugs. We don't plan on any new features before the stable release (hopefully in a week or so).

After that, we plan to give a quick primer on how to make your own modules to integrate with JFBConnect and tie Facebook functionality into your Joomla (and possibly JomSocial powered) website. We will also be creating modules, but anyone in the community will be welcome to contribute their free or paid modules.

We hope you enjoy this release!
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #173 by Clark
Great! Can''t wait to try it on my site tonight. I'll post up results tomorrow here and on JomSocial, maybe you can get a few new customers!
The topic has been locked.
Support Specialist
15 years 2 months ago #175 by alzander
Thanks, while we test everything quite a bit, we love to hear feedback (good or bad). Now that we have a demo site setup (outside of CMS Market), that may help people do a 1-1 comparison when things do go wrong.

More customers always does help get more done and lets us focus more on support... to that end, good reviews help get more customers ;)
CMS Market Review Link
JED Review Link
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #180 by gedmonstone
I must say, I was very excited when I downloaded the lates version RC3. But all has not gone well, basically, log in using FaceBook Connect works well, but when I log out, Safari tries to take the user back to the home page, but eventually drops the connection to the server with the error message that there has been too many redirects.

OK, so I am sure we can fix this. My next question, is how do I play around with the CSS etc. Basically, the default style is too large for my logon area, and I do not want to move my logon to another module. Is it possible to simply show the FaceBook connect and logout icons in a module, without the username / password / register and Open ID links. This way, I could present just the FaceBook link in a module somewhere, and at the same time, keep my normal log on module in the header of my template.

There is a site using FaceBook connect very well, <!-- w --><a class="postlink" href="www.jost.com">www.jost.com, are they using your component, or have they built their own. The way they have it working, is exactly what I want to achieve.

So many questions, but thanks for the great component, and I am truly excited about the thought of getting it working.

Kind regards

Gary
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #182 by Clark
Hi Gary, I also found the default login module too large for my liking so I modified it myself. I tried initially to take the facebook connect part out and integrate that into an existing module, but it was too difficult for me to get working properly. What I did instead was to take the good parts out of yoologin and integrate those into the standard jfb login module instead.

The file that you want to modify is not actually a css file but rather default.php in the tmpl folder within the module folder.

My modified module can be seen at [url:1apf5r21]http&#58;//www.mightyfightinghawks.com[/url:1apf5r21] I can post up the code tonight, if you want it let me know.
The topic has been locked.
Support Specialist
15 years 2 months ago #183 by alzander
Be careful with modifying that file (or at least make backups for now). With each release until stable, we're packaging the login module with the component to make sure that everyone's using the same version (easier to help locate and debug problems). So when you install a new package, it will overwrite that file.

We'll look into making the module have more parameters to be able to disable most/all other fields than the FB Connect button in the future though, I'm sure others would like that too.
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #184 by ceshelman
Clark,

Please post your login module. It looks perfect!

Thanks, Carl.

Clark wrote: Hi Gary, I also found the default login module too large for my liking so I modified it myself. I tried initially to take the facebook connect part out and integrate that into an existing module, but it was too difficult for me to get working properly. What I did instead was to take the good parts out of yoologin and integrate those into the standard jfb login module instead.

The file that you want to modify is not actually a css file but rather default.php in the tmpl folder within the module folder.

My modified module can be seen at [url:29y65l9c]http&#58;//www.mightyfightinghawks.com[/url:29y65l9c] I can post up the code tonight, if you want it let me know.

The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #185 by gedmonstone
Clark, I am impressed with the way you modified the module, it looks perfect. However, like my installation, your Facebook Connect does not seem to be working. I have tried to register on your site 3 time now, but with no luck. The first attempt took me to the screen where I can type my username and password, and allow the connect, however, when I clicked to allow, the Facebook connect sub window just went blank, and would not close. Now when I try again, the window locks up.

Any thoughts.

Gary
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #186 by gedmonstone
Clark, I just tried your site again, and things have got worse. Your site now looks like it is down, I only get the following page:-

Warning: Missing argument 1 for JFBConnectFacebookHelper::_getUserInfo(), called in /home/mfh/public_html/plugins/authentication/jfbconnectauth.php on line 48 and defined in /home/mfh/public_html/components/com_jfbconnect/helpers/facebookhelper.php on line 174

Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in /home/mfh/public_html/administrator/components/com_jfbconnect/assets/facebook-api/facebookapi_php5_restlib.php:2458 Stack trace: #0 /home/mfh/public_html/administrator/components/com_jfbconnect/assets/facebook-api/facebookapi_php5_restlib.php(1232): FacebookRestClient->call_method('facebook.users....', Array) #1 /home/mfh/public_html/components/com_jfbconnect/helpers/facebookhelper.php(179): FacebookRestClient->users_getInfo(NULL, Array) #2 /home/mfh/public_html/plugins/authentication/jfbconnectauth.php(48): JFBConnectFacebookHelper->_getUserInfo() #3 /home/mfh/public_html/libraries/joomla/user/authentication.php(121): plgAuthenticationJFBConnectAuth->onAuthenticate(Array, Array, Object(JAuthenticationResponse)) #4 /home/mfh/public_html/libraries/joomla/application/application.php(528): JAuthentication->authenticate(Array, Array) #5 /home/mfh/public_html/includes/application.php(187): JApplication->login( in /home/mfh/public_html/administrator/components/com_jfbconnect/assets/facebook-api/facebookapi_php5_restlib.php on line 2458

Sourcecoast :- Any thoughts as to what is going on? I am keen to use your component, but with the results we are seeing, I am afraid I will have to steer clear of it for now. Your comments are appreciated.
The topic has been locked.
Active Subscriptions:

None
15 years 2 months ago #187 by Clark
Yeah, it's not working as I had hoped just yet. I've got another topic in these forums about my pop up issues. Sourcecoast asked for some data earlier today and I guess he will try to locate the issue when he gets a chance.

The site works if you close the popup and navigate deeper into the site, but that's far from ideal for my visitors. The only errors I've been getting are redirect loops though, it's never been down due to the component, but I'm about to head home and try out RC3. I'll post uip my code so you can do what you like with it with your own installs. I'm not sure whether it will work with RC 3 but I will try it our soon.

I'll update once updated.

Cheers,
The topic has been locked.