Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 3 replies, 2 voices, and was last updated 12 years, 8 months ago by
Steven Zahm.
-
AuthorPosts
-
11/26/2013 at 5:53 am #274350
Steve Christian
ParticipantHi Steve,
I’d like to remove the menu item Profile>Your Directory Entry from the admin area sidebar for specific user roles. I can remove the main menu item using Menu Editor Pro, but it doesn’t work for your item within the ‘Profile’ menu item; if I remove the Entire Profile menu item ‘Your Directory Entry’ item still appears. Any suggestions?
Thanks
Steve11/27/2013 at 11:51 am #274429Steven Zahm
Keymaster@ Steve
The only thing I I can think of doing off the top of my head is to remove this line of code:
add_action( 'admin_menu', array( __CLASS__, 'adminMenu' ), 11 );From the
connections_link.phpfile. After it is removed the menu item will no longer be added.Hope that helps.
11/27/2013 at 12:05 pm #274431Steve Christian
ParticipantHi Steve,
Thanks for this. I also sent an email to the plugin ‘Admin Menu Editor Pro’ as I felt this problem related to both plugins.
The good news is that the developer behind the plugin has solved the problem. Sent me a patch and will be updating the next release. So this plugin should be 100% compatible with your plugin.
For your information the problem arises as two menu items have the same name, ‘Your Directory Entry’, but point to different URL’s:
http://counselling-blog.org.uk/wp-admin/profile.php?page=connections
http://counselling-blog.org.uk/wp-admin/users.php?page=connections_lI hope this is of some use to you.
Regards
Steve11/29/2013 at 10:42 am #274484Steven Zahm
Keymaster@ Steve
Ahhh, that would make sense. It’s good the other plugin author was able to fix because there’s nothing I could have done as I am purposely adding the same url endpoint in two menu locations
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
