<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>SeanBluestone.com Forums Topic: Functions - Cleanse Links</title>
<link>http://www.seanbluestone.com/forums/</link>
<description><b>for <a href="http://www.seanbluestone.com">SeanBluestone.com</a></b></description>
<language>en</language>
<pubDate>Thu, 09 Feb 2012 13:24:02 +0000</pubDate>

<item>
<title>advbimbling on "Functions - Cleanse Links"</title>
<link>http://www.seanbluestone.com/forums/topic/functions-cleanse-links#post-204</link>
<pubDate>Fri, 17 Sep 2010 03:36:37 +0000</pubDate>
<dc:creator>advbimbling</dc:creator>
<guid isPermaLink="false">204@http://www.seanbluestone.com/forums/</guid>
<description>&#60;p&#62;Hello Sean,&#60;/p&#62;
&#60;p&#62;No requests just some helpful info re: this error.&#60;/p&#62;
&#60;p&#62;Resolved this problem after hours of scrutinising the code. Its now 4:30am so bare with me...&#60;/p&#62;
&#60;p&#62;For the error:&#60;/p&#62;
&#60;p&#62;Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /my/path/htdocs/my URL.org.uk/wp-content/plugins/wordpress-link-directory/link-directory.php on line 504&#60;/p&#62;
&#60;p&#62;After the addition of two lines of code, the cleanse function should be fully functional but will, unfortunately, incur another, very minor &#38;#38; totally unrelated error. This has no real effect other than being unsightly &#38;#38; sometimes inconvenient.&#60;/p&#62;
&#60;p&#62;Find at line 490 of link-directory.php:&#60;/p&#62;
&#60;p&#62;		// Perform The Cleanse Action by Checking the Reciprocal URLs for Each Link&#60;/p&#62;
&#60;p&#62;		$CleanseDel=$_POST['wplinkdir_cleansedelete'];&#60;/p&#62;
&#60;p&#62;Change this to:&#60;/p&#62;
&#60;p&#62;		// Perform The Cleanse Action by Checking the Reciprocal URLs for Each Link&#60;/p&#62;
&#60;p&#62;		$recip_option=get_option('wplinkdir_recip_requirement');&#60;br /&#62;
		$links_table = WPLD_LINKS_TABLE;&#60;br /&#62;
		$CleanseDel=$_POST['wplinkdir_cleansedelete'];&#60;/p&#62;
&#60;p&#62;The cause of the problem was just 2 lines of missing code. These defined a couple of important variables.&#60;/p&#62;
&#60;p&#62;Unfortunately the resolution of this problem opens another small bug:&#60;/p&#62;
&#60;p&#62;Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/a6593544/public_html/wordpress/wp-content/plugins/wordpress-link-directory/link-directory.php on line 547&#60;/p&#62;
&#60;p&#62;This seems to control the import/export function, after the cleanse has run, and delivered results. The code for this bit makes little sense to me, and may require a complete rewrite. But it is a minor problem anyhow as the import / export functions can be restored by navigating away from and back to the functions tab.&#60;/p&#62;
&#60;p&#62;I might have a poke around with this over the weekend for fits and giggles. For now its time for bed.&#60;/p&#62;
&#60;p&#62;Sorry to bump an old post, but I thought this might benefit a few people, and assist the developer.
&#60;/p&#62;</description>
</item>
<item>
<title>fask on "Functions - Cleanse Links"</title>
<link>http://www.seanbluestone.com/forums/topic/functions-cleanse-links#post-166</link>
<pubDate>Fri, 11 Sep 2009 11:33:09 +0000</pubDate>
<dc:creator>fask</dc:creator>
<guid isPermaLink="false">166@http://www.seanbluestone.com/forums/</guid>
<description>&#60;p&#62;I got the same problem :(
&#60;/p&#62;</description>
</item>
<item>
<title>atsakala on "Functions - Cleanse Links"</title>
<link>http://www.seanbluestone.com/forums/topic/functions-cleanse-links#post-141</link>
<pubDate>Thu, 04 Jun 2009 22:46:20 +0000</pubDate>
<dc:creator>atsakala</dc:creator>
<guid isPermaLink="false">141@http://www.seanbluestone.com/forums/</guid>
<description>&#60;p&#62;Did you ever solve this problem?  I am having same.
&#60;/p&#62;</description>
</item>
<item>
<title>paul1107 on "Functions - Cleanse Links"</title>
<link>http://www.seanbluestone.com/forums/topic/functions-cleanse-links#post-106</link>
<pubDate>Thu, 16 Apr 2009 17:05:16 +0000</pubDate>
<dc:creator>paul1107</dc:creator>
<guid isPermaLink="false">106@http://www.seanbluestone.com/forums/</guid>
<description>&#60;p&#62;Hi Sean,&#60;/p&#62;
&#60;p&#62;Great Plugin&#60;/p&#62;
&#60;p&#62;seem to be having problems cleansing links in so much as I get the following message&#60;/p&#62;
&#60;p&#62;Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /my/path/htdocs/my URL.org.uk/wp-content/plugins/wordpress-link-directory/link-directory.php on line 504&#60;/p&#62;
&#60;p&#62;It would be good to to be able to check that all receprocal links are valid? what do advise?&#60;/p&#62;
&#60;p&#62;Thanks Paul&#60;/p&#62;
&#60;p&#62;P.S. can you now insert the plugin on a page now, as I've only nbeen able to get it to work through a post?
&#60;/p&#62;</description>
</item>

</channel>
</rss>

