kpdesign
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Hide Dashboard] Multisite – 3.4.2 – Can see Dashboard for Subscriber@knaggsy88 The latest version of the plugin (2.2) works with the latest version of WordPress (3.5.1). If you’re running an outdated version of either of these, then you’ll have issues.
You’ll also have issues if you are running another plugin that is causing a conflict with mine.
Without more information (WP version, my plugin version, list of active plugins), I can’t help you troubleshoot your problem.
Forum: Plugins
In reply to: [WP Hide Dashboard] Multisite – 3.4.2 – Can see Dashboard for SubscriberHi computerkitten –
Before I can help you troubleshoot your issue, I have 2 questions:
1. What version of WP Hide Dashboard are you running?
2. Why haven’t you upgraded your WordPress install to the latest version (3.5.1)?
Forum: Plugins
In reply to: [WP Hide Dashboard] I need assistance with the WP Hide Dashboard pluginMy plugin does not change where users assigned to other roles are directed to when they log in. It only hides the dashboard from subscribers, sending them to their profile instead.
You would need to use Peter’s Login Redirect plugin to accomplish what you want to do: http://wordpress.org/extend/plugins/peters-login-redirect/
With that plugin, you can select, by role, where you want people directed to when they log in. In your case, you would set that to redirect them back to the main page of your website.
While I appreciate you posting this information for other users, this is a support forum for the WP Hide Dashboard plugin.
Your post is not a support request, and really has nothing to do with my plugin.
There is no settings page. In the plugin’s description:
A simple plugin with no-backend interface, to clean up some dummy fields from user profiles edition and creation pages, focused on corporate purposes.
The readme.txt instructions are incorrect.
Don’t put it in your theme’s functions.php file. If you switch themes, you lose the functionality.
Read this blog post: http://wphidedash.org/2011/04/best-practice-for-adding-custom-functions/
It tells you how to create a custom plugin for these functions. Make sure you change the info in the plugin header to reflect your name and site URL.
Now, for the code you need to add to that custom plugin to do this:
/* Disable default dashboard widgets */ function spiffy_disable_default_dashboard_widgets() { if ( !is_super_admin() ) { remove_meta_box( 'dashboard_right_now', 'dashboard', 'core' ); remove_meta_box( 'dashboard_recent_comments', 'dashboard', 'core' ); remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'core' ); remove_meta_box( 'dashboard_plugins', 'dashboard', 'core' ); remove_meta_box( 'dashboard_quick_press', 'dashboard', 'core' ); remove_meta_box( 'dashboard_recent_drafts', 'dashboard', 'core' ); remove_meta_box( 'dashboard_primary', 'dashboard', 'core' ); remove_meta_box( 'dashboard_secondary', 'dashboard', 'core' ); } } add_action('admin_menu', 'spiffy_disable_default_dashboard_widgets');Be sure to remove the code from your functions.php file before activating the custom plugin.
Notice that I’ve prefixed the function name with spiffy_ – that’s to keep it from conflicting with any other functions that might have the same name. It’s always best to do that. 🙂
Why would you want to hide screen options and help from admins?
There is no settings page. Once activated, the plugin just “works”.
The only role that this hides anything from is subscribers. Admins/editors/authors/contributors will still see everything they are supposed to see per their role.
The fact that you still see the dashboard means you are logged in as one of those roles.
Have you tried logging in as a subscriber to see if screen options, help, and the dashboard are hidden?
Also, did you network activate the plugin, or only activate it on one site?
Forum: Plugins
In reply to: [Sidebar Login] [Plugin: Sidebar Login] Register link missing in sidebarDid you check Show Register Link box on the Settings page?
Forum: Plugins
In reply to: "sidebar login" remove dashboard linkYou don’t need to modify the Sidebar Login plugin – the capability to hide the Dashboard link in the sidebar is already built in.
Go to the settings page for Sidebar Login, scroll down to the Logged In Links section, and read the configuration notes under the box:
Tip: Add |true after a link to only show it to admin users or alternatively use a |user_capability and the link will only be shown to users with that capability (see Roles and Capabilities).
If you only want an admin to see the Dashboard link, then your links would be:
<a href="http://yourdomain.com/wp-admin/">Dashboard</a>|true <a href="http://yourdomain.com/wp-admin/profile.php">Profile</a>While you’re on the settings page, double-check the rest of the settings to ensure they are what you want them to be.
Hope this helps.
I’ve just released an update that takes care of that issue, along with several others. It’s available for download now.
Not sure how to accomplish what you want, but that is not what my plugin is designed to do.
Forum: Plugins
In reply to: [WP Hide Dashboard] Doesn't work with MultisitesI’ve just released an update that addresses the My Sites issue, along with other incompatibilities. Make sure you’re running the latest version of WordPress (3.4.2 or 3.5, once it’s released), then give the updated version a try.
What other plugins do you have installed and activated? Are you using Jetpack?
Try deactivating all of your plugins except for this one, and test again to see if it works. If it does, reactivate your other plugins, one at a time and retesting after each one, until you find the one that could be causing a conflict.
Tested and it fixes the problem for me as well. Thanks for taking care of it so quickly! 🙂