<?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: WP Block Admin</title>
	<atom:link href="http://www.callum-macdonald.com/code/wp-block-admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.callum-macdonald.com</link>
	<description>Callum on life</description>
	<lastBuildDate>Tue, 07 Feb 2012 21:09:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-103607</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Mon, 09 Jan 2012 09:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-103607</guid>
		<description>Wow, I had never noticed that before, that&#039;s definitely a bug, thanks for sharing. I&#039;ve updated the plugin to use get_option(&#039;home&#039;) instead of siteurl. May I credit you with a link in the changelog?</description>
		<content:encoded><![CDATA[<p>Wow, I had never noticed that before, that&#8217;s definitely a bug, thanks for sharing. I&#8217;ve updated the plugin to use get_option(&#8216;home&#8217;) instead of siteurl. May I credit you with a link in the changelog?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nancy</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-103558</link>
		<dc:creator>Nancy</dc:creator>
		<pubDate>Sun, 08 Jan 2012 23:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-103558</guid>
		<description>Thanks so much for the plugin! I did make one change because I normally install WordPress in a subdirectory. In the default redirect, I changed

 get_option(&#039;siteurl&#039;)

to

get_bloginfo(&#039;url&#039;);

Thanks, again!</description>
		<content:encoded><![CDATA[<p>Thanks so much for the plugin! I did make one change because I normally install WordPress in a subdirectory. In the default redirect, I changed</p>
<p> get_option(&#8216;siteurl&#8217;)</p>
<p>to</p>
<p>get_bloginfo(&#8216;url&#8217;);</p>
<p>Thanks, again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-89797</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Sun, 13 Nov 2011 10:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-89797</guid>
		<description>No, not necessarily. It depends on what type of vulnerability is being attacked. If your objective is to increase the security of WordPress, then using basic authentication is the best option. It&#039;s a completely separate layer of security, completely independent of WordPress, that will protect your site from any automated attack against wp-admin. If you&#039;re storing highly sensitive data in WordPress that sophisticated attackers are directly targeting, then you ought to store it elsewhere! However, if your objective is to protect against automated attacks against WordPress, then the basic authentication option will give you a good protection against that.

On the other hand, if WordPress offers sufficient security for your needs, and you simply want to keep regular users out of the wp-admin interface, then the plugin is my recommendation.</description>
		<content:encoded><![CDATA[<p>No, not necessarily. It depends on what type of vulnerability is being attacked. If your objective is to increase the security of WordPress, then using basic authentication is the best option. It&#8217;s a completely separate layer of security, completely independent of WordPress, that will protect your site from any automated attack against wp-admin. If you&#8217;re storing highly sensitive data in WordPress that sophisticated attackers are directly targeting, then you ought to store it elsewhere! However, if your objective is to protect against automated attacks against WordPress, then the basic authentication option will give you a good protection against that.</p>
<p>On the other hand, if WordPress offers sufficient security for your needs, and you simply want to keep regular users out of the wp-admin interface, then the plugin is my recommendation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Websearcher</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-89732</link>
		<dc:creator>Websearcher</dc:creator>
		<pubDate>Sat, 12 Nov 2011 22:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-89732</guid>
		<description>Hi,

Thank you for your quick answer,

So any attack on any file in /wp-admin/ will be rejected thanks to your plugin and you say it will have almost the same strenght as an htaccess/htpasswd on /wp-admin/ ?

(i read most of attacks were happening on wp-admin)

Thank you !</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for your quick answer,</p>
<p>So any attack on any file in /wp-admin/ will be rejected thanks to your plugin and you say it will have almost the same strenght as an htaccess/htpasswd on /wp-admin/ ?</p>
<p>(i read most of attacks were happening on wp-admin)</p>
<p>Thank you !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-89730</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Sat, 12 Nov 2011 21:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-89730</guid>
		<description>PS&gt; As an after thought, given the choice between basic auth and the plugin, I&#039;d choose the plugin because the admin is simpler. Adding new users, removing users, etc is all handled within WordPress.</description>
		<content:encoded><![CDATA[<p>PS&gt; As an after thought, given the choice between basic auth and the plugin, I&#8217;d choose the plugin because the admin is simpler. Adding new users, removing users, etc is all handled within WordPress.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-89728</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Sat, 12 Nov 2011 21:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-89728</guid>
		<description>If you use the plugin, the only potential access to the wp-admin interface is through an exploit in WordPress. Security is a relative thing, it&#039;s hard to provide absolutes. In my opinion, using basic authentication (htaccess / htpasswd) is probably more &quot;secure&quot; than the plugin, simply because it&#039;s less common, and so much less likely to be exploited. But to be honest, I think either method provides sufficient security for any likely use of a WordPress site. Unless you have the resources to security audit every line of WordPress code, then you&#039;ll only ever be as &quot;secure&quot; as WordPress is.

I would suggest using either the basic authentication or plugin approach, but not both, and I would strongly recommend against renaming the wp-admin folder, I think that will cause serious problems.</description>
		<content:encoded><![CDATA[<p>If you use the plugin, the only potential access to the wp-admin interface is through an exploit in WordPress. Security is a relative thing, it&#8217;s hard to provide absolutes. In my opinion, using basic authentication (htaccess / htpasswd) is probably more &#8220;secure&#8221; than the plugin, simply because it&#8217;s less common, and so much less likely to be exploited. But to be honest, I think either method provides sufficient security for any likely use of a WordPress site. Unless you have the resources to security audit every line of WordPress code, then you&#8217;ll only ever be as &#8220;secure&#8221; as WordPress is.</p>
<p>I would suggest using either the basic authentication or plugin approach, but not both, and I would strongly recommend against renaming the wp-admin folder, I think that will cause serious problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Websearcher</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-89601</link>
		<dc:creator>Websearcher</dc:creator>
		<pubDate>Sat, 12 Nov 2011 00:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-89601</guid>
		<description>Hi Callum

First thank you for your great plugin, awesome job !

I have a security question about it :

Till then, i had a htaccess /htpasswd on /wp-admin/ 

Since i installed your plugin, i removed this htaccess, as now any attempt to acces a file in /wp-admin/ is redirected to the url i specified in wp-block-admin.php

So is it as secure as the htaccess ?

(I will also change the name &quot;wp-admin&quot;)

Thank you for your opinion</description>
		<content:encoded><![CDATA[<p>Hi Callum</p>
<p>First thank you for your great plugin, awesome job !</p>
<p>I have a security question about it :</p>
<p>Till then, i had a htaccess /htpasswd on /wp-admin/ </p>
<p>Since i installed your plugin, i removed this htaccess, as now any attempt to acces a file in /wp-admin/ is redirected to the url i specified in wp-block-admin.php</p>
<p>So is it as secure as the htaccess ?</p>
<p>(I will also change the name &#8220;wp-admin&#8221;)</p>
<p>Thank you for your opinion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-67366</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Mon, 09 May 2011 20:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-67366</guid>
		<description>The plugin itself has no caching and should leave behind no after effects. Without knowing more, I&#039;d guess that something else is redirecting users from wp-admin. I think it&#039;s standard for WordPress to send users to their profile page on login if they&#039;re contributor level users, but I&#039;m not 100% certain.</description>
		<content:encoded><![CDATA[<p>The plugin itself has no caching and should leave behind no after effects. Without knowing more, I&#8217;d guess that something else is redirecting users from wp-admin. I think it&#8217;s standard for WordPress to send users to their profile page on login if they&#8217;re contributor level users, but I&#8217;m not 100% certain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-67363</link>
		<dc:creator>Joseph</dc:creator>
		<pubDate>Mon, 09 May 2011 19:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-67363</guid>
		<description>Callum, we have installed you WP block admin plugin and left it active for a month or so.Afterwards i have tried changing the functionality to redirect users with user role less than 2, after i realized that evein if i had removed you plugin the wp-admin would still redirect to the profile page. WHere do i find the cache for this functionality, why is this funtionality working even after i have uninstalled your plugin and deleted from the plugin directory, have any reccomendations?</description>
		<content:encoded><![CDATA[<p>Callum, we have installed you WP block admin plugin and left it active for a month or so.Afterwards i have tried changing the functionality to redirect users with user role less than 2, after i realized that evein if i had removed you plugin the wp-admin would still redirect to the profile page. WHere do i find the cache for this functionality, why is this funtionality working even after i have uninstalled your plugin and deleted from the plugin directory, have any reccomendations?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddlg2007</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-66840</link>
		<dc:creator>ddlg2007</dc:creator>
		<pubDate>Tue, 03 May 2011 23:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-66840</guid>
		<description>Callum I do not know what can tell you, but I am very grateful for what you&#039;ve done. No one worry so much to help a stranger, I am forever grateful. I hope to help someday. Thanks again and good luck.</description>
		<content:encoded><![CDATA[<p>Callum I do not know what can tell you, but I am very grateful for what you&#8217;ve done. No one worry so much to help a stranger, I am forever grateful. I hope to help someday. Thanks again and good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-66786</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Tue, 03 May 2011 14:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-66786</guid>
		<description>Yes, this is a trivial code change. I&#039;ve created a custom version for you. You can download the code &lt;a href=&quot;http://plugins.trac.wordpress.org/export/380157/wp-block-admin/branches/allow-profile/wp-block-admin.php&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. I&#039;ve pushed the version number in that version to 9 so you shouldn&#039;t be prompted to upgrade.</description>
		<content:encoded><![CDATA[<p>Yes, this is a trivial code change. I&#8217;ve created a custom version for you. You can download the code <a href="http://plugins.trac.wordpress.org/export/380157/wp-block-admin/branches/allow-profile/wp-block-admin.php" rel="nofollow">here</a>. I&#8217;ve pushed the version number in that version to 9 so you shouldn&#8217;t be prompted to upgrade.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddlg2007</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-66535</link>
		<dc:creator>ddlg2007</dc:creator>
		<pubDate>Sun, 01 May 2011 14:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-66535</guid>
		<description>Hi Callum, thanks for this really great plugin (WP Block Admin). I need a little help.
It would be possible not allow access to wp-admin but yes to wp-admin/profile.php? I tried editing the plugin redirecting, but detect wp-admin and all the time spent redirecting. The reason is that I create a profile.php customized with the plugin (Customize Your Community, is like plugin theme my login) and is good to the user be there but not to wp-admin. Can you say something about this?</description>
		<content:encoded><![CDATA[<p>Hi Callum, thanks for this really great plugin (WP Block Admin). I need a little help.<br />
It would be possible not allow access to wp-admin but yes to wp-admin/profile.php? I tried editing the plugin redirecting, but detect wp-admin and all the time spent redirecting. The reason is that I create a profile.php customized with the plugin (Customize Your Community, is like plugin theme my login) and is good to the user be there but not to wp-admin. Can you say something about this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-56512</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Tue, 18 Jan 2011 12:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-56512</guid>
		<description>Hey Callum,

Perfect plugin, is exactly what I needed, I&#039;m using 3.0.4 and it works fine! :)</description>
		<content:encoded><![CDATA[<p>Hey Callum,</p>
<p>Perfect plugin, is exactly what I needed, I&#8217;m using 3.0.4 and it works fine! <img src='http://www.callum-macdonald.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Binoy</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-54038</link>
		<dc:creator>Binoy</dc:creator>
		<pubDate>Sat, 18 Dec 2010 06:37:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-54038</guid>
		<description>Seems to be working with 3.0.3, I am running one at Q8Living.com. Thanks Callum. It is a good plugin.</description>
		<content:encoded><![CDATA[<p>Seems to be working with 3.0.3, I am running one at Q8Living.com. Thanks Callum. It is a good plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-53774</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Wed, 15 Dec 2010 12:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-53774</guid>
		<description>I don&#039;t see why not, but I&#039;m not sure, I haven&#039;t tested it, I don&#039;t use it personally.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t see why not, but I&#8217;m not sure, I haven&#8217;t tested it, I don&#8217;t use it personally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peninag</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-53713</link>
		<dc:creator>peninag</dc:creator>
		<pubDate>Tue, 14 Dec 2010 14:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-53713</guid>
		<description>Is this plugin compatible with wordpress Multisite and/or WP 3.0.3? The last update in the plugin repository was at the beginning of 2010.</description>
		<content:encoded><![CDATA[<p>Is this plugin compatible with wordpress Multisite and/or WP 3.0.3? The last update in the plugin repository was at the beginning of 2010.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-48233</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Sat, 24 Jul 2010 15:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-48233</guid>
		<description>As I read your code, only users who are logged in will be redirected, anyone else who tries to access the admin will be sent to the login page. I&#039;m not sure if that&#039;s sensible or not.

The only other change I see in your code is that users who are already logged in, cannot access wp-login.php. That means that they can&#039;t log out because wp-login.php?action=logout is the url to log out.

Thanks for taking the time to share your changes, I really appreciate it. Are you familiar with the diff and patch tools? They&#039;re a great way to share changes like this. At this time I will reject your changes because I don&#039;t see any benefit and I see some downsides. However, maybe I&#039;ve misread your code, so I&#039;m open to better understanding what you intended.</description>
		<content:encoded><![CDATA[<p>As I read your code, only users who are logged in will be redirected, anyone else who tries to access the admin will be sent to the login page. I&#8217;m not sure if that&#8217;s sensible or not.</p>
<p>The only other change I see in your code is that users who are already logged in, cannot access wp-login.php. That means that they can&#8217;t log out because wp-login.php?action=logout is the url to log out.</p>
<p>Thanks for taking the time to share your changes, I really appreciate it. Are you familiar with the diff and patch tools? They&#8217;re a great way to share changes like this. At this time I will reject your changes because I don&#8217;t see any benefit and I see some downsides. However, maybe I&#8217;ve misread your code, so I&#8217;m open to better understanding what you intended.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bandonrandon</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-48226</link>
		<dc:creator>Bandonrandon</dc:creator>
		<pubDate>Sat, 24 Jul 2010 03:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-48226</guid>
		<description>Hey Callum, 

I made some changes to your plugin. I noticed that users were still able to visit wp-login.php even without the proper permissions. I made is to they couldn&#039;t visit either wp-admin or wp-login.php which made an endless loop where you couldn&#039;t get to the login page (oops) I went ahead and wrapped the whole thing in the &quot;is_user_logged_in()&quot; tag. Now, logged in users can&#039;t visit wp-login.php or wp-admin you can see my changes here: http://pastebin.com/xq6x26fn 

Feel free to take them or leave them.</description>
		<content:encoded><![CDATA[<p>Hey Callum, </p>
<p>I made some changes to your plugin. I noticed that users were still able to visit wp-login.php even without the proper permissions. I made is to they couldn&#8217;t visit either wp-admin or wp-login.php which made an endless loop where you couldn&#8217;t get to the login page (oops) I went ahead and wrapped the whole thing in the &#8220;is_user_logged_in()&#8221; tag. Now, logged in users can&#8217;t visit wp-login.php or wp-admin you can see my changes here: <a href="http://pastebin.com/xq6x26fn" rel="nofollow">http://pastebin.com/xq6x26fn</a> </p>
<p>Feel free to take them or leave them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Classroom Technology Thoughts (Twitter Weekly Updates) for 2010-06-07 &#124; blog.classroomteacher.ca</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-46967</link>
		<dc:creator>Classroom Technology Thoughts (Twitter Weekly Updates) for 2010-06-07 &#124; blog.classroomteacher.ca</dc:creator>
		<pubDate>Mon, 07 Jun 2010 06:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-46967</guid>
		<description>[...] plugin to prevent students from seeing admin backend (based on user role) http://www.callum-macdonald.com/code/wp-block-admin/ #  Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on [...]</description>
		<content:encoded><![CDATA[<p>[...] plugin to prevent students from seeing admin backend (based on user role) <a href="http://www.callum-macdonald.com/code/wp-block-admin/" rel="nofollow">http://www.callum-macdonald.com/code/wp-block-admin/</a> #  Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-46309</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Tue, 11 May 2010 16:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-46309</guid>
		<description>That is possible. It might also be possible to simply rename wp-login.php with one or two clever tricks.

Personally, I wrote this plugin for hire years ago. I don&#039;t use it personally and don&#039;t really support it. I don&#039;t have any desire to write new code or expand functionality. I&#039;ve fixed one or two issues as they arose, made slight improvements to the plugin, but I&#039;m not open to major changes. You may be able to find somebody on &lt;a href=&quot;http://www.rentacoder.com/&quot; rel=&quot;nofollow&quot;&gt;RentaCoder.com&lt;/a&gt; to add the functionality you&#039;re looking for. That&#039;s where I got my start in professional WordPress stuff, there seemed to be a lot of other developers familiar with WordPress on there.</description>
		<content:encoded><![CDATA[<p>That is possible. It might also be possible to simply rename wp-login.php with one or two clever tricks.</p>
<p>Personally, I wrote this plugin for hire years ago. I don&#8217;t use it personally and don&#8217;t really support it. I don&#8217;t have any desire to write new code or expand functionality. I&#8217;ve fixed one or two issues as they arose, made slight improvements to the plugin, but I&#8217;m not open to major changes. You may be able to find somebody on <a href="http://www.rentacoder.com/" rel="nofollow">RentaCoder.com</a> to add the functionality you&#8217;re looking for. That&#8217;s where I got my start in professional WordPress stuff, there seemed to be a lot of other developers familiar with WordPress on there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-46308</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 11 May 2010 16:48:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-46308</guid>
		<description>I guess you&#039;re right.

But,

maybe the plugin could set up a new page that will handle just the redirection? For example, if the user is not logged in, then we show a special login page on which he can input his data, then after the data is recognized it&#039;s sent to wp-login.php and redirection doesn&#039;t occur. Well, at least that&#039;s something I thought of.

I think that this special login page doesn&#039;t really have to be that complicated. I think we need to find a way to show wp-login.php or /wp-admin/ (if the user is not logged in) only if called from that special page.

What do you think?</description>
		<content:encoded><![CDATA[<p>I guess you&#8217;re right.</p>
<p>But,</p>
<p>maybe the plugin could set up a new page that will handle just the redirection? For example, if the user is not logged in, then we show a special login page on which he can input his data, then after the data is recognized it&#8217;s sent to wp-login.php and redirection doesn&#8217;t occur. Well, at least that&#8217;s something I thought of.</p>
<p>I think that this special login page doesn&#8217;t really have to be that complicated. I think we need to find a way to show wp-login.php or /wp-admin/ (if the user is not logged in) only if called from that special page.</p>
<p>What do you think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-46306</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Tue, 11 May 2010 16:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-46306</guid>
		<description>If you direct non-logged in users from wp-login.php and wp-admin/ then you&#039;ll never be able to login once you are logged out. That would completely break the admin unless you&#039;re using some completely different login method. If you are, I would suggest replacing the contents of wp-login.php with something like &lt;code&gt;&lt;/code&gt;. That will redirect all attempts to access wp-login.php to another page. However, you can&#039;t easily redirect everything in wp-admin/ because some files are necessary for the operation of WordPress.</description>
		<content:encoded><![CDATA[<p>If you direct non-logged in users from wp-login.php and wp-admin/ then you&#8217;ll never be able to login once you are logged out. That would completely break the admin unless you&#8217;re using some completely different login method. If you are, I would suggest replacing the contents of wp-login.php with something like <code></code>. That will redirect all attempts to access wp-login.php to another page. However, you can&#8217;t easily redirect everything in wp-admin/ because some files are necessary for the operation of WordPress.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-46302</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 11 May 2010 11:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-46302</guid>
		<description>hey callun

the plugin works great but only if a user is logged in. how can i redirect non-logged in users from accessing wp-admin or wp-login.php?</description>
		<content:encoded><![CDATA[<p>hey callun</p>
<p>the plugin works great but only if a user is logged in. how can i redirect non-logged in users from accessing wp-admin or wp-login.php?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chorng</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-46206</link>
		<dc:creator>chorng</dc:creator>
		<pubDate>Wed, 05 May 2010 22:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-46206</guid>
		<description>thanks for the plugin ! work like a charm</description>
		<content:encoded><![CDATA[<p>thanks for the plugin ! work like a charm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter ng</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-46053</link>
		<dc:creator>peter ng</dc:creator>
		<pubDate>Wed, 28 Apr 2010 22:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-46053</guid>
		<description>awesome, new plugin seems to work great even in wordpress 3.0</description>
		<content:encoded><![CDATA[<p>awesome, new plugin seems to work great even in wordpress 3.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimmo</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45277</link>
		<dc:creator>Kimmo</dc:creator>
		<pubDate>Fri, 09 Apr 2010 06:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45277</guid>
		<description>Yes, it seems to be working now! Thank you very much for your efforts!

I&#039;m not familiar with php, so that leaves me a bit clueless in matters such as these. But it&#039;s great there are more knowledgeable people around! Thanks!</description>
		<content:encoded><![CDATA[<p>Yes, it seems to be working now! Thank you very much for your efforts!</p>
<p>I&#8217;m not familiar with php, so that leaves me a bit clueless in matters such as these. But it&#8217;s great there are more knowledgeable people around! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clayton Narcis</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45275</link>
		<dc:creator>Clayton Narcis</dc:creator>
		<pubDate>Fri, 09 Apr 2010 04:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45275</guid>
		<description>No worries. Thanks!</description>
		<content:encoded><![CDATA[<p>No worries. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45273</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Fri, 09 Apr 2010 03:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45273</guid>
		<description>Great, thanks for the confirmation. I think that&#039;s because of a bug I introduced in 0.2.1. I&#039;ve just pushed out version 0.2.2, the code is in SVN, it should hit wordpress.org shortly. I recommend immediate upgrade from 0.2.1 because of the bug. The issue was because I replaced quotes with backticks which produced an error about dividing by zero on some servers.</description>
		<content:encoded><![CDATA[<p>Great, thanks for the confirmation. I think that&#8217;s because of a bug I introduced in 0.2.1. I&#8217;ve just pushed out version 0.2.2, the code is in SVN, it should hit wordpress.org shortly. I recommend immediate upgrade from 0.2.1 because of the bug. The issue was because I replaced quotes with backticks which produced an error about dividing by zero on some servers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clayton Narcis</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45272</link>
		<dc:creator>Clayton Narcis</dc:creator>
		<pubDate>Fri, 09 Apr 2010 03:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45272</guid>
		<description>Yup, it works. 

As for the mention problem edit.php,  after flushing the cookie and browser cache, it was working already :D

Btw,
whenever i open your file, something happens to the encoding, nothing big. Here&#039;s a sample

if (strpos(strtolower($_SERVER[&#039;REQUEST_URI&#039;]),‚Äô/wp-admin/‚Äô) !== false

Note the ‚Äô</description>
		<content:encoded><![CDATA[<p>Yup, it works. </p>
<p>As for the mention problem edit.php,  after flushing the cookie and browser cache, it was working already <img src='http://www.callum-macdonald.com/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Btw,<br />
whenever i open your file, something happens to the encoding, nothing big. Here&#8217;s a sample</p>
<p>if (strpos(strtolower($_SERVER['REQUEST_URI']),‚Äô/wp-admin/‚Äô) !== false</p>
<p>Note the ‚Äô</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45263</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Thu, 08 Apr 2010 22:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45263</guid>
		<description>Apologies, I didn&#039;t actually make that fix before I sent you the file. I&#039;m sending a new version now, hopefully this one works. I just tested on my server and it has cleared up the error for me.</description>
		<content:encoded><![CDATA[<p>Apologies, I didn&#8217;t actually make that fix before I sent you the file. I&#8217;m sending a new version now, hopefully this one works. I just tested on my server and it has cleared up the error for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimmo</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45258</link>
		<dc:creator>Kimmo</dc:creator>
		<pubDate>Thu, 08 Apr 2010 19:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45258</guid>
		<description>Hi Callum! Sry, but it didn&#039;t help. I get the same error:

Warning: Division by zero in /var/www/fs2/24/gradutak/public_html/wp-content/plugins/wp-block-admin/wp-block-admin.php  on line 52</description>
		<content:encoded><![CDATA[<p>Hi Callum! Sry, but it didn&#8217;t help. I get the same error:</p>
<p>Warning: Division by zero in /var/www/fs2/24/gradutak/public_html/wp-content/plugins/wp-block-admin/wp-block-admin.php  on line 52</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45257</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Thu, 08 Apr 2010 19:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45257</guid>
		<description>I&#039;m sending you a slightly modified version now. Hopefully it allows requests to admin-ajax.php. Can you test and report back?

If the user logs in and tries to access an admin url directly, the plugin should redirect them. Are you seeing a problem with this?</description>
		<content:encoded><![CDATA[<p>I&#8217;m sending you a slightly modified version now. Hopefully it allows requests to admin-ajax.php. Can you test and report back?</p>
<p>If the user logs in and tries to access an admin url directly, the plugin should redirect them. Are you seeing a problem with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45256</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Thu, 08 Apr 2010 19:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45256</guid>
		<description>Apologies for the error. I&#039;m sending you a slightly modified version of the plugin now. I think the quotes are wrong on line 52. If you can test and report back, I&#039;ll push out the update as soon as possible.</description>
		<content:encoded><![CDATA[<p>Apologies for the error. I&#8217;m sending you a slightly modified version of the plugin now. I think the quotes are wrong on line 52. If you can test and report back, I&#8217;ll push out the update as soon as possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimmo</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45219</link>
		<dc:creator>Kimmo</dc:creator>
		<pubDate>Wed, 07 Apr 2010 13:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45219</guid>
		<description>I started using WP Block Admin only yesterday. Today I was prompted to upgrade to version 0.2.1 I did, but this creates havoc on my blog.

I get the following messages on the admin area and the site:

Warning: Division by zero in /var/www/fs2/24/gradutak/public_html/wp-content/plugins/wp-block-admin/wp-block-admin.php on line 52

Warning: Cannot modify header information - headers already sent by (output started at /var/www/fs2/24/gradutak/public_html/wp-content/plugins/wp-block-admin/wp-block-admin.php:52) in /var/www/fs2/24/gradutak/public_html/wp-includes/pluggable.php on line 868

Is there anything that could be done?</description>
		<content:encoded><![CDATA[<p>I started using WP Block Admin only yesterday. Today I was prompted to upgrade to version 0.2.1 I did, but this creates havoc on my blog.</p>
<p>I get the following messages on the admin area and the site:</p>
<p>Warning: Division by zero in /var/www/fs2/24/gradutak/public_html/wp-content/plugins/wp-block-admin/wp-block-admin.php on line 52</p>
<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /var/www/fs2/24/gradutak/public_html/wp-content/plugins/wp-block-admin/wp-block-admin.php:52) in /var/www/fs2/24/gradutak/public_html/wp-includes/pluggable.php on line 868</p>
<p>Is there anything that could be done?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clayton Narcis</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45217</link>
		<dc:creator>Clayton Narcis</dc:creator>
		<pubDate>Wed, 07 Apr 2010 10:48:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45217</guid>
		<description>This breaks any ajax calls to admin-ajax.php. Any workaround?

And if the user logins in, they will still be able to access by placing the entire url such as myblog.com/wp-admin/edit.php</description>
		<content:encoded><![CDATA[<p>This breaks any ajax calls to admin-ajax.php. Any workaround?</p>
<p>And if the user logins in, they will still be able to access by placing the entire url such as myblog.com/wp-admin/edit.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45199</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Tue, 06 Apr 2010 21:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45199</guid>
		<description>Awesome, thanks for the fix Sam. I&#039;ve committed it, I&#039;ll notify Peter and see if it fixes his issue.</description>
		<content:encoded><![CDATA[<p>Awesome, thanks for the fix Sam. I&#8217;ve committed it, I&#8217;ll notify Peter and see if it fixes his issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam hermans</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45142</link>
		<dc:creator>Sam hermans</dc:creator>
		<pubDate>Sun, 04 Apr 2010 22:43:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45142</guid>
		<description>Okay, Here goes:
Line 51:
------------
                // Is this the admin interface? / ignore upload requests
                if (strpos(strtolower($_SERVER[&#039;REQUEST_URI&#039;]),&#039;/wp-admin/&#039;) !== false &amp;&amp; strpos(strtolower($_SERVER[&#039;REQUEST_URI&#039;]),&#039;async-upload.php&#039;) == false) {
------------

Strpos may not be the way to go here, but i&#039;m going with the flow ...

Sam Hermans
Http://www.greeenfudge.org</description>
		<content:encoded><![CDATA[<p>Okay, Here goes:<br />
Line 51:<br />
&#8212;&#8212;&#8212;&#8212;<br />
                // Is this the admin interface? / ignore upload requests<br />
                if (strpos(strtolower($_SERVER['REQUEST_URI']),&#8217;/wp-admin/&#8217;) !== false &amp;&amp; strpos(strtolower($_SERVER['REQUEST_URI']),&#8217;async-upload.php&#8217;) == false) {<br />
&#8212;&#8212;&#8212;&#8212;</p>
<p>Strpos may not be the way to go here, but i&#8217;m going with the flow &#8230;</p>
<p>Sam Hermans<br />
Http://www.greeenfudge.org</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam hermans</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-45141</link>
		<dc:creator>Sam hermans</dc:creator>
		<pubDate>Sun, 04 Apr 2010 22:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-45141</guid>
		<description>I&#039;m having the same issue with the image uploader, looking into it as we speak and i will hopefully be able to provide a solution soon</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same issue with the image uploader, looking into it as we speak and i will hopefully be able to provide a solution soon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-39857</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Sun, 01 Nov 2009 23:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-39857</guid>
		<description>I don&#039;t think I&#039;ve ever replied to your question, apologies.

If you&#039;re still having the issue, you can edit line 18. It&#039;s clearly marked in the code.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think I&#8217;ve ever replied to your question, apologies.</p>
<p>If you&#8217;re still having the issue, you can edit line 18. It&#8217;s clearly marked in the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-39856</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Sun, 01 Nov 2009 23:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-39856</guid>
		<description>I&#039;m not sure what causes the issues with the image uploader. I wrote this plugin for somebody else and haven&#039;t used or tested it since. If you&#039;re able to find the problem and would like to submit a patch, please do. If you&#039;d like to take over the maintenance of the code give me a holler. :-)</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what causes the issues with the image uploader. I wrote this plugin for somebody else and haven&#8217;t used or tested it since. If you&#8217;re able to find the problem and would like to submit a patch, please do. If you&#8217;d like to take over the maintenance of the code give me a holler. <img src='http://www.callum-macdonald.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Ng</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-39824</link>
		<dc:creator>Peter Ng</dc:creator>
		<pubDate>Sun, 01 Nov 2009 11:08:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-39824</guid>
		<description>Hrmm i&#039;m on 2.9 and still having the same 2.8 issues with the http error upon uploading an image. Substituting is_admin does not fix this problem. Something to do with the wp_redirect?</description>
		<content:encoded><![CDATA[<p>Hrmm i&#8217;m on 2.9 and still having the same 2.8 issues with the http error upon uploading an image. Substituting is_admin does not fix this problem. Something to do with the wp_redirect?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dusty</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-39210</link>
		<dc:creator>Dusty</dc:creator>
		<pubDate>Tue, 13 Oct 2009 14:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-39210</guid>
		<description>THANK YOU!

I was searching for hours for a plugin like this one! 

I was just looking for the wrong thing, but thanks, now I have it, it works like a charm!</description>
		<content:encoded><![CDATA[<p>THANK YOU!</p>
<p>I was searching for hours for a plugin like this one! </p>
<p>I was just looking for the wrong thing, but thanks, now I have it, it works like a charm!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-37705</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Mon, 17 Aug 2009 17:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-37705</guid>
		<description>You want to redirect subscribers but nobody else. Is that correct?

You can edit line 18 of the plugin. Choose a new capability. Looking at &lt;a href=&quot;http://codex.wordpress.org/Roles_and_Capabilities#Contributor&quot; rel=&quot;nofollow&quot;&gt;this list&lt;/a&gt;, contributors have &quot;edit_posts&quot; and &quot;delete_posts&quot; capabilities while subscribers don&#039;t. I&#039;d guess either of those would work, if I&#039;ve understood what you want correctly. Please share your solution back here for others.</description>
		<content:encoded><![CDATA[<p>You want to redirect subscribers but nobody else. Is that correct?</p>
<p>You can edit line 18 of the plugin. Choose a new capability. Looking at <a href="http://codex.wordpress.org/Roles_and_Capabilities#Contributor" rel="nofollow">this list</a>, contributors have &#8220;edit_posts&#8221; and &#8220;delete_posts&#8221; capabilities while subscribers don&#8217;t. I&#8217;d guess either of those would work, if I&#8217;ve understood what you want correctly. Please share your solution back here for others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kate</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-37695</link>
		<dc:creator>Kate</dc:creator>
		<pubDate>Mon, 17 Aug 2009 04:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-37695</guid>
		<description>Hey there,
Great plugin!
I am a bit of a newbie, so don&#039;t want to play around too much in case i break something (i have the horrible wordpress version 2.8 and it&#039;s very tempremental, so much so in fact it won&#039;t let me upgrade!!)
Anyway, back to the point. Can you please let me know what code I need to put in and where to make this only redirect subscribers? Sorry I have done a bit of googling to try and find the answer to this but there doesn&#039;t seem to be one.
thanks again! :)</description>
		<content:encoded><![CDATA[<p>Hey there,<br />
Great plugin!<br />
I am a bit of a newbie, so don&#8217;t want to play around too much in case i break something (i have the horrible wordpress version 2.8 and it&#8217;s very tempremental, so much so in fact it won&#8217;t let me upgrade!!)<br />
Anyway, back to the point. Can you please let me know what code I need to put in and where to make this only redirect subscribers? Sorry I have done a bit of googling to try and find the answer to this but there doesn&#8217;t seem to be one.<br />
thanks again! <img src='http://www.callum-macdonald.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36817</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Wed, 08 Jul 2009 20:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-36817</guid>
		<description>Ok, So I switch the commented lines and then what would be a code I would use to add in each capability to block?</description>
		<content:encoded><![CDATA[<p>Ok, So I switch the commented lines and then what would be a code I would use to add in each capability to block?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36816</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Wed, 08 Jul 2009 20:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-36816</guid>
		<description>You can use the plugin as a starting point then modify it to your own requirements.</description>
		<content:encoded><![CDATA[<p>You can use the plugin as a starting point then modify it to your own requirements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36815</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Wed, 08 Jul 2009 20:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-36815</guid>
		<description>Hi, is there any way I can use this for WPMU but not completely block my users? I saw your first suggestion but I do not have buddypress so I do need to give my users some access for the standard menus and for some menus that my addons created. Im not sure how the first poster had blogs defaulted to author users but my users are Admins.</description>
		<content:encoded><![CDATA[<p>Hi, is there any way I can use this for WPMU but not completely block my users? I saw your first suggestion but I do not have buddypress so I do need to give my users some access for the standard menus and for some menus that my addons created. Im not sure how the first poster had blogs defaulted to author users but my users are Admins.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36430</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Fri, 12 Jun 2009 19:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-36430</guid>
		<description>No - still no luck. Can&#039;t really see why though unless the WP guys have screwed up the capabilities check for image uploading....</description>
		<content:encoded><![CDATA[<p>No &#8211; still no luck. Can&#8217;t really see why though unless the WP guys have screwed up the capabilities check for image uploading&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36428</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Fri, 12 Jun 2009 17:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-36428</guid>
		<description>@&lt;a href=&quot;http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36422&quot; rel=&quot;nofollow&quot;&gt;andy&lt;/a&gt;: Try changing line 51 from:
&lt;code&gt;if (strpos(strtolower($_SERVER[&#039;REQUEST_URI&#039;]),&#039;/wp-admin/&#039;) !== false) {&lt;/code&gt;
to:
&lt;code&gt;if (is_admin()) {&lt;/code&gt;

Does that resolve the issues with 2.8? I don&#039;t use the plugin personally so I don&#039;t test it. Are you interested in taking over the maintenance of the code?

If that change works for you (it worked for somebody else recently), I&#039;ll make the change and push out a new version.</description>
		<content:encoded><![CDATA[<p>@<a href="http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36422" rel="nofollow">andy</a>: Try changing line 51 from:<br />
<code>if (strpos(strtolower($_SERVER['REQUEST_URI']),'/wp-admin/') !== false) {</code><br />
to:<br />
<code>if (is_admin()) {</code></p>
<p>Does that resolve the issues with 2.8? I don&#8217;t use the plugin personally so I don&#8217;t test it. Are you interested in taking over the maintenance of the code?</p>
<p>If that change works for you (it worked for somebody else recently), I&#8217;ll make the change and push out a new version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36422</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Fri, 12 Jun 2009 10:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-36422</guid>
		<description>I admit that I have not had a chance yet to look at the code yet (busy morning) but we have been recommending this plugin to users of our forum plugin and with our latest release added the technique as an option. Are you aware that (at least using WP2.8) it disables the use of the flash uploader?</description>
		<content:encoded><![CDATA[<p>I admit that I have not had a chance yet to look at the code yet (busy morning) but we have been recommending this plugin to users of our forum plugin and with our latest release added the technique as an option. Are you aware that (at least using WP2.8) it disables the use of the flash uploader?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caciano</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36318</link>
		<dc:creator>Caciano</dc:creator>
		<pubDate>Thu, 04 Jun 2009 16:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-36318</guid>
		<description>Thanks Callum, now it works perfectly!</description>
		<content:encoded><![CDATA[<p>Thanks Callum, now it works perfectly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36237</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Wed, 03 Jun 2009 19:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-36237</guid>
		<description>@&lt;a href=&quot;http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36213&quot; rel=&quot;nofollow&quot;&gt;Caciano&lt;/a&gt;: Aha. It sounds like that form is in /wp-admin/ even though it is used on the front end. Interesting. Try changing line 51, which is currently:
&lt;code&gt;if (strpos(strtolower($_SERVER[&#039;REQUEST_URI&#039;]),&#039;/wp-admin/&#039;) !== false) {&lt;/code&gt;
to this:
&lt;code&gt;if (is_admin()) {&lt;/code&gt;

If that works for you, I&#039;ll probably change the plugin to use that method.</description>
		<content:encoded><![CDATA[<p>@<a href="http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36213" rel="nofollow">Caciano</a>: Aha. It sounds like that form is in /wp-admin/ even though it is used on the front end. Interesting. Try changing line 51, which is currently:<br />
<code>if (strpos(strtolower($_SERVER['REQUEST_URI']),'/wp-admin/') !== false) {</code><br />
to this:<br />
<code>if (is_admin()) {</code></p>
<p>If that works for you, I&#8217;ll probably change the plugin to use that method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caciano</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-36213</link>
		<dc:creator>Caciano</dc:creator>
		<pubDate>Wed, 03 Jun 2009 14:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-36213</guid>
		<description>Hi Callum, 

Greeeeat plugin, 

But I have some issues with the upload page, every time I send a file the frame with the forms (Legend, Title, Description etc) the iframe redirect to the home. I using de WP 2.7.1 ...

The upload works nice, just this redirect is a little inconvenience...

Any idea why this happens?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Callum, </p>
<p>Greeeeat plugin, </p>
<p>But I have some issues with the upload page, every time I send a file the frame with the forms (Legend, Title, Description etc) the iframe redirect to the home. I using de WP 2.7.1 &#8230;</p>
<p>The upload works nice, just this redirect is a little inconvenience&#8230;</p>
<p>Any idea why this happens?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35791</link>
		<dc:creator>Malcolm</dc:creator>
		<pubDate>Mon, 11 May 2009 22:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-35791</guid>
		<description>You can login to the site (http://ca-bankruptcylaw.com) if you want with the following ID and password if you want to see it in action:

ID: eastmont1  PW: 123</description>
		<content:encoded><![CDATA[<p>You can login to the site (<a href="http://ca-bankruptcylaw.com" rel="nofollow">http://ca-bankruptcylaw.com</a>) if you want with the following ID and password if you want to see it in action:</p>
<p>ID: eastmont1  PW: 123</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35790</link>
		<dc:creator>Malcolm</dc:creator>
		<pubDate>Mon, 11 May 2009 22:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-35790</guid>
		<description>It&#039;s working perfectly now. But here&#039;s the code if you want to take a look:

			&lt;!-- Eliminate &quot;Site Admin&quot; link if use is prevented from admin access (because of &quot;WP Block Admin&quot; plugin --&gt;
			&lt;?php global $wpba_required_capability; 
			if (current_user_can($wpba_required_capability))
			    wp_register();
			?&gt;</description>
		<content:encoded><![CDATA[<p>It&#8217;s working perfectly now. But here&#8217;s the code if you want to take a look:</p>
<p>			<!-- Eliminate "Site Admin" link if use is prevented from admin access (because of "WP Block Admin" plugin --><br />
			< ?php global $wpba_required_capability;<br />
			if (current_user_can($wpba_required_capability))<br />
			    wp_register();<br />
			?></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35789</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Mon, 11 May 2009 21:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-35789</guid>
		<description>&lt;a href=&quot;http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35787&quot; rel=&quot;nofollow&quot;&gt;Malcolm&lt;/a&gt;: I&#039;m surprised you need to setup &lt;code&gt;$wpba_required_capability&lt;/code&gt;. Are you calling it within a function maybe? You could try making it global, that might do the trick. I&#039;d guess that all the plugins are loaded (and so &lt;code&gt;$wpba_required_capability&lt;/code&gt; is setup) before the theme loop starts, but I might be wrong.</description>
		<content:encoded><![CDATA[<p><a href="http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35787" rel="nofollow">Malcolm</a>: I&#8217;m surprised you need to setup <code>$wpba_required_capability</code>. Are you calling it within a function maybe? You could try making it global, that might do the trick. I&#8217;d guess that all the plugins are loaded (and so <code>$wpba_required_capability</code> is setup) before the theme loop starts, but I might be wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35787</link>
		<dc:creator>Malcolm</dc:creator>
		<pubDate>Mon, 11 May 2009 21:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-35787</guid>
		<description>Yep, that worked after I realized I needed to add the setup for $wpba_required_capability :-) Now the Site Admin link doesn&#039;t appear unless it&#039;s functional.

Thanks for the help and for the great plugin!</description>
		<content:encoded><![CDATA[<p>Yep, that worked after I realized I needed to add the setup for $wpba_required_capability <img src='http://www.callum-macdonald.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Now the Site Admin link doesn&#8217;t appear unless it&#8217;s functional.</p>
<p>Thanks for the help and for the great plugin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35786</link>
		<dc:creator>Malcolm</dc:creator>
		<pubDate>Mon, 11 May 2009 21:09:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-35786</guid>
		<description>Thanks! I&#039;ll give that a try and report back.</description>
		<content:encoded><![CDATA[<p>Thanks! I&#8217;ll give that a try and report back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Callum</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35785</link>
		<dc:creator>Callum</dc:creator>
		<pubDate>Mon, 11 May 2009 21:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-35785</guid>
		<description>@&lt;a href=&quot;http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35755&quot; rel=&quot;nofollow&quot;&gt;Malcolm&lt;/a&gt;: You could use the same test as in the plugin itself.
&lt;code&gt;if (!current_user_can($wpba_required_capability))&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@<a href="http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35755" rel="nofollow">Malcolm</a>: You could use the same test as in the plugin itself.<br />
<code>if (!current_user_can($wpba_required_capability))</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm</title>
		<link>http://www.callum-macdonald.com/code/wp-block-admin/comment-page-1/#comment-35755</link>
		<dc:creator>Malcolm</dc:creator>
		<pubDate>Sun, 10 May 2009 03:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.callum-macdonald.com/?page_id=1007#comment-35755</guid>
		<description>Thanks. If I&#039;d get rid of that link n the theme, I&#039;d want to condition that getting-rid-of on your plugin having deactivated the link (or redirecting it, whatever you do).  Can you think of a test I could make?</description>
		<content:encoded><![CDATA[<p>Thanks. If I&#8217;d get rid of that link n the theme, I&#8217;d want to condition that getting-rid-of on your plugin having deactivated the link (or redirecting it, whatever you do).  Can you think of a test I could make?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

