• Resolved chweifly

    (@chweifly)


    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

    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 - 61 through 75 (of 88 total)
  • Chen, the download is timing out after about 300KB for me (your homepage is slow too). Is it possible for you to repost the file somewhere? If you want, I could add it to my site, if you send it by email…

    – Johan
    [email protected]
    https://dev.kanngard.net

    Thread Starter chweifly

    (@chweifly)

    to kanngard:
    Of course!
    I’ve sent it to your email, including V1.5 and V2.0.

    Thank you! Repost of the files can be found at https://dev.kanngard.net/Permalinks/ID_20050719100140.html

    – Johan

    This makes sense now. No matter what I did I could not get it to work. I didn’t realize I had to hack so much of the confige ??

    Can I add a feature request?

    Allow the user to specify a base uploads area and have the imagebrowser automatically traverse the file system under the specified area. WYSIWordPress allows this and it is easily done in PHP. implementation into the plugin might be tricky but that is why I can’t program worth a #@$%…

    If you do not want to use default folder structure:
    files
    filesFile
    filesFlash
    filesImage
    filesMedia

    you need to change lots of cold ???editorfilemanagerbrowsermcpukconnectorsphpconfig.php

    $fckphp_config['ResourceTypes'] = array('File','Image','Flash','Media');
    ==>
    $fckphp_config['ResourceTypes'] = array(gallery1','gallery2','gallery3');

    and redifine all the code about 'File','Image','Flash','Media' in this config.php.

    finally you also need to fix the FCKConfig.ImageBrowserURL and FCKConfig.LinkBrowserURL in the file fckconfig.js.

    hi,

    Have read all posts. Try some ideas. But still can’t solve my problem which is :

    On localhost FCKeditor rocks. No pb. Upload browse etc.. works
    On remote nothing appears in browser. No upload possible. And NO error msg.

    All chmod to 777, files folder structure ok.

    here is my config.php on remote :

    $fckphp_config[‘basedir’]=substr($_SERVER[‘PATH_TRANSLATED’], 0, strlen($_SERVER[‘SCRIPT_NAME’]) * – 1);
    //$fckphp_config[‘basedir’]=$_SERVER[‘DOCUMENT_ROOT’]; (doesn’t work with it uncomment either)
    //$fckphp_config[‘basedir’] = ‘C:\www\’ ;

    $fckphp_config[‘urlprefix’]=$fckphp_config[‘prot’].$_SERVER[‘SERVER_NAME’];

    $fckphp_config[‘UserFilesPath’] = “/wp-content/files” ;

    localhost : OSX 10.3 / apache
    remote : ibm / apache

    Am lost at sea !

    thx

    mat

    Hi!

    I think chenpress is great, but I have serious problems using the image-upload: I created all folders and made chmod 777. I user the default-Place /wp-content/files, but when I want to upload a image or create a folder I get “You dont have permissions…”. When I upload a image by ftp into the folder “Images” I cant see it, if I chosse “Browse the Server”. To me it looks like the program uses the wrong structure to search for pictures and files, but I dont know how to find the problem. Anyone can help?
    Thanks!

    jens

    I installed chenPress, and I am finding that chenPress ignores the fact that wordPress changes new line characters into line breaks, and doubles them.

    Any way to stop this?

    Hi! I installed this ChenPress, as well. Unfortunately, I experience the same problem as Jens explained above: upload of pictures doesn’t work. I think it has something to do with the way this editor uploads the files… maybe it uses FTP instead of HTTP or something crazy… Who knows how to solve this problem?

    Thread Starter chweifly

    (@chweifly)

    [update announce] ChenPress 3.0:
    https://www.ads-software.com/support/topic/40690

    Download & Support
    Please check the ChenPress’ official support forum:
    https://groups-beta.google.com/group/ChenPress

    I’ll stop supporting here.

    You know how when you click an image to right align and it puts <p align=”right”> in the xhtml?

    Well I’d like to be able to alter this by floating the image…

    I’ve been over the code a lot and can’t find where I could alter this feature?

    Any clues on which folder or files I should be looking for..???

    Its OK now have worked it out – easy peasy.

    For anyone who has the problem with using on a subdomain (ex: https://sub.domain.com):

    Mine was a cpanel/whm install, and Apache was using https://www.sub.domain.com as the SERVER_NAME.

    In the file wp-content/plugins/chenpress/fckeditor/editor/filemanager/browser/mcpuk/connectors/php/config.php

    Change the line (its around line 40)
    ‘$fckphp_config[‘urlprefix’]=$fckphp_config[‘prot’].$_SERVER[‘SERVER_NAME’];’

    to

    $fckphp_config[‘urlprefix’]=$fckphp_config[‘prot’].$_SERVER[‘HTTP_HOST’];

    The editor will then reference images correctly, instead of using ‘<img src=https://www.sub.domain.com….>’

    jensos

    (@jensos)

    Chenpress for Category Description? Is it possible to use chenpress as an wysiwyg-editor for editing the categorydescription of any category in WordPress? Or is there any other way to get an wysiwyg-editor for this description to insert links and images easily?

    Does this plugin work for WordPress 2.0?

    Just tried it, it does! All kinds of better stuff than TinyMCE.

Viewing 15 replies - 61 through 75 (of 88 total)
  • The topic ‘FCKeditor Plugin ChenPress’ is closed to new replies.