<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Hiding the WordPress Dashboard for Non-Admin Users</title>
	<atom:link href="http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/feed/" rel="self" type="application/rss+xml" />
	<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/</link>
	<description>by c.bavota</description>
	<lastBuildDate>Thu, 18 Mar 2010 12:24:00 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kev</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-7880</link>
		<dc:creator>kev</dc:creator>
		<pubDate>Wed, 24 Feb 2010 17:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-7880</guid>
		<description>it&#039;s because of mac&#039;s way of storing metadata for files. Apparently apache reads ._ and displays it at the top of . Basically, enable &quot;view hidden files&quot; and look for the ._, delete them, and then re-zip the plugin and it&#039;ll be nice and smooth, no funky characters.</description>
		<content:encoded><![CDATA[<p>it&#8217;s because of mac&#8217;s way of storing metadata for files. Apparently apache reads ._ and displays it at the top of . Basically, enable &#8220;view hidden files&#8221; and look for the ._, delete them, and then re-zip the plugin and it&#8217;ll be nice and smooth, no funky characters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-3395</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Mon, 20 Jul 2009 17:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-3395</guid>
		<description>I was able to cludge this to remove Posts/Tools/Media by simply making these tweaks:

Duplicate the code three times in the .php file and revise each code area changing the words &quot;blahblah&quot; to the block you want removed.

&lt;code&gt;function remove_the_blahblah () {

while ((__(&#039;Blahblah&#039;) != $menu[$page][0]) &amp;&amp; next($menu))

if (__(&#039;Blahblah&#039;) == $menu[$page][0]) unset($menu[$page]);

add_action(&#039;admin_menu&#039;, &#039;remove_the_blahblah&#039;);
&lt;/code&gt;

Where &quot;blahblah&quot; is Media or Tools or etc... I&#039;m my case I now have four blocks along with four add_action lines.

Someone can still go directly to the pages if they hand enter the path, but for me that&#039;s not a problem. I just need to make it not visible and I&#039;m good enough.</description>
		<content:encoded><![CDATA[<p>I was able to cludge this to remove Posts/Tools/Media by simply making these tweaks:</p>
<p>Duplicate the code three times in the .php file and revise each code area changing the words &#8220;blahblah&#8221; to the block you want removed.</p>
<p><code>function remove_the_blahblah () {</p>
<p>while ((__('Blahblah') != $menu[$page][0]) &amp;&amp; next($menu))</p>
<p>if (__('Blahblah') == $menu[$page][0]) unset($menu[$page]);</p>
<p>add_action('admin_menu', 'remove_the_blahblah');<br />
</code></p>
<p>Where &#8220;blahblah&#8221; is Media or Tools or etc&#8230; I&#8217;m my case I now have four blocks along with four add_action lines.</p>
<p>Someone can still go directly to the pages if they hand enter the path, but for me that&#8217;s not a problem. I just need to make it not visible and I&#8217;m good enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Watch Year One Online</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-2997</link>
		<dc:creator>Watch Year One Online</dc:creator>
		<pubDate>Sat, 20 Jun 2009 19:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-2997</guid>
		<description>This is very hot information. I think I&#039;ll share it on Facebook.
p.s. Year One is already on the Internet and you can watch it for free.</description>
		<content:encoded><![CDATA[<p>This is very hot information. I think I&#8217;ll share it on Facebook.<br />
p.s. Year One is already on the Internet and you can watch it for free.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hiding the WordPress Dashboard for Non Admin Users bavotasan com &#124; fix my credit</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-2899</link>
		<dc:creator>Hiding the WordPress Dashboard for Non Admin Users bavotasan com &#124; fix my credit</dc:creator>
		<pubDate>Wed, 17 Jun 2009 02:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-2899</guid>
		<description>[...] Hiding the WordPress Dashboard for Non Admin Users bavotasan com   Posted by root 59 minutes ago (http://bavotasan.com)        Do not use the auto install function for wordpress 2 7 with the revamped plugin zip live comment preview all rights reserved powered by wordpress        Discuss&#160;  &#124;&#160; Bury &#124;&#160;    News &#124; Hiding the WordPress Dashboard for Non Admin Users bavotasan com [...]</description>
		<content:encoded><![CDATA[<p>[...] Hiding the WordPress Dashboard for Non Admin Users bavotasan com   Posted by root 59 minutes ago (<a href="http://bavotasan.com">http://bavotasan.com</a>)        Do not use the auto install function for wordpress 2 7 with the revamped plugin zip live comment preview all rights reserved powered by wordpress        Discuss&nbsp;  |&nbsp; Bury |&nbsp;    News | Hiding the WordPress Dashboard for Non Admin Users bavotasan com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: free software</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-2711</link>
		<dc:creator>free software</dc:creator>
		<pubDate>Tue, 09 Jun 2009 14:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-2711</guid>
		<description>Wow! This fix is awesome. Works like a charm. Thank you !</description>
		<content:encoded><![CDATA[<p>Wow! This fix is awesome. Works like a charm. Thank you !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pouet</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-2709</link>
		<dc:creator>pouet</dc:creator>
		<pubDate>Tue, 09 Jun 2009 13:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-2709</guid>
		<description>I&#039;m try to do the same thing.

&lt;code&gt;add_action(&#039;admin_head&#039;, &#039;wphd_hide_tool_link&#039;, 0);
    function wphd_hide_tool_link() {
        if (!current_user_can(&#039;edit_others_posts&#039;)) {

echo &quot;\n&quot; . &#039;&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;#menu-tools { display: none; }&lt;/style&gt;&#039; . &quot;\n&quot;;
                }
}
&lt;/code&gt;

this script hides tool menu link, but its accessible by a direct access. I&#039;ve to manage to redirect to another page when somebody tries to access

The base I use is this one : 
http://www.kpdesign.net/wp-plugins/wp-hide-dashboard/</description>
		<content:encoded><![CDATA[<p>I&#8217;m try to do the same thing.</p>
<p><code>add_action('admin_head', 'wphd_hide_tool_link', 0);<br />
    function wphd_hide_tool_link() {<br />
        if (!current_user_can('edit_others_posts')) {</p>
<p>echo "\n" . '&lt;style type="text/css" media="screen"&gt;#menu-tools { display: none; }&lt;/style&gt;' . "\n";<br />
                }<br />
}<br />
</code></p>
<p>this script hides tool menu link, but its accessible by a direct access. I&#8217;ve to manage to redirect to another page when somebody tries to access</p>
<p>The base I use is this one :<br />
<a href="http://www.kpdesign.net/wp-plugins/wp-hide-dashboard/">http://www.kpdesign.net/wp-plugins/wp-hide-dashboard/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hiding the WordPress Dashboard for Non Admin Users bavotasan com &#124; Cellulite Creams</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-2698</link>
		<dc:creator>Hiding the WordPress Dashboard for Non Admin Users bavotasan com &#124; Cellulite Creams</dc:creator>
		<pubDate>Tue, 09 Jun 2009 02:49:26 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-2698</guid>
		<description>[...] Hiding the WordPress Dashboard for Non Admin Users bavotasan com   Posted by root 23 minutes ago (http://bavotasan.com)        This program is distributed in the hope that it will be useful but without any live comment preview all rights reserved powered by wordpress        Discuss&#160;  &#124;&#160; Bury &#124;&#160;    News &#124; Hiding the WordPress Dashboard for Non Admin Users bavotasan com [...]</description>
		<content:encoded><![CDATA[<p>[...] Hiding the WordPress Dashboard for Non Admin Users bavotasan com   Posted by root 23 minutes ago (<a href="http://bavotasan.com">http://bavotasan.com</a>)        This program is distributed in the hope that it will be useful but without any live comment preview all rights reserved powered by wordpress        Discuss&nbsp;  |&nbsp; Bury |&nbsp;    News | Hiding the WordPress Dashboard for Non Admin Users bavotasan com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Slaney</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-2554</link>
		<dc:creator>David Slaney</dc:creator>
		<pubDate>Mon, 01 Jun 2009 12:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-2554</guid>
		<description>It worked itself out eventually.  I&#039;m not really sure why.  But for any newbs such as myself if you place the file directly in the plugin folder it will work.  I tried placing it in its own directory in the plugin folder as well but that did&#039;nt work for me.  Maybe it should work that way as every other plugin is in its own subdirectory?</description>
		<content:encoded><![CDATA[<p>It worked itself out eventually.  I&#8217;m not really sure why.  But for any newbs such as myself if you place the file directly in the plugin folder it will work.  I tried placing it in its own directory in the plugin folder as well but that did&#8217;nt work for me.  Maybe it should work that way as every other plugin is in its own subdirectory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dslaney</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-2540</link>
		<dc:creator>dslaney</dc:creator>
		<pubDate>Sun, 31 May 2009 14:37:44 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-2540</guid>
		<description>I&#039;m not sure what I&#039;m doing wrong?  I have taken the code placed it in a .php file and placed it in the plugin directory, but it is not showing up under the plugin menu.  Am I missing something?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what I&#8217;m doing wrong?  I have taken the code placed it in a .php file and placed it in the plugin directory, but it is not showing up under the plugin menu.  Am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wordpress</title>
		<link>http://bavotasan.com/tutorials/hiding-the-wordpress-dashboard-for-non-admin-users/comment-page-1/#comment-2381</link>
		<dc:creator>wordpress</dc:creator>
		<pubDate>Fri, 22 May 2009 11:25:56 +0000</pubDate>
		<guid isPermaLink="false">http://bavotasan.com/?p=112#comment-2381</guid>
		<description>this is really good if you are looking for multi author blogs  ,, thanks</description>
		<content:encoded><![CDATA[<p>this is really good if you are looking for multi author blogs  ,, thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
