<?xml version="1.0" encoding="iso-8859-2"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Fractured Bloughtsdisqus | Fractured Bloughts</title>
	<atom:link href="http://fracturedbloughts.rolandhesz.com/tag/disqus/feed/" rel="self" type="application/rss+xml" />
	<link>http://fracturedbloughts.rolandhesz.com</link>
	<description>Musings about work and life</description>
	<lastBuildDate>Mon, 10 May 2010 19:52:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19827</generator>
		<item>
		<title>Running on a new WP theme</title>
		<link>http://fracturedbloughts.rolandhesz.com/2009/08/24/running-on-a-new-wp-theme/</link>
		<comments>http://fracturedbloughts.rolandhesz.com/2009/08/24/running-on-a-new-wp-theme/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 17:15:03 +0000</pubDate>
		<dc:creator>Roland Hesz</dc:creator>
				<category><![CDATA[Popular]]></category>
		<category><![CDATA[Site news]]></category>
		<category><![CDATA[Blog Theme]]></category>
		<category><![CDATA[disqus]]></category>
		<category><![CDATA[Headway Theme]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plug in]]></category>

		<guid isPermaLink="false">http://fracturedbloughts.rolandhesz.com/?p=674</guid>
		<description><![CDATA[I have fallen for the recommendations, and bought and installed the Headway Theme Finally, got it working too. It is easy, everything is a snap, except when you have want to make some really &#8220;fancy&#8221; thing on your site &#8211; like the Video Posts on the right -, then it&#8217;s php coding. Or when it...]]></description>
			<content:encoded><![CDATA[<p>I have fallen for the recommendations, and bought and installed the <a title="Headway Themes" href="http://headwaythemes.com/">Headway Theme</a></p>
<p>Finally, got it working too. It is easy, everything is a snap, except when you have want to make some really &#8220;fancy&#8221; thing on your site &#8211; like the Video Posts on the right -, then it&#8217;s php coding. Or when it chokes on plugins, like on <a class="zem_slink" title="DISQUS" rel="homepage" href="http://www.disqus.com/">Disqus</a>. Don&#8217;t know why, but it simply could not handle it.</p>
<p>I wonder what can cause this behaviour, as people say they are running it without trouble &#8211; I am well prepared now for the flaming I&#8217;m going to get for pointing out problems :) &#8211; but below you can see the problem in all it&#8217;s glory.</p>
<p><object style="width: 622px; height: 230px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="622" height="230" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/08/brokenfeatur.swf" /><embed style="width: 622px; height: 230px;" type="application/x-shockwave-flash" width="622" height="230" src="http://fracturedbloughts.rolandhesz.com/wp-content/uploads/2009/08/brokenfeatur.swf"></embed></object></p>
<p>The tricky thing is what I have discovered is that it only happens in the Featured leaf, and then only when I set it to Rotate the posts.</p>
<p>The solution for now was pure hacking. The Disqus code that seems to be the cuplrit &#8211; or the victim, depends on how you look at it &#8211; can be found in the disqus.php:</p>
<pre><code>
function dsq_comment_count() {
  global $dsq_cc_script_embedded;
  if ( $dsq_cc_script_embedded ) {
    return;
  } else if ( (is_single() || is_page() || $withcomments || is_feed()) ) {
    return;
  }
  ?&gt;
  &lt;script type="text/javascript"&gt;
  // &lt;![CDATA[
   (function() {
     var links = document.getElementsByTagName('a');
     var query = '&amp;';
     for(var i = 0; i &lt; links.length; i++) {
       if(links[i].href.indexOf('#disqus_thread') &gt;= 0) {
       links[i].innerHTML = 'View Comments';
       query += 'wpid' + i + '=' + encodeURIComponent(links[i].getAttribute('wpid')) + '&amp;';
     }
   }
   document.write('&lt;script charset="utf-8" type="text/javascript" src="&lt;?php echo DISQUS_URL ?&gt;/forums/&lt;?php echo strtolower(get_option('disqus_forum_url')); ?&gt;/get_num_replies_from_wpid.js?v=2.0' + query + '"&gt;&lt;' + '/script&gt;');
 })();
 //]]&gt;
 &lt;/script&gt;
 &lt;?php
   $dsq_cc_script_embedded = true;
}</code></pre>
<p><span style="text-decoration: line-through;">This only happened in the Featured Post leaf, and only when I enabled Rotate &#8211; maybe the rotate script and the Disqus script get tangled. I don&#8217;t know.</span></p>
<p><span style="text-decoration: line-through;">For now what I have done is pure, and serious no-no hacking. I have commented out the code between <code>&lt;script type="text/javascript"&gt;// &lt;![CDATA[</code> and <code>// ]]&gt;&lt;/script&gt;</code>.</span><br />
<span style="text-decoration: line-through;">Evidently it is the wrong solution, but for now it works, and I am going to find out the proper one.</span></p>
<p><strong>UPDATE: </strong>After a bit of thinking I have decided to instead implement a more cultured temporary solution.<br />
I have changed this line:</p>
<pre><code>} else if ( (is_single() || is_page() || $withcomments || is_feed()) ) {</code></pre>
<p>to this line:</p>
<pre><code>} else if ( (is_home() || is_single() || is_page() || $withcomments || is_feed()) ) {</code></pre>
<p>Yes, I know that was the logical thing from the start.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 339px; width: 1px; height: 1px;">&amp;gt;</div>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.avc.com/a_vc/2009/08/disqus-v3-is-live-on-this-blog.html">Disqus V3 Is Live On This Blog</a> (avc.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/jeremyclarke/wordpress-theming-for-epic-n00bs-intro-to-template-tags-themes-and-php">WordPress Theming for Epic n00bs: Intro to Template Tags, Themes and PHP</a> (slideshare.net)</li>
<li class="zemanta-article-ul-li"><a href="http://www.benway.net/2009/07/18/disqus-and-wibiya/">Disqus and Wibiya</a> (benway.net)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/f258e61b-264c-477d-9018-0889ceece5f4/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=f258e61b-264c-477d-9018-0889ceece5f4" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://fracturedbloughts.rolandhesz.com/2009/08/24/running-on-a-new-wp-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Disqus this thing here&#8230;</title>
		<link>http://fracturedbloughts.rolandhesz.com/2008/05/15/disqus-this-thing-here/</link>
		<comments>http://fracturedbloughts.rolandhesz.com/2008/05/15/disqus-this-thing-here/#comments</comments>
		<pubDate>Thu, 15 May 2008 19:17:00 +0000</pubDate>
		<dc:creator>Roland Hesz</dc:creator>
				<category><![CDATA[Site news]]></category>
		<category><![CDATA[disqus]]></category>

		<guid isPermaLink="false">http://fracturedbloughts.heszroland.hu/?p=122</guid>
		<description><![CDATA[I have to admit first I was a bit reserved about Disqus. Letting go of my comments, placing them somewhere else felt a bit weird. I have to admit, that since then I totally came to like it, especially since I experience how helpful people are at Disqus. I just wrote them that I broke...]]></description>
			<content:encoded><![CDATA[<p>
I have to admit first I was a bit reserved about Disqus. Letting go of my comments, placing them somewhere else felt a bit weird.<br />
I have to admit, that since then I totally came to like it, especially since I experience how helpful people are at Disqus.<a href="http://fracturedbloughts.heszroland.hu/2008/05/14/some-small-difficulties/"> I just wrote them that I broke my disqus comments</a> here by changing the URL, and <a href="http://tailofthesun.com/">Jason</a> put it alright in a couple of hours &#8211; which in my book is pretty fast, given that he is on the other side of the globe.</p>
<p>So I would say thank you to Jason here too.</p>
]]></content:encoded>
			<wfw:commentRss>http://fracturedbloughts.rolandhesz.com/2008/05/15/disqus-this-thing-here/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Some small difficulties</title>
		<link>http://fracturedbloughts.rolandhesz.com/2008/05/14/some-small-difficulties/</link>
		<comments>http://fracturedbloughts.rolandhesz.com/2008/05/14/some-small-difficulties/#comments</comments>
		<pubDate>Wed, 14 May 2008 12:37:00 +0000</pubDate>
		<dc:creator>Roland Hesz</dc:creator>
				<category><![CDATA[Site news]]></category>
		<category><![CDATA[disqus]]></category>
		<category><![CDATA[site difficulties]]></category>

		<guid isPermaLink="false">http://fracturedbloughts.heszroland.hu/?p=119</guid>
		<description><![CDATA[The changing of the blog URL &#8220;broke&#8221; the Disqus comments. They are not gone, it&#8217;s just they don&#8217;t link to the post anymore &#8211; still pointing to the old URL &#8211; so they don&#8217;t show up on the blog, except for the sidebar widget. I tried to find the solution, but everyone who had the...]]></description>
			<content:encoded><![CDATA[<p>The changing of the blog URL &#8220;broke&#8221; the <a href="http://disqus.com">Disqus</a> comments. They are not gone, it&#8217;s just they don&#8217;t link to the post anymore &#8211; still pointing to the old URL &#8211; so they don&#8217;t show up on the blog, except for the sidebar widget.</p>
<p>I tried to find the solution, but everyone who had the same problem got the answer: please send an email to help@disqus.com &#8211; which I did, now waiting for the answer, so far I have only good experiences with Disqus, so I think there won&#8217;t be any problems. However, I think it will be a better long term solution if they give the users a possibility to correct this problem themselves.</p>
<p>And working on a new heading, the title is not &#8220;fractured&#8221; enough right now, and I really like this theme. It&#8217;s just it will take some time to finish the logo.</p>
<p>And<a title="Fresh painting for the summer" href="http://fracturedbloughts.heszroland.hu/2008/05/06/fresh-painting-for-the-summer/"> the books from Amazon</a> have arrived, still in the box, but I will have to open it soon, it&#8217;s just a good feeling looking at the brown package, almost like Christmass.</p>
<p>And the fact that they have arrived means that about 5 or 6 months from now I will change the design again. This time made by me from scratch, if I can learn whatever is needed for that. And why wouldn&#8217;t I?</p>
]]></content:encoded>
			<wfw:commentRss>http://fracturedbloughts.rolandhesz.com/2008/05/14/some-small-difficulties/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

