Skip to Content Skip to Menu

CB Login issues

  • baparks
  • baparks
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 0
10 years 3 months ago #246659 by baparks
CB Login issues was created by baparks
Hi All!

I have a rather unique situation. I'm building a site that only needs Google signon, no cb or joomla login necessary or needed. Further it needs to be hidden (no problem there as all I have to do is create a transparent png image....
I've tested a few 3rd party extensions but they all need administrator intervention, except the cb connect plugin. I click "Sign in with Google" and as an end user I'm basically done.

My problem is knowing how to edit the cb login module to turn OFF everything I DON'T need to show, except the actual Google button!

I could use some help, fast!

Secondly I think that would be an interesting option to include in future updates to the cb login module.

Patiently sitting here in front of my computer screen, waiting for a reply.

Brian

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 3 months ago #246680 by krileon
Replied by krileon on topic CB Login issues
There is no option to shut all that off. You'd need to modify the module and strip out the HTML or use CSS to hide it, but that won't stop the functionality of the login process. To stop the functionality you could use CB Auto Actions and a redirect action to redirect away on the onBeforeLoginFormDisplay trigger.


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.

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

  • baparks
  • baparks
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 0
10 years 3 months ago #246684 by baparks
Replied by baparks on topic CB Login issues
I'm not sure what you mean "redirect action to redirect away on the onBeforeLoginFormDisplay trigger"
but I'll investigate.

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

  • baparks
  • baparks
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 0
10 years 3 months ago - 10 years 3 months ago #246692 by baparks
Replied by baparks on topic CB Login issues
I figured it out, but not with CB Auto Actions

EDIT

Oops. No I didn't
Last edit: 10 years 3 months ago by baparks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 3 months ago - 10 years 3 months ago #246709 by krileon
Replied by krileon on topic CB Login issues
You need to create a CB Auto Actions action that acts on the onBeforeLoginFormDisplay trigger and is of type Redirect. This will prevent users from reaching the login page. There's just no easy way to have what you want as we've no option to shut off login. Will discuss internally and see about adding a new Login Method option to shut it off.

Update: Ok, we've agreed to add a Login Method option of None so normal login method can be shut off. This would allow you to use CB Connect for your only login method. This will be available for next CB 2.0 release.


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.
Last edit: 10 years 3 months ago by krileon.

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

  • baparks
  • baparks
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 0
10 years 3 months ago - 10 years 3 months ago #246710 by baparks
Replied by baparks on topic CB Login issues
I actually figured it out, JUST NOW!
In the mod_cb_login I commented out the password code:

and the username code:

And the Login button code:

Then I made the google icons black to blend in with the background ,

After I sync-ed my users again it all works!!!

I actually tried to post the code I commented out using the code insert button but it didn't work.

If you don't have your mouse directly over the hidden button, you don't see it. See attachment.
Attachments:
Last edit: 10 years 3 months ago by baparks.

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

Moderators: beatnantkrileon
Powered by Kunena Forum