Skip to:
Content
Pages
Categories
Search
Top
Bottom

Question about activity bar

  • I installed the facelook theme and the activity bar at the top does not show. When I am in the admin panel, I can see the activity bar. How can I add the activity bar so it sits at the top of the page, just like it does here on buddypress.org?

    THANK YOU!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Facelook is a third party theme and a WP one have you followed all the steps to convert it to BP ready i.e run through the template pack procedures?

    The BP adminbar requires the wp_footer() hook in the footer.php file, when it’s displayed it’s positioned ‘fixed’ relative to the browser viewport

    Support for third party work will always be limited here as majority focus needs to be with BP core issues

    I understand that the focus here is on BP core issues, but I appreciate your help. What I am wondering is this. I know the BP install has the activity bar files. What would be the code to simply display the activity bar at the top? For example, in the admin panel I can see the activity bar at the top and it works perfect. Is there a simple code I can drop into my header to display the activity bar?

    The issue is really why it’s not displaying in the first place, does footer.php have that hook I mentioned above? Problem is that we have no particular knowledge of what this custom theme has done or whether you have followed all the steps with the template pack to make a BP ready set of files including a certain amount of hand editing of files – although judging by the fact you mention no other issues you likely have.

    Yes, everything is running fine. I am fairly certain the theme does not include activity bar. I.e. the buddypress plugin has all the files for it, but the theme does not include it. I’d like to add it in. I’m not sure what hook to look for in footer.php. Again, I feel like adding the activity bar is just a matter of placing the correct code in my header to display it. Any idea what that code would be?

    Also, thank you again for the help. I really appreciate it!

    This is what it says in styles.css:

    `/* > Admin Bar


    */

    #wp-admin-bar, #wp-admin-bar.padder {
    height: 0;
    display: none; /* Hide it- not required. */

    }

    /* > Header


    */`

    Well it’s hidden! can’t say why as it’s a custom theme.

    if you want to see if it works enclose the ruleset in comments

    `
    /*
    #wp-admin-bar, #wp-admin-bar.padder {
    height: 0;
    display: none; /* Hide it- not required. */

    }
    */
    `
    Of course this will depend on whether the original styles for adminbar are being called and whether they suit the layout as to whether anything is seen.

    Well let me ask a different way. I am mainly interested in the “notifications” feature in the nav bar. Do you know what the code would be for me to put in my header a link that says “notifications” and when I have a new message or friend request, it will say so just like the nav bar does here?

    this page in the codex explains how the adminbar functions:

    https://codex.buddypress.org/theme-development/modifying-the-buddypress-admin-bar/

    Cool, thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Question about activity bar’ is closed to new replies.
Skip to toolbar