latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Menu for 'My Sites' missing in admin toolbar

Home Forums Community Forum Menu for 'My Sites' missing in admin toolbar

This topic contains 1 reply, has 2 voices. Last updated by  Mike (Volunteer Moderator) 3 years, 5 months ago.

Topic Author Topic
Posted: Wednesday Jul 31st, 2013 at 8:08 am #54474
Oli Haslam
Username: olihaslam

Hi

I’m having a problem displaying the “My Sites” menu in the WordPress toolbar (the admin/tool bar at the top of the site – it includes the wp logo and the ‘My Sites’ menu and other items) on the main blog in a multisite network. Each user is a Subscriber on the main blog in the network and an Editor on their own blog.

When viewing the main blog the ‘My Sites’ menu (and the WordPress logo) is missing, making it difficult for users to return to their own blogs. The only link in the left of the toolbar is to the home page of the main blog. But when viewing their own blogs users see the tool bar correctly and can easily navigate to the main blog using the ‘My Sites’ menu.

In the page source is when s2member is activated I see this:

<ul id="wp-admin-bar-root-default" class="ab-top-menu">
<li id="wp-admin-bar-s2-site-name">
</ul> 

But without s2member it says this (what I want it to be):
<

ul id="wp-admin-bar-root-default" class="ab-top-menu"&gt;
<li id="wp-admin-bar-wp-logo" class="menupop">
<li id="wp-admin-bar-my-sites" class="menupop">
<li id="wp-admin-bar-site-name" class="menupop">
</ul>

Where can I change the s2member settings to make this happen?
Thanks for your help.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Sunday Aug 4th, 2013 at 8:43 pm #55173
Moderator

Two Possible Solutions

1. In the s2Member® General Options, disable this if you like.
Dashboard -› s2Member® -› General Options -› Member Profile Modifications


2. OR, try this quick hack using an existing filter provided by s2Member®

Please create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
(NOTE: these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins)
(See also: http://www.s2member.com/kb/hacking-s2member/)

<?php
add_action('ws_plugin__s2member_config_hooks_loaded', 'my_s2_hacks');
function my_s2_hacks()
	{
		remove_action('admin_bar_menu', 'c_ws_plugin__s2member_admin_lockouts::filter_admin_menu_bar', 100);
	}
Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.