Sorry about my slow reply, I've only just seen these messages.

not work if click Post new topic & Post reply /forum/post.php?tid=*** for IE 8/9
Quick reply to this topic - work for IE 8/9
Firefox 7 it is work.
forum v1.4

I've done some updates to it which should fix these problems. The updated version is on GitHub.

whether in the future the possibility of translation tooltip, error message in other languages?

I'm planning to add multilingual support I just haven't had a chance to yet.

Sam, you would not want to lead the development editor extension at github?
And yet, it is better to separate versions for the 1.3 and 1.4

I've now moved the WYSIWYG extension to GitHub: https://github.com/samclarke/PunBB-extensions
I will try to separate it into separate versions when I next update it.

Sam

fantasma wrote:

i find new error when click on "NEW POSTS"

I can't seem to reproduce this error. I've updated it to fix what I think might be causing the problem but I'm not sure if that's really it. Is it the new posts link next to the topic that causes the error?

toni0 wrote:

It converts ' = ' symbols into ' %253D ', making the URL invalid.

Should now be fixed.

Hello,

I've just updated it and the problem should now be fixed. I've also added resize support.

Sam

I've just updated them both to fix the errors with PHP < 5.3 so hopefully they should work now.

fantasma wrote:

not work for me sad

Is there an error message?

Thank you very much for the donation!

What was wrong with duplicated smileys?

It was because when I made the editor I didn't reckon on needing multiple codes for the same emotion so I didn't have an option for hiding duplicates.


toni0 wrote:

Another issue : colors are also duplicated 3 times, check the same link I gave you before.

They are actually all different but they change so little they look the same! I've just updated it to go back to using it's default auto generated set of colours for now. I've improved the speed of the colour picker so it hopefully shouldn't be too slow.


toni0 wrote:

The cherry on the cake would be to have a resizable iframe, like the original PunBB text box one on this forum.

I will try and add that sometime tonight as it will take a bit longer to do.


toni0 wrote:

After that, we'll probably reach perfection in my opinion  smile

It will get there eventually.  smile

Awesome. Any chance I can donate few bucks to you for this great addon?

Sure! If you want to donate you can via PayPal here.


I have noticed a bug. When I click on smileys, some of them are duplicated (I use default smileys only)
You can check it here directly on my forum WYSIWYG demo

I've just updated it and that should now be fixed.


Is it also possible to add a Jquery line in Iframe's head that would refresh the WYSIWYG CSS?
Everytime I upload a new version I have to refresh it manually, else changes are never displayed.

It should now refresh whenever a new version is installed.

sc_sbbcode should now support PHP 5+. I can't actually test it with PHP 5 as all my computers have PHP 5.3 on so if you get an error let me know.  smile

Hello,

It only supports the tags corresponding to visible buttons. If you enter a tag it doesn't know it just leaves it alone so if the forum supports a tag the editor doesn't they can still be entered they just wont be WYSIWYG.

I've just finished updating the editor and it now supports the YouTube tag (doesn't need sc_bbcode to parse it) as well as a few smaller improvements.

I've now tested it with Chrome and the same version of Opera with all the same plugins and the same language and I still can't get it to give the error. So I'm not sure what could be causing it.

Are you using a different theme from the default one? If so it's possible it might be conflicting with that, I can't really see how though. Would it be possible to have a link to your forum so I can see if I can find anything that might be causing the bug.

I've also updated it now to allow an optional height and width to be specified when inserting an image and fix a small bug with font colours.

Hello,

I did test it with both Opera and Chrome so I'm not sure why it's not working.

Could you let me know what version of PunBB you're using and what other plugins you have installed so I can check it's not conflicting with any of them for some reason.

Thank you for the detailed reply.

1.    If “sc_sbbcode” installation is required, because currently  I install only “sc_wysiwyg” and is working correctly. (Can I use only sc_wysiwyg?)

The sc_wysiwyg plugin can now be installed without sc_sbbcode.

2.    How can I modify displayed number of function. I would like display only few most common liek: bold, italic, upload file etc.

I will add an option for that. At the moment if you want you can edit the line 67 if using PunBB 1.4 or line 122 if using 1.3 of the WYSIWYG plugins manifest.xml file:

toolbar: "bold,italic,underline,strike,subscript,superscript|left,center,right,justify|" +
"font,size,color,removeformat|cut,copy,paste,pastetext|bulletlist,orderedlist|" +
"table|code,quote|horizontalrule,image,email,link,unlink|emoticon,date,time|source",

Just delete the ones you don't want.

1.    When I install “sc_sbbcode” the error appears in parse.php (801), described by bingiman.

Are you using a version of PHP below 5.3? If so that will be why, it currently requires PHP 5.3+. If not could you tell me what you are doing when you get the error.

1.    When I click on “Font Color” I open very slow (about 2-3s), maybe better show only a few major color
       (like in Windows Paint). When I want use non common color I can switch to source code.

I've added a default colour set with a few less colours to the plugin which should speed it up.

2.    Insert a image function - nice if it were an optional possibility to give height and width
3.    Nice to have possibility to upload image on forum server (not third party hosting) or upload on other image hosting server automatically like in “Nice editor” (In this editor are 2 option by link or by imageshack.us,  see page: http://nicedit.com/demos.php

I have been thinking of adding both of them for a while so when I next have time I will add them.

Please, made this compatible with PHP => 5.0

I will update it as soon as I have some spare time.

I know the last two sites but the first one looks useful!

It's not that I don't like regex, the editor uses it to convert from BBCode to HTML, it's just I decided I didn't want to use it for the BBCode parser on my site. Since I originaly just wanted to use the same BBCode editor and parser on my site and forum so everything was consistent I wasn't too bothered with making it compatible with the built in parser.

I've now updated the WYSIWYG extension to no longer require the parser which should solve that problem.

Excellent extension. Unfortunately the system requirement php 5.3 or higher .

The BBCode parser uses unonymous functions which only came in with PHP 5.3. It could be made compatible with lower versions if anyone wanted it though.

The main reason it doesn't use regex is because I wanted to be able to add new BBCodes without having to create a new regex every time. I.e. for the PHP tag which only allows text inside it I can simply do:

[code=php]new SBBCodeParser_BBCode('php', function($content, $attribs, $node)
{
    $highlighter = new HyperLight('php');
    return '<pre><code class="php">' . $highlighter->render($node->get_text()) . '</code></pre>';
}, false, array(), array('text_node'));[/code]

Much easier for me. smile

hklown wrote:

Also, don't fall into the same trap I did- only official extensions should start with "pun_". One of these days I'll get around to fixing the folders in my SVN, but it's such a pain ;p

Whoops, thanks for letting me know. I've upadated them now. smile I just assumed since they all seemed to start with pun_ that it was some kind of naming convention.

EDIT: In case anyone wants to see it working there is a there is a demo here. The BBCode editor is the 2nd editor on the page.

Screenshot of the WYSIWYG editor:
http://www.samclarke.com/wp-content/uploads/2011/08/pun_wysiwyg-300x175.png

I've just finished making a WYSIWYG BBCode editor extension to go with it. I'm still testing this extension so if you decide to use it don't use it on anything important. I'm hoping someone can help check for bugs in them.  smile

sc_wysiwyg
This extension should work in at least IE6+ (Although the as you type emoticon conversion only works in IE9+), FF 3.5, Chrome, Opera 9.5+ and Safari 4+.

You can download it here:
http://www.sceditor.com/integration/
Supports v1.4.x version.

// Sorry for editing your post
// Trace