<?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>Treviño's Blog &#187; English</title>
	<atom:link href="http://blog.3v1n0.net/category/english/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.3v1n0.net</link>
	<description>That's my blog... Life and Linux</description>
	<lastBuildDate>Wed, 17 Dec 2008 01:43:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TinyMCE With a Permalink based Wordpress Blog</title>
		<link>http://blog.3v1n0.net/informatica/tinymce-with-a-permalink-based-wordpress-blog/</link>
		<comments>http://blog.3v1n0.net/informatica/tinymce-with-a-permalink-based-wordpress-blog/#comments</comments>
		<pubDate>Fri, 13 Jan 2006 16:44:28 +0000</pubDate>
		<dc:creator>Treviño</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.3v1n0.net/informatica/tinymce-with-a-permalink-based-wordpress-blog/</guid>
		<description><![CDATA[I wrote these few lines to explain how to fix the bug of the magic plugin TinyMCE for Wordpress  by lifesinger to make it work correctly with Wordpress blogs that use permalinks instead of the standard &#171;index.php&#187; based addresses. In fact the plug-in didn&#8217;t show, in these kind of blogs, the wysiwyg editor for [...]]]></description>
			<content:encoded><![CDATA[<p><img width="100" hspace="3" height="86" border="0" align="left" title="TinyMCE Code Screenshot" alt="TinyMCE Code Screenshot" src="http://static.flickr.com/36/85997097_38596f5aae_t.jpg" />I wrote these few lines to explain <strong>how to fix the bug of the <em>magic plugin</em></strong> <a title="TinyMCE Plugin Bugfix" href="http://lifesinger.3322.org/myblog/?p=107">TinyMCE for Wordpress</a>  by lifesinger to make it work correctly with Wordpress blogs that use <em>permalinks</em> instead of the standard &laquo;<font face="courier new,courier">index.php</font>&raquo; based addresses. In fact <em>the plug-in didn&#8217;t show</em>, in these kind of blogs, <em>the wysiwyg editor for posting comments</em>.</p>
<p><u>Bugfixing is relly easy</u>. Just open the <font face="courier new,courier">tinymce_wp.php</font> file (the plugin &ldquo;main&rdquo; file) and put in this text (just replace all):</p>
<blockquote><div align="left">   </div>
</blockquote>
<blockquote><p align="left"><font face="courier new,courier"><span style="font-weight: bold; color: #000000">&lt;?</span><br />  <span style="font-style: italic; color: #808080">/*</span><br />  <span style="font-style: italic; color: #808080">Plugin Name: TinyMCE-Wordpress</span><br />  <span style="font-style: italic; color: #808080">Plugin URI: http://lifesinger.3322.org/myblog/?p=107</span><br />  <span style="font-style: italic; color: #808080">Description: This plugin adds TinyMCE to the editing areas of Wordpress.</span><br />  <span style="font-style: italic; color: #808080">Version: 2.0.1 final</span><br />  <span style="font-style: italic; color: #808080">Author: lifesinger</span><br />  <span style="font-style: italic; color: #808080">Author URI: http://lifesinger.3322.org/myblog</span><br />  <span style="font-style: italic; color: #808080">*/</span></font></p>
<p align="left"><font face="courier new,courier"><span style="font-style: italic; color: #808080"></span><span style="font-style: italic; color: #808080">/* &#8211;= Add js to wp-admin files =&#8211;  */</span></p>
<p>  <span style="font-weight: bold; color: #000000">function</span><span style="color: #000000"> tinymce_wordpress</span><span style="color: #008000">()</span><br />  <span style="color: #000000">{</span><br />  <span style="font-weight: bold; color: #000000">?&gt;</span><br />  <span style="font-weight: bold; color: #000000">&lt;style</span><span style="color: #008000"> type=</span><span style="color: #aa0000">&quot;text/css&quot;</span><span style="font-weight: bold; color: #000000">&gt;</span><br />  <span style="font-weight: bold; color: #800080">#quicktags</span><span style="color: #000000"> </span><span style="font-weight: bold; color: #000000">{</span><span style="color: #000000"> </span><span style="font-weight: bold; color: #000000">display:</span><span style="color: #000000"> </span><span style="color: #800000">none</span><span style="color: #000000"> </span><span style="font-weight: bold; color: #000000">}</span><span style="color: #000000">;</span><br />  <span style="font-weight: bold; color: #000000">&lt;/style&gt;</span><br />  <span style="font-weight: bold; color: #000000">&lt;script</span><span style="color: #008000"> language=</span><span style="color: #aa0000">&quot;javascript&quot;</span><span style="color: #008000"> type=</span><span style="color: #aa0000">&quot;text/javascript&quot;</span><span style="color: #008000"> xsrc=</span><span style="color: #aa0000">&quot;</span><span style="font-weight: bold; color: #000000">&lt;?</span><span style="color: #000000"> </span><span style="color: #000080">echo</span><span style="color: #000000"> get_bloginfo</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8217;siteurl&#8217;</span><span style="color: #008000">)</span><span style="color: #000000"> </span><span style="font-weight: bold; color: #000000">?&gt;</span><span style="color: #aa0000">/wp-content/plugins/tiny_mce/tiny_mce_gzip.php&quot;</span><span style="font-weight: bold; color: #000000">&gt;&lt;/script&gt;</span><br />  <span style="font-weight: bold; color: #000000">&lt;script</span><span style="color: #008000"> language=</span><span style="color: #aa0000">&quot;javascript&quot;</span><span style="color: #008000"> type=</span><span style="color: #aa0000">&quot;text/javascript&quot;</span><span style="color: #008000"> xsrc=</span><span style="color: #aa0000">&quot;</span><span style="font-weight: bold; color: #000000">&lt;?</span><span style="color: #000000"> </span><span style="color: #000080">echo</span><span style="color: #000000"> get_bloginfo</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8217;siteurl&#8217;</span><span style="color: #008000">)</span><span style="color: #000000"> </span><span style="font-weight: bold; color: #000000">?&gt;</span><span style="color: #aa0000">/wp-content/plugins/tiny_mce/tiny_mce_init.js&quot;</span><span style="font-weight: bold; color: #000000">&gt;&lt;/script&gt;</span><br />  <span style="font-weight: bold; color: #000000">&lt;?</span><br />  <span style="color: #000000">}<br /> </span><br />   <span style="color: #000000">add_action</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8216;edit_form_advanced&#8217;</span><span style="color: #008000">,</span><span style="color: #dd0000">&#8216;tinymce_wordpress&#8217;</span><span style="color: #008000">);</span><br />  <span style="color: #000000">add_action</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8216;edit_page_form&#8217;</span><span style="color: #008000">,</span><span style="color: #dd0000">&#8216;tinymce_wordpress&#8217;</span><span style="color: #008000">);</span><br />  <span style="color: #000000">add_action</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8217;simple_edit_form&#8217;</span><span style="color: #008000">,</span><span style="color: #dd0000">&#8216;tinymce_wordpress&#8217;</span><span style="color: #008000">);</span><br />  <span style="color: #000000">add_action</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8216;edit_form_comment&#8217;</span><span style="color: #008000">,</span><span style="color: #dd0000">&#8216;tinymce_wordpress&#8217;</span><span style="color: #008000">);</span><br />    <span style="font-style: italic; color: #808080"></p>
<p> /* &#8211;= Add js to your theme files =&#8211;  */</span><br />  <span style="font-weight: bold; color: #000000">function</span><span style="color: #000000"> tinymce_wordpress2</span><span style="color: #008000">()</span><br />  <span style="color: #000000">{</span><br />  <span style="font-weight: bold; color: #000000">?&gt;</span><br />  <span style="font-weight: bold; color: #000000">&lt;script</span><span style="color: #008000"> language=</span><span style="color: #aa0000">&quot;javascript&quot;</span><span style="color: #008000"> type=</span><span style="color: #aa0000">&quot;text/javascript&quot;</span><span style="color: #008000"> xsrc=</span><span style="color: #aa0000">&quot;</span><span style="font-weight: bold; color: #000000">&lt;?</span><span style="color: #000000"> </span><span style="color: #000080">echo</span><span style="color: #000000"> get_bloginfo</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8217;siteurl&#8217;</span><span style="color: #008000">)</span><span style="color: #000000"> </span><span style="font-weight: bold; color: #000000">?&gt;</span><span style="color: #aa0000">/wp-content/plugins/tiny_mce/tiny_mce_gzip.php&quot;</span><span style="font-weight: bold; color: #000000">&gt;&lt;/script&gt;</span><br />  <span style="font-weight: bold; color: #000000">&lt;script</span><span style="color: #008000"> language=</span><span style="color: #aa0000">&quot;javascript&quot;</span><span style="color: #008000"> type=</span><span style="color: #aa0000">&quot;text/javascript&quot;</span><span style="color: #008000"> xsrc=</span><span style="color: #aa0000">&quot;</span><span style="font-weight: bold; color: #000000">&lt;?</span><span style="color: #000000"> </span><span style="color: #000080">echo</span><span style="color: #000000"> get_bloginfo</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8217;siteurl&#8217;</span><span style="color: #008000">)</span><span style="color: #000000"> </span><span style="font-weight: bold; color: #000000">?&gt;</span><span style="color: #aa0000">/wp-content/plugins/tiny_mce/tiny_mce_init_comment.js&quot;</span><span style="font-weight: bold; color: #000000">&gt;&lt;/script&gt;</span><br />  <span style="font-weight: bold; color: #000000">&lt;?</span><br />  <span style="color: #000000">}<br /> </span><br />   <span style="color: #000000">add_action</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8216;comment_form&#8217;</span><span style="color: #008000">,</span><span style="color: #dd0000">&#8216;tinymce_wordpress2&#8242;</span><span style="color: #008000">);</span><br />   <span style="font-weight: bold; color: #000000"><br /> ?&gt;</span></font>                        </p>
</blockquote>
<blockquote></blockquote>
<p>Btw the only <em>important lines to change</em> are:</p>
<div align="left">
<blockquote>
<p><u><strong>Replace</strong></u><strong>:</strong>&nbsp;</p>
</blockquote>
<div align="left">
<blockquote>
<p><font face="courier new,courier"><span style="font-weight: bold; color: #000000">&lt;script</span><span style="color: #008000"> language=</span><span style="color: #aa0000">&quot;javascript&quot;</span><span style="color: #008000"> type=</span><span style="color: #aa0000">&quot;text/javascript&quot;</span><span style="color: #008000"> xsrc=</span><span style="color: #aa0000">&quot;wp-content/plugins/tiny_mce/tiny_mce_gzip.php&quot;</span><span style="font-weight: bold; color: #000000">&gt;&lt;/script&gt;</span> <span style="font-weight: bold; color: #000000">&lt;script</span><span style="color: #008000"> language=</span><span style="color: #aa0000">&quot;javascript&quot;</span><span style="color: #008000"> type=</span><span style="color: #aa0000">&quot;text/javascript&quot;</span><span style="color: #008000"> xsrc=</span><span style="color: #aa0000">&quot;wp-content/plugins/tiny_mce/tiny_mce_init_comment.js&quot;</span><span style="font-weight: bold; color: #000000">&gt;&lt;/script&gt;</span></font>     </p>
</blockquote></div>
<blockquote><p><strong><u>With</u>:&nbsp;</strong></p>
</blockquote>
<blockquote><p align="left"><font face="courier new,courier"><span style="font-weight: bold; color: #000000">&lt;script</span><span style="color: #008000"> language=</span><span style="color: #aa0000">&quot;javascript&quot;</span><span style="color: #008000"> type=</span><span style="color: #aa0000">&quot;text/javascript&quot;</span><span style="color: #008000"> xsrc=</span><span style="color: #aa0000">&quot;</span><span style="font-weight: bold; color: #000000">&lt;?</span><span style="color: #000000"> </span><span style="color: #000080">echo</span><span style="color: #000000"> get_bloginfo</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8217;siteurl&#8217;</span><span style="color: #008000">)</span><span style="color: #000000"> </span><span style="font-weight: bold; color: #000000">?&gt;</span><span style="color: #aa0000">/wp-content/plugins/tiny_mce/tiny_mce_gzip.php&quot;</span><span style="font-weight: bold; color: #000000">&gt;&lt;/script&gt;</span> <span style="font-weight: bold; color: #000000">&lt;script</span><span style="color: #008000"> language=</span><span style="color: #aa0000">&quot;javascript&quot;</span><span style="color: #008000"> type=</span><span style="color: #aa0000">&quot;text/javascript&quot;</span><span style="color: #008000"> xsrc=</span><span style="color: #aa0000">&quot;</span><span style="font-weight: bold; color: #000000">&lt;?</span><span style="color: #000000"> </span><span style="color: #000080">echo</span><span style="color: #000000"> get_bloginfo</span><span style="color: #008000">(</span><span style="color: #dd0000">&#8217;siteurl&#8217;</span><span style="color: #008000">)</span><span style="color: #000000"> </span><span style="font-weight: bold; color: #000000">?&gt;</span><span style="color: #aa0000">/wp-content/plugins/tiny_mce/tiny_mce_init_comment.js&quot;</span><span style="font-weight: bold; color: #000000">&gt;&lt;/script&gt;</span></font></p>
</blockquote>
<blockquote></blockquote></div>
<p>Bye all and thanks again to <em>lifesinger</em> for this big work!&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.3v1n0.net/informatica/tinymce-with-a-permalink-based-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
