Hide other buttons on Twitter/FB login

13 years 2 months ago #155005 by awhite12
Hide other buttons on Twitter/FB login was created by awhite12
Hi guys,

Is there any way to hide the other login/logout buttons when someone logs into community builder with twitter or facebook?
Here is a picture of my issue:

I have a user logged in with twitter. I want both the facebook "sign in" button and the standard "logout" button to be hidden until the user logs out with twitter.
Generally having the multiple buttons is confusing. Also, if someone is logged in with Twitter or Facebook the standard logout button does not work. They need to use the correct twitter/Facebook button to logout.

Hope that made sense.
Thanks in advanced

Please Log in to join the conversation.

13 years 2 months ago #155014 by krileon
Replied by krileon on topic Re: Hide other buttons on Twitter/FB login
The logout button should be removed with jQuery once a user has logged in through FBC or Twitter. This won't happen if the login module was perhaps altered in any way through. Please ensure you've CB 1.4, un-edited, and latest FBC + Twitter integrations installed.


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 to join the conversation.

13 years 2 months ago - 13 years 2 months ago #155023 by awhite12
Replied by awhite12 on topic Re: Hide other buttons on Twitter/FB login
Just updated both plugins from versions 1.1 to 1.2 and I'm still having the same problem. Using firebug I didn't notice any javascript errors so I'm not sure what the issue is.

You can try it out here: Click (not trying to advertise)
*Note* Login module is at the bottom of the article.

I haven't made any modifications to community builder. The only mods I did were to the plugins themselves to get the long buttons in horizontal mode.

Please let me know if you notice anything.
Thank you

Please Log in to join the conversation.

13 years 2 months ago #155030 by krileon
Replied by krileon on topic Re: Hide other buttons on Twitter/FB login
You likely removed the code during your modifications. Please install latest without modifications and confirm if issue still present or not. On line (FBC: 124, Twitter: 123) is the code responsible for removing the logout button.


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 to join the conversation.

13 years 2 months ago #155035 by awhite12
Replied by awhite12 on topic Re: Hide other buttons on Twitter/FB login
That's what I did when I made my last post post. I upgraded the plugins with no modifications and I still have the same problem.

Please Log in to join the conversation.

13 years 2 months ago #155051 by krileon
Replied by krileon on topic Re: Hide other buttons on Twitter/FB login
Please PM backend login credentials and will take a look. Only the logout button will ever hide, login button does not hide.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.352 seconds

Facebook Twitter LinkedIn