WordPress.org

Ready to get started?Download WordPress

Forums

Need Some Plugin Testers- WYSIWYG Plugin (40 posts)

  1. Joe
    Member
    Posted 9 years ago #

    Hello all,
    I need some plugin testers for the new version of wysi-wordpress. It uses the latest TinyMCE wysiwyg engine and includes a built-in image uploader/browser. IMHO, this engine is much better than htmlarea(which was used for the previous Wysi-Wordpress version).

    It takes about 1 minute to install, 4 minutes if you want to use the image uploader. I've fully tested it with the 1.5 nightly, but I need some 1.2 testers. It should work fine though. Let me know what ya think! :-)

    http://mudbomb.com/archives/2005/02/02/wysiwyg-plugin-for-wordpress/

  2. revbob
    Member
    Posted 9 years ago #

    Sorry, inop on my 1.2. Still shows the quicktags edit window. I changed quicktags.js, as I reported in my last post, and I've also replaced the stock "more" and "next" buttons with "cite" and "abbr" buttons. Would anything I've described have done it?

  3. Joe
    Member
    Posted 9 years ago #

    Thanks Bob. I think I used a "1.5-only" hook for the action in my plugin :-(. So, for now, it's only working with 1.5. Thanks for testing.

  4. mosco
    Member
    Posted 9 years ago #

    Testing your plugin on wp 1.5 it's working great so far. Much better indeed!

    Couple of issues:
    - it only shows up when editing an existing post (or draft) but not when starting a new post
    - how does it decide what level users are required for upload? I had to set level 8 before a user could upload images, but our wp install is set to allow level 3 users.

    Testing on Firefox on OS X and win2k, and ie 6 on win2k.
    Safari on OS X does not seem to work.

  5. Joe
    Member
    Posted 9 years ago #

    mosco,
    The editor only shows up on the advanced editing screen. To get it to show up on a new post, change your setting in Options->Writing to "Advanced Controls". Then it will load with new posts. Alternatively, you can just click "Advanced Editing" when writing a post.

    The default user level required to upload is 7. However, you can change this by opening Wysi-Wordpress/plugins/ibrowser/ibrowser.php

    Near the top, you'll see this line:
    if ($user_level <= 6)
    Change the number to whatever you like. For example to let users with level 3 upload, you would set the number to 2, meaning that the user level must be ABOVE 2 to upload.

  6. Joe
    Member
    Posted 9 years ago #

    I've updated the page with TWO versions of the plugin. One for WordPress 1.2 and one for 1.5+.

    Just be sure to pick the right one for your WordPress version ;-)
    http://mudbomb.com/archives/2005/02/02/wysiwyg-plugin-for-wordpress/

  7. adrmx
    Member
    Posted 9 years ago #

    I have 1.2.2 and right now i test your plug in

  8. mosco
    Member
    Posted 9 years ago #

    Cool, that solves the two issues I had.
    Great plugin! Thanks for your work and quick reply.

  9. Jack
    Member
    Posted 9 years ago #

    Does this plugin also offer an easy way of uploading images with links to the original image (perhaps in a popupwindow)? I guess not :(.

  10. Joe
    Member
    Posted 9 years ago #

    moxie--There is a built-in image uploader and browser. You can upload images and put them directly into your post.

  11. DenisdeBernardy
    Member
    Posted 9 years ago #

    i get a weird problem... apparently, your plugin conflicts with WordPress.

    The problem seems to come from the carriage returns your plugin produces in the html code (i'm using firefox 1.0 on a WinXP platform). the browser rightly processes them as white spaces, so everything looks fine in the editor. but wordpress then wrongly converts them into line breaks!

  12. Joe
    Member
    Posted 9 years ago #

    Denis,
    The plugin will create a new paragraph when you hit Enter.(p)

    If you just want a single linebreak, hold down shift while hitting Enter. That will produce a single linebreak.(br /)

  13. DianeV
    Member
    Posted 9 years ago #

    Excellent to hear it, Joe! The double BR tag rather than the proper P tags; if this has both, then it sounds excellent!

  14. mosco
    Member
    Posted 9 years ago #

    Another question: does the TinyMCE engine allow resize/rotate/crop of images? Any ideas on how else to implement it if not?
    htmlarea has these functions but the interface to browse pics was really bad.

    Thanks.

  15. Joe
    Member
    Posted 9 years ago #

    mosco,
    There's currently no way to do image editing in TinyMCE :-(. The project is constantly being updated, so hopefully they will add it eventually.

    I know what you mean about the htmlarea pic browser. When I was using it, half the time the pics would load in a blank window without the controls, and in IE the window would sometimes not load at all. With alot of images in the directory, it would take a looooong time even when it did work. The htmlarea browser apparently performs a "thumbnail check" on every file in the directory when it loads.

    The TinyMCE image browser has fewer features, but it seems pretty stable.

  16. mosco
    Member
    Posted 9 years ago #

    Ok, thanks. I agree, I also much prefer the stability of TinyMCE, I can always resize & rotate before uploading. Hopefully they'll add it some time soon.

  17. tzar
    Member
    Posted 9 years ago #

    wowie...! works smoothly!
    only one thing: it does not appear when writing new pages!

  18. Joe
    Member
    Posted 9 years ago #

    tzar: Whoops! I forgot to add the hook for the page editor in the original version. It’s in there now. Just download the new 1.5 version and replace ONLY the file wysiwordpress.php in your plugins directory.

  19. DenisdeBernardy
    Member
    Posted 9 years ago #

    Joe - i think you misunderstood: your plugin randomly produces carriage returns (\n) in the code, and wordpress then converts them into line breaks (
    )

  20. Joe
    Member
    Posted 9 years ago #

    Denis- I did some Mozilla-testing and I now see what you mean. For some reason, the problem ONLY occurs in Mozilla!??? IE saves the content as it should.

    I will check into this.

  21. tzar
    Member
    Posted 9 years ago #

    @ Joe: Thanks, works fine now...

    the thingy with FF hiccups my posts too... for now I am posting in IE and reading in FF... :P but it's worth the extra effort!

  22. mosco
    Member
    Posted 9 years ago #

    Using FF we're also seeing some major problems, it seems after posting a picture in a post sometimes the post content gets wiped out, the weird part is the wisiwyg windows still displays the pic & text but when I hit save, and reopen the post editing page it's all gone, the post will just contain one or two br tags.

    Same on Mac OS X and Win2k, so it looks like FF specific.
    We're also getting the same line break problems mentioned above with FF.

    Another problem, when posting pics, it uses a relative path to set the img src url, the url is correct for viewing the pic from an admin page, but not from the live blog page. I had to replace all img src url's with absolute paths.

    For now I had to go back to htmlarea unfortunately, but I'll do some more testing later to see if I can give you more useful info...

  23. Joe
    Member
    Posted 9 years ago #

    mosco and tzar: Yeah, the editor seems to bomb out in Mozilla-based browsers. Unfortunately, I've had to add an IE-only note to the download page :-(. Mozilla support is just a bit too flaky for now.

    mosco: As for the images thing- It sounds like you might have the wrong values set in plugins/ibrowser/config.php. The plugin should produce absolute links to images, and does in my testing blog. Recheck your lines 21 and 45 in config.php. These control the path to images.

  24. mosco
    Member
    Posted 9 years ago #

    Hey Joe, thanks. I hope you can find a fix for ff, because it doesn't seem to work at all in IE on Mac OS X, so it's not usable for any Mac browser/user :-(

    I checked again the paths for config.php in ibrowser. I have them set correctly as far as I can tell, line 21 I have the web site main url (with a trailing slash, i.e. http://site.com/), line 45 the blog dir + image directory path (wordpress/images/)
    I am still getting relative paths when inserting images, weird. Testing with both FF and IE6 on Win2k. Anything else I should check in the configs?

  25. mosco
    Member
    Posted 9 years ago #

    could it be because my images are not in the standard wp-content folder? They are in my main wordpress dir /images (wordpress/images/)

  26. sicro
    Member
    Posted 9 years ago #

    "... It uses the latest TinyMCE wysiwyg engine and includes a built-in image uploader/browser. IMHO, this engine is much better than htmlarea. ..."

    Why not use FCKeditor. http://www.fckeditor.net/ it produces valid XHTML, runs in Mozilla, Firefox and IE, and also has an Image browser/uploader. Should be easily integrated into WordPress. It's also LGPL'ed opensource.
    TinyMCE is certainly better than htmlarea, but FCKeditor beats them both. ... just my 2c.

    --
    sicro

  27. Joe
    Member
    Posted 9 years ago #

    mosco:
    I'm having a problem troubleshooting the image paths thing since I can't reproduce it and no one else has reported having the same problem :-(.
    Try this:
    1.Open up Wysi-Wordpress/wordpress.js
    2.Find the line:
    theme_advanced_toolbar_align : "left",
    3.Just below that line, add this:
    relative_urls : false,
    4. Test out the editor to see if paths are fixed. If not, try adding this after the relative_urls line:
    remove_script_host : false,
    5. Test again.
    Be sure to open a new browser to test each time so that the javascript is reloaded, and you don't get the unchanged cached version.

  28. Joe
    Member
    Posted 9 years ago #

    sicro:
    FCKeditor is good, but in my tests it seemed a bit slower to load than TinyMCE. Likewise the popups for link, etc. are a little slower.

    However, if the TinyMCE Mozilla problem can't be fixed, I will probably put up an FCKeditor version for Mozilla folks.

  29. sicro
    Member
    Posted 9 years ago #

    Joe:
    Well, yes FCKeditor has probably a little more bulk than TinyMCE and therefore takes longer to load, but you can specify if the whole editor should be loaded or just some of the features - probably having all editing features in WP would cause more harm than good anyway. Also FCKeditor checks for the browser-version before loading, might cause some delay as well.

    --
    sicro

  30. danielck
    Member
    Posted 9 years ago #

    Tried your plugins, and meet some problems while using it.

    The ibrowser do not detect the images already present in my image folder. In addition, the upload module do not work. The messages say the module cannot be located.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.