BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Login Button For Logged Out Users
- This topic has 9 replies, 5 contibutors, and was last updated 8 years, 10 months ago by Anonymous.
Question
May 14, 2015 at 7:52 am #40196@moatoumHello everyone,
I am trying to add a Login button in the Titlebar for users that are logged out – It is available in the demo:
http://demo.buddyboss.com/boss/I attached 2 screenshots, the first is how my website looks like at the moment and how I want it to be.
Thank you very much,
Kind Regards!Answers
May 15, 2015 at 12:27 pm #40262@
Anonymous@moatoum that comes from user login status and it is added there by default no additional menu need to be created for it , even if you do not set any menu it will keep displaying for logout users.
Regards
Varun DubeyMay 15, 2015 at 12:29 pm #40263@moatoumHello,
That is not what I’m pointing at. I can add the Login menu into the Titlebar and it will show to the logged out users like usual.
What I want is designing it into a blue button like the demo. Not just a hyper-linked text.
Thanks.
May 19, 2015 at 9:14 am #40395@alyssa-buddyboss
AlyssaParticipant@moatoum that button on the demo is NOT custom. It is included with the theme. Perhaps you have a plugin installed that is hiding the wptoolbar. Try disabling plugins and see if the button appears. Can you also provide a link to your website?
May 19, 2015 at 1:10 pm #40415@moatoumI don’t think so, nothing is hidden but the login button isn’t surrounded with a blue button.
You can check by yourself:
http://roschool.netThanks in advance.
May 19, 2015 at 7:39 pm #40421@alyssa-buddyboss
AlyssaParticipant@moatoum there are 3 things we check to display that button, you can view them in header.php about line 295:
if ( !is_user_logged_in() && buddyboss_is_bp_active() && !bp_hide_loggedout_adminbar( false ) )
Check if user is logged in
Check if BuddyPress is active
Check if the wptoolbar is hiddenBy going onto your site I can see I’m not logged in and that BuddyPress is active so the only other option is code added to hide the toolbar.
You can try adding this code to your child theme functions.php to show the toolbar again:
show_admin_bar( true );
May 20, 2015 at 5:47 am #40437@moatoum@tjchester Thank you for your help. You can now go and check that it’s added but it’s still not a blue button. Let’s forget about it if it’s hard to make it like the demo button. There are no plugins to hide it and I believe it has nothing to do with the plugins.
I just want to hide the “Activity”, “Members” and “Groups” pages that logged-out users won’t be able to see them. Please tell me how.
Thanks so much.
May 20, 2015 at 11:34 am #40447@alyssa-buddyboss
AlyssaParticipant@moatoum I see it added to the menu but it should be like the demo. Please email your website and admin credentials to [email protected] and someone will log into your site and try to help you further.
January 18, 2016 at 4:09 pm #56595@lyndonhivemindnetwork-comHow was this fixed? I have the same issue and I see others do too. How can this be de-bugged at least?
January 19, 2016 at 8:01 am #56643@
AnonymousHi @lyndonhivemindnetwork-com, Please paste your website url so I will inspect the issue.
Regards
- The question ‘Login Button For Logged Out Users’ is closed to new replies.