<?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>Colorful PHP &#187; UBB WYSWYG Editor</title>
	<atom:link href="http://blog.colorfulphp.com/category/ubb-wyswyg-editor/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.colorfulphp.com</link>
	<description>LuckyMouse&#039;s Php And Js Labs...</description>
	<lastBuildDate>Tue, 13 Jul 2010 03:28:07 +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>Add coUBB WYSIWYG Editor to your punbb</title>
		<link>http://blog.colorfulphp.com/2010/07/add-coubb-wysiwyg-editor-to-your-punbb/</link>
		<comments>http://blog.colorfulphp.com/2010/07/add-coubb-wysiwyg-editor-to-your-punbb/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 02:07:06 +0000</pubDate>
		<dc:creator>LuckyMouse</dc:creator>
				<category><![CDATA[UBB WYSWYG Editor]]></category>
		<category><![CDATA[coUBB]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[UBB Code Rich Editor]]></category>
		<category><![CDATA[UBB WYSIWYG Editor]]></category>

		<guid isPermaLink="false">http://blog.colorfulphp.com/?p=15</guid>
		<description><![CDATA[Download coUBB WYSIWYG Editor extension:
co_ubbeditor (punbb)
Unzip the file and Upload &#8220;co_ubbeditor&#8221; to your punbb forum extensions, then install from forum control pannel.
You may edit the css of the editor in file &#8220;co_ubbeditor/editor.css&#8221;
See a example:
http://www.lyricscollege.com/forum/
]]></description>
			<content:encoded><![CDATA[<p>Download coUBB WYSIWYG Editor extension:</p>
<p><a href="http://blog.colorfulphp.com/wp-content/uploads/2010/07/co_ubbeditor.zip">co_ubbeditor (punbb)</a></p>
<p>Unzip the file and Upload &#8220;co_ubbeditor&#8221; to your punbb forum extensions, then install from forum control pannel.</p>
<p>You may edit the css of the editor in file &#8220;co_ubbeditor/editor.css&#8221;</p>
<p>See a example:</p>
<p><a href="http://www.lyricscollege.com/forum/" target="_blank">http://www.lyricscollege.com/forum/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.colorfulphp.com/2010/07/add-coubb-wysiwyg-editor-to-your-punbb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>coUBB Rich Editor V0.2 CSS</title>
		<link>http://blog.colorfulphp.com/2010/07/coubb-rich-editor-v0-2-css/</link>
		<comments>http://blog.colorfulphp.com/2010/07/coubb-rich-editor-v0-2-css/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 01:54:44 +0000</pubDate>
		<dc:creator>LuckyMouse</dc:creator>
				<category><![CDATA[UBB WYSWYG Editor]]></category>
		<category><![CDATA[coUBB]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[UBB Code Rich Editor]]></category>
		<category><![CDATA[UBB WYSIWYG Editor]]></category>

		<guid isPermaLink="false">http://blog.colorfulphp.com/?p=12</guid>
		<description><![CDATA[.coUBB_body {border:1px solid #ccc;}
.coUBB_body * {margin: 0; padding: 0}
.coUBB_bar {height:100%;padding:2px;background:#eee;border-bottom:1px solid #ccc}
.coUBB_button, .coUBB_smilies {list-style: none}
/*buttons css*/
.coUBB_button {float:left}
.coUBB_button li {display: block;float:left;width: 22px;height:25px}
/*If you load this css on youre server, you should replace the image path to your path, or absolute path &#8220;http://api-s1.colorfulphp.com/ubb/basic/button.png&#8221; */
.coUBB_button span {display:block; width: 18px;height:16px;padding:1px 0;margin: 2px auto;background:#fff url(button.png);border:1px solid #ccc;}
.coUBB_button a:hover span,.coUBB_button .hover [...]]]></description>
			<content:encoded><![CDATA[<p>.coUBB_body {border:1px solid #ccc;}<br />
.coUBB_body * {margin: 0; padding: 0}<br />
.coUBB_bar {height:100%;padding:2px;background:#eee;border-bottom:1px solid #ccc}</p>
<p>.coUBB_button, .coUBB_smilies {list-style: none}<br />
/*buttons css*/</p>
<p>.coUBB_button {float:left}<br />
.coUBB_button li {display: block;float:left;width: 22px;height:25px}<br />
/*If you load this css on youre server, you should replace the image path to your path, or absolute path &#8220;http://api-s1.colorfulphp.com/ubb/basic/button.png&#8221; */</p>
<p>.coUBB_button span {display:block; width: 18px;height:16px;padding:1px 0;margin: 2px auto;background:#fff url(button.png);border:1px solid #ccc;}<br />
.coUBB_button a:hover span,.coUBB_button .hover {border:1px solid #330066;background-color:#99ccff}</p>
<p>#coUBB_butt_formart {background-position: 0 -145px}<br />
#coUBB_butt_clear {background-position: 0 -128px}</p>
<p>#coUBB_butt_i {background-position: 0 -16px}<br />
#coUBB_butt_u {background-position: 0 -32px}<br />
#coUBB_butt_img {background-position: 0 -47px}<br />
#coUBB_butt_blockquote {background-position: 0 -64px}<br />
#coUBB_butt_link {background-position: 0 -80px}<br />
#coUBB_butt_unlink {background-position: 0 -96px}<br />
#coUBB_butt_color {background-position: 0 -112px}</p>
<p>/*smilies*/<br />
.coUBB_smilies {float:left;margin:1px 0 0 10px;width: 200px}<br />
.coUBB_smilies li {display: block;float:left;width: 20px;height:20px}<br />
.coUBB_smilies span {display:block; width: 15px;height:15px;margin: 2px auto;background:url(smilies/index.png);}<br />
.coUBB_smilies a:hover span {border:1px solid #000;background-color:#99ccff}</p>
<p>/*1, 2, 3, 4 are the ids of the smile id in config &#8217;smile&#8217; : {&#8216;id&#8217;:'name&#8217;} */<br />
span.coUBB_smilie_1 {background-position: 0 0}<br />
span.coUBB_smilie_2 {background-position: -15px 0}<br />
span.coUBB_smilie_3 {background-position: -30px 0}<br />
span.coUBB_smilie_4 {background-position: -45px 0}<br />
span.coUBB_smilie_5 {background-position: -60px 0}<br />
span.coUBB_smilie_6 {background-position: -75px 0}<br />
span.coUBB_smilie_7 {background-position: -90px 0}<br />
span.coUBB_smilie_8 {background-position: -105px 0}<br />
span.coUBB_smilie_9 {background-position: -120px 0}<br />
span.coUBB_smilie_10 {background-position: -135px 0}<br />
/*font color ctrol pannel css*/</p>
<p>.coUBB_colors {list-style: none; width:160px;margin:0;padding:0}<br />
.coUBB_colors li {display:block;float:left;width:20px;height:20px}<br />
.coUBB_colors a {display: block;width:20px;height:20px;}<br />
.coUBB_colors a span {border:1px solid #000;width:12px;height:12px;display:block;margin: 3px}<br />
.coUBB_colors a:hover {background:#C4CDD6;border:1px solid #330066;width:18px;height:18px;}<br />
.coUBB_colors a:hover span {border:1px solid #ccc;width:11px;height:11px}</p>
<p>.coUBB_copyright {float:right;font-size:10px;color:#999;margin-top:3px}</p>
<p>/*input link, input image css*/<br />
#coUBB_input {position:absolute;z-index:99999;display:none;overflow:hidden;background:#fff;border:1px solid #ccc;padding: 5px;font: 12px Arial,Verdana,Tahoma;}<br />
#coUBB_input form {margin:0;padding:0}<br />
#coUBB_input input {border:1px solid #ccc;background:#f7f7f7;font: 12px Arial,Verdana,Tahoma;}</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.colorfulphp.com/2010/07/coubb-rich-editor-v0-2-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use coUBB Rich Editor V0.2</title>
		<link>http://blog.colorfulphp.com/2010/07/how-to-use-coubb-rich-editor-v0-2/</link>
		<comments>http://blog.colorfulphp.com/2010/07/how-to-use-coubb-rich-editor-v0-2/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 01:48:01 +0000</pubDate>
		<dc:creator>LuckyMouse</dc:creator>
				<category><![CDATA[UBB WYSWYG Editor]]></category>
		<category><![CDATA[coUBB]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[UBB Code Rich Editor]]></category>
		<category><![CDATA[UBB WYSIWYG Editor]]></category>

		<guid isPermaLink="false">http://blog.colorfulphp.com/?p=10</guid>
		<description><![CDATA[coUBB Rich Editor is more easy to use in verion 0.2.
(Test past: IE , FF, OPERA)
You must use DIV to contain the textarea or input which want to load coUBB editor, or it would have error under IE.
You only need to add below code before &#8216;&#60;/body&#62;&#8217;.
&#60;script type=&#8221;text/javascript&#8221; src=&#8221;http://api-s1.colorfulphp.com/ubb/ubb.js&#8221;&#62;&#60;/script&#62;
And you may config your editor textarea first. [...]]]></description>
			<content:encoded><![CDATA[<p>coUBB Rich Editor is more easy to use in verion 0.2.</p>
<p>(Test past:<strong> IE , FF, OPERA</strong>)</p>
<p><span style="color: #ff0000;">You must use DIV to contain the textarea or input which want to load coUBB editor, or it would have error under IE.</span></p>
<p>You only need to add below code before &#8216;&lt;/body&gt;&#8217;.</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://api-s1.colorfulphp.com/ubb/ubb.js&#8221;&gt;&lt;/script&gt;</p></blockquote>
<p>And you may config your editor textarea first. Put the config codes before that line.</p>
<p><span style="color: #ff6600;">(Please replace &#8216; to english quote, wordpress always replace to other quote&#8230;.)</span></p>
<p>(Please visit wiki for the correct js code:<a href="http://wiki.colorfulphp.com/index.php?title=CoUBB_Editor_0.2"> http://wiki.colorfulphp.com/index.php?title=CoUBB_Editor_0.2</a>)</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221;&gt;&lt;!&#8211;<br />
//you may delete any line in config, then it will use default value of that argument.<br />
coUBB_c = {<br />
&#8216;mode&#8217;:'basic&#8217;,       //editor type, there are only basic mode, so don&#8217;t modify. you may delete this line.<br />
&#8216;ver&#8217;:'0.2&#8242;,          // we use 0.2 version here, so don&#8217;t modify. you may delete this line.<br />
&#8216;width&#8217;:'99%&#8217;,        //editor default with, if it is a textarea, we will use textarea with<br />
&#8216;height&#8217;:'200px&#8217;,     //editor default height, if it is a textarea, we will use textarea height<br />
&#8216;id&#8217;:'do_content&#8217;,    //textarea or input element ID<br />
&#8216;auto&#8217;:1,             //auto add editor, recommend set to 1.<br />
&#8216;css&#8217;:':default&#8217;,     //editor css, you may use your path: &#8216;css&#8217;:'http://yourpath/css&#8217;  (don&#8217;t add .css)<br />
&#8216;css_e&#8217;:”,           //editor input area css, same as above<br />
&#8216;css_es&#8217;:”,          //editor input area css string, you can put the css style here instead load css path above. suche as: &#8216;css_es&#8217;:'&lt;style type=”text/css”&gt;body {font: 12px Arial,Verdana,Tahoma;color:#666;background:#fff;} blockquote {border:1px solid #ccc;background:#f7f7f7;margin:5px;padding:5px;} img {border: 0}&lt;/style&gt;&#8217;<br />
&#8216;is_html&#8217;:0,          //Is the default value is html? 0 is UBB code.<br />
&#8217;smile&#8217;:”,           //you may add your smile here, see below “about smile”<br />
&#8217;smile_&#8217;:{&#8216;base&#8217;:”, &#8216;ext&#8217;:”, &#8216;type&#8217;:”} //smile type, see below “about smile”<br />
};<br />
//&#8211;&gt;<br />
&lt;/script&gt;</p></blockquote>
<p><strong>About Smile:</strong></p>
<p>You may set you smile in ver0.2.</p>
<p>&#8217;smile&#8217; : {<br />
&#8216;id&#8217;   : &#8216;imgname&#8217;,<br />
&#8216;id2&#8242; : &#8216;imagename2&#8242;<br />
}</p>
<p>&#8216;id&#8217;  is use to set smile class &#8220;span.coUBB_smilie_id&#8221; (please see CSS article for more information)</p>
<p>&#8216;imagename&#8217;  the smile image name, don&#8217;t add ext(such as .gif, .png). you need set &#8220;ext&#8221; use &#8217;smile_&#8217;:{&#8216;ext&#8217;:&#8217;.gif&#8217;}, default value is &#8220;.png&#8221;.</p>
<p>You may not set image here instead of a string &#8220;:)&#8221;, if you like to inster &#8220;:)&#8221; as a smile image in your editor. You need set &#8217;smile_&#8221;:{type&#8221;:&#8221;str&#8221;} too.</p>
<p>If you use image of smile, you should set the image base path in &#8217;smile_&#8217; : {&#8216;base&#8217;:'dirname/&#8217;}</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.colorfulphp.com/2010/07/how-to-use-coubb-rich-editor-v0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use colorful ubb editor.</title>
		<link>http://blog.colorfulphp.com/2009/11/how-to-use-colorful-ubb-editor/</link>
		<comments>http://blog.colorfulphp.com/2009/11/how-to-use-colorful-ubb-editor/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 02:08:37 +0000</pubDate>
		<dc:creator>LuckyMouse</dc:creator>
				<category><![CDATA[UBB WYSWYG Editor]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[ubb]]></category>
		<category><![CDATA[WYSWYG]]></category>

		<guid isPermaLink="false">http://blog.colorfulphp.com/?p=3</guid>
		<description><![CDATA[It is easy for install colorful ubb editor on your webpage. You just need to load this script before ”&#60;/body&#62;”(Document End) .
(Demo:  http://api.colorfulphp.com/ubb/ &#124;      Happy Songtext  )
First Step: 
Please insert this code before ”&#60;/body&#62;” tag, and after you Textarea (Form).
&#60;script type="text/javascript" src="http://api.colorfulphp.com/ubb/ubb.js"&#62;&#60;/script&#62;
Second Step: 
You should config UBB Editor Code before load the script [...]]]></description>
			<content:encoded><![CDATA[<p>It is easy for install colorful ubb editor on your webpage. You just need to load this script before ”&lt;/body&gt;”(Document End) .</p>
<p>(Demo:  <a href="http://api.colorfulphp.com/ubb/" target="_blank">http://api.colorfulphp.com/ubb/</a> |      <a href="http://www.musiksongtext.com/songtext_leona-lewis_song_happy/" target="_blank">Happy Songtext </a> )</p>
<p><strong>First Step: </strong></p>
<p>Please insert this code before ”&lt;/body&gt;” tag, and after you Textarea (Form).</p>
<blockquote><p><code>&lt;script type="text/javascript" src="http://api.colorfulphp.com/ubb/ubb.js"&gt;&lt;/script&gt;</code></p></blockquote>
<p><strong>Second Step: </strong></p>
<p>You should config UBB Editor Code before load the script above.(Insert this config code <strong>before </strong>above script.)  example:</p>
<blockquote><p><code>&lt;script type="text/javascript"&gt; coUBB_c = {'<strong>id</strong>':'do_content', 'mode':'basic', 'ver':'0.1', 'width':'99%', 'height':'200px', 'auto':1, 'css':':default', 'css_e':}; &lt;/script&gt;</code></p></blockquote>
<p>About Config Arguments:</p>
<p><span style="color: #ff0000;">You must edit the arg of  &#8220;id&#8221;  to the id of you textarea or input.</span></p>
<p>Example:</p>
<blockquote><p><code>&lt;textarea cols="50"  rows="10" name="<strong>do_content</strong>"  id="<strong>do_content</strong>"  style="width:99%" onclick="if(typeof(coUBB) == 'object'){coUBB.make(coUBB_c);}"&gt;&lt;/textarea&gt;</code></p></blockquote>
<p><strong>do_content</strong> is the <strong>id</strong> value.</p>
<p>Don&#8217;t modify arg: <strong>mode</strong> , <strong>ver</strong>. Because there are no other version at present.</p>
<p>&#8220;width&#8221;  and &#8221; height&#8221; is default value if you are use a INPUT element.</p>
<p>You can load your css as:         &#8216;css&#8217; : &#8216;http://yourpath&#8217;</p>
<p>Please check <a href="http://blog.colorfulphp.com/2009/11/colorful-ubb-editor-css/">about css</a> for more information.</p>
<p>Full Example:</p>
<p>1. textarea id is &#8220;do_content&#8221; same as default config, so you don&#8217;t need config it.</p>
<blockquote><p><code><br />
&lt;form method="post"&gt;<br />
&lt;<span>textarea</span><span> cols</span>=<span>"50" </span><span>rows</span>=<span>"10" </span><span>name</span>=<span>"do_content" </span><span>id</span>=<span>"do_content" </span><span>style</span>=<span>"width:99%" </span><span>onclick</span>=<span>"if(typeof(coUBB) == 'object'){coUBB.make(coUBB_c);}"</span>&gt;&lt;/<span>textarea</span>&gt;<br />
&lt;input type="submit" /&gt;<br />
&lt;/form&gt;<br />
&lt;script type="text/javascript" src="http://api.colorfulphp.com/ubb/ubb.js"&gt;&lt;/script&gt;</code></p></blockquote>
<p>2: use your custom config</p>
<blockquote><p><code><br />
&lt;form method="post"&gt;<br />
&lt;<span>textarea</span><span> cols</span>=<span>"50" </span><span>rows</span>=<span>"10" </span><span>name</span>=<span>"myname" </span><span>id</span>=<span>"</span></code><code><span>myname</span></code><code><span>" </span><span>style</span>=<span>"width:99%" </span><span>onclick</span>=<span>"if(typeof(coUBB) == 'object'){coUBB.make(coUBB_c);}"</span>&gt;&lt;/<span>textarea</span>&gt;<br />
&lt;input type="submit" /&gt;<br />
&lt;/form&gt;</code></p>
<p><code>&lt;script type="text/javascript"&gt; coUBB_c = {'<strong>id</strong>':'</code><code><span>myname</span></code><code>', 'mode':'basic', 'ver':'0.1', 'auto':1,'css':'http://mycsspath', 'css_e':}; &lt;/script&gt;</code><br />
<code> &lt;script type="text/javascript" src="http://api.colorfulphp.com/ubb/ubb.js"&gt;&lt;/script&gt;</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.colorfulphp.com/2009/11/how-to-use-colorful-ubb-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
