<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: TDO Tag Fixes Wordpress Plugin (0.5)</title>
	<atom:link href="http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/</link>
	<description></description>
	<pubDate>Thu, 07 Aug 2008 18:47:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: admin</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-122278</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 04 Aug 2008 21:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-122278</guid>
		<description>Joel Giddey: Nothing you can't do with some regex! :)

dave: If you want the tag cloud to generate different links, you'll need to modify the code yourself currently. :( Also what do you mean by the permalinks aren't working?</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
Joel Giddey: Nothing you can&#8217;t do with some regex! <img src='http://thedeadone.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>dave: If you want the tag cloud to generate different links, you&#8217;ll need to modify the code yourself currently. <img src='http://thedeadone.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> Also what do you mean by the permalinks aren&#8217;t working?<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-120723</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Sun, 27 Jul 2008 00:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-120723</guid>
		<description>the plugin is fantastic, thank you.
i am having 2 issues though that i just can't sort out.
i have included 





but when using on a page like

?cat=6&#38;tdo_tag=tagename

is it possible to have the cloud generate links like

?cat=6&#38;tdo_tag=tagename+anothertag


also, i can't get the permalinks to work, they always show like
tdo_tag=tagname

any ideas?</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
the plugin is fantastic, thank you.<br />
i am having 2 issues though that i just can&#8217;t sort out.<br />
i have included </p>
<p>but when using on a page like</p>
<p>?cat=6&amp;tdo_tag=tagename</p>
<p>is it possible to have the cloud generate links like</p>
<p>?cat=6&amp;tdo_tag=tagename+anothertag</p>
<p>also, i can&#8217;t get the permalinks to work, they always show like<br />
tdo_tag=tagname</p>
<p>any ideas?<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dyason Hat</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-117862</link>
		<dc:creator>Dyason Hat</dc:creator>
		<pubDate>Tue, 15 Jul 2008 19:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-117862</guid>
		<description>&lt;strong&gt;TDO tag fixes with a twist...&lt;/strong&gt;

For those who are not familiar with TDO tag fixes, its a fantastic plugin that makes up for alot of wordpress&#8217;s shortfalls in what i like to call &#8216;filtering&#8217; posts. It basically allows you specify exactly what posts you want shown bas...</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
<strong>TDO tag fixes with a twist&#8230;</strong></p>
<p>For those who are not familiar with TDO tag fixes, its a fantastic plugin that makes up for alot of wordpress&#8217;s shortfalls in what i like to call &#8216;filtering&#8217; posts. It basically allows you specify exactly what posts you want shown bas&#8230;<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scotjam</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-117481</link>
		<dc:creator>scotjam</dc:creator>
		<pubDate>Mon, 14 Jul 2008 21:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-117481</guid>
		<description>Hi Joel

Brilliant site. Just one question, how did you get to make sub categories work with tags?

I was under the impression that tdo only works with single category intersections with one or more tags. But you've got sub categories working which is brilliant!

Also, I like the way the checkboxes are filtered. A very nice touch indeed.

cheers</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
Hi Joel</p>
<p>Brilliant site. Just one question, how did you get to make sub categories work with tags?</p>
<p>I was under the impression that tdo only works with single category intersections with one or more tags. But you&#8217;ve got sub categories working which is brilliant!</p>
<p>Also, I like the way the checkboxes are filtered. A very nice touch indeed.</p>
<p>cheers<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Giddey</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-117472</link>
		<dc:creator>Joel Giddey</dc:creator>
		<pubDate>Mon, 14 Jul 2008 19:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-117472</guid>
		<description>Great work on the fix to the plugin, I was digging through the new code and it really is a clever bit of work with the 'OR' joins.

For those interested I've finalized my implementation of the plugin over at my site a good url example is http://travel.accommodationsphere.com/earth/south-africa/gauteng-za/ look over at the left for accommodation types which are actually tags using the tdo_tag_fix with a few mods.

Regards
JG</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
Great work on the fix to the plugin, I was digging through the new code and it really is a clever bit of work with the &#8216;OR&#8217; joins.</p>
<p>For those interested I&#8217;ve finalized my implementation of the plugin over at my site a good url example is <a href="http://travel.accommodationsphere.com/earth/south-africa/gauteng-za/" rel="nofollow">http://travel.accommodationsphere.com/earth/south-africa/gauteng-za/</a> look over at the left for accommodation types which are actually tags using the tdo_tag_fix with a few mods.</p>
<p>Regards<br />
JG<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-115163</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 02 Jul 2008 08:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-115163</guid>
		<description>Hi Scotjam, what is the "tag surfer" functionality? I'm not familiar with it. If I know what it does, I can see if its doable.</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
Hi Scotjam, what is the &#8220;tag surfer&#8221; functionality? I&#8217;m not familiar with it. If I know what it does, I can see if its doable.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scotjam</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-115001</link>
		<dc:creator>scotjam</dc:creator>
		<pubDate>Wed, 02 Jul 2008 00:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-115001</guid>
		<description>Hi!

I'd love to find out how to emulate the 'tag surfer' functionality that wordpress.com users have.

Any ideas? I thought it might be possible to use your plugin and add some php code to change the links associated with the tags that are displayed.

For example, I could change the hyperlink of a tag (e.g. mywebsitestag [+]) so that it will append the tag to the existing url, or I could change the hyperlink (e.g. mywebsitestag [x]) so that on clicking it, it will jump the user to the same url minus the tag selected.

does this make sense?

many thanks
scotjam</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
Hi!</p>
<p>I&#8217;d love to find out how to emulate the &#8216;tag surfer&#8217; functionality that wordpress.com users have.</p>
<p>Any ideas? I thought it might be possible to use your plugin and add some php code to change the links associated with the tags that are displayed.</p>
<p>For example, I could change the hyperlink of a tag (e.g. mywebsitestag [+]) so that it will append the tag to the existing url, or I could change the hyperlink (e.g. mywebsitestag [x]) so that on clicking it, it will jump the user to the same url minus the tag selected.</p>
<p>does this make sense?</p>
<p>many thanks<br />
scotjam<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-111827</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 16 Jun 2008 10:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-111827</guid>
		<description>The code I posted is slightly incorrect. I've done the change and its sitting in the SVN repo, so anyone can grab the &lt;a href="http://downloads.wordpress.org/plugin/tdo-tag-fixes.zip" rel="nofollow"&gt;dev version&lt;/a&gt; right now with the fix. I'll probably release it officially during the week.</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
The code I posted is slightly incorrect. I&#8217;ve done the change and its sitting in the SVN repo, so anyone can grab the <a href="http://downloads.wordpress.org/plugin/tdo-tag-fixes.zip" rel="nofollow">dev version</a> right now with the fix. I&#8217;ll probably release it officially during the week.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-111820</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 16 Jun 2008 09:38:44 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-111820</guid>
		<description>I've got a filter implemented now that correctly updates the intersection query when you have a set of tags that are ORed instead of ANDed. I'll add it to the SVN later today, but if your in a here, here is the actual code you can add to the plugin:

&lt;code&gt;&lt;pre&gt;
  function tdotf_query_filter($where) {
      global $tdotf_tag_get_var,$wpdb;
      $tag_query = tdotf_get_tdo_tag_query();
      if(!empty($tag_query) &#038;&#038; $tag_query != false &#038;&#038; strpos($tag_query,',')) {
        $tags = split(",",$tag_query);
        
        // Grab all posts with these tags
        $sql = "SELECT p.ID FROM $wpdb-&gt;posts p INNER JOIN $wpdb-&gt;term_relationships tr ON (p.ID = tr.object_id) INNER JOIN $wpdb-&gt;term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) INNER JOIN $wpdb-&gt;terms t ON (tt.term_id = t.term_id)";
        $sql .= " WHERE tt.taxonomy = 'post_tag' AND t.slug IN ('" . implode("', '", $tags) . "')";
        $sql .= " GROUP BY p.ID";
        $post_ids = $wpdb-&gt;get_col($sql);
       
        // Pattern and replacement for query
        $pattern = "AND.*$wpdb-&gt;posts\.ID.*IN.*(.*)";
        $replacement = "AND $wpdb-&gt;posts.ID IN (" . implode(', ', $post_ids) . ")";

        // Update query
        $where = preg_replace('/'.$pattern.'/', $replacement, $where);
      }
      return $where;
  }
  add_filter('posts_where_request','tdotf_query_filter');
&lt;/pre&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
I&#8217;ve got a filter implemented now that correctly updates the intersection query when you have a set of tags that are ORed instead of ANDed. I&#8217;ll add it to the SVN later today, but if your in a here, here is the actual code you can add to the plugin:</p>
<p><code>
<pre>
  function tdotf_query_filter($where) {
      global $tdotf_tag_get_var,$wpdb;
      $tag_query = tdotf_get_tdo_tag_query();
      if(!empty($tag_query) &#038;&#038; $tag_query != false &#038;&#038; strpos($tag_query,',')) {
        $tags = split(",",$tag_query);

        // Grab all posts with these tags
        $sql = "SELECT p.ID FROM $wpdb->posts p INNER JOIN $wpdb->term_relationships tr ON (p.ID = tr.object_id) INNER JOIN $wpdb->term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) INNER JOIN $wpdb->terms t ON (tt.term_id = t.term_id)";
        $sql .= " WHERE tt.taxonomy = 'post_tag' AND t.slug IN ('" . implode("', '", $tags) . "')";
        $sql .= " GROUP BY p.ID";
        $post_ids = $wpdb->get_col($sql);

        // Pattern and replacement for query
        $pattern = "AND.*$wpdb->posts\.ID.*IN.*(.*)";
        $replacement = "AND $wpdb->posts.ID IN (" . implode(', ', $post_ids) . ")";

        // Update query
        $where = preg_replace('/'.$pattern.'/', $replacement, $where);
      }
      return $where;
  }
  add_filter('posts_where_request','tdotf_query_filter');
</pre>
<p></code><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-111817</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 16 Jun 2008 09:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/#comment-111817</guid>
		<description>Hi Joel,

I've done some digging. Your right. Tags with an OR join do not intersect with categories. This seems true for Wordpress 2.3 too. I've gone through the Wordpress code and it's not supported at all. I think I can make it work though by doing some magic with filters, so I'll see what I can do.</description>
		<content:encoded><![CDATA[<!-- wrapping ads -->
<p><!-- google_ad_section_start --><br />
Hi Joel,</p>
<p>I&#8217;ve done some digging. Your right. Tags with an OR join do not intersect with categories. This seems true for Wordpress 2.3 too. I&#8217;ve gone through the Wordpress code and it&#8217;s not supported at all. I think I can make it work though by doing some magic with filters, so I&#8217;ll see what I can do.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
</channel>
</rss>
