Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

CBActivity doesn't recognise a login if from another system

11 years 3 months ago - 11 years 3 months ago #231044 by andrewheritage
I offer my users the chance to log in with JFBConnect but if a user logs in with that system the trigger onAfterLogin in CBAutoactions does not work. I realise that the login comes from a third party but wonder if CB should still see the login?

One option is probably to look at switching to the new CBConnect but when I tried that it has buttons with the end missing so looks really bad! (I could be wrong but it looks like you create the button by adding together lots of 'slices' but you don't add one at the end to 'finish off' the right hand side of the button?)
Attachments:
Last edit: 11 years 3 months ago by andrewheritage.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago - 11 years 3 months ago #231066 by krileon
It acts on CB login trigger so it will only work with logins through CB. It does not and will not work with 3rd party systems unless they directly implement activity logging or fire CBs login trigger. Will probably work fine in the future when we've a system plugin to route Joomla triggers to CB triggers so we can act on them.

One option is probably to look at switching to the new CBConnect but when I tried that it has buttons with the end missing so looks really bad! (I could be wrong but it looks like you create the button by adding together lots of 'slices' but you don't add one at the end to 'finish off' the right hand side of the button?)

Your best option is to switch to CB Connect as it will properly fire CB triggers. Your template appears to be conflicting with the buttons styling. I can suggest some CSS fixes, but you'll need to provide a URL where I can inspect the buttons source. You may PM me the URL if you'd like it kept private (don't need login credentials, just need to see the page of your screenshot).


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

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

11 years 3 months ago - 11 years 3 months ago #231067 by andrewheritage
The login url is

www.buzzytantra.com/user

however on my test site I tried switching to the standard Beez5 template and although the buttons look a bit better (text is centred more) it is still the same that the right hand edge of the button is missing (see comparison in attached image)
Attachments:
Last edit: 11 years 3 months ago by andrewheritage.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago #231077 by krileon
Have reviewed your install and the only issue I see is the text is force aligned right. There is no end to the button. It's just a repeating background. You can see how they all look below on the CB Connect page.

www.joomlapolis.com/cb-solutions/cb-connect


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.

11 years 3 months ago #231081 by andrewheritage
Yes I understand the buttons have no end, that it is just a repeating pattern, that was my point really!

In my (humble) opinion the buttons look a bit odd, since every other button I use on my site and see elsewhere does have a right end side, whereas these ones look like they have had the end chopped off with a knife!

Any ideas why the text is right aligned, since the main CB login button (which does have a right border!) is centred ok?

Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago - 11 years 3 months ago #231084 by krileon

Yes I understand the buttons have no end, that it is just a repeating pattern, that was my point really!

I don't know what to tell you. That's how they're designed and have been for a very long time. You're welcome to edit their CSS and change them however you please. A full size button is included, which you could tell it to use in CSS or use to get the edge of the image and add the edge with CSS somehow. You can find the button images at the below location.

components/com_comprofiler/plugin/user/plug_cbconnect/images/

In my (humble) opinion the buttons look a bit odd, since every other button I use on my site and see elsewhere does have a right end side, whereas these ones look like they have had the end chopped off with a knife!

You're welcome to adjust them as needed. You can find the button CSS at the below location.

/components/com_comprofiler/plugin/user/plug_cbconnect/css/buttons.css

Any ideas why the text is right aligned, since the main CB login button (which does have a right border!) is centred ok?

The below CSS is causing them to be right aligned.

IN: templates/jt004_j25/css/styles.css
ON: Line 46
Code:
#login-form a { display: block; text-align: right; }

Removing the text align will allow them to left align as designed.


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

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

Moderators: beatnantkrileon
Powered by Kunena Forum