<?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>WordPress Snippets &#187; Plugins</title>
	<atom:link href="http://www.wpsnippets.com/category/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpsnippets.com</link>
	<description>Random musings about life, in addition to tips, code snippets and plugins for the average and newbie WordPress user</description>
	<lastBuildDate>Wed, 18 Aug 2010 19:37:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Find of the Day: The Definitive Guide on WordPress Syntax Highlighter Plugins</title>
		<link>http://www.wpsnippets.com/2008/07/the-definitive-guide-on-wordpress-syntax-highlighter-plugins/</link>
		<comments>http://www.wpsnippets.com/2008/07/the-definitive-guide-on-wordpress-syntax-highlighter-plugins/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 11:12:18 +0000</pubDate>
		<dc:creator>flick</dc:creator>
				<category><![CDATA[Find of the Day]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[cagintranet]]></category>
		<category><![CDATA[chris cagle]]></category>
		<category><![CDATA[code colour]]></category>
		<category><![CDATA[code highlight]]></category>
		<category><![CDATA[google syntax highlighter]]></category>
		<category><![CDATA[highlight source pro]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[snippet highlight]]></category>
		<category><![CDATA[wordpress 2.6]]></category>
		<category><![CDATA[wordpress syntax highlighter]]></category>
		<category><![CDATA[wp 2.6]]></category>
		<category><![CDATA[wp-chili]]></category>
		<category><![CDATA[wp-syntax]]></category>

		<guid isPermaLink="false">http://www.wpsnippets.com/?p=19</guid>
		<description><![CDATA[As WP Snippets is going to focus on WordPress codes and tips, it was very important that we had a good code syntax highlighter to separate the content from the code clearly, and ensure the display wasn&#8217;t messed up by &#8230; <a href="http://www.wpsnippets.com/2008/07/the-definitive-guide-on-wordpress-syntax-highlighter-plugins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As <em>WP Snippets</em> is going to focus on WordPress codes and tips, it was very important that we had a good code syntax highlighter to separate the content from the code clearly, and ensure the display wasn&#8217;t messed up by the visual editor!</p>
<p>There are quite a number out there (at least 8!) that do the job, but it was difficult to sieve/test through so many when the new site was going live in a very short time, and it was then that I stumbled upon <a title="Cagintranet Web Design - About" href="http://www.cagintranet.com/about"><strong>Chris Cagle</strong></a>&#8216;s excellent article:</p>
<blockquote class="update"><p><a title="The Definitive Guide on WordPress Syntax Highligher Plugins" href="http://www.cagintranet.com/archive/the-definitive-guide-on-wordpress-syntax-highligher-plugins/"><strong>The Definitive Guide on WordPress Syntax Highlighter Plugins</strong></a></p></blockquote>
<p>The article gives a comprehensive review of 8 different code syntax highlighters that work for WordPress 2.6, including (in alphabetical order)</p>
<ul>
<li><a title="Code Colorer" href="http://wordpress.org/extend/plugins/codecolorer/">Code Colorer</a> by <em>Dmytro Shteflyuk</em></li>
<li><a title="Google Syntax Highligher" href="http://wordpress.org/extend/plugins/google-syntax-highlighter/">Google Syntax Highlighter for WordPress</a> by <em>Peter Ryan</em></li>
<li><strong> </strong><a title="Highlight Source Pro" href="http://wordpress.org/extend/plugins/highlight-source-pro/">Highlight Source Pro</a> by <em>Christian Knoflach</em></li>
<li><a title="Snippet Highlight" href="http://wordpress.org/extend/plugins/snippet-highlight/">Snippet Highlight</a> by <em>Roland Rust</em><a title="Snippet Highlight" href="http://wordpress.org/extend/plugins/snippet-highlight/"><br />
</a></li>
<li><a title="Syntax Highlighter Plus" href="http://wordpress.org/extend/plugins/syntaxhighlighter-plus/">Syntax Highlighter Plus</a> by <em>Fred Wu (with matt, Viper007Bond, mdawaffe)</em></li>
<li><a title="WP-Chili" href="http://wordpress.org/extend/plugins/wp-chili/">WP-Chili</a> by  <em>Andrea Ercolino</em></li>
<li><a title="WP-Codebox" href="http://wordpress.org/extend/plugins/wp-codebox/">WP-Codebox</a> by <em>Eric Wang</em></li>
<li><a title="WP-Syntax" href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a> by <em>Ryan McGeary</em></li>
</ul>
<p>The plugins have then been ranked in terms of their overall rating in &#8216;colouring/coloring abilities&#8217; (with colour screen-shots for comparison included!) and their &#8216;ease of use&#8217;, where <a title="WP-Chili" href="http://wordpress.org/extend/plugins/wp-chili/">WP-Chili</a> came out top in the colour rankings (which is what <strong>Chris Cagle</strong> is using, and he has helpfully provided what he uses on <a title="Cagintranet" href="http://www.cagintranet.com">Cagintranet Web Design</a>) but <a title="Syntax Highlighter Plus" href="http://wordpress.org/extend/plugins/syntaxhighlighter-plus/">Syntax Highlighter Plus</a> was #1 for &#8216;ease of use&#8217;.</p>
<p>I found the whole guide extremely helpful, and have now ended up using<strong> <a title="Syntax Highlighter Plus" href="http://wordpress.org/extend/plugins/syntaxhighlighter-plus/">Syntax Highlighter Plus</a></strong> for <em>WP Snippets</em> &#8211; it did help that it was ranked #1 overall! However, given that <a title="Notes Log" href="http://noteslog.com/">Andrea Ercolino</a> has updated <a title="WP-Chili" href="http://wordpress.org/extend/plugins/wp-chili/">WP-Chili</a> since the review, I really might look into changing over!</p>
<p>If you are looking out for a good WordPress plugin that highlights code in colour/color for WordPress 2.6, then <strong><a title="The Definitive Guide on WordPress Syntax Highligher Plugins" href="http://www.cagintranet.com/archive/the-definitive-guide-on-wordpress-syntax-highligher-plugins/"><strong>The Definitive Guide on WordPress Syntax Highlighter Plugins</strong></a> </strong>is definitely the article that you would not want to miss reading. To be fair, not every plugin has been updated recently (at least two are from 2007, and the most dated plugin in the list is <a title="Code Colorer" href="http://wordpress.org/extend/plugins/codecolorer/">Code Colorer</a> from May 2007) but nevertheless, it is still an excellent guide worth archiving!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsnippets.com/2008/07/the-definitive-guide-on-wordpress-syntax-highlighter-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP-Table plugin &#8211; Fatal Error fix for WordPress 2.5+</title>
		<link>http://www.wpsnippets.com/2008/06/wp-table-plugin-fatal-error-fix/</link>
		<comments>http://www.wpsnippets.com/2008/06/wp-table-plugin-fatal-error-fix/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 03:34:42 +0000</pubDate>
		<dc:creator>flick</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[activation]]></category>
		<category><![CDATA[alex boelinger]]></category>
		<category><![CDATA[buttonsnap]]></category>
		<category><![CDATA[embedded video with link]]></category>
		<category><![CDATA[fatal error]]></category>
		<category><![CDATA[jovel stefan]]></category>
		<category><![CDATA[kimili flash embed]]></category>
		<category><![CDATA[michael bester]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp-table]]></category>

		<guid isPermaLink="false">http://wpsnippets.wordpress.com/?p=7</guid>
		<description><![CDATA[25/05/2009: Now superceded by WP-Table Reloaded &#8211; see below for info! WP-Table plugin by Alex Boelinger is a unique WordPress plugin that allows admins to create tables, by this I mean the ones with rows and columns like in Excel, &#8230; <a href="http://www.wpsnippets.com/2008/06/wp-table-plugin-fatal-error-fix/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p class="info"><span style="color: #ff0000;"><strong>25/05/2009:</strong></span> Now superceded by <a title="Plugin WP-Table Reloaded (English)" href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/"><strong>WP-Table Reloaded</strong></a> &#8211; see below for info!</p>
<p><a title="Wordpress Plugins - WP-Table" href="http://alexrabe.boelinger.com/wordpress-plugins/wp-table/"><strong>WP-Table</strong></a> plugin by <a title="Alex Boelinger" href="http://alexrabe.boelinger.com/"><strong>Alex Boelinger</strong></a> is a unique WordPress plugin that allows admins to create tables, by this I mean the ones with rows and columns like in <em>Excel</em>, easily in WordPress. It is the <span style="text-decoration: underline;">only</span> one that I am aware of at the moment that makes it possible to add actual tables without putting-in extra HTML when creating new posts and pages.</p>
<p>However, activating the latest version (1.52) of the plugin triggers a fatal error (shown below) in WordPress 2.5+:</p>
<blockquote><p>Plugin could not be activated because it triggered a <strong>fatal error</strong>.</p></blockquote>
<p>Fortunately there is a quick fix that can be done to resolve this issue, where the full credit for this solution goes to <a title="Kimili - About Michael Bester" href="http://kimili.com/about/"><strong>Michael Bester</strong></a>, the developer of the <a title="Kimili Flash Embed" href="http://kimili.com/plugins/kml_flashembed/"><strong>Kimili Flash Embed</strong></a>, who posted <a title="Jovelblog - Embedded Video with Linl" href="http://www.jovelstefan.de/embedded-video/#comment-112182">a comment on Jovel Stefan&#8217;s Embedded Video Plugin post</a> about a fix to ensure that a plugin should check for the <strong>buttonsnap </strong>class upon activation.</p>
<p>This class is used to add a button to your WordPress editor, and should only ever be loaded once, so if any other plugin uses <strong>buttonsnap</strong>, it will cause the fatal error to occur.</p>
<p>To resolve this problem, find <strong>Line 344 in wp-table.php</strong></p>
<p><code>require_once(WPTABLE_ABSPATH.'js/buttonsnap.php');</code></p>
<p>and <strong>add before it</strong>:</p>
<pre class="brush: php">if(!class_exists(&#039;buttonsnap&#039;))</pre>
<p>So ultimately you should see this:</p>
<pre class="brush: php">// ButtonSnap needs to be loaded outside the class in order to work right
if(!class_exists(&#039;buttonsnap&#039;))
require_once(WPTABLE_ABSPATH.&#039;js/buttonsnap.php&#039;);</pre>
<p>I tested this on a local install of WordPress 2.5.1, and it worked very well. This quick fix has also been posted on the <a title="WP-Table] Need a fix for 2.5 compatability" href="http://wordpress.org/support/topic/168271?replies=12#post-791381">WordPress Support Forums</a>, and hopefully others will find it helpful as well.</p>
<p>Any feedback would be brilliant! If it works for you, please let me know by posting in the comments. Similarly, if it doesn&#8217;t work for you, then again, please do post! I don&#8217;t see the plugin requiring any further edits for the time being (apart from new features) and am confident that it will also work with later WordPress versions as well.</p>
<p class="update"><strong>UPDATE 20/07/08:</strong> Apparently the plugin <a title="Comment!" href="http://wpsnippets.wordpress.com/2008/06/27/wp-table-plugin-fatal-error-fix/#comment-7">does work</a> with WP 2.6!<br />
<strong>UPDATE 28/12/08:</strong> And in <a title="Comment!" href="http://www.wpsnippets.com/2008/06/wp-table-plugin-fatal-error-fix/#comment-95">WP 2.7 as well</a>!</p>
<p class="update"><strong><span style="color: #ff0000;">FINAL UPDATE 25/05/09</span></strong><span style="color: #ff0000;">: <strong><span style="color: #000000;"><a title="Plugin WP-Table Reloaded (English)" href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/">WP-Table Reloaded</a> </span></strong><span style="color: #000000;">has been released by </span></span><a title="About Tobias" href="http://tobias.baethge.com/about/"><strong>Tobi<strong>as </strong></strong><strong>Bäthge</strong></a>, and is <a title="Alex Rabe - WP-Table" href="http://alexrabe.boelinger.com/wordpress-plugins/wp-table/">officially the next generation</a> of our beloved <strong>WP-Table</strong> plugin. WPT-Reloaded even allows you to import your old WPT tables, and I can testify that it works seamlessly.  Thanks to Tobias for his hard work!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsnippets.com/2008/06/wp-table-plugin-fatal-error-fix/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
	</channel>
</rss>
