WP NIcEdit-A WYSIWYG comment editor for wordpress

Jotted by brajesh on July 13, 2008

“UPDATE:The version 1.0 of the plugin is available on wordpress,please use following link to download

http://wordpress.org/extend/plugins/wp-nicedit/

and go to this page for updated information on the plugin http://www.thinkinginwordpress.com/2008/11/wp-nicedit-updated-version-10-released/

Well,After working for the last 30 minutes,finally I am done with the plugin.WP NicEdit is a wordpress plugin which integrates Brian Kirchoff’s Nic Edit(a javascript based rich text editor) to wordpress comments area making it visully pleasing and enhancing its capability.it makes the Comments section feature rich.Once you Install this plugin you(Your visitors) get a visual editor for posting their comments.So it’s pleasing to have all this.

and here is a demo,how it looks like

NicEditor How it Looks Like:–well here is a pic to depict how it looks like….

Nic Editor

Now how it looks when integrated to the Comments..Good question…

Integrated to comments

Now you Can choose the font-family,size,formatting and various other options while writing comments..wow..sounds Great..

Ahh..I forgot.. I need to put here ..how to install it…well..it’s damn simple…

Download:Update file is available here http://wordpress.org/extend/plugins/wp-nicedit/

For the updates,please visit my post http://www.thinkinginwordpress.com/2008/11/wp-nicedit-updated-version-10-released/

Installation:

  1. Unzip wp-nicedit.zip
  2. Upload the wp-nicedit folder to your wp-content/plugins/ directory
  3. Log in to your admin.Go to Plugins menu
  4. Find the “WP NicEdit” there and click activate.
  5. Congrats,You are done.Go and check your comments on any page/post it is working now :)

Please Note:IE6 is having a little trouble while integrating this plugin.The Visual editor will appear but it will not be enabled.i.e. you may not use the functionality of NiCEditor.


How to Over Come it:Well the reason of this trouble is,there is a p tag wraping the text area in your comments.php file

Follow the following steps( only required for making it work in IE)
1.Open the Comments.php of your theme(found in your theme folder) in any of the text editor
2.Locate the line which says something like…

<p><textarea id=”comment” name=”comment”></textarea></p>

and replace it with <textarea id=”comment” name=”comment”></textarea>

i.e. we have removed the wrapping p tags.

That’s all we are done now.

If you have any problem with the plugin or wish to add some features please let me know.I am always open to your suggestions and will love to add the feature.Further please leave your comment below for any support i will reply within 24 hour.

Credits:

All the credit for the editor goes to Brian Kirchoff for making the wonderful editor.

I will also like to thank Michael for his great post 10 Best Plugins To Get More Comments from where i got to know about the NicEdit.

[blinklist] [Bloglines] [del.icio.us] [Digg] [dzone] [Facebook] [Ma.gnolia] [Mister Wong] [Reddit] [Sphere] [Sphinn] [StumbleUpon] [Technorati] [Email]


Wordpress 2.5 Image Uploading Error

Jotted by brajesh on July 5, 2008

If you have upgraded to wordpress 2.5 or 2.5.1 ,it is the most likely problem you will find while trying to upload images using media manager.

You will get something like shown below “HTTp Error”

This is a very simple problem,related to the security setting.The default security settings in the .htaccess file of wordpress restricts file upload in wordpress 2.5 and 2.5.1 .

The default Wordpress .htaccess in 2.5.X looks like this

# BEGIN WordPress
 
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
 
# END WordPress

Now you need to modify it slighlty in order to make the file uploading work.
Add the following two lines after the wordpres block.

SecFilterEngine Off
SecFilterScanPOST Off

so the final .htaccess file looks like

# BEGIN WordPress
 
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
 
# END WordPress
SecFilterEngine Off
SecFilterScanPOST Off

Now the last two line simply makes security Filter engine off allowing the file upload.
That’s all , now upload the modified .htaccess file to the root folder of your wordpress installation.

Suppose you have installed it on www.example.com/blog/
then the .htaccess file must be in /blog folder .
That's all ,now go to the write post section and try to upload image,
You will find no problems this time.
[blinklist] [Bloglines] [del.icio.us] [Digg] [dzone] [Facebook] [Ma.gnolia] [Mister Wong] [Reddit] [Sphere] [Sphinn] [StumbleUpon] [Technorati] [Email]



Get Adobe Flash playerPlugin by wpburn.com wordpress themes