<?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: Clean up spam words</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/</link>
	<description></description>
	<pubDate>Wed, 08 Oct 2008 08:02:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Kitten</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5928</link>
		<dc:creator>Kitten</dc:creator>
		<pubDate>Fri, 11 Jun 2004 06:55:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5928</guid>
		<description>On the user-options front, I've come up with a way to make the plugin fully customisable from the plugins page. Allowing for install/uninstall/and option setting via links in the plugin listing. I'll be rolling this out soon.</description>
		<content:encoded><![CDATA[<p>On the user-options front, I&#039;ve come up with a way to make the plugin fully customisable from the plugins page. Allowing for install/uninstall/and option setting via links in the plugin listing. I&#039;ll be rolling this out soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5912</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Thu, 10 Jun 2004 11:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5912</guid>
		<description>Shelagh - I copied my blacklist into a text editor and removed those lines (or added the base of whatever the line had)... If you want to copy what I have, there's a link in the sidebar to my blacklist - that is what i'm using in WP. I should warn you that some of the items are on the broad side... but with the way WP handles it, they'll just put the comment in "moderation" mode - and then you can decide if it's really spam or not (as opposed to mt-blacklist which wouldn't even allow the comment to go through at all - which, with broad terms, was more problematic)</description>
		<content:encoded><![CDATA[<p>Shelagh - I copied my blacklist into a text editor and removed those lines (or added the base of whatever the line had)&#8230; If you want to copy what I have, there&#039;s a link in the sidebar to my blacklist - that is what i&#039;m using in WP. I should warn you that some of the items are on the broad side&#8230; but with the way WP handles it, they&#039;ll just put the comment in &#034;moderation&#034; mode - and then you can decide if it&#039;s really spam or not (as opposed to mt-blacklist which wouldn&#039;t even allow the comment to go through at all - which, with broad terms, was more problematic)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shelagh</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5911</link>
		<dc:creator>Shelagh</dc:creator>
		<pubDate>Thu, 10 Jun 2004 07:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5911</guid>
		<description>On a slightly different note, I wanted to add the MT Blacklist to my WP spamlist but it includes things like

&lt;strong&gt;8th\S*street\S*latina\S*\.[a-z]{2,}&lt;/strong&gt;

Can WP cope with this?</description>
		<content:encoded><![CDATA[<p>On a slightly different note, I wanted to add the MT Blacklist to my WP spamlist but it includes things like</p>
<p><strong>8th\S*street\S*latina\S*\.[a-z]{2,}</strong></p>
<p>Can WP cope with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kitten</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5345</link>
		<dc:creator>Kitten</dc:creator>
		<pubDate>Wed, 09 Jun 2004 22:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5345</guid>
		<description>I'll reply in both places. Making the email/IP address to be options is no big deal, but have them become user choices each time it's run, it a bigger deal. Basically, there's no good way for a WP plugin to interact with the user. So to have a popup list of what was being added is quite an undertaking. If you have any ideas about the best way to go about it, I'm all ears.</description>
		<content:encoded><![CDATA[<p>I&#039;ll reply in both places. Making the email/IP address to be options is no big deal, but have them become user choices each time it&#039;s run, it a bigger deal. Basically, there&#039;s no good way for a WP plugin to interact with the user. So to have a popup list of what was being added is quite an undertaking. If you have any ideas about the best way to go about it, I&#039;m all ears.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5334</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 09 Jun 2004 11:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5334</guid>
		<description>kitten - can you optionally have it NOT add the email and IP, and just have it add the URLs you specifically indicate? The reason I ask is because very often the IPs are bogus, as well as the emails they use - and even the URLs are usually SUBDOMAINS of ONE URL. So if you can't go in and selectively indicate WHICH THINGS you want it to add - it may add alot more lines than you really need it to...</description>
		<content:encoded><![CDATA[<p>kitten - can you optionally have it NOT add the email and IP, and just have it add the URLs you specifically indicate? The reason I ask is because very often the IPs are bogus, as well as the emails they use - and even the URLs are usually SUBDOMAINS of ONE URL. So if you can&#039;t go in and selectively indicate WHICH THINGS you want it to add - it may add alot more lines than you really need it to&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: christian</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5331</link>
		<dc:creator>christian</dc:creator>
		<pubDate>Wed, 09 Jun 2004 10:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5331</guid>
		<description>Kitten, that's exactly what i was talking about.. sounds like the same functionality as the MT blackmailer thingo.</description>
		<content:encoded><![CDATA[<p>Kitten, that&#039;s exactly what i was talking about.. sounds like the same functionality as the MT blackmailer thingo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kitten</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5330</link>
		<dc:creator>Kitten</dc:creator>
		<pubDate>Wed, 09 Jun 2004 10:41:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5330</guid>
		<description>I did something similar, except it adds a "delete as spam" button to the mass edit page, then any comments being deleted as such, have their email address, IP, domain of the url, and the domain of any links in the comment body all added to the spam words list. Then the list is nicely sorted, and dupes removed.</description>
		<content:encoded><![CDATA[<p>I did something similar, except it adds a &#034;delete as spam&#034; button to the mass edit page, then any comments being deleted as such, have their email address, IP, domain of the url, and the domain of any links in the comment body all added to the spam words list. Then the list is nicely sorted, and dupes removed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5324</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 09 Jun 2004 03:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5324</guid>
		<description>&lt;!--important--&gt;Just putting this here for my reference (and anyone else who's interested)

I edited options.php (in wp-admin) and added this code:&lt;h3&gt;if ($option-&#62;option_name == 'moderation_keys') {
$spamarray = explode("n", $new_val);
$spamarray = array_unique($spamarray);
sort($spamarray);
$newmoderation = "";
$cnt = 0;
foreach ($spamarray as $spamvalue) {
if ($cnt &#62; 0) {
$newmoderation .= "n";
}
if ($spamvalue != " ") { 
$newmoderation .= trim($spamvalue);
$cnt++;
}
}
$new_val = $newmoderation;
}&lt;/h3&gt;&lt;p&gt;I put that code above just &lt;b&gt;after&lt;/b&gt; the lines that looked like this (last line was 77?) :&lt;/p&gt;&lt;h3&gt;if ($user_level &#62;= $option-&#62;option_admin_level) {
$old_val = stripslashes($option-&#62;option_value);
$new_val = $_POST[$option-&#62;option_name];&lt;/h3&gt;</description>
		<content:encoded><![CDATA[<p><!--important-->Just putting this here for my reference (and anyone else who&#039;s interested)</p>
<p>I edited options.php (in wp-admin) and added this code:<br />
<h3>if ($option-&gt;option_name == &#039;moderation_keys&#039;) {<br />
$spamarray = explode(&#034;n&#034;, $new_val);<br />
$spamarray = array_unique($spamarray);<br />
sort($spamarray);<br />
$newmoderation = &#034;&#034;;<br />
$cnt = 0;<br />
foreach ($spamarray as $spamvalue) {<br />
if ($cnt &gt; 0) {<br />
$newmoderation .= &#034;n&#034;;<br />
}<br />
if ($spamvalue != &#034; &#034;) {<br />
$newmoderation .= trim($spamvalue);<br />
$cnt++;<br />
}<br />
}<br />
$new_val = $newmoderation;<br />
}</h3>
<p>I put that code above just <b>after</b> the lines that looked like this (last line was 77?) :</p>
<h3>if ($user_level &gt;= $option-&gt;option_admin_level) {<br />
$old_val = stripslashes($option-&gt;option_value);<br />
$new_val = $_POST[$option-&gt;option_name];</h3>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5316</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Tue, 08 Jun 2004 22:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5316</guid>
		<description>(I fixed the script so that it won't add the ending, extra new line) :)

Now I just have to integrate it directly into the admin page...</description>
		<content:encoded><![CDATA[<p>(I fixed the script so that it won&#039;t add the ending, extra new line) <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now I just have to integrate it directly into the admin page&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: christian</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5294</link>
		<dc:creator>christian</dc:creator>
		<pubDate>Tue, 08 Jun 2004 11:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/07/clean-up-spam-words/#comment-5294</guid>
		<description>i haven't actually done much work with WP (still on MT .. but i'm slowly moving over) .. but it'd be interesting to sort of incorporate their URL auto-addition to the blacklist .. so u get a new comment email, you can see it's a spam comment.. click on a URL - the page pulls out all of the URL's from that spammed comment - adds them to the moderation_keys, removes the comment.

I'm much more of a PHP programmer than PERL so modifying WP directly seems much easier to me.. but i just haven't got the time .. though when i do there's heaps of things i'd want to change in it.. i guess we'll just have to see what happens.

Good luck with the rest of your mods/hacks/etc to WP.</description>
		<content:encoded><![CDATA[<p>i haven&#039;t actually done much work with WP (still on MT .. but i&#039;m slowly moving over) .. but it&#039;d be interesting to sort of incorporate their URL auto-addition to the blacklist .. so u get a new comment email, you can see it&#039;s a spam comment.. click on a URL - the page pulls out all of the URL&#039;s from that spammed comment - adds them to the moderation_keys, removes the comment.</p>
<p>I&#039;m much more of a PHP programmer than PERL so modifying WP directly seems much easier to me.. but i just haven&#039;t got the time .. though when i do there&#039;s heaps of things i&#039;d want to change in it.. i guess we&#039;ll just have to see what happens.</p>
<p>Good luck with the rest of your mods/hacks/etc to WP.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.330 seconds -->
