There's a few ways to do this. We'd recommend you find a lightbox extension that can display a module in the pop-up. Things like RokBox work well, but there are plenty others. Then, you'll simply need to show the JFBCLogin module in this pop-up. JFBConnect doesn't do it natively, but hopefully the above will get you started.
http://www.sourcecoast.com/extensions/j … -questions
Hope this helps, but if not, or you have other questions, let us know!
I am using a Rockettheme with the login Roxbox popup and the Facebook connect button doesn't do anything ... any ideas on what I might be able to check to get that to work ... if I just use the JFBConnect login as a straight module it works fine... I see where you were investigating this in another thread and mentioned that you knew someone at Rockettheme... would it be helpful if I also posted a request there also?
It's the same answer as above. You'll need to use a custom image to work in the RokBox pop-up, you can't use the default fb:login-button that we use in the Login module.
Look at the following question in the Common Support Questions area, and hopefully you'll be able to implement this easily into either the JFBCLogin module, or the login module of your choice. Of course, if you need help, just let us know!
"Can I use a custom image for the Login With Facebook button?"
worked perfectly ... quick question ... on the image src is there a way to avoid the dns lookup? in other words use something other than "http://my.site.com/images/facebook.jpg"??? It would be faster by eliminating the DNS lookups. Can I reference the images directory directly?
There shouldn't be a dns lookup at all if the file is on the same domain as your site already. Browsers cache the dns lookups, so if you're looking at a page at domain.com, any images from domain.com/images don't need the lookup.
Either way, yeah, you can use relative links links for the image without any issue: <img src="/images/my-better-facebook-login-button.jpg"...
Good luck, and glad to hear that worked. That workaround was specifically for Rokbox issues, but also allows for a little more flexibility in the login button, which was a somewhat common request.
Hi..can someone explain where you add this code for the facebook image? I am also using Rockettheme, and the facebook connect doesn't work with the popup.
Where do I put that code to make it work? Can someone attach how the code should look.. thanks
I'm assuming your using RokBox to pop-up the JFBCLogin module. If not, let us know. To do what you're looking for, you want to create a template override of the JFBCLogin template file. All the steps are below:
1) Copy /modules/mod_jfbclogin/tmpl/default.php to /templates/<YOUR_TEMPLATE>/html/mod_jfbclogin/default.php
2) Edit the new default.php file
3) Look for the lines below (around line 40)
$buttonSize = $params->get('loginButtonSize');
echo $fbClient->getLoginButton($buttonSize); ?>
And replace it with:
Hope that helps, but if you have other questions, just let us know!