Login in pop-up/lightbox

Login in pop-up/lightbox

Been looking all over for a solution and haven't really found one that is suggested or used. Any help would be appreciated.

fb_782343432
Neil
useravatar
Offline
13 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

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.

Some modules, be aware, will require you to use a custom Login With Facebook button, instead of the default we use. That's because there can be Javascript conflicts between Facebook and the pop-up. A custom button will let you use any image, or text, for the button. You can read more about how to do that below, starting with the 2nd question:
http://www.sourcecoast.com/extensions/j … -questions

Hope this helps, but if not, or you have other questions, let us know!

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

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?

Thanks!

fb_677898977
Mark
useravatar
Offline
92 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

Mark,
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?"

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

Got it ... thanks!

fb_677898977
Mark
useravatar
Offline
92 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

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?

fb_677898977
Mark
useravatar
Offline
92 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

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.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

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

Mark

ozidoggy
useravatar
Offline
14 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

Mark,
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)

Code:

        $buttonSize = $params->get('loginButtonSize');

    echo $fbClient->getLoginButton($buttonSize); ?>

And replace it with:

Code:

 ?>

<a href="javascript:void(0)" onclick="jfbc.login.login_custom();"><img src="linktoimage.jpg" /></a>

Hope that helps, but if you have other questions, just let us know!

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

GREAT!
Thank you for the support.

ozidoggy
useravatar
Offline
14 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login in pop-up/lightbox

No problem, and glad we could help! If you need anything else, just let us know!

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11497
Total Polls:
0
Total Posts:
48401
Posts today:
6
User Info
 
Total Users:
47466
Newest User:
BetsyLopez2
Members Online:
1
Guests Online:
834

Online: 
PhC
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program