Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter AIPman1

    (@aipman1)

    Perhaps I wasn’t clear? I did accomplish everything I wanted with just the few small changes I made. One word change, removing one line of code that placed the additional pages of a site next to it’s name in the alphabet presentation part, and changing 'href' => $admin_url), to 'href' => str_replace('wp-admin/','',$admin_url), in the add the site part.

    I also commented out the search as I didn’t want that, but that was easy too. If I meed to MAKE this a different plug in i don’t know. But it actually wasn’t hard to accomplish what I wanted with it once I figured out what did what in the code. I’m no coder. lol.

    The network still shows to those who have that access, and the pages a user has access to are accessible in the This Site so if it is a site they own, they can go to the dashboard then, or if it isn’t, things only show that they have permissions for, etc. seems perfect to me now.

    Thread Starter AIPman1

    (@aipman1)

    ok folks, for those looking…this accomplishes the alphabet links going to the site not the dashboard with no other frills…

    //Add the site
    		$wp_admin_bar->add_menu(array(
    			'parent' => $site_parent,
    			'id' => 'mabs_'.$letter.$i,
    			'title' => apply_filters('mabs_blog_name', $blog->blogname, $blog),
    			'href' => str_replace('wp-admin/','',$admin_url),
    			'meta' => array(
    				'class' => 'mabs_blog',
    			),
    		));
    
    		//Add site submenu options
    
    		$i++;

    it also keeps intact the This Site additional links if the user has permissions for them so they can admin a site once there, so, this plug in is perfect for me now! thanks for the code, and hope the info helps anyone needing it.

    Thread Starter AIPman1

    (@aipman1)

    Ok, removing this from the code, removes the additional menu options:

    mabs_display_blog_pages($user, $letter.$i, $admin_url);

    Will report when I figure out how to change the URL to remove the /wp-admin/ from it.

    Thread Starter AIPman1

    (@aipman1)

    I won’t have to re-configure the whole thing on all the sites of my multisite network again will I???

    the problem with this at least for me is that it also removes my terms of service and captcha so no one can register at all.

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