Plugin: Add All Nav Links to BP Adminbar

Join this plugin group to follow comments, support topics and reviews.

Testers needed for version 2.1beta! (16 posts)

Started 1 year, 5 months ago by: pcwriter

  • Profile picture of pcwriter pcwriter said 1 year, 5 months ago:

    Here we go folks… for those of you who want to have some fun with the bp-adminbar (and help me get this version of my 1st plugin rolling), V2.1beta of “Add-All-Nav-Links-To-BP-Adminbar” is ready for testing.
    You can download the zip here: http://nowrecovery.com/downloads/add-all-nav-links-to-bp-adminbar2.1beta.zip

    Unzip and upload the add-all-nav-links-to-bp-adminbar folder to your plugins directory.
    Activate the plugin.
    Then, under “Settings” > “BP-WP-Navbar”, you’ll find options to:
    - Hide or display the main theme navigation
    - Hide or display the site name in your new adminbar
    - Hide or display the Login and Signup links in the adminbar
    - Hide or display the “Visit Random” menu
    - Select whether to display top-level Wordpress pages horizontally or in a dropdown menu
    - Define the label for the Wordpress page dropdown (note that 2 menus are provided for if you’re running WP3.0)
    - Define the label for the Buddypress directory dropdown (default = “Community”)
    - Define the font, font-weight and font-style for all menu items
    - Define ALL colors: navbar background, main and sub menu item backgrounds, border, text and hover colors too
    - Set the overall width of the navbar and of sub-menus
    - Set the height of all menu items
    - Adjust margins where required
    - Reposition your fancy new custom navbar anywhere you like, relative to your theme so it scrolls with your pages

    Comments, suggestions, criticism, code revisions… all are welcome!

    Please take my baby for a spin and tell me what you think.

    P.S. – kinks in the wp_nav_menu functions for WP3.0 are still being ironed out, so labels for menus must still be added manually through the plugin’s admin panel for everything to sinc up nicely. Hopefully, @hnla and my little self will get all this together soon!

  • Profile picture of mvvspr mvvspr said 1 year, 5 months ago:

    Just downloaded.Will test it and let you know.

  • Profile picture of Anointed Anointed said 1 year, 5 months ago:

    @pcwriter
    do you have an email contact address that you can post?
    I went to your site and registered to see the bar in action. I was having tons of problems with the s2members system puking all over my account. Was going to try and contact you about it, but you have no contact form on the site for feedback, and I can’t do or go anywhere on the site.

    anyhow, was just trying to help out

  • Profile picture of pcwriter pcwriter said 1 year, 5 months ago:

    @Anointed

    Sorry about the bugginess with s2member. There were conflicts with Branded Login plugin, and s2member restrictions I had previously set. :-(

    I’ve removed all restrictions until I get this figured out so, if anyone else wants to take a look, feel free to dive right in! :-)

  • Profile picture of pcwriter pcwriter said 1 year, 5 months ago:

    @mvvspr

    How’s your test going? Any comments?

  • Profile picture of pcwriter pcwriter said 1 year, 5 months ago:

    To all those who, like me, like to see what they’re getting into before getting into it :-) , here’s a screenshot of the admin panel in this beta version: http://i33.tinypic.com/2nvea8j.jpg

  • Profile picture of mvvspr mvvspr said 1 year, 5 months ago:

    @pcwriter
    The configuration options are excellent.I just played around for a while with the configuration operations.Here is a screenshot of my test

    http://screencast.com/t/NzEzNWJkZ

    The plugin is excellent.

    It would be great if we had an option to choose the colors from admin panel itself.@rustybroomhandle ‘s Buddypress Group CSS has an option to choose colors from admin panel itself.

    Thanks,
    Prashant

  • Profile picture of pcwriter pcwriter said 1 year, 5 months ago:

    @mwspr

    Thanks for the feedback! The options you mention will be included in the next version of the plugin, along with many others (see the first post in this thread).

    If you want those options right now, you can download the beta from my site:

    http://nowrecovery.com/downloads/add-all-nav-links-to-bp-adminbar2.1beta.zip

    Simply overwrite the 2 files (bp-wp-navbar.php and bp-wp-navbar-admin.php), refresh the admin panel page in your backend, and have fun!

    PS – Thanks also for the hi5 here: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/remove-visit-from-the-admin-bar/#post-69463

  • Profile picture of etienne-r Etienne R said 1 year, 5 months ago:

    I just used your beta version. It is much easier to use than the changes in the css file of the previous version. Congratulations.

    Would be great to use this menu as one of the WP menu. See http://www.rosenstiehl.net (I made a kind of it using url).
    Otherwise, how could it be possible to align the BP menu bar with the theme lay-out.

    As you can guess, I am not a programmer.
    Thanks in advance.

  • Profile picture of pcwriter pcwriter said 1 year, 5 months ago:

    @etienne-r

    Thanks for trying it out. To align the adminbar with your theme, add the following to bp.css:

    #wp-admin-bar .padder {
    width:1025px;
    }

    Or simply define that width with the plugin at the Overall navbar width setting.

    I saw your comment in your members directory ;-) To fix the “staircase” effect, add some padding to “ul.item-list li” in bp.css

    If you’re using Firefox, I highly recommend installing installing the Firebug addon. It makes it very easy to identify the css elements you want to change. You can mess around with things as much as you want and see the results right in your browser. When you’re satisfied, simply copy the css rules you’ve modified to your stylesheet and upload.

  • Profile picture of etienne-r Etienne R said 1 year, 5 months ago:

    Many thanks. I’ll try this.
    By the way, where could I find the bp.css?

  • Profile picture of etienne-r Etienne R said 1 year, 5 months ago:

    I found bp.css and it works fine.
    Many thanks

  • Profile picture of pcwriter pcwriter said 1 year, 5 months ago:

    @etienne-r

    You’re welcome! I also noticed that the contents of the members widget in your sidebar is a bit staggered. To solve that, add the following to bp.css:

    div.widget ul {padding:1px;}

  • Profile picture of etienne-r Etienne R said 1 year, 5 months ago:

    Your instruction works fine if included in the “Add HTML/CSS insert” of the Atahualpa theme. The admir bar now looks better.

    Regarding the staircase, the padding instruction does not solve the issue. It looks like the system does not take the avatar in account and do not realign to the left of the zone.

  • Profile picture of pcwriter pcwriter said 1 year, 5 months ago:

    @etienne-r

    The problem is not the avatar not aligning to the left. The problem is that the height of the avatar is greater than the height of the item content, so it aligns to the left but can’t go any further left than the corner of the avatar above it. Try using the “Add HTML/CSS insert” in your theme and increasing the padding to 2 or 3 pixels.

    Aha! I see you just changed the value of “margin-left” in “ul.item-list div.item”. That works but a value of 70px would be suffucient. At a 100px margin, other items that use the same container div might look a bit lost in the wilderness:-)