• 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 - 46 through 60 (of 88 total)
  • Serenity, you never give permissions to your folders

    well i dont know what do you mean by permissions ! i cant find it anywehre the only thing i did was actually make the folders as said in the read me in the files/image, flash, media and file and chmod them to 777

    I keep getting the error message Invalid XML response from connector when I try to upload an image. Everything else from the FCK editor seems to work.

    I keep getting the error message invalid XML response from connector when I try to upload an image. Everything else seems to work.

    Anyone have an answer to the subdomain image manager issue? Thanks.

    hmm no one can help out with my Q.?

    Anybody got a clue about my XML error? Anyone? Anyone?

    lol slappy i think we talking to ourself now! i fixed everything now im getting same error as yours!!!

    That line in my fckconfig.js file already reads as follows:

    FCKConfig.UseBROnCarriageReturn= true ;

    But it still uses <br> tags instead of tags. I want it to use tags instead of <br> tags at the end of the paragraph or at carriage returns.

    It seems to use <br> tags whether the value on that line in the .js file is set to “true” or “false”.

    I added a line to the .js file that reads:

    FCKConfig.UsePOnCarriageReturn= true ;

    But that doesn’t seem to have helped either.

    for some reason I am still having path problems. folders/files are chmod’d to 777 and the correct path is in the config file. WYSIWYGPress works fine so I am lost as to why ChanPress won’t work (WYSIWYGPress is disabled as I try and get ChanPress working).

    Does ChanPress allow for the following uploads folder config?
    /cms/wp-content/media/gallery1
    /cms/wp-content/media/gallery2
    /cms/wp-content/media/gallery3

    Using:
    $fckphp_config['UserFilesPath'] = "/cms/wp-content/media" ;

    I am unable to see the folders on the server. when I try and add a new folder or upload an image I get a permission denied error (even though I have triple checked everything in that directory is writable by everyone (777). I am thinking ChanPress is not folloing the setting in the config file for some reason.

    Big thanks for any help with this!

    Thread Starter chweifly

    (@chweifly)

    to Serenity:

    1. >> Error, “Over disk quota, Unable to determine the size of a folder.”
    editor\filemanager\browser\mcpuk\connectors\php\config.php
    ‘MaxSize’ =>512000,
    ………………
    $fckphp_config[‘DiskQuota’][‘Global’]=500; //In MBytes (default: 50mb)

    2. >> You have no permissions to create the folder.
    please check your “folder path” configuration.

    Thread Starter chweifly

    (@chweifly)

    to slappy1eye???
    >> invalid XML response :
    FCKeditor’s “mcpuk filemanager” is still under developping. It still have some bugs.

    Thread Starter chweifly

    (@chweifly)

    to TerranceDC:
    If you use firefox???FCKConfig.UseBROnCarriageReturn would not work.
    But It work fine under IE.

    Thread Starter chweifly

    (@chweifly)

    to pelias:

    If you do not want to use default folder structure:
    files
    files\File
    files\Flash
    files\Image
    files\Media

    you need to change lots of cold ???editor\filemanager\browser\mcpuk\connectors\php\config.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.

    Thread Starter chweifly

    (@chweifly)

    to jdelgado:

    You’re right.
    We all hope for the feature of creating an automatic thumbnail.

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