Page 1 of 29

[ABD] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 11:09 am
by cYbercOsmOnauT
Extension name: wysiwyg bbcode editor
Original author: nassim99 (abandoned the project)
Author: cYbercOsmOnauT

Version: 1.7.7
Travis CI build status: Image

Description: Replaces the normal posting form with SCEditor (a WYSIWYG editor)

Screenshots: none, just take a look on the SCEditor homepage

Github Repository: https://github.com/cYbercOsmOnauT/wysiwygsceditorphpbb
Download: https://github.com/cYbercOsmOnauT/wysiw ... master.zip

Installation: Copy the folder cosmo into the ext folder of your phpBB and activate the extension on your ACP.

Note: The phpBB developers are working on making SCEditor beeing a part of phpBB 3.2. So when 3.2 comes out it can be that this extension will probably become obsolete and needs to be deactivated.

Improvements since nassims last commit:
  • SCEditor below the notification layer
  • SCEditor above options tab and posts history on maximize mode
  • CSS and JS are only loaded when needed
  • Hid the standard posting buttons
  • Optimized JS and PHP
  • phpBB smilies are loaded into SCEditor
  • Clicking smilies on "view more smilies" popup possible
  • Selectable fontsize considers max fontsize set on the ACP
  • Named quotes
  • Version check
  • Load a slim version on quickreply
  • Teach phpBB to parse nested color tags
  • Teach phpBB to parse nested size tags
  • Show SCEditor with current user language
  • SCEditor considers enabled/disabled smilies
  • SCEditor considers enabled/disabled BBCode
  • Revamped footer script to use closures and OOP
  • CSS importer which imports all CSS from phpBB into the SCEditor iframe
ToDos:
  • Teach SCEditor custom BBCodes which were set on the ACP (this will be a hard one I guess)
  • Use a config file to give the possibility to turn on/off the extension for posts, pms or quickreplys. (Temporary solution)
  • Create an ACP page for the above settings (in future)
Bugs:

Re: [BETA] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 11:39 am
by SalazarAG
Excellent! Great improvements, congratulations!

But even when an error occurs will post-enabled SCEDITOR.

Appears "The message has a short code" even if you do not have. And to send these cases need to give two Enter.

I believe that this occurs because of the Rapid Response standard phpBB which is still active. When I turn off in the ACP WYSYVYG disappears.

Re: [BETA] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 12:41 pm
by cYbercOsmOnauT
Sorry mate but I don't really get your question/problem. Can you please explain it better?

Re: [BETA] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 1:37 pm
by SalazarAG
cYbercOsmOnauT wrote:Sorry mate but I don't really get your question/problem. Can you please explain it better?
Hello! I'm sorry, I expressed myself badly as translator use, do not dominate the English haha

This error to which I referred was because the QuickReply extension was enabled. Resolved, however, I have a doubt. The WYSWYG editor will not appear in viewtopic below the reply box? Or just by clicking "Full Editor"?

Re: [BETA] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 2:08 pm
by cYbercOsmOnauT
Ah you mean you want it to work together with the quickreply?

Re: [DEV] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 3:16 pm
by Mauron
I guess he's just asking whether the WYSIWYG editor will work with quick reply too.

Re: [BETA] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 3:35 pm
by SalazarAG
cYbercOsmOnauT wrote:Ah you mean you want it to work together with the quickreply?
Yes! It's possible?

Re: [DEV] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 3:50 pm
by DevMakoto
error table bbcode

Image

Re: [DEV] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 4:08 pm
by brunoais
Possible yes. If it will work, then he has to answer.

Re: [DEV] WYSIWYG SCEditor for phpBB 3.1

Posted: Tue Jun 23, 2015 4:43 pm
by cYbercOsmOnauT
Strange.. I fixed the problem with table, sub and sup. Did you install the old WYSIWYG from nassim99 before? Maybe you still have the wrong bbcode stuff in your database.

Quickreply: No problem to make it work there. But I would prefer fewer buttons then. Like only b,i,u and source. It's just a quick reply box.

Re: [DEV] WYSIWYG SCEditor for phpBB 3.1

Posted: Wed Jun 24, 2015 3:07 am
by DevMakoto
cYbercOsmOnauT wrote:Strange.. I fixed the problem with table, sub and sup. Did you install the old WYSIWYG from nassim99 before? Maybe you still have the wrong bbcode stuff in your database.

Quickreply: No problem to make it work there. But I would prefer fewer buttons then. Like only b,i,u and source. It's just a quick reply box.
new install phpb 3.1.5, clear phpbb, use only ext WYSIWYG SCEditor

Re: [DEV] WYSIWYG SCEditor for phpBB 3.1

Posted: Wed Jun 24, 2015 8:07 am
by brunoais
Does the [ table] BBCode actually exist in your board?

Re: [DEV] WYSIWYG SCEditor for phpBB 3.1

Posted: Wed Jun 24, 2015 9:20 am
by cYbercOsmOnauT
He is right. It seems that I didn't merged my changes for my customer right with the GitHub repository. second_pass_replace for table and td inside the migrations still have \n. I will fix this as soon as I am back home.

There you go DevMakoto :)
https://github.com/cYbercOsmOnauT/wysiw ... c9a84c6e70

Re: [DEV] WYSIWYG SCEditor for phpBB 3.1

Posted: Wed Jun 24, 2015 2:15 pm
by infinitiv
Image
Good job and you wrote that it's going to be even better! Nice. I'll test it when your to-do-list will be empty.

Re: [DEV] WYSIWYG SCEditor for phpBB 3.1

Posted: Wed Jun 24, 2015 3:53 pm
by cYbercOsmOnauT
Better test it when "Custom BBCodes" is the only left.. because that one will take long ;)