Skip to:
Content
Pages
Categories
Search
Top
Bottom

Updated the beta

  • Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    Still hoping for some folks to take my baby for a ride. ;-)

    V2.1beta has been updated so it’s no longer necessary to manually enter the labels for WordPress menus in WP3.x. The plugin will fetch whatever custom menu labels you assign in “Appearance” > “Menus” and display them in the adminbar.

    You can download this beta from my site here: http://nowrecovery.com/downloads/add-all-nav-links-to-bp-adminbar2.1beta2.zip

    Comments, suggestions, criticism? All are welcome!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Avatar of etienne-r
    etienne-r
    Participant

    @etienne-r-2

    This new beta version is quite simple to install.
    There is one point I don’t understand. I have now 7 available menus in my Menu list but don’t know how to use them :

    - Menu 1 and Menu 2 come from WP and are use as Page menu and Category menu in Atahualpa. Fine. I can use them in a widget as long as I don’t use the BP functionnalities that overwrite on my sidebars (basic location of the widgets). A method to avoid the loss of the sidebars would be much appreciated.

    - BP-WP-Navbar Menu 1 to 5.
    - – How can we use these once defined ? Please avoid widget solutions (see above)
    - – How could I reuse the BP Admin bar in the theme presentation ?
    - – How could I add new items on the admin bar ?
    - – How could I reuse some of the admin bar items in my WP menus ?

    Sorry for being such a poor user ? Thanks in advance.

    Thanks in advance

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    @etienne-r

    I think you’re a bit confused about how WP3.0 custom menus work, and how the BP-WP-Navbar interacts with them. Let’s see if we can clarify things.

    First of all, this plugin does NOT add adminbar items to WP menus; it works exactly the other way around. It allows you to add your WP menus to the adminbar. The whole idea of the plugin is to make navigation simpler and more intuitive for users in WP/BP installs by combining your theme’s main nav elements and the BP adminbar elements into a SINGLE navigation panel. Once that is done, you can even hide your theme’s main nav panel (no longer required because all your menu items are now in the BP-WP-Navbar) and style/reposition your new navbar to match your theme and scroll with your pages.

    Second, BP-WP-Navbar Menus 1 to 5 are NOT actually menus. They are PLACEHOLDERS for the menus you create in “Appearance” > “Menus”. They allow you to determine in what order your WP menus will appear in the BP-WP-Navbar. You really have only 2 menus (not 7). Here’s how to get them to display in the BP-WP-Navbar:

    Step 1 – You’ve created 2 menus in “Appearance” > “Menus”, with titles “Menu 1″ and “Menu 2″. Make sure you “Save” each menu.
    Step 2 – At the top left of your screen in “Appearance” > “Menus”, there is a “Theme Locations” area with a dropdown select box for each of the BP-WP-Navbar placeholders you wish to use. If you only have 2 WP custom menus, you will only need 2 of the placeholders. Using the dropdown selectors, click on the menu you wish to place in each. “Save” your selections.
    Step 3 – Go to your main site and refresh any page. You will now see your custom WP menus in the adminbar.
    Step 4 – Go to “Settings” > “BP-WP-Navbar” to select the features you wish to enable/disable and customize the look of your new navbar.
    Step 5 – If you want the BP-WP-Navbar to replace your theme’s main nav, make sure to select “Yes” at “Hide Main Nav?”. Then, using the configuration options in the last section, resize the navbar and menu elements, and reposition it wherever you like in your theme. Note that if you resize or reposition the navbar, it WILL scroll with your pages.

    I hope this clears things up a bit. If you have any more questions, give a shout :-)

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    @etienne-r

    Sorry, I just remembered you’re using the Atalhualpa theme. This plugin was designed with child themes of bp-default in mind.

    The “Hide Main Nav?” feature will probably NOT work with that theme because it is highly unlikely that the main nav container uses the same ID as that targeted by the plugin (ul#nav).

    You would need to edit bp-wp-navbar.php to make it work. Find the hide_main_nav function (around line 214), and change ul#nav to the ID of your theme’s main nav container.

    Avatar of etienne-r
    etienne-r
    Participant

    @etienne-r-2

    @pcwriter,
    Thank you very much. Your comments are realy helpful. I’ll try the different bits.
    Have a good weekend

    Avatar of etienne-r
    etienne-r
    Participant

    @etienne-r-2

    Once again thank you very much for your time and effort.
    After a quick test,it works more or less and I have difficulties to report.
    - the admin bar now scrolls with the pages. The width does not work in the BP-WP-Navbar, therefore I kept the code you gave me earlier in the css insert (#wp-admin-bar .padder { width:1098px; } and it works after playing with the header definition in atahualpa.
    - I created a menu (BuddyBook) and use it in the Menu 2 (Atahualpa shows it in the header as the %cat menu) and in a widget. Having it in BP-WP Navbar Menu1 does not work. Does not work better in the BP-WP Menu 5.

    I hope it helps.

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    @etienne-r

    You’re right about the navbar width. That too (like the hide_main_nav function) targets a container unique to bp-default.

    To stop the adminbar from scrolling, you must delete any values you entered in the “Vertical offset” and “Horizontal offset” fields in “Settings” > “BP-WP-Navbar”.

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    @etienne-r

    I’m not sure about your menu problem. I just created a test menu in my install called “Categories” and added a blog category to that menu. Then selected “Categories” from a BP-WP-Navbar” dropdown in “Theme Locations” and saved the selection (silly question: did YOU save your selection?). The menu appears just as it should in my navbar.

    Avatar of Justin Brock
    Justin Brock
    Participant

    @justinbrock

    @pcwriter

    Do you know if this works with
    - Fishbook (BuddyPress BuddyPack) 1.2 by Michael Kuhlmann,
    - Darwin (BuddyPress BuddyPack) 1.2.1 by Michael Kuhlmann, or
    - Facelook 1.08 by LincMe Admin Team

    The first two I think are child themes of the bp default, but I’ve been unsuccessful at making the menus appear. The second isn’t a child theme, but I was able to get something to show up.

    Thanks

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    @justinbrock

    Sorry for taking so long to respond… missed this post :-(

    The plugin has been successfully tested with Fishbook and Darwin themes from WPMU2.9.2 to WP3.0.1-MS (not too sure about Facelook though, never tested it).

    What versions of WP/BP are you running? Do you have any other plugins installed that affect the adminbar? Have you customized the adminbar in your theme in any other way?

    Avatar of Saraswati11
    Saraswati11
    Participant

    @saraswati11

    Hi,

    I’m trying to get this to work on the OnDemand press75 theme. I can get it to work on the admin bar but would like to add to menu that is already there.

    Does this plugin enable an easy way to do that?

    thanks

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    @@saraswati11

    No. This plugin only modifies the bp-adminbar. However, depending on your theme, you can replace the main theme navigation with your customized adminbar.

    If the main nav of your theme disappears after enabling the “Hide main nav” feature, you can reposition the adminbar on your main site to replace the main nav.

Viewing 11 replies - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.