<?xml version="1.0" encoding="UTF-8"?>
<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/"
	>

<channel>
	<title>The Blackboard &#187; Wordpress Plugins</title>
	<atom:link href="http://rankexploits.com/musings/category/gadgets/wordpress-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://rankexploits.com/musings</link>
	<description>Where Climate Talk Gets Hot!</description>
	<lastBuildDate>Wed, 10 Mar 2010 16:58:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Suggest Climate Links Entry Form.</title>
		<link>http://rankexploits.com/musings/2009/suggest-climate-links-interface/</link>
		<comments>http://rankexploits.com/musings/2009/suggest-climate-links-interface/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 20:55:55 +0000</pubDate>
		<dc:creator>lucia</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://rankexploits.com/musings/?p=5953</guid>
		<description><![CDATA[This is the &#8220;Suggest a Climate Link Interface&#8221;. It&#8217;s still in development.  This is how it currently works:

Visitors enter a link, suggest a general &#8216;topic&#8217;, &#8217;source&#8217;, provide a brief description and a few tags that might be used to search a database. (Tags are optional. Topics are subjects like global surface temperature, sea ice, [...]]]></description>
			<content:encoded><![CDATA[<div class="wrap">
<div id="icon-link-manager" class="icon32"><br /></div>
<form id="directory_user_link_add_form" method="post" action="/musings/category/gadgets/wordpress-plugins/feed/"> 
<b>Options:</b><li>a) Enter a URL, hit submit. The script will check whether that link has already been entered or <br></li><li>b) Fill out all fields. The script will submit your link to the database even if it's a duplicate. </li><br />
If in doubt about the category, just put the link "general climate change", then leave a note in comments about better categories.<br />
<br />

<table>
<tr><td>Link URL</td><td> <input type="text" name="dir_link_url" size="30" tabindex="1" value="http://" id="dir_link_url" /></td></tr>
<tr><td>Link title</td><td> <input type="text" name="dir_link_name" size="30" value="" id="dir_link_name" /> </td></tr>
<tr><td>Select</td><td> <select name="category" tabindex="1" > size="5"><option value="0">Topic</option><option value="35">Alternate Energy</option><option value="6">AOGCM model data.</option><option value="34">Climate Blog</option><option value="40">CO2, Greenhouse gases and forcings</option><option value="18">Conspiracy theories</option><option value="23">Debates & Documentaries</option><option value="39">Feedbacks</option><option value="20">Links at other sites.</option><option value="21">Oscillations (ENSO, PDO, AMO)</option><option value="16">Paleo (e.g. hockey stick)</option><option value="17">People</option><option value="7">Policy & Politics</option><option value="25">Reports: Comprehensive</option><option value="4">Sea Ice</option><option value="31">Sea Level</option><option value="5">Sea Surface Temperatures</option><option value="38">Solar resources</option><option value="8">Strange & Silly</option><option value="2">Surface Temperatures (GMST)</option><option value="3">Tropospheric Temperatures</option></select></td>
<tr></tr><td>Select</td><td> <select name="type" tabindex="1" > size="5"><option value="0">Source</option><option value="10">Blog published</option><option value="9">Books</option><option value="22">General Climate Change</option><option value="13">Govt. Agency</option><option value="14">IPCC & UN</option><option value="33">News (e.g. New York Times, WAPO, WSJ, Fox...)</option><option value="28">Think Tank</option><option value="27">University</option><option value="24">Video (Youtube etc.)</option><option value="32">Web site, personal or commercial</option></select></td>
<tr><td>Description</td><td> <textarea name="link_description" rows="5" cols="40" tabindex="1" value="" id="link_description"></textarea></td></tr>
<tr><td>Tags</td><td> <input type="text" name="directory_address1" size="30" tabindex="1" value="" id="directory_address1" /> <br>Comma separate: tag1, tag2, tag3 </td></tr>
</table>  <!-- Submit Button -->
  	<p class="submit">
      <input type="hidden" name="link_form" value="link_form" />
      <input type="hidden" name="dir_user_tag" value="" id="" />
  		<input type="submit" name="Submit" class="button" value="Submit" />

  	</p>
  	
</form>

				</div>
<p>This is the &#8220;Suggest a Climate Link Interface&#8221;. It&#8217;s still in development.  This is how it currently works:</p>
<ol>
<li>Visitors enter a link, suggest a general &#8216;topic&#8217;, &#8217;source&#8217;, provide a brief description and a few tags that might be used to search a database. (Tags are optional. Topics are subjects like global surface temperature, sea ice, etc. Sources refer to things like blogs, newspapers, the IPCC, think tanks and etc.   ) </li>
<li>After they enter the link, the link is stored in a database and listed as &#8216;pending&#8217;.  At some point, I will notice the pending  link and check it. If it&#8217;s ok, I&#8217;ll approve the link (and possibly edit the topic, source or add tags); afterwards, the link will appear on the <a href="http://rankexploits.com/musings/climate-links/">the climate links page</a> and also be accessible from <a href="http://rankexploits.com/musings/2009/climate-links-headings/">the topics list</a>.</li>
<li><a href="http://rankexploits.com/musings/climate-links/">The climate links page</a> which is currently just a flat list. I&#8217;ll write a script to sort by category later on. Creating searchable sorted lists is <I>the point</i> of using a database instead of just  manually adding links.</li>
<li>You  can already do a little drill down to see all links in a particular topic by clicking the &#8220;topic&#8221; or &#8220;source&#8221; link at <a href="http://rankexploits.com/musings/climate-links/">the climate links page</a>.</li>
</ol>
<h2>Bleg for input!</h2>
<ul>
<li>You can already enter links. So feel free to do so. (I can&#8217;t seem to add Bjorn Lomborg&#8217;s site. I need to figure out why. If you don&#8217;t get the &#8220;Thanks for submitting a link&#8221; message after submitting, leave a note in comments.)</li>
<li>If you have a link that doesn&#8217;t fit a source or topic category, post a comment and suggest the link along with a category or type. I can add the appropriate source or topic on the admin side of the blog.</li>
</ul>
<p>I&#8217;m hoping a few of you will test and let me know if you have problems. (If you do, <b>do</b> complain in comments. That will a) let me know so I can fix the problem and b) alert other users not to enter too many links! </p>
]]></content:encoded>
			<wfw:commentRss>http://rankexploits.com/musings/2009/suggest-climate-links-interface/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Feature Alert: Robo-Translations</title>
		<link>http://rankexploits.com/musings/2009/feature-alert-robo-translations/</link>
		<comments>http://rankexploits.com/musings/2009/feature-alert-robo-translations/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 15:17:01 +0000</pubDate>
		<dc:creator>lucia</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[languate]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[Roger Pielke]]></category>

		<guid isPermaLink="false">http://rankexploits.com/musings/?p=5641</guid>
		<description><![CDATA[Have any of you noticed the nifty &#8220;robo-translation&#8221; feature plugin I installed several weeks ago?  I thought it would be fun to give the Global Translator Plugin a whirl.   The plugin lets me place an icon with loads of little flags somewhere on my blog; people can click and the page is [...]]]></description>
			<content:encoded><![CDATA[<p>Have any of you noticed the nifty &#8220;robo-translation&#8221; feature plugin I installed several weeks ago?  I thought it would be fun to give the <a href="http://www.nothing2hide.net/wp-plugins/wordpress-global-translator-plugin/">Global Translator Plugin</a> a whirl.   The plugin lets me place an icon with loads of little flags somewhere on my blog; people can click and the page is automatically translated. Sort of. </p>
<p>The blog owner (i.e. I) can select which languages to offer her (i. e. my) blog in. Then users can click to obtain a sort of translated page.  Based entirely on preconceived notions of where climate-blog addicts live, I picked a number of European languages, then threw Hindi into the mix.   </p>
<p>If you click a language you can actually understand, the results can be sort of humorous. Below, I have posted the translation into French of the first paragraph from yesterday&#8217;s post:</p>
<blockquote><p>J&#8217;ai été <em>bummed</em> que je ne peux jamais <em>scoop</em> Roy Spencer sur les anomalies de température UAH. J&#8217;ai secoué mon cerveau à essayer de comprendre comment je peux sortir avec une sorte de &#8220;première&#8221; lecture de la température de mois.  J&#8217;ai examiné un certain nombre de stratégies:</p></blockquote>
<p>It&#8217;s interesting to learn the idioms &#8220;&#234;tre bummer&#8221; and &#8220;pouvoir scooper&#8221; have penetrated the French language.  And such a novel conjugation for an &#8216;er&#8217; verbs!  </p>
<p>The various translations for the first paragraph include:</p>
<ol>
<li>Spanish: &#8220;He estado bummed que nunca primicia Roy Spencer &#8220;.</li>
<li>Italian: &#8220;Sono stato bummed che non può mai scoop&#8221;.</li>
<li>German: &#8220;Ich habe bummed, dass ich nie SCOOP&#8221;.</li>
<li>Russian: &#8220;Я был bummed что я никогда не совок Рой Спенсер на грн температуры&#8221;</li>
</ol>
<p>Those of you who want to have fun learning how far the verbs &#8220;scoop&#8221; and &#8220;bummed&#8221; have penetrated foreign languages can click the other buttons. <img src='http://rankexploits.com/musings/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>(If you are the first to click, this warming will appear briefly, &#8220;This page has not been translated yet. The translation process could take a while: in the meantime a semi-automatic translation will be provided in a few seconds.&#8221;)</p>
<p>If any native speakers are disturbed by odd translations, there is a multi-click method permitting them to suggest a better translation.  Find  &#8220;Back to Translate&#8221; link at the top of a translated page; click. Then enter the mistranslated text. Google will translate it again, and also provide  a link to &#8220;Contribute a better translation&#8221;. Click that. Then provide the improved translation.  </p>
<p>With some luck, Google will eventually know how to translate all slang and idiom, including words like <a href="http://languagelog.ldc.upenn.edu/nll/?p=1112">&#8220;shank-a-potamus&#8221;.</a> Better yet, the Google translator will help us discover the correct realclimatespeak to &#8216;common english venacular&#8217; translation of <a href="http://climatesci.org/2009/07/02/response-by-roger-a-pielke-sr-to-the-real-climate-weblog-more-bubkes/"> &#8220;a few years&#8221;</a> particularly when surrounded by text that specifically mentions the year 2007 twice, including an introduction that emphasizes that the new report is  &#8220;the most  important update of climate science since the 2007 IPCC report&#8221; and, moreover, is posted on a group blog established in 2004.   </p>
<p>Oddly, when I first read RC&#8217;s introduction, I noticed the 2007 AR4 was specifically mentioned by the RC authors, so <em>I</em> assumed  &#8220;Some aspects of climate change are progressing faster than was expected a few years ago&#8221; would use</p>
<ol>
<li> &#8220;are&#8221; to mean &#8220;are (present tense) currently observed to be progressing&#8221;  rather than &#8220;can be shown to have progressing more rapidly than the 2001 TAR model hindcasts post-dicted for historic periods predating the TAR&#8221;  (but oops. Our writing now suggests we did&#8217;t bother to compare this aspect of the hind cast to the existing measurements back when we wrote the TAR and disseminated our projections. )   </li>
<li>&#8220;faster than was expected a few years ago&#8221;, to mean either a) faster than was actually <em>predicted/projected</em> in the 2007 AR4,  and/or  b) faster than what was readily available data disclosed in the 2007 AR4.   </li>
</ol>
<p>However, it appears the phrase means something . . .  else.  If anyone can suggest the correct translation for the google &#8220;realclimatespeak&#8221; to &#8220;common  English venacular&#8221; robo-translator, please do.  </p>
]]></content:encoded>
			<wfw:commentRss>http://rankexploits.com/musings/2009/feature-alert-robo-translations/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Script Injection Attack</title>
		<link>http://rankexploits.com/musings/2009/script-injection-attack/</link>
		<comments>http://rankexploits.com/musings/2009/script-injection-attack/#comments</comments>
		<pubDate>Fri, 29 May 2009 13:14:53 +0000</pubDate>
		<dc:creator>lucia</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://rankexploits.com/musings/?p=5052</guid>
		<description><![CDATA[Update: I cleaned this up. There should be no malware threat.
======
I was hacked!
Thank you Stuart and Jonathan for alerting me that their browsers warned them that my site hosted malware.  Stuart was the first to alert me and Jonathan gave me the tip that the problem was somethign to do with &#8220;odmarco.com&#8221;.  I [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> I cleaned this up. There should be no malware threat.<br />
======<br />
I was hacked!<div id="attachment_5051" class="wp-caption aligncenter" style="width: 510px"><a href="http://rankexploits.com/musings/wp-content/uploads/2009/05/scriptinjection.jpg"><img src="http://rankexploits.com/musings/wp-content/uploads/2009/05/scriptinjection-500x165.jpg" alt="Script Injection" title="scriptinjection" width="500" height="165" class="size-medium wp-image-5051" /></a><p class="wp-caption-text">Script Injection</p></div></p>
<p>Thank you Stuart and Jonathan for alerting me that their browsers warned them that my site hosted malware.  Stuart was the first to alert me and Jonathan gave me the tip that the problem was somethign to do with &#8220;odmarco.com&#8221;.  I hunted around, and found a link to odmarco.com after the html closes in wordpress.  </p>
<p>I knew I had to get that out.  But how?</p>
<p>My first bet was this was caused by a new plugin&#8230;wrong!  </p>
<p>So, then I checked the index file of my <i>theme</i>. That&#8217;s editable from inside the wordpress plugin panel.  I found a script injection in <i>that</i> index.php file. I removed it.</p>
<p>That should have fixed it&#8230; so I thought. But no. The script was still in some of my files.</p>
<p>I switched themes: Still there. </p>
<p>So, I went to Dreamhost and checked the fulll wordpress installation, looked at the /index.php file and found that somehow a image had been added after the closing html tag in the file.  </p>
<p>If you are a blogger, I advise viewing your file source, and looking for &#8220;odmarco&#8221;. If it&#8217;s there, you&#8217;ll need to examine your very short /index.php file <i>at your hosting service</i> and your theme.  If you find an iframe at the end of the file, similar to the one I circled above <i>take it out</i>.</p>
<p>For anyone who wants to search the web or help other bloggers, you can view <i>their</i> source and see if you find a string resembling their content:   odmarco.com/arwe/?736361acd09ca9717c9462514beb5205</p>
<p>I don&#8217;t know when or how malware was introduced, but I suspect a <a href="http://en.wikipedia.org/wiki/Code_injection">Script Injection Attack.</a> To help me detect any future  hacks quickly, I have installed <a href="http://www.jeka911.com/articles/internet/paranoid911/">&#8220;Paranoid&#8221; </a></p>
<h3>Update</h3>
<p>Googling around I discovered: </p>
<ol>
<li>The problem may (or may not) originate with some bug at Dreamhost that permits attacks. (People like me could be helpful and make load of files not-writable. But.. well.. customers don&#8217;t always think of these things.</li>
<li>The script supposedly tries to exploit a problem with Adobe Acrobat. I don&#8217;t know what it does.</li>
<li>The script is injected on html files and some php files. I have it totally off my blog and this site. I sent a note to Dreamhost because my knitting site is totally infested, and I&#8217;m not sure how to quickly get it off the static php files. All the html sites on my knitting blog have mod-dates of May 28, which means the script hit my sites on May 28.</li>
</ol>
<h3>Update II</h3>
<p>You have to do more!</p>
<p>The script managed to add that bit of code to every single index.php and index.html file at my site. This means it&#8217;s sometimes in various plugin files, templates etc.  To protect visitors, one should get them <i>all</I> out, no matter how unlikely they are to ever be loaded.</p>
<p>Fortunately, a nice script is available <a href="http://www.leftontheweb.com/message/Cleaning_infected_file_from_the_odmarco_string">here</a>. To run it, I:</p>
<ol>
<li>Changed the name of the string after the bit of code that says: protected $string_to_clear = &#8216;XXX&#8217;;  You need to put the string you want found and between the &#8221; where I placed XXX.  Odmarco is changing their string from time to time.</li>
<li>Save the file as with some useful name like &#8220;clearOutJunk.php&#8221;.</li>
<li>Upload that to the top directory of your site. (I put it right up under rankexploits.com.</li>
<li>Point your browser to http://yourdomain.com/clearOutJunk.php .  The script will pause while it&#8217;s reading every file in every directory. It will echo names of files and tell you if it found anything. If it found the string you told it to eliminate, it will remove that string from the file and replace it.</li>
<li>This worked like a charm. </li>
</ol>
<h3>Update II</h3>
<p>Other issues remained. Dreamhost advised me that I should search all my files to find anything that had been installed or modified recently. (Evidently, the hackers like to hid file with innocuous names and just re-install later!)</p>
<p> I found two batches of suspicious files. One set of changes were made on May 28. Those changes are what alerted Jonathan and Stuart.   But another set of changes were made way back on April 7.   That&#8217;s sufficiently far back that you can&#8217;t count on Wordpress having old enough back ups to just replace all old files with new ones.</p>
<p>Anyway, I ran the script discussed above to clean out the injected script from all html and php files containing that. I also searched for all files from April 7, checked they weren&#8217;t right and deleted those. I also checked looked at everything between April 7 and today and deleted anything and everything I no longer need.   </p>
<p>I should be totally clean now.  </p>
]]></content:encoded>
			<wfw:commentRss>http://rankexploits.com/musings/2009/script-injection-attack/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Protect Your Self Hosted WP blog.</title>
		<link>http://rankexploits.com/musings/2009/protect-your-self-hosted-wp-blog/</link>
		<comments>http://rankexploits.com/musings/2009/protect-your-self-hosted-wp-blog/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 16:41:45 +0000</pubDate>
		<dc:creator>lucia</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://rankexploits.com/musings/?p=3481</guid>
		<description><![CDATA[Climate Audit is still down. Are you wondering what could happen if my server ever went down?  Mostly, you wouldn&#8217;t be able to read the blog for some period of time&#8211; but the blog would soon reappear.  I use the WP-Database backup plugin;  I&#8217;ve set the plugin to send me email me [...]]]></description>
			<content:encoded><![CDATA[<p>Climate Audit is still down. Are you wondering what could happen if my server ever went down?  Mostly, you wouldn&#8217;t be able to read the blog for some period of time&#8211; but the blog would soon reappear.  I use the <a href="http://www.ilfilosofo.com/blog/wp-db-backup">WP-Database backup plugin;</a>  I&#8217;ve set the plugin to send me email me backups every 24 hours. </p>
<p>Is this enough to ensure the blog is properly saved?  No.  </p>
<p>Only the text for blog posts and comments are stored in the database. However, my blog (and most climate blogs) frequently display linked images. I self host most my images; this means most images are stored on my hosts server.  If that server went down and <em>neither</em> my hosting service nor I backed up my files, some content would be lost.</p>
<p>Lucky for my, my hosting service does back up their servers.  So, I <em>mostly</em> count on my host to maintain backups for the site.  But, I had a problem with a hosting service many years ago which left me a bit paranoid about hosting services. </p>
<p>To ensure my images aren&#8217;t destroyed, I manually back up the most recent month&#8217;s entry in the wp-uploads folder in the wp-content directory for wordpress.   How often? Well.. not often enough. I back up the previous months uploads the beginning of each month; I store these at  home on my mac.</p>
<p>If my hosting service lets me down, I might, theoretically, lose 1 month&#8217;s worth of images. However, for the most part, after about a week of aggravation, the blog could be reconstituted on a new host with little loss. </p>
<p>Meanwhile:  Let&#8217;s all hope <a href="http://climateaudit.org">Climate Audit</a> gets their hardware issues sorted.  </p>
]]></content:encoded>
			<wfw:commentRss>http://rankexploits.com/musings/2009/protect-your-self-hosted-wp-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wait before upgrading to Wordpress 2.7.1</title>
		<link>http://rankexploits.com/musings/2009/wait-before-upgrading-to-271/</link>
		<comments>http://rankexploits.com/musings/2009/wait-before-upgrading-to-271/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 23:10:20 +0000</pubDate>
		<dc:creator>lucia</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://rankexploits.com/musings/?p=3466</guid>
		<description><![CDATA[The wordpress dashboard is urging me to upgrade to 2.7.1.  Being a cautious soul, I upgraded the test blog first. 
Most things worked just fine. However, the display on the admin side goes wonky. See how the sidebar extends over the text describing plugins? 
I had no problems upgrading my knitting blog to 2.7.0. [...]]]></description>
			<content:encoded><![CDATA[<p>The wordpress dashboard is urging me to upgrade to 2.7.1.  Being a cautious soul, I upgraded the test blog first. </p>
<p>Most things worked just fine. However, the display on the admin side goes wonky. See how the sidebar extends over the text describing plugins?<br />
<div id="attachment_3467" class="wp-caption aligncenter" style="width: 510px"><a href="http://rankexploits.com/musings/wp-content/uploads/2009/02/screenshot7wpupdate.jpg"><img src="http://rankexploits.com/musings/wp-content/uploads/2009/02/screenshot7wpupdate-500x395.jpg" alt="Figure 1: Plugin Control for WP 7.2.1" title="screenshot7wpupdate" width="500" height="395" class="size-medium wp-image-3467" /></a><p class="wp-caption-text">Figure 1: Plugin Control for WP 7.2.1</p></div></p>
<p>I had no problems upgrading my knitting blog to 2.7.0. The admin panel is totally revamped but, at least in my case, upgrading went smoothly in all ways.  I had no difficulties with plugins, themes, or anything.  (I have read some bloggers did have problems with 2.7.0.  You can google to find work arounds for that issue.)</p>
<p>My advice: If you&#8217;ve upgraded to 2.7.0, wait before upgrading to 2.7.1  Give Wordpress time to iron out the bugs or bloggers time to report a work around for pesky issues. </p>
]]></content:encoded>
			<wfw:commentRss>http://rankexploits.com/musings/2009/wait-before-upgrading-to-271/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Troll Control 2 Activated</title>
		<link>http://rankexploits.com/musings/2009/troll-control-2-activated/</link>
		<comments>http://rankexploits.com/musings/2009/troll-control-2-activated/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 20:38:05 +0000</pubDate>
		<dc:creator>lucia</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[trolls]]></category>

		<guid isPermaLink="false">http://rankexploits.com/musings/?p=2906</guid>
		<description><![CDATA[The thing about trolls&#8230;. is they are obnoxious. 
Some of you will recall I wrote a first draft of a troll control plugin, which would display comments from trolls to the troll, but not others.  However, I discovered that method used too much CPU when comment threads were long.   So, I devised [...]]]></description>
			<content:encoded><![CDATA[<p>The thing about trolls&#8230;. is they are obnoxious. </p>
<p>Some of you will recall I wrote a first draft of a troll control plugin, which would display comments from trolls to the troll, but not others.  However, I discovered that method used too much CPU when comment threads were long.   So, I devised another method which used less CPU.  This was given the development  name of &#8220;Troll Control 2&#8243;.</p>
<p>The only difficulty was both methods prevented me from using the wp-cache plugin; the result was slower loading pages, and greater CPU use.  So, I used Troll Control 2 from Sunday morning to Monday afternoon. Soon after&#8230; well.. ya&#8217; know.  I reactivated the plugin last night.</p>
<p>As I want to leave the plugin active for at least a week, I examined wp-cache, and I think I found the  method of dealing with the troll. I&#8217;ve tested this by labeling and unlabeling myself a troll, and activating and deactivating cache.  However, because of the vagaries of self testing which requires me to not only clear the wordpress cache but that on my local machine,  I&#8217;m always afraid I goofed.</p>
<p>So&#8230; if you are blocked from viewing or posting comments, and you are not the troll, click the contact link and let me know.     </p>
]]></content:encoded>
			<wfw:commentRss>http://rankexploits.com/musings/2009/troll-control-2-activated/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Troll Control: Help me test my Wordpress Plugin</title>
		<link>http://rankexploits.com/musings/2009/troll-control-help-me-test-my-wordpress-plugin/</link>
		<comments>http://rankexploits.com/musings/2009/troll-control-help-me-test-my-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 17:05:13 +0000</pubDate>
		<dc:creator>lucia</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[trolls]]></category>

		<guid isPermaLink="false">http://rankexploits.com/musings/?p=2605</guid>
		<description><![CDATA[Every now and then, blogs attracted visitors who are less than well behaved.  These visitors may sometimes say useful things sometimes, but they also have a tendency to start fights. In fact, reading their comments, one often suspects they actually want to start fights rather than advance any conversation. 
These visitors are known as [...]]]></description>
			<content:encoded><![CDATA[<p>Every now and then, blogs attracted visitors who are less than well behaved.  These visitors may sometimes say useful things sometimes, but they also have a tendency to start fights. In fact, reading their comments, one often suspects they actually want to start fights rather than advance any conversation. </p>
<p>These visitors are known as &#8220;Trolls&#8221;.  They are difficulty to deal with.</p>
<p>To make it a little easier to deal with the occasional troll my blog attracts, I have written and <i>inconvenient</i> to use Wordpress plugin.   The benefits of the plugin are, after you upload and activate the plugin:</p>
<ol>
<li>For the first &#8220;N&#8221; minutes, the comments from individual trolls will display to the troll only. After that, they will display. This permits the trolls to participate in conversations to some extent, but also gives you time to edit or delete the more egregious aspects of the comment. </li>
<li>You can add multiple trolls.</li>
</ol>
<p>The inconvenient features of this plugin will be obvious: You need to manually edit your theme and some of the plugin code.</p>
<h3>Steps to use plugin</h3>
<ol>
<li>Click to download the plugin <a href='http://rankexploits.com/musings/wp-content/uploads/2009/01/trollcontrol.zip'>Troll Control Plugin</a> (zipped).</li>
<li>Unzip the plugin. Near the top of the plugin  find a block of code that looks like this:
<p>	<code>// edit parameters in parameters in the next four lines block to match any INDIVIDUAL troll.<br />
	$the_troll_names=array('Troll','Troll Sock Puppet');<br />
	$the_troll_email=array('troll_email@gmail.com');<br />
	$the_troll_IP=array('99.99.99','77.77.88.13' );<br />
	$the_troll_opt['the_troll_minutes'] =300;<br />
&nbsp;</br><br />
        $the_troll_opt['IPs']=$the_troll_IP; // don't edit.<br />
	$the_troll_opt['the_troll_name']=$the_troll_names; // don't edit.<br />
	$the_troll_opt['the_troll_email']=$the_troll_email; // don't edit.<br />
	array_push($the_trolls_parameters,$the_troll_opt);	// don't edit.  this adds your troll with all his descriptors to the list of trolls<br />
	// END BLOCK.</code></li>
<li>Edit the first four lines to identify your troll. If your troll visits using the name &#8220;Mike&#8221; change array(&#8216;Troll&#8217;,'Troll Sock Puppet&#8217;)  to array(&#8216;Mike&#8217;). Edit the emails, and IP addresses accordingly. You can have more than 1 identifier in any field.</li>
<li>Decide how many minutes you want to delay the troll. I set 300 minutes as the default.  This way, I can go to bed at night and reduce the risk of troll eruptions. Don&#8217;t delay more than 3 days. To save CPU the plugin skips comments more than 3 days old. (If someone needs to be delayed more than 3 days, you should just ban them.)</li>
<li>If you have a second troll, copy the whole block, re-paste, the edit.</li>
<li>Save the edited file.</li>
<li>Back up your version of WP. (All instructions for uploading plugins say this as a precaution.)
<li>Upload into your plugins directory and activate.  It will seem nothing happens. </li>
<li> Visit the design to edit your Wordpress theme.  Open your comments.php file. Find the &#8220;foreach&#8221; statement (or whatever php command your theme editor used.  Add two lines  of code to set a value a variable I named $block. It should look sort of like this:<br />
<code><br />
foreach ($comments as $comment) : </p>
<p>if(function_exists('Check_The_Troll') ){$block=Check_The_Troll();}<br />
else{$block=0;}<br />
</code></p>
<p>Now, find the bit of code that actually displays your comment author, email, comment numbers and the comment. Wrap an &#8220;if&#8221; statement around that, sort of like this: </p>
<p><code> if($block!=1){<br />
PUT All CODE TO DISPLAY COMMENTS IN HERE<br />
}</code></p>
<p>If done correctly, the troll control rules will now be enforced. If you don&#8217;t know any php, and can&#8217;t tell where php code starts and html code begins, get a friend to do this for you.
</li>
</ol>
<p>When this is running during the &#8220;troll time out&#8221; period, <i>the blog owner</i> will see the troll comments, along with some information added to let you know it is a troll comment.  The troll will see the comment and will think others are seeing it.  No one else will see the comment.</p>
<p>If you don&#8217;t answer the troll, this functionality enforces the &#8220;Don&#8217;t feed the troll&#8221; rule.  If this plugin is not enough to deter your particular troll, you will  need to escalate to banning the troll. </p>
<p>After I&#8217;ve fully tested this inconvenient plugin, I&#8217;m going to create a user interface to  help bloggers add and subtract troll data more easily. However, users will always have to edit their theme a little.   I&#8217;ve also modified the &#8220;get_recent_comments&#8221; plugin and &#8220;subscribe_to_comments&#8221; plugin to further isolate the troll. I&#8217;ll explain those modifications when this is perfected.</p>
<h3>Do me a favor!</h3>
<p>This plugin is currently running at my blog. I tested it at my testblog, but there are always limits to self-tests.   You could help me test the plugin by entering a comment and claiming your name is &#8220;Troll&#8221; or &#8220;Troll Sock Puppet&#8221;. Then email a friend and ask them if they can see your comment.   </p>
<p>Report back! </p>
<p><b>Update</b><br />
1:07 pm.  It looks like a number of Troll Sock Puppets have appeared. Thank you. I noticed the comments were properly &#8220;disappeared&#8221; in comments, but appeared under &#8220;recent comments&#8221; in the sidebar.  I modified the recent comments plugin and now I don&#8217;t see them there either. </p>
<p>1:23  Comparison of comments seen by admin and by non-troll visitor.  (Click for larger.)<br />
<div id="attachment_2617" class="wp-caption aligncenter" style="width: 393px"><a href="http://rankexploits.com/musings/wp-content/uploads/2009/01/commentsadminview.jpg"><img src="http://rankexploits.com/musings/wp-content/uploads/2009/01/commentsadminview-383x500.jpg" alt="Figure 1: Comments as seen by logged in administrator." title="commentsadminview" width="383" height="500" class="size-medium wp-image-2617" /></a><p class="wp-caption-text">Figure 1: Comments as seen by logged in administrator.</p></div><br />
The comments that have been &#8220;troll controlled&#8221; appear to the troll, and, unless deleted by the moderator, eventually appear to the full audience.</p>
<div id="attachment_2618" class="wp-caption aligncenter" style="width: 510px"><a href="http://rankexploits.com/musings/wp-content/uploads/2009/01/commentswithtrollcontrol.jpg"><img src="http://rankexploits.com/musings/wp-content/uploads/2009/01/commentswithtrollcontrol-500x434.jpg" alt="Figure 2: Comments as seen by non-trolls." title="commentswithtrollcontrol" width="500" height="434" class="size-medium wp-image-2618" /></a><p class="wp-caption-text">Figure 2: Comments as seen by non-trolls.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://rankexploits.com/musings/2009/troll-control-help-me-test-my-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>New Theme Progress: Can you read the blog?</title>
		<link>http://rankexploits.com/musings/2008/new-theme-progress-can-you-read-the-blog/</link>
		<comments>http://rankexploits.com/musings/2008/new-theme-progress-can-you-read-the-blog/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 19:07:51 +0000</pubDate>
		<dc:creator>lucia</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://rankexploits.com/musings/?p=565</guid>
		<description><![CDATA[Notice the new theme? Things weren&#8217;t loading well yesterday, so I decided I should just revamp the whole blog.  I picked out a new theme and tweaked it.  I wanted these features.

A wide center panel to show large images.
Three columns, each at least 160 px wide so eventually, I can shove in various [...]]]></description>
			<content:encoded><![CDATA[<p>Notice the new theme? Things weren&#8217;t loading well yesterday, so I decided I should just revamp the whole blog.  I picked out a new theme and tweaked it.  I wanted these features.</p>
<ol>
<li>A wide center panel to show large images.</li>
<li>Three columns, each at least 160 px wide so eventually, I can shove in various ads, feed buttons, links etc. I like them even wider so aging eyes can increase the font size and still read the content. (I use the ad money to pay the server charges. It worked at my knitting blog; it&#8217;s might work here too. )</li>
<li>Recent comments / trackbacks showing.</li>
<li>An edit function so users can edit their comments for five minutes after they comment.</li>
<li>A fairly large comment entry box. </li>
<li>Comment numbers so people can cite previous comments.</li>
<li>Links to commenters&#8217; web sites with &#8220;follows&#8221; to those who comment frequently. (I need to tweak this.)</li>
<li>Ensure images in previous posts continue to float the way I intended!</li>
<li>Include html tips for commenters. (I need to get this implemented.)</li>
</ol>
<p>So far I have most of that implemented. But, I&#8217;m also taking suggestion (provided they aren&#8217;t to difficult to implement.)  </p>
<h3>Appearance Issues</h3>
<p>One difficulty with web sites is they look different on everyone&#8217;s screen. </p>
<p>Commenter &#8216;fieldnorth&#8217; kindly posted a link to http://browsershots.org/ which lets me examine screen shots from a wide range of browsers.  I know my theme is fairly wide&#8211; to accomodate large images. But, at least it&#8217;s not positively <i>broken</i> on any I&#8217;ve examined so far.    But there is no substitute for asking viewers whether or not they can read the blog!</p>
<p>So, let me know if it looks dramatically different on your screen.  To help me fix problems, do be specific if possible. Here&#8217;s what the blog looks like on my screen. </p>
<p><a href='http://rankexploits.com/musings/wp-content/uploads/2008/08/currentview.gif'><img src="http://rankexploits.com/musings/wp-content/uploads/2008/08/currentview.gif" alt="" title="currentview" width="500" height="345" class="no-float" /></a></p>
<p>For today, I have various &#8220;containers&#8221; outlined&#8211; this helps me identify the source of problems. They&#8217;ll go away in a few days. But, it would be great if you could tell me if you see text flowing outside those boxes. Problems with CSS can result in odd behavior&#8211; like missing sidebars, missing content, text flowing outside the boxes etc.   If you see any obvious glitches, describe them&#8211; and tell me what browser you are using! </p>
]]></content:encoded>
			<wfw:commentRss>http://rankexploits.com/musings/2008/new-theme-progress-can-you-read-the-blog/feed/</wfw:commentRss>
		<slash:comments>56</slash:comments>
		</item>
		<item>
		<title>Slow Down Boris: Wordpress plugin!</title>
		<link>http://rankexploits.com/musings/2008/slow-down-boris-wordpress-plugin/</link>
		<comments>http://rankexploits.com/musings/2008/slow-down-boris-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 19:14:08 +0000</pubDate>
		<dc:creator>lucia</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://rankexploits.com/musings/2008/slow-down-boris-wordpress-plugin/</guid>
		<description><![CDATA[This morning, as I was sipping my coffee, I noticed that a frequent commenter had posted 4 comments in a row.  I don&#8217;t mind people posting frequently. But there is a certain point where someone is commenting so much that no one has time to digest what they say or respond.   There [...]]]></description>
			<content:encoded><![CDATA[<p>This morning, as I was sipping my coffee, I noticed that a frequent commenter had posted 4 comments in a row.  I don&#8217;t mind people posting frequently. But there is a certain point where someone is commenting so much that no one has time to digest what they say or respond.   There is a serious risk that commenter will just be ignored.</p>
<p>I had quite a bit of work to do, dealing with mixing from a jet emerging from cyanide containers, so I couldn&#8217;t organize a real post. But, I decided to take a little time out to write a new plugin, which has the working name: &#8220;Slow Down Boris&#8221;.</p>
<p>What this plugin does will do when it&#8217;s finalized is:</p>
<ol>
<li>Count how many comments a known frequent commenter has left in the past &#8220;N&#8221; hours. The tally will start at &#8220;0&#8243;, increase by 1 when a comment is made by the &#8220;frequent commenter&#8221;, and decrease by 1, if someone else responds.</li>
<li>When a frequent commenters tally hits &#8220;3&#8243;,  the plugin will hide the text in that comment from <em>other</em> users for <em>several hours</em>.  Meanwhile, plugin will tell the frequent commenter to slow down, but let them see their own comment.</li>
<li>If another user comments, the &#8220;count&#8221; for the frequent commenter will decrease. So, this should slow down any debates involving more than one person.</li>
</ol>
<p>I may adjust the algorithm, and I&#8217;ll be creating an option panel so other bloggers can use it.  So, if you have suggestions, fire away. Meanwhile, if you notice glitches, let me know. </p>
<p>This plugin is dedicated to my Muse of the day: frequent commenter Boris. I value Boris&#8217;s comments, but like many enthusiasts of &#8220;climate blog wars&#8221;,  he gets a little carried away from time to time and forgets to let other people take their turn posting.</p>
]]></content:encoded>
			<wfw:commentRss>http://rankexploits.com/musings/2008/slow-down-boris-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
