[ABD] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
martec
Registered User
Posts: 324
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by martec »

arnaudk69 wrote: Thu Mar 04, 2021 2:53 pm Hi, first thx for all your effort, this extension make all what i wanted to do.

I will mainly use paste from word with pictures. no problem in editor, but in forum i get [img]data:image/png;base64 for all pictures.

i know you said no support and google it for adding support in phpbb, but i have no success to google it. i don't have any security risk, it's only for an internal small FAQ forum. Can u please give me a tips for my googling?

Arnaud
Hi,

thanks for using my extension...

you have two options:

- Add support for base64 image using bbcode. Miri4ever (memberlist.php?mode=viewprofile&u=1467791) appear to use this solution. You could ask him for the bbcode code for it.

- Or upload to imgur image of base64 (This is done automatically). viewtopic.php?p=15645526#p15645526
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am
Contact:

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by Miri4ever »

martec wrote: Sun Feb 21, 2021 3:04 am which ckeditor skin are you using?
if you are using the skin included in the extension, the editor already has the icon for it (https://github.com/ckeditor/ckeditor4/b ... in.js#L312).
Or are you using a modified version skin from the old version of this extension?
If you are using the old skin version (before of 0.3.18) that was included in this extension, unfortunately it is no longer supported.
This piece of code was not inside this Rineditor, it's inside the Base CKEditor Files only.This one here looks different. So I could not find to button code inside to try a fix. The button don't liked the:

[button=]xxx[/button] it don't worked because of the = and that's why I don't saw this image. I wanted to add a button= to this file your posted, but it was no kind of code inside the one of the editor. But I managed to do this problem and just changed my BBCode Name to something different and now I can see my image shown up. So it's no big deal and I use now Buttons instead of Button.

For the BASE64 things, yes this is strange I can remember it worked before the last big update, but need to do more tests first. Now it only shows the image inside the Editor, but if submit it only shows chars and numbers in PHPBB Viewtopic. Inside MChat all is working fine, but we are using a differ kind of display for this. You might can use this piece of code it'S a simple BBCode to do, for display in forum but you may can't upload over the Rineditor, There is a problem for the moment I need to find out.

But if you convert the image to this BASE64 Code this is easy if you copy the whole text file inside using a special BBCode for display.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
martec
Registered User
Posts: 324
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by martec »

0.4.1-beta Released

- Fixed issue that autosave feature doesn't work after CKEditor rebase
- Fixed some custom name icon of button doesn't appear. Thanks @Miri4ever for report!

----------------------------------------------------
Miri4ever wrote: Sat Mar 06, 2021 11:11 am This piece of code was not inside this Rineditor, it's inside the Base CKEditor Files only.This one here looks different. So I could not find to button code inside to try a fix. The button don't liked the:

[button=]xxx[/button] it don't worked because of the = and that's why I don't saw this image. I wanted to add a button= to this file your posted, but it was no kind of code inside the one of the editor. But I managed to do this problem and just changed my BBCode Name to something different and now I can see my image shown up. So it's no big deal and I use now Buttons instead of Button.
i done test again today.

I did in the past test using [Button=]xxx[/Button] and [Button]xxx[/Button], (capslock of first letter).
Today i done test again using [button=]xxx[/button], yes in fact the icon does not appear. Fixed in new version and sorry for inconvenience.
Miri4ever wrote: Sat Mar 06, 2021 11:11 am For the BASE64 things, yes this is strange I can remember it worked before the last big update, but need to do more tests first. Now it only shows the image inside the Editor, but if submit it only shows chars and numbers in PHPBB Viewtopic.
so this is some change of phpbb side... Rin Editor generate base64 of word images (default), but phpbb no longer recognizes for some reason.
Miri4ever wrote: Sat Mar 06, 2021 11:11 am But if you convert the image to this BASE64 Code this is easy if you copy the whole text file inside using a special BBCode for display.
yes create special bbcode... yes work.

Image
vanillap
Registered User
Posts: 1
Joined: Fri Mar 19, 2021 7:51 am

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by vanillap »

Hi there,
I know that I use custom appearance template and the extension is probably not completely adapted for it. I wanted to ask how to fix the gap above editor. I'm new to creating web and I'm a little lost and I don't know where to edit it, before I added the extension, the text on the right above the editor was next to the editor and I don't know where I can fix it?
I am not very experienced with web design. Maybe this is not quite a problem with the editor itself but I need advice on how to remove the gap above the editor.

Thanks fo help
Kind regards

Image
Image
martec
Registered User
Posts: 324
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by martec »

@vanillap

I usually do not provide support for custom themes. I just guarantee that it works correctly on the default theme.
Anyway, I can take a look at the question since it doesn't seem to be a difficult thing to solve.

for this please provide me with the base theme that you used for this custom theme so that I can reproduce this problem here.
I am waiting for the answer.

Ps. I'm usually not active on the weekends so the response may take a few days.
User avatar
Onnozel Manneke
Registered User
Posts: 145
Joined: Mon Feb 01, 2021 8:37 pm
Location: Walhalla
Name: Loki Heimdall
Contact:

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by Onnozel Manneke »

Dragging attachments into the editor is not possible?
And can you make the editor work with the "Breizh Ajax Preview" extension please?
https://breizhcode.com/viewtopic.php?f=6&t=135


NL Translation: https://github.com/OnnozelManneke/Rin-Editor-for-phpBB
phpBB NL Extension translations on request.
Visit: https://www.phpbbnl.be

Image
martec
Registered User
Posts: 324
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by martec »

@vanillap

i checked your PM.

you need edit your css files..

root\styles\ravaio\theme\colors.min.css , colors_brown.min.css, colors_green.min.css, colors_grey.min.css, colors_red.min.css, colors_teal.min.css

example: colors.min.css

find:

Code: Select all

#message-box{background-color:#fff;border-color:#e6e6e6;box-shadow:0 0 6px rgba(0,0,0,.03)}
rerplace:

Code: Select all

#message-box{background-color:#fff;border-color:#e6e6e6;box-shadow:0 0 6px rgba(0,0,0,.03);display: block !important}
as you can see above you need add ";display: block !important" before "}" on "#message-box" selector.
repeats the same thing for other files that I mentioned above.

after modification you have to clear the cache in ACP (check image below.)
Image
Onnozel Manneke wrote: Sun Mar 21, 2021 12:06 am Dragging attachments into the editor is not possible?
sorry, but not possible...
Onnozel Manneke wrote: Sun Mar 21, 2021 12:06 am And can you make the editor work with the "Breizh Ajax Preview" extension please?
https://breizhcode.com/viewtopic.php?f=6&t=135
use modified version here: https://github.com/martec/ajaxpreview/r ... /1.4.0_Rin
Ps. Unistall oficial version before install modified version.
Onnozel Manneke wrote: Sun Mar 21, 2021 12:06 am NL Translation: https://github.com/OnnozelManneke/Rin-Editor-for-phpBB
can you made PR directly to my repository?
User avatar
Onnozel Manneke
Registered User
Posts: 145
Joined: Mon Feb 01, 2021 8:37 pm
Location: Walhalla
Name: Loki Heimdall
Contact:

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by Onnozel Manneke »

martec wrote: Tue Mar 23, 2021 4:30 am
Onnozel Manneke wrote: Sun Mar 21, 2021 12:06 am And can you make the editor work with the "Breizh Ajax Preview" extension please?
https://breizhcode.com/viewtopic.php?f=6&t=135
use modified version here: https://github.com/martec/ajaxpreview/r ... /1.4.0_Rin
Ps. Unistall oficial version before install modified version.
Onnozel Manneke wrote: Sun Mar 21, 2021 12:06 am NL Translation: https://github.com/OnnozelManneke/Rin-Editor-for-phpBB
can you made PR directly to my repository?
Thank you for the modified version, works perfect!
I created a pull request on Github.
phpBB NL Extension translations on request.
Visit: https://www.phpbbnl.be

Image
martec
Registered User
Posts: 324
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by martec »

Onnozel Manneke wrote: Tue Mar 23, 2021 4:38 pm Thank you for the modified version, works perfect!
I created a pull request on Github.
thank you for the translation. Merged!
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am
Contact:

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by Miri4ever »

I dont know if this from the profile editor a problem or from rin or from both. I see the smilies button inside Rineditor at editing signature function. But at the right side I also got this normal smilie window from PHPBB got display and not hidden like in other other parts if the editor is used. In PM it works and the PHPBB Standart smilies not shown but inside this Signature Edit there must be problem for still to display both ways of smilies not matter if Rin editor is on or off.

And the Emoji window not adapted on the small changes you made for the darker themes.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
martec
Registered User
Posts: 324
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by martec »

Miri4ever wrote: Thu Apr 01, 2021 6:31 pm I dont know if this from the profile editor a problem or from rin or from both. I see the smilies button inside Rineditor at editing signature function. But at the right side I also got this normal smilie window from PHPBB got display and not hidden like in other other parts if the editor is used. In PM it works and the PHPBB Standart smilies not shown but inside this Signature Edit there must be problem for still to display both ways of smilies not matter if Rin editor is on or off.
hi,

about "at the right side I also got this normal smilie window" I couldn't find it like in the image below ...
or am i looking at the wrong place?
Image

EDIT: maybe because of this viewtopic.php?p=15652831#p15652831 doesn't appear for me...
i will redo test again tomorrow.
Miri4ever wrote: Thu Apr 01, 2021 6:31 pm And the Emoji window not adapted on the small changes you made for the darker themes.
this is kind of complicated ... the emoji plugin other than the emojione used in the past, has a pop-up style totally different from the default. What makes modification difficult.
martec
Registered User
Posts: 324
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by martec »

Miri4ever wrote: Thu Apr 01, 2021 6:31 pm I dont know if this from the profile editor a problem or from rin or from both. I see the smilies button inside Rineditor at editing signature function. But at the right side I also got this normal smilie window from PHPBB got display and not hidden like in other other parts if the editor is used. In PM it works and the PHPBB Standart smilies not shown but inside this Signature Edit there must be problem for still to display both ways of smilies not matter if Rin editor is on or off.
I redid the test again ....
and unfortunately I didn’t understand the difference that occurs in your environment with you and me.
for me everywhere the smiley box appears on the right.
I did not understand that the smiley box does not appear for you?
did you make any changes to not show up?

for me this modification (viewtopic.php?p=15652831#p15652831) works even in the signature. could you test?
deninho32
Registered User
Posts: 181
Joined: Tue May 21, 2019 8:57 am
Contact:

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by deninho32 »

This looks very promising ! Is it also possible to make this extension compatible with the ultimate blog extension by mrgoldy/DMZX?

https://www.dmzx-web.net/viewtopic.php? ... 9&start=15
phpBB 3.3.7 | PHP Version 8.2.4 | Milk Theme
martec
Registered User
Posts: 324
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by martec »

deninho32 wrote: Wed Apr 07, 2021 6:12 pm This looks very promising ! Is it also possible to make this extension compatible with the ultimate blog extension by mrgoldy/DMZX?

https://www.dmzx-web.net/viewtopic.php? ... 9&start=15
Hi...

try...

open and edit root/ext/rin/editor/event/main_listener.php

find:

Code: Select all

if (((!$this->config['RCE_enb_quick'] || !$this->config['allow_quick_reply']) && $eventname == 'core.viewtopic_modify_page_title') || ($rceurl == 'index.php' || $rceurl == 'app.php' || $rceurl == 'mchat' || $rceurl == 'portal' || $rceurl == 'chat'))
replace:

Code: Select all

if (((!$this->config['RCE_enb_quick'] || !$this->config['allow_quick_reply']) && $eventname == 'core.viewtopic_modify_page_title') || ($rceurl == 'index.php' || $rceurl == 'mchat' || $rceurl == 'portal' || $rceurl == 'chat'))
after edit disable and enable the extension again.

PS. Not tested code.
deninho32
Registered User
Posts: 181
Joined: Tue May 21, 2019 8:57 am
Contact:

Re: [3.2][3.3][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

Post by deninho32 »

Still no luck. When I add a new blog the standard editor is still active.

Image
phpBB 3.3.7 | PHP Version 8.2.4 | Milk Theme
Locked

Return to “Abandoned Extensions”