Skip to Content Skip to Menu

How to get 3rd party login "apps" to open in pop up windows when using CB Connect?

9 years 5 months ago #265340 by delhi-expat
I'm using the latest versions of Community Builder (2.0.9) and CB Connect (7.0.0-Beta.3) on my site, and am wondering - is there any way to have the "sign in with facebook" (for example) page open up in a pop up as opposed to a full page login screen in the current window? In other words, I'd like for the facebook login screen to show as a pop-up of sorts when my users click "sign in with facebook" (or any of the other social media networks). Is this possible to do?

Also, is it possible to change the color of the buttons to something other than the default blue?

Would appreciate it if you could let me know.

Thanks! :cheer:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #265383 by krileon

I'm using the latest versions of Community Builder (2.0.9) and CB Connect (7.0.0-Beta.3) on my site, and am wondering - is there any way to have the "sign in with facebook" (for example) page open up in a pop up as opposed to a full page login screen in the current window? In other words, I'd like for the facebook login screen to show as a pop-up of sorts when my users click "sign in with facebook" (or any of the other social media networks). Is this possible to do?

You can't, it doesn't utilize popup usage for many reasons. It doesn't work on mobile, many browsers will block the popup, and it requires a JS hook to wait for the window to close before an internal redirect can be made to perform the login behavior on the main window.

Also, is it possible to change the color of the buttons to something other than the default blue?

Each button has a unique CSS class based off its provider so it can be styled however you like using those classes (e.g. cbConnectButtonFacebook). Right click and inspect element in Chrome or Firefox for their classes. Please note their colors are based off the social sites guidelines.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: delhi-expat

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum