Title: FCKeditor Plugin ChenPress
Last modified: August 18, 2016

---

# FCKeditor Plugin ChenPress

 *  Resolved [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/)
 * **Q: What’s ChenPress?** 
    A: It’s a WordPress WYSIWYG plugin which replace the
   default editor with FCKeditor 2.0 FC.
 * **Q: What’s the meaning of the plugin name?** 
    A: "ChenPress" just the combine
   of my name ChenWei and WordPress.
 * **Q: Download?
    
   A: [Click here to download ChenPress](http://www.irm.cn/abc/download/chenpress.zip)
 * **Q: install?** 
    A: 
    - Download the zip file and extract the file ‘chenpress.php’ and folder ‘chenpress’
      from it.
    - Upload these files to your server and make sure it goes into the ‘wp-content/
      plugins’ directory.
    - Visit your WordPress administration interface’s Plugins page and activate 
      the plugin.
    - Creat files foders under ‘wp-content’, just like the following structure: 
 *  - wp-content\files
    - wp-content\files\File
    - wp-content\files\Flash
    - wp-content\files\Image
    - wp-content\files\Media
 *  -  Change the files foders’ properties to 777 use FTP
 * **Q: Which files have been modified to the default FCKeditor 2.0 FC?** 
    A: I
   modified only three files:
    - /fckconfig.js
    - /fckeditor.js
    - /editor/filemanager/browser/mcpuk/connectors/php/config.php
 * **Q: So, what’s the creative work of ChenPress? 
    
   A: Just the file "chenpress.
   php", whick combine FCKeditor 2.0 FC to WordPress.
 * **Q: How could I make ChenPress suitalbe? 
    
   A: Just configuring the following
   three files:
    - chenpress.php
    - chenpress\fckconfig.js
    - chenpress\editor\filemanager\browser\mcpuk\connectors\php\config.php
 * ================================== 
    ==== Detail Function Configuration
 * **Q: Can I change the default location of upload files? 
    
   A: Just open the file:"
   chenpress\editor\filemanager\browser\mcpuk\connectors\php" 
    And modify the parameter:
   $fckphp_config[‘UserFilesPath’] = "/wordpress/wp-content/files" ;
 * **Q: Can I change the toolbar?** 
    A: Just open the file: "chenpress\fckconfig.
   js"  And modify the parameter: FCKConfig.ToolbarSets["CPToolbar"] = …
 * **Q: Can I change the smiley? 
    
   A: Just open the file: "chenpress\fckconfig.
   js" 
    And modify the parameter: FCKConfig.SmileyPath and FCKConfig.SmileyImages
 * **Q: Where is "quicktags"? 
    
   A: Just open the file: "chenpress.php", and delete
   the following code:
 * >  // Nuke Quicktages 
   >  ob_start(‘nuke_the_quicktags’);  function nuke_the_quicktags(
   > $lookmanoqtags ) {  $lookmanoqtags = preg_replace(‘|<div id="quicktags">.*?
   > </div>|s’, ”, $lookmanoqtags);  return $lookmanoqtags;}
 * **Q: Support?**
    A: Here 🙂

Viewing 15 replies - 1 through 15 (of 88 total)

1 [2](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/5/?output_format=md)
[6](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/6/?output_format=md)
[→](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/2/?output_format=md)

 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210328)
 * I install my WP under the root folder /wordpress/, so maybe you need to change
   the setting:
 * $fckphp_config[‘UserFilesPath’] = "/wordpress/wp-content/files" ;
 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210329)
 * I also announce ChenPress to WordPress Plugin Competition Blog, but one day has
   gone, and it still have not been approved:-(
 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210353)
 * Need more languages?
 * Just open the file: “chenpress\fckconfig.js”
    And modify the parameter: FCKConfig.
   AutoDetectLanguage = true ;
 *  [zz85](https://wordpress.org/support/users/zz85/)
 * (@zz85)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210356)
 * Does QuickTags work with ChenPress?
 * Is there anyway to toggle between the FCKEditor and usual textarea? (Using javascript)
 * If not, it wont work with the WP SpellCheck Plugin.
 *  [galfn](https://wordpress.org/support/users/galfn/)
 * (@galfn)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210362)
 * Can you make it work with bookmarklet?
 *  [zz85](https://wordpress.org/support/users/zz85/)
 * (@zz85)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210363)
 * A bug. Back button doesnt work
 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210364)
 * ChenPress has a SpellCheck tool.
 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210365)
 * IE’s back or ChenPress’ back?
 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210366)
 * ChenPress doesn’t work with QuickTags together.
    You can deactivate ChenPress
   if you need QuickTags.
 *  [zz85](https://wordpress.org/support/users/zz85/)
 * (@zz85)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210388)
 * FireFox’s back. I feel that if there should be a way to disable the editor thru
   javacript it would be better.
 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210389)
 * FireFox’s back may generate seveal “new post” back because the ChenPress need
   to replace QuickTags.
 * But you can click the dropdown menu to select the page what you need.
 *  [zz85](https://wordpress.org/support/users/zz85/)
 * (@zz85)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210399)
 * You are right, and wrong. The multiple backs are actually caused by FCEeditor.
 * Here’s what I did for myself.
 * Under chenpress.php,
    1. Remove “Nuke Quicktages” codes. 2. Edit onload javascript
   function. Starting line 44. <script type=”text/javascript”> function loadfce(){
   var oFCKeditor = new FCKeditor( ‘content’ ) ; oFCKeditor.BasePath = “<?php echo
   $chenpress_path; ?>” ; oFCKeditor.Height = “<?php echo $chenpress_size; ?>” ;
   oFCKeditor.ToolbarSet = “Default” ; //CPToolbar oFCKeditor.ReplaceTextarea() ;
   document.getElementById(“quicktags”).style.display = “none”; } var wisi_tags;
 *  quicktag = document.getElementById(“quicktags”);
    if (quicktag!=null) { quicktag.
   innerHTML += ‘<input type=”button” name=”zz” value=”Use Editor!” onclick=”javascript:
   loadfce();” />’; }
 * </script>
 * What it does it that instead of “nuking”, quicktags now have a “Start Editor!”
   button for using the FCEeditor. Why? Pages loads faster for u to start editing
   and try editing comments use FCEedtior and you’ll get what I mean.
 * That’s all for now. Thanks for packaging chenpress, it should have some nice 
   use for me 😉
 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210400)
 * WOW! Thanks, zz85! It’s great!
 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210401)
 * There is another great javascript writed by Josef WO which can switch Wisi ON
   and OFF. But it is just about “WYSIWYG Plugin For WordPress” which use TinyMCE
   editor. I didn’t know how to use it in FCKeditor.
 * [http://mudbomb.com/archives/2005/02/02/wysiwyg-plugin-for-wordpress/](http://mudbomb.com/archives/2005/02/02/wysiwyg-plugin-for-wordpress/)
 * >  Comment by Josef WO â€? Apr. 6, 2005 @ 5:30 pm
   > Hello Joe, thank you to accept my hack of ibrowser – I’m not sure if it is 
   > univesal solution but it can help somebody. Now there is a question how to 
   > switch Wisi ON and OFF. I have it solved on my site, unfortunatelly there is
   > necessary to hack some wp files:
   > Folder: wp-admin, Files edit-form, edit-form-page, edit-form-advanced. Look
   > for row beginning
   > <textarea rows=”<?php echo $rows; ?>” cols=”40″ name=”content” tabindex=”5″
   > and add just before it the code:
   > <b>WYSIWYG</b>
   >  <input type=”button” name=”wyson” value=”Yes” onclick=”javascript:
   > tinyMCE.execCommand(‘mceAddControl’,false,’content’);” />    <input type=”button”
   > name=”wysoff” value=”No” onclick=”javascript:tinyMCE.execCommand(‘mceRemoveControl’,
   > false,’content’);” /> <br>
   > Advantages: After switch OFF you can use Quicktags as usually. You can add 
   > â€“moreâ€“ and â€“nextpageâ€“ tags as well as edit HTML directly. Next you 
   > can switch back to WYSIWYG and complete your work.
   > There is a picture how it looks: [http://wordpress.site.cz/images/wpadmin.gif](http://wordpress.site.cz/images/wpadmin.gif)
 * In Josef WO blog: [http://wordpress.site.cz/](http://wordpress.site.cz/), there
   also have some discussion, but I can’t understand the language, Czech.
 *  Thread Starter [chweifly](https://wordpress.org/support/users/chweifly/)
 * (@chweifly)
 * [21 years ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/#post-210402)
 * Update: ChenPress 2.0!
 * change log:
    Repack ChenPress using zz85’s code.

Viewing 15 replies - 1 through 15 (of 88 total)

1 [2](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/5/?output_format=md)
[6](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/6/?output_format=md)
[→](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/2/?output_format=md)

The topic ‘FCKeditor Plugin ChenPress’ is closed to new replies.

## Tags

 * [ChenPress](https://wordpress.org/support/topic-tag/chenpress/)
 * [FCKeditor](https://wordpress.org/support/topic-tag/fckeditor/)

 * 88 replies
 * 35 participants
 * Last reply from: [galtxor](https://wordpress.org/support/users/galtxor/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/fckeditor-plugin-chenpress/page/6/#post-210651)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
