Support » Plugins » [Plugin: BuddyPress Admin Bar Mods] Dashboard link

Viewing 7 replies - 1 through 7 (of 7 total)
  • Ah yes, and I haven’t tested it on my subfolder install yet. I’ll make sure the next release has this fixed, hopefully released sometime this week with some other options I want to start on.

    Thanks for the input.

    Thanks for the work! I will be testing it and let you know how things work.

    I found that if my WP installation is in a subfolder of the root directory (like: http://website/v1 ) the dashboard link doesnt point to the right destination (http://website/v1/wp-admin), but points to the standard link (http://website/wp-admin)

    Please check into this.

    With wordpress 3.0 finally out, I’ll probably start development on this plugin again. I’ve developed several other plugins now so I’m pretty confident I’ll take care of the bugs in 1 fell swoop in the next update in September.

    I wrote up a tutorial on adding menu items, drop down menus, & drop downs with flyouts Via a plugin file meaning its upgrade safe.
    Could be useful while this plugin is still being developed..

    The link is here:
    http://erikshosting.com/wordpress-tips-code/adding-custom-menus-links-flyout-dropdowns-to-the-buddypress-bar/

    ha … this is still broken — and would be so *easy* to fix in the first place:

    look for this part of the code:

    // **** "Current Site Admin" Menu (visible when not logged in) ******** //
    function bp_adminbar_currentsite_menu() {
    	global $bp; ?>
    	<li class="align-right" id="bp-adminbar-currentsite-menu">
    		<a href="/wp-admin/">Dashboard</a>
    	</li>
    	<?php
    }

    and replace
    <a href="/wp-admin/">Dashboard</a>
    by
    <a href="<?php bloginfo('wpurl'); ?>/wp-admin/">Dashboard</a>

    drop some php around it so it isn’t visible to non-logged in users, or subscribers. There is already a login button on the bp bar anyway..

    function bp_adminbar_currentsite_menu() {
    	global $bp;
    if ( is_user_logged_in() && (current_user_can('edit_posts'))) { ?>
    	<li class="align-right" id="bp-adminbar-currentsite-menu">
    	<a href="<?php bloginfo('wpurl'); ?>/wp-admin/">Dashboard</a>
    	</li>
    <?php
    }
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: BuddyPress Admin Bar Mods] Dashboard link’ is closed to new replies.