<?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"
	>
<channel>
	<title>Comments on: Plugin: Remove the WordPress Dashboard</title>
	<atom:link href="http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/</link>
	<description>A blog about philosophy, Christianity, web development and whatever else I feel like writing about.</description>
	<pubDate>Fri,  8 Aug 2008 20:42:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: pete</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-204241</link>
		<dc:creator>pete</dc:creator>
		<pubDate>Sun, 03 Aug 2008 12:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-204241</guid>
		<description>Can this be used/modified to remove the comments menu tab?</description>
		<content:encoded><![CDATA[<p>Can this be used/modified to remove the comments menu tab?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-201796</link>
		<dc:creator>Javier</dc:creator>
		<pubDate>Wed, 21 May 2008 16:44:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-201796</guid>
		<description>Thanks for the great plugin!
Is there a way to customize so it redirects the user to another page than "Create New Post"? I'm trying to redirect the user to Manage&#62;Pages instead, but cannot figure out what to change...
Cheers.

Javier</description>
		<content:encoded><![CDATA[<p>Thanks for the great plugin!<br />
Is there a way to customize so it redirects the user to another page than &#8220;Create New Post&#8221;? I&#8217;m trying to redirect the user to Manage&gt;Pages instead, but cannot figure out what to change&#8230;<br />
Cheers.</p>
<p>Javier</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Osorhan</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-201281</link>
		<dc:creator>Victor Osorhan</dc:creator>
		<pubDate>Wed, 14 May 2008 17:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-201281</guid>
		<description>It works just fine! Thank you!</description>
		<content:encoded><![CDATA[<p>It works just fine! Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rusty-halo.com &#187; Blog Archive &#187; One More WordPress Update</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-199190</link>
		<dc:creator>rusty-halo.com &#187; Blog Archive &#187; One More WordPress Update</dc:creator>
		<pubDate>Tue, 29 Apr 2008 04:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-199190</guid>
		<description>[...] finally, I&#8217;m using the Dashboard Remover plugin to get rid of that annoying dashboard (and to prevent registered users from seeing that [...]</description>
		<content:encoded><![CDATA[<p>[...] finally, I&#8217;m using the Dashboard Remover plugin to get rid of that annoying dashboard (and to prevent registered users from seeing that [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Increase Search Rank</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-194591</link>
		<dc:creator>Increase Search Rank</dc:creator>
		<pubDate>Wed, 19 Mar 2008 01:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-194591</guid>
		<description>Find this line in wp-admin/menu.php:
$menu[0] = array(__('Dashboard'), 'read', 'index.php');

Change the 0 to a number between 1 and 10, then the tab will disappear.

Personally, I just edited wp-admin/index.php at the very bottom to look like this (commented out the feeds, etc.) and now the dashboard is very clean and helpful. Here is the bottom of the index.php file after changes.

So the first part above is for the menu tab, the second part is for modifying the dashboard. I like the dashboard menu item, but after I cleaned it up using the &lt;!-- --&gt; comments to kill the busy features.

Good luck and make sure you back up first!

----BEGIN----

&#60;!-- &#60;?php _e("Need help with WordPress? Please see our &lt;a href='http://codex.wordpress.org/' rel="nofollow"&gt;documentation&lt;/a&gt; or visit the &lt;a href='http://wordpress.org/support/' rel="nofollow"&gt;support forums&lt;/a&gt;."); ?&#62; --&#62;

I can't post the actual code, but look for the lines below at the bottom of the file and comment them out as I have done in the line above. That will clean you all up and present a very simple and useful dashboard.

devnews

planetnews</description>
		<content:encoded><![CDATA[<p>Find this line in wp-admin/menu.php:<br />
$menu[0] = array(__(&#8217;Dashboard&#8217;), &#8216;read&#8217;, &#8216;index.php&#8217;);</p>
<p>Change the 0 to a number between 1 and 10, then the tab will disappear.</p>
<p>Personally, I just edited wp-admin/index.php at the very bottom to look like this (commented out the feeds, etc.) and now the dashboard is very clean and helpful. Here is the bottom of the index.php file after changes.</p>
<p>So the first part above is for the menu tab, the second part is for modifying the dashboard. I like the dashboard menu item, but after I cleaned it up using the <!-- --> comments to kill the busy features.</p>
<p>Good luck and make sure you back up first!</p>
<p>&#8212;-BEGIN&#8212;-</p>
<p>&lt;!&#8211; &lt;?php _e(&#8221;Need help with WordPress? Please see our <a href='http://codex.wordpress.org/' rel="nofollow">documentation</a> or visit the <a href='http://wordpress.org/support/' rel="nofollow">support forums</a>.&#8221;); ?&gt; &#8211;&gt;</p>
<p>I can&#8217;t post the actual code, but look for the lines below at the bottom of the file and comment them out as I have done in the line above. That will clean you all up and present a very simple and useful dashboard.</p>
<p>devnews</p>
<p>planetnews</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-194167</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 24 Jan 2008 07:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-194167</guid>
		<description>I attempted to use your plugin to remove the dashboard; unfortunately I must have done something wrong as I am unable to log into the site now. 

I recieve the following message. 


Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /nfs/cust/6/52/41/714256/web/wordpress/wp-content/plugins/remove_dashboard.php on line 2

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /nfs/cust/6/52/41/714256/web/wordpress/wp-content/plugins/remove_dashboard.php on line 2
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\froman\fcharset0 Times New Roman;}{\f1\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\sb100\sa100\f0\fs24 \par \pard\f1\fs20\par } 
Warning: Cannot modify header information - headers already sent by (output started at /nfs/cust/6/52/41/714256/web/wordpress/wp-content/plugins/remove_dashboard.php:2) in /nfs/cust/6/52/41/714256/web/wordpress/wp-login.php on line 12

Warning: Cannot modify header information - headers already sent by (output started at /nfs/cust/6/52/41/714256/web/wordpress/wp-content/plugins/remove_dashboard.php:2) in /nfs/cust/6/52/41/714256/web/wordpress/wp-login.php on line 24

Any idea on how to correct this???

Thanks,

Martin</description>
		<content:encoded><![CDATA[<p>I attempted to use your plugin to remove the dashboard; unfortunately I must have done something wrong as I am unable to log into the site now. </p>
<p>I recieve the following message. </p>
<p>Warning: Unexpected character in input: &#8216;\&#8217; (ASCII=92) state=1 in /nfs/cust/6/52/41/714256/web/wordpress/wp-content/plugins/remove_dashboard.php on line 2</p>
<p>Warning: Unexpected character in input: &#8216;\&#8217; (ASCII=92) state=1 in /nfs/cust/6/52/41/714256/web/wordpress/wp-content/plugins/remove_dashboard.php on line 2<br />
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\froman\fcharset0 Times New Roman;}{\f1\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\sb100\sa100\f0\fs24 \par \pard\f1\fs20\par }<br />
Warning: Cannot modify header information - headers already sent by (output started at /nfs/cust/6/52/41/714256/web/wordpress/wp-content/plugins/remove_dashboard.php:2) in /nfs/cust/6/52/41/714256/web/wordpress/wp-login.php on line 12</p>
<p>Warning: Cannot modify header information - headers already sent by (output started at /nfs/cust/6/52/41/714256/web/wordpress/wp-content/plugins/remove_dashboard.php:2) in /nfs/cust/6/52/41/714256/web/wordpress/wp-login.php on line 24</p>
<p>Any idea on how to correct this???</p>
<p>Thanks,</p>
<p>Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-189895</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Sun, 23 Dec 2007 18:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-189895</guid>
		<description>I noticed when using this plugin that it kills the javascript used in 2.3.1 to add additional fields, etc. Is anyone else having this issue?</description>
		<content:encoded><![CDATA[<p>I noticed when using this plugin that it kills the javascript used in 2.3.1 to add additional fields, etc. Is anyone else having this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Admin Themes and Tools - Blog Tipz &#124; Make Money Online</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-183066</link>
		<dc:creator>WordPress Admin Themes and Tools - Blog Tipz &#124; Make Money Online</dc:creator>
		<pubDate>Wed, 12 Dec 2007 05:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-183066</guid>
		<description>[...] Dashboard  If you don't like all the feeds, this no-hack dashboard plugin removes them and this plugin code completely removes the dashboard page, so you can always go to the Write Post page.  Other [...]</description>
		<content:encoded><![CDATA[<p>[...] Dashboard  If you don&#8217;t like all the feeds, this no-hack dashboard plugin removes them and this plugin code completely removes the dashboard page, so you can always go to the Write Post page.  Other [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-181776</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Mon, 10 Dec 2007 18:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-181776</guid>
		<description>It looks like when I pasted it it screwded up the single quotes. Just replace all of the single quotes in that code with new single quotes, should work fine.</description>
		<content:encoded><![CDATA[<p>It looks like when I pasted it it screwded up the single quotes. Just replace all of the single quotes in that code with new single quotes, should work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://www.ilfilosofo.com/blog/2006/05/24/plugin-remove-the-wordpress-dashboard/#comment-181774</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Mon, 10 Dec 2007 18:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilfilosofo.com/blog/2006/05/25/plugin-remove-the-wordpress-dashboard/#comment-181774</guid>
		<description>Anyone who wants to be able to show dashboard for the admin only, here is the solution: 

&lt;code&gt;&lt;?php
/*
Plugin Name: Filosofo Remove Dashboard
Plugin URI: http://www.ilfilosofo.com/blog/
Description: Make the Dashboard, that page that takes forever to load when you log in, disappear.
Version: 1.0
Author: Austin Matzko
Author URI: http://www.ilfilosofo.com/blog/
*/

/*  Copyright 2006  Austin Matzko  (email : if.website at gmail.com)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/



function remove_the_dashboard () {
global $user_level;
global $menu, $submenu, $user_ID;
        $the_user = new WP_User($user_ID);
         
        if ($user_level &gt; 9){
        }
        
        else {
        
        reset($menu); $page = key($menu);
        while ((__('Dashboard') != $menu[$page][0]) &#038;&#038; next($menu))
                $page = key($menu);
        if (__('Dashboard') == $menu[$page][0]) unset($menu[$page]);
        reset($menu); $page = key($menu);
        while (!$the_user-&gt;has_cap($menu[$page][1]) &#038;&#038; next($menu))
                $page = key($menu);
        if (preg_match('#wp-admin/?(index.php)?$#',$_SERVER['REQUEST_URI']) &#038;&#038; ('index.php' != $menu[$page][2]))
                wp_redirect(get_option('siteurl') . '/wp-admin/' . $menu[$page][2]);
        }   
        
}

add_action('admin_menu', 'remove_the_dashboard');

?&gt;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Anyone who wants to be able to show dashboard for the admin only, here is the solution: </p>
<p><code>< ?php<br />
/*<br />
Plugin Name: Filosofo Remove Dashboard<br />
Plugin URI: <a href="http://www.ilfilosofo.com/blog/" rel="nofollow">http://www.ilfilosofo.com/blog/</a><br />
Description: Make the Dashboard, that page that takes forever to load when you log in, disappear.<br />
Version: 1.0<br />
Author: Austin Matzko<br />
Author URI: <a href="http://www.ilfilosofo.com/blog/" rel="nofollow">http://www.ilfilosofo.com/blog/</a><br />
*/</code></p>
<p>/*  Copyright 2006  Austin Matzko  (email : if.website at gmail.com)</p>
<p>    This program is free software; you can redistribute it and/or modify<br />
    it under the terms of the GNU General Public License as published by<br />
    the Free Software Foundation; either version 2 of the License, or<br />
    (at your option) any later version.</p>
<p>    This program is distributed in the hope that it will be useful,<br />
    but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br />
    GNU General Public License for more details.</p>
<p>    You should have received a copy of the GNU General Public License<br />
    along with this program; if not, write to the Free Software<br />
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA<br />
*/</p>
<p>function remove_the_dashboard () {<br />
global $user_level;<br />
global $menu, $submenu, $user_ID;<br />
        $the_user = new WP_User($user_ID);</p>
<p>        if ($user_level > 9){<br />
        }</p>
<p>        else {</p>
<p>        reset($menu); $page = key($menu);<br />
        while ((__(&#8217;Dashboard&#8217;) != $menu[$page][0]) &#038;&#038; next($menu))<br />
                $page = key($menu);<br />
        if (__(&#8217;Dashboard&#8217;) == $menu[$page][0]) unset($menu[$page]);<br />
        reset($menu); $page = key($menu);<br />
        while (!$the_user->has_cap($menu[$page][1]) &#038;&#038; next($menu))<br />
                $page = key($menu);<br />
        if (preg_match(&#8217;#wp-admin/?(index.php)?$#&#8217;,$_SERVER['REQUEST_URI']) &#038;&#038; (&#8217;index.php&#8217; != $menu[$page][2]))<br />
                wp_redirect(get_option(&#8217;siteurl&#8217;) . &#8216;/wp-admin/&#8217; . $menu[$page][2]);<br />
        }   </p>
<p>}</p>
<p>add_action(&#8217;admin_menu&#8217;, &#8216;remove_the_dashboard&#8217;);</p>
<p>?><br />
</p>
]]></content:encoded>
	</item>
</channel>
</rss>
