<?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: Housekeeping</title>
	<atom:link href="http://redradar.net/2009/10/housekeeping/feed/" rel="self" type="application/rss+xml" />
	<link>http://redradar.net/2009/10/housekeeping/</link>
	<description>Yet another WordPress site</description>
	<lastBuildDate>Thu, 29 Jul 2010 18:42:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Sofia Singh</title>
		<link>http://redradar.net/2009/10/housekeeping/comment-page-1/#comment-3137</link>
		<dc:creator>Sofia Singh</dc:creator>
		<pubDate>Wed, 28 Apr 2010 18:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://redradar.net/?p=187#comment-3137</guid>
		<description>Internet Explorer 8 is very good because it is as stable as Opera. I hate the previous versions of IE like IE6 because it hangs frequently.     `</description>
		<content:encoded><![CDATA[<p>Internet Explorer 8 is very good because it is as stable as Opera. I hate the previous versions of IE like IE6 because it hangs frequently.     `</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim Kirkpatrick</title>
		<link>http://redradar.net/2009/10/housekeeping/comment-page-1/#comment-782</link>
		<dc:creator>Kim Kirkpatrick</dc:creator>
		<pubDate>Sun, 01 Nov 2009 06:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://redradar.net/?p=187#comment-782</guid>
		<description>Sorry.  This should work:

3.The problem with the “You must be logged in…” message in IE8 is due to improper quoting of $page in post_from_site.php line 147 — this is what you provide:

echo &quot;&lt;div id=\&quot;alert\&quot;&gt;You need to be logged in to post. &lt;a href=&quot;.get_bloginfo(&#039;url&#039;).&quot;/wp-login.php?redirect_to=$page&#039;&gt;Log in&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&quot;;

There is no quote before $page, and a single quote after, which does not match the double-quote at the end. Fix the quotes, IE8 likes it. [Amazing -- for once IE8 makes sense -- this shouldn&#039;t work in any browser, but it does work in all others!]</description>
		<content:encoded><![CDATA[<p>Sorry.  This should work:</p>
<p>3.The problem with the “You must be logged in…” message in IE8 is due to improper quoting of $page in post_from_site.php line 147 — this is what you provide:</p>
<p>echo &#8220;&lt;div id=\&#8221;alert\&#8221;&gt;You need to be logged in to post. &lt;a href=&#8221;.get_bloginfo(&#8216;url&#8217;).&#8221;/wp-login.php?redirect_to=$page&#8217;&gt;Log in&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&#8221;;</p>
<p>There is no quote before $page, and a single quote after, which does not match the double-quote at the end. Fix the quotes, IE8 likes it. [Amazing -- for once IE8 makes sense -- this shouldn't work in any browser, but it does work in all others!]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim Kirkpatrick</title>
		<link>http://redradar.net/2009/10/housekeeping/comment-page-1/#comment-781</link>
		<dc:creator>Kim Kirkpatrick</dc:creator>
		<pubDate>Sun, 01 Nov 2009 05:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://redradar.net/?p=187#comment-781</guid>
		<description>I am working with downloads of 1.9.0 done in the past two days, and WP 2.8.5.

I&#039;ve done fresh installs to both WAMP and Linux servers, and find the following:

1. As before, the path to the script and style files is incorrect in WAMP, missing /&#039;s around plugins: 
   .../wp-contentpluginspost-from-site/pfs_display.js
   So in WAMP I have to fix these paths, while in Linux it works either way.  
   I suggest you either fix this (as follows), or warn of the (potential) Windows incompatibility. 
   
//Set plugin dirname
define(&#039;POSTFROMSITE_PLUGIN_DIR&#039;, dirname(plugin_basename(__FILE__)));
add_action(&#039;init&#039;,&#039;pfs_includes&#039;);
function pfs_includes(){
wp_enqueue_script( &#039;pfs_display&#039;, WP_PLUGIN_URL.&#039;/&#039;.POSTFROMSITE_PLUGIN_DIR.&#039;/pfs_display.js&#039;);
wp_enqueue_style( &#039;pfs_style&#039;, WP_PLUGIN_URL.&#039;/&#039;.POSTFROMSITE_PLUGIN_DIR.&#039;/pfs_style.php&#039;); 
}

2. The problem with pfs_style.php not loading due to text/html problems (as reported by Firebug) must have been caused by some of my attempts to fix other problems.  With the new installs and the much less intensive fiddling to get pfs to work, this file loads OK.

3. The problem with the  &quot;You must be logged in...&quot; message in IE8 is due to improper quoting of $page in post_from_site.php line 147 -- this is what you provide:

echo &quot;You need to be logged in to post. &lt;a&gt;Log in&lt;/a&gt;&quot;;

There is no quote before $page, and a single quote after, which does not match the double-quote at the end.  Fix the quotes, IE8 likes it.  [Amazing -- for once IE8 makes sense -- this shouldn&#039;t work in any browser, but it does work in all others!]

4. So here is the problem that seems to arise, and I don&#039;t know javascript well enough to know why (or why it works for you):  
In pfs_display.js, line 17, you have 
  postboxes[i].style.display = &#039;none&#039;;
Firebug complains that  postboxes[i].style  is not defined. (And I don&#039;t get it to work in any browser, not just Firefox.) 
But if I remove style. from this line, making it
  postboxes[i].display = &#039;none&#039;;
everything works!  
Also, everything works with i in place of postboxes[i]:
  i.display = &#039;none&#039;;
which makes more sense to me, given the &quot;for (i in ...)&quot; statement.
But I don&#039;t see why style isn&#039;t appropriate in either case.  It&#039;s what I would have written.

So the upshot is -- all my problems are fixed if the path computation is done properly, if the quotes are fixed in that &quot;must be logged in&quot; message, and if style. is removed in that one place.

But the files must work for you in their original form, so I wonder why that &quot;style.&quot; works for you and not for me.</description>
		<content:encoded><![CDATA[<p>I am working with downloads of 1.9.0 done in the past two days, and WP 2.8.5.</p>
<p>I&#8217;ve done fresh installs to both WAMP and Linux servers, and find the following:</p>
<p>1. As before, the path to the script and style files is incorrect in WAMP, missing /&#8217;s around plugins:<br />
   &#8230;/wp-contentpluginspost-from-site/pfs_display.js<br />
   So in WAMP I have to fix these paths, while in Linux it works either way.<br />
   I suggest you either fix this (as follows), or warn of the (potential) Windows incompatibility. </p>
<p>//Set plugin dirname<br />
define(&#8216;POSTFROMSITE_PLUGIN_DIR&#8217;, dirname(plugin_basename(__FILE__)));<br />
add_action(&#8216;init&#8217;,'pfs_includes&#8217;);<br />
function pfs_includes(){<br />
wp_enqueue_script( &#8216;pfs_display&#8217;, WP_PLUGIN_URL.&#8217;/&#8217;.POSTFROMSITE_PLUGIN_DIR.&#8217;/pfs_display.js&#8217;);<br />
wp_enqueue_style( &#8216;pfs_style&#8217;, WP_PLUGIN_URL.&#8217;/&#8217;.POSTFROMSITE_PLUGIN_DIR.&#8217;/pfs_style.php&#8217;);<br />
}</p>
<p>2. The problem with pfs_style.php not loading due to text/html problems (as reported by Firebug) must have been caused by some of my attempts to fix other problems.  With the new installs and the much less intensive fiddling to get pfs to work, this file loads OK.</p>
<p>3. The problem with the  &#8220;You must be logged in&#8230;&#8221; message in IE8 is due to improper quoting of $page in post_from_site.php line 147 &#8212; this is what you provide:</p>
<p>echo &#8220;You need to be logged in to post. <a>Log in</a>&#8220;;</p>
<p>There is no quote before $page, and a single quote after, which does not match the double-quote at the end.  Fix the quotes, IE8 likes it.  [Amazing -- for once IE8 makes sense -- this shouldn't work in any browser, but it does work in all others!]</p>
<p>4. So here is the problem that seems to arise, and I don&#8217;t know javascript well enough to know why (or why it works for you):<br />
In pfs_display.js, line 17, you have<br />
  postboxes[i].style.display = &#8216;none&#8217;;<br />
Firebug complains that  postboxes[i].style  is not defined. (And I don&#8217;t get it to work in any browser, not just Firefox.)<br />
But if I remove style. from this line, making it<br />
  postboxes[i].display = &#8216;none&#8217;;<br />
everything works!<br />
Also, everything works with i in place of postboxes[i]:<br />
  i.display = &#8216;none&#8217;;<br />
which makes more sense to me, given the &#8220;for (i in &#8230;)&#8221; statement.<br />
But I don&#8217;t see why style isn&#8217;t appropriate in either case.  It&#8217;s what I would have written.</p>
<p>So the upshot is &#8212; all my problems are fixed if the path computation is done properly, if the quotes are fixed in that &#8220;must be logged in&#8221; message, and if style. is removed in that one place.</p>
<p>But the files must work for you in their original form, so I wonder why that &#8220;style.&#8221; works for you and not for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim Kirkpatrick</title>
		<link>http://redradar.net/2009/10/housekeeping/comment-page-1/#comment-780</link>
		<dc:creator>Kim Kirkpatrick</dc:creator>
		<pubDate>Sun, 01 Nov 2009 03:13:35 +0000</pubDate>
		<guid isPermaLink="false">http://redradar.net/?p=187#comment-780</guid>
		<description>OK, I&#039;ll continue this here for now, but place new comments on the plugin post page.

Just to be clear, here is a copy of the page source (same for css file -- I&#039;ve suppressed the html brackets) from your stock install on a WAMP (XAMPP). Note the missing /&#039;s around plugins.

script type=&#039;text/javascript&#039; src=&#039;http://localhost/wp-contentpluginspost-from-site/pfs_display.js?ver=2.8.5&#039; /script

With a fresh install on my Linux server instead, this path is correct (with slashes placed properly) so this is a Windows problem.

On IE8 (WAMP and Linux server) the unlogged-in message looks like (direct copy from screen)
You need to be logged in to post. &lt;a&gt;Log in

Doesn&#039;t seem to change if I make the brackets entities &lt; &gt;

However, with the fresh install on Linux, I still get no popup.  (The style.php does install, though.  So maybe that&#039;s not a problem.)

When I click quick post, Firebug error console:
Error: postboxes[i].style is undefined
Source file: http://riogallinasschool.org/wp-content/plugins/post-from-site/pfs_display.js?ver=2.8.5
Line: 17

and there&#039;s no popup.  So, if I remove &quot;.style&quot; from line 17, making it 
  postboxes[i].display = &#039;none&#039;; 
everything works!  This is true for all browsers I&#039;ve tested (FF, IE8, Chrome, Opera, Safari).

I don&#039;t know JS well enough to see what&#039;s going on, and it must have worked for you.  

So to  summarize, 
1. under windows your path calculation won&#039;t work, but it&#039;s ok under Linux.

2. IE8 doesn&#039;t like the message that contains html.

3. Whatever was wrong with loading the style php must have been due to one of my debugging attempts before I got things working.  I can&#039;t repeat it.

4.  HOWEVER, I have to make a serious, strange change --removing style. from your js on one line but not others.</description>
		<content:encoded><![CDATA[<p>OK, I&#8217;ll continue this here for now, but place new comments on the plugin post page.</p>
<p>Just to be clear, here is a copy of the page source (same for css file &#8212; I&#8217;ve suppressed the html brackets) from your stock install on a WAMP (XAMPP). Note the missing /&#8217;s around plugins.</p>
<p>script type=&#8217;text/javascript&#8217; src=&#8217;http://localhost/wp-contentpluginspost-from-site/pfs_display.js?ver=2.8.5&#8242; /script</p>
<p>With a fresh install on my Linux server instead, this path is correct (with slashes placed properly) so this is a Windows problem.</p>
<p>On IE8 (WAMP and Linux server) the unlogged-in message looks like (direct copy from screen)<br />
You need to be logged in to post. <a>Log in</p>
<p>Doesn&#8217;t seem to change if I make the brackets entities &lt; &gt;</p>
<p>However, with the fresh install on Linux, I still get no popup.  (The style.php does install, though.  So maybe that&#8217;s not a problem.)</p>
<p>When I click quick post, Firebug error console:<br />
Error: postboxes[i].style is undefined<br />
Source file: </a><a href="http://riogallinasschool.org/wp-content/plugins/post-from-site/pfs_display.js?ver=2.8.5" rel="nofollow">http://riogallinasschool.org/wp-content/plugins/post-from-site/pfs_display.js?ver=2.8.5</a><br />
Line: 17</p>
<p>and there&#8217;s no popup.  So, if I remove &#8220;.style&#8221; from line 17, making it<br />
  postboxes[i].display = &#8216;none&#8217;;<br />
everything works!  This is true for all browsers I&#8217;ve tested (FF, IE8, Chrome, Opera, Safari).</p>
<p>I don&#8217;t know JS well enough to see what&#8217;s going on, and it must have worked for you.  </p>
<p>So to  summarize,<br />
1. under windows your path calculation won&#8217;t work, but it&#8217;s ok under Linux.</p>
<p>2. IE8 doesn&#8217;t like the message that contains html.</p>
<p>3. Whatever was wrong with loading the style php must have been due to one of my debugging attempts before I got things working.  I can&#8217;t repeat it.</p>
<p>4.  HOWEVER, I have to make a serious, strange change &#8211;removing style. from your js on one line but not others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kelly</title>
		<link>http://redradar.net/2009/10/housekeeping/comment-page-1/#comment-778</link>
		<dc:creator>kelly</dc:creator>
		<pubDate>Sun, 01 Nov 2009 00:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://redradar.net/?p=187#comment-778</guid>
		<description>You&#039;ve got the right place, kind of. I answer questions in the comments to the &lt;a href=&quot;http://redradar.net/2009/06/unveiling-post-from-site/&quot; rel=&quot;nofollow&quot;&gt;plugin&#039;s post&lt;/a&gt;, or anywhere here, really. 

I know the pathing to the scripts/styles is not the best approach, that has changed in 2.0 (which should be out this week). You also had trouble with the dynamic CSS, and the login link in IE8? I admit I might&#039;ve missed that in testing, but the CSS issue I haven&#039;t heard from anyone else. Do you have any idea what might be causing it? Another WAMP issue? The style.php file should be setting the headers to text/css, is there something that might overwrite that on your server?
Also, how different is your filesystem set up from that of a default wordpress install? Because in some places I require files using ../../../, assuming that I know where I&#039;m starting from. (though maybe you caught that and fixed it?)

If you&#039;re still not getting the popup with my code, are you sure you&#039;re using the latest version? This was a known problem with early versions (&lt;1.6.3).

If there are other problems, let me know, I&#039;ll help you however I can.</description>
		<content:encoded><![CDATA[<p>You&#8217;ve got the right place, kind of. I answer questions in the comments to the <a href="http://redradar.net/2009/06/unveiling-post-from-site/" rel="nofollow">plugin&#8217;s post</a>, or anywhere here, really. </p>
<p>I know the pathing to the scripts/styles is not the best approach, that has changed in 2.0 (which should be out this week). You also had trouble with the dynamic CSS, and the login link in IE8? I admit I might&#8217;ve missed that in testing, but the CSS issue I haven&#8217;t heard from anyone else. Do you have any idea what might be causing it? Another WAMP issue? The style.php file should be setting the headers to text/css, is there something that might overwrite that on your server?<br />
Also, how different is your filesystem set up from that of a default wordpress install? Because in some places I require files using ../../../, assuming that I know where I&#8217;m starting from. (though maybe you caught that and fixed it?)</p>
<p>If you&#8217;re still not getting the popup with my code, are you sure you&#8217;re using the latest version? This was a known problem with early versions (&lt;1.6.3).</p>
<p>If there are other problems, let me know, I&#8217;ll help you however I can.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim Kirkpatrick</title>
		<link>http://redradar.net/2009/10/housekeeping/comment-page-1/#comment-770</link>
		<dc:creator>Kim Kirkpatrick</dc:creator>
		<pubDate>Sat, 31 Oct 2009 05:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://redradar.net/?p=187#comment-770</guid>
		<description>Ok, I installed on my live site (Linux).  The paths to the style and script files were correct (I&#039;m sure my earlier problem was a Windows difficulty with WAMP -- backslashes are special RE characters).  

But even so, no popup until I uploaded my variants. So there is some difficulty with your code.

I just noticed that what I though was just a graphic for the product is actually a quick post link -- I guess that is what we should use instead of commenting.  I&#039;ll try that next time.
Kim</description>
		<content:encoded><![CDATA[<p>Ok, I installed on my live site (Linux).  The paths to the style and script files were correct (I&#8217;m sure my earlier problem was a Windows difficulty with WAMP &#8212; backslashes are special RE characters).  </p>
<p>But even so, no popup until I uploaded my variants. So there is some difficulty with your code.</p>
<p>I just noticed that what I though was just a graphic for the product is actually a quick post link &#8212; I guess that is what we should use instead of commenting.  I&#8217;ll try that next time.<br />
Kim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim Kirkpatrick</title>
		<link>http://redradar.net/2009/10/housekeeping/comment-page-1/#comment-769</link>
		<dc:creator>Kim Kirkpatrick</dc:creator>
		<pubDate>Sat, 31 Oct 2009 04:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://redradar.net/?p=187#comment-769</guid>
		<description>Hi, Kelly,  I&#039;m a little confused -- there seems to be no way to contact you and no forum to discuss post-from-site -- only these comments.

So anyway, I&#039;ve been trying to use pfp, with (finally) good results, but having to fix what appear to be fatal bugs.  For example, the wp_queue_..()&#039;s don&#039;t put out the correct paths (leaving out the /&#039;s around plugins).  Maybe this is a WAMP thing -- you probably develop on Ubuntu so don&#039;t notice the Windows backslash thing.  (But split() is deprecated, and you don&#039;t need RE&#039;s here anyway.)  I fixed that part with this slightly cleaner approach:

//Set plugin dirname
define(&#039;POSTFROMSITE_PLUGIN_DIR&#039;, dirname(plugin_basename(__FILE__)));
add_action(&#039;init&#039;,&#039;pfs_includes&#039;);
function pfs_includes(){
	wp_enqueue_script( &#039;pfs_display&#039;, WP_PLUGIN_URL.&#039;/&#039;.POSTFROMSITE_PLUGIN_DIR.&#039;/pfs_display.js&#039;);
	wp_enqueue_style( &#039;pfs_style&#039;, WP_PLUGIN_URL.&#039;/&#039;.POSTFROMSITE_PLUGIN_DIR.&#039;/pfs_style.css&#039;); //KAK static css file
	return; //KAK added return to avoid crash on login/out!?
}

Note here I also changed to a static css (filling in all the dynamic parts); I could never get the php loaded as css (a text/css vs text/html problem -- in all browsers, not just Firefox, which is known to be fussy about this).  Maybe not everyone will have this problem, but unless you have instructions on fixing it, I think dynamic css is the wrong way to go for a public plugin.

In pfs_submit, I removed the login link from the final alert.  IE8 couldn&#039;t handle it -- and since I use sidebar-login, it isn&#039;t even useful to me.  But what&#039;s the deal with IE on this?  It just displays the html as text.  Maybe entity-fy the brackets?

I&#039;m now going to try to install the stock version on my live site, to see if my problems were Windows vs Linux.  I&#039;ll let you know.

This plugin is crucially important to the student area of the school website I&#039;m constructing -- it solves many problems (particularly training).  So I&#039;ll probably continue to modify it (the popup needs to be draggable and resizable, for one thing).  If you want to communicate via email, I can keep you informed.

Thanks
Kim</description>
		<content:encoded><![CDATA[<p>Hi, Kelly,  I&#8217;m a little confused &#8212; there seems to be no way to contact you and no forum to discuss post-from-site &#8212; only these comments.</p>
<p>So anyway, I&#8217;ve been trying to use pfp, with (finally) good results, but having to fix what appear to be fatal bugs.  For example, the wp_queue_..()&#8217;s don&#8217;t put out the correct paths (leaving out the /&#8217;s around plugins).  Maybe this is a WAMP thing &#8212; you probably develop on Ubuntu so don&#8217;t notice the Windows backslash thing.  (But split() is deprecated, and you don&#8217;t need RE&#8217;s here anyway.)  I fixed that part with this slightly cleaner approach:</p>
<p>//Set plugin dirname<br />
define(&#8216;POSTFROMSITE_PLUGIN_DIR&#8217;, dirname(plugin_basename(__FILE__)));<br />
add_action(&#8216;init&#8217;,'pfs_includes&#8217;);<br />
function pfs_includes(){<br />
	wp_enqueue_script( &#8216;pfs_display&#8217;, WP_PLUGIN_URL.&#8217;/&#8217;.POSTFROMSITE_PLUGIN_DIR.&#8217;/pfs_display.js&#8217;);<br />
	wp_enqueue_style( &#8216;pfs_style&#8217;, WP_PLUGIN_URL.&#8217;/&#8217;.POSTFROMSITE_PLUGIN_DIR.&#8217;/pfs_style.css&#8217;); //KAK static css file<br />
	return; //KAK added return to avoid crash on login/out!?<br />
}</p>
<p>Note here I also changed to a static css (filling in all the dynamic parts); I could never get the php loaded as css (a text/css vs text/html problem &#8212; in all browsers, not just Firefox, which is known to be fussy about this).  Maybe not everyone will have this problem, but unless you have instructions on fixing it, I think dynamic css is the wrong way to go for a public plugin.</p>
<p>In pfs_submit, I removed the login link from the final alert.  IE8 couldn&#8217;t handle it &#8212; and since I use sidebar-login, it isn&#8217;t even useful to me.  But what&#8217;s the deal with IE on this?  It just displays the html as text.  Maybe entity-fy the brackets?</p>
<p>I&#8217;m now going to try to install the stock version on my live site, to see if my problems were Windows vs Linux.  I&#8217;ll let you know.</p>
<p>This plugin is crucially important to the student area of the school website I&#8217;m constructing &#8212; it solves many problems (particularly training).  So I&#8217;ll probably continue to modify it (the popup needs to be draggable and resizable, for one thing).  If you want to communicate via email, I can keep you informed.</p>
<p>Thanks<br />
Kim</p>
]]></content:encoded>
	</item>
</channel>
</rss>
