[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 »

deninho32 wrote: Sat Apr 10, 2021 8:11 am Still no luck. When I add a new blog the standard editor is still active.

Image
hi, you can provide the link of blog where standard editor is active?
Ps. you can hide your domain... I don't need to access the link, but I need to know the parameter used by the blog extension.
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 »

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 »

i installed blog extension to make test here...
for me the link is

http://domain/app.php/blog/posting/add

i don't know why not appear for you "app.php" part....

anyway after this change viewtopic.php?p=15700441#p15700441
you need edit too root/ext/rin/editor/styles/all/template/js/rck.init.js

open file above...
and add code below after all...

Code: Select all

if ($('#blog_text').length) {
	document.getElementById("blog_text").style["height"] = rinheight + 'px';
	$('#blog_text').ckeditor();
}
after edit above, disable and enable rin editor.

result:

Image

I hope it works, because if it doesn't work I don't know what can be since it works with me after these changes.
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 »

Yes! That did the trick. Thanks a lot!
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: Sat Apr 10, 2021 10:46 am Yes! That did the trick. Thanks a lot!
I'm glad it worked and thanks for the feedback! :)
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.2-beta Released

- Fixed issue with quick reply feature. Reported here: https://github.com/martec/Rin-Editor_fo ... /issues/51
- Added NL language file. @Onnozel Manneke Thanks for translation!
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.3-beta Released

- Again: Fixed issue with quick reply feature. Reported here: https://github.com/martec/Rin-Editor_fo ... -848831656
scheccia
Registered User
Posts: 94
Joined: Fri Feb 10, 2017 8:16 am

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

Post by scheccia »

on quoted text, it's possible go directly to new line? from pc no problem, but on mobile it is difficult to click on the red line
TheDani
Registered User
Posts: 394
Joined: Tue Apr 10, 2012 12:48 pm

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

Post by TheDani »

Hey, nice job. I have three questions for you. Two questions are smiley.
I have ACP -> Posting -> Smilies -> SMILEY CONFIGURATION -> Smiley width: 30 and Smiley height: 30


1) First, "Insert a Smiley" on the mid side. Insert a Smiley -> More -> click more custom smilies, but it is too big, unfortunately. Rendered size: 512 × 512 px. Dimension 30 * 30 px is irrelevant. Why is it so big? And I cant reduce either.

Image


2) Second, "Smilies" on the right side. Smilies -> View more smilies -> click more custom smilies, it can show the avatar, but it is not placed
there on my subject or text. I have clicked it many times, but failed.

Image

I have switched SCEditor style like Smile Box: Yes and No. I cant see any difference. Can you help me?


3) I have inline code. There could be "c" on the button, but there is only blank on the button.
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 »

scheccia wrote: Sat May 29, 2021 7:23 am on quoted text, it's possible go directly to new line? from pc no problem, but on mobile it is difficult to click on the red line
sorry, for now, no solution.
TheDani wrote: Sat May 29, 2021 9:37 pm Hey, nice job. I have three questions for you. Two questions are smiley.
I have ACP -> Posting -> Smilies -> SMILEY CONFIGURATION -> Smiley width: 30 and Smiley height: 30


1) First, "Insert a Smiley" on the mid side. Insert a Smiley -> More -> click more custom smilies, but it is too big, unfortunately. Rendered size: 512 × 512 px. Dimension 30 * 30 px is irrelevant. Why is it so big? And I cant reduce either.

Image
sorry but the editor uses the real dimension of the image.
In this case you need to upload an image with a smaller dimension to your server.
TheDani wrote: Sat May 29, 2021 9:37 pm 2) Second, "Smilies" on the right side. Smilies -> View more smilies -> click more custom smilies, it can show the avatar, but it is not placed
there on my subject or text. I have clicked it many times, but failed.

Image
you are right in fact it doesn't work.
you can edit manually phpbb file to make this work...

※make backup of file before the edit

open root\styles\your theme\template\posting_smilies.html

find:

Code: Select all

<a href="#" onclick="initInsertions(); insert_text('{smiley.A_SMILEY_CODE}', true, true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
replace:

Code: Select all

<a href="#" onclick="opener.insert_text('{smiley.A_SMILEY_CODE}', true, false); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
after edit you must clear cache. check image below:

Image
TheDani wrote: Sat May 29, 2021 9:37 pm I have switched SCEditor style like Smile Box: Yes and No. I cant see any difference. Can you help me?
for me working fine here:

No:
Image

Yes:
Image

please check cache setting of the this extension
Image

disable the cache (set 0) and clear cache. check image below:
Image
TheDani wrote: Sat May 29, 2021 9:37 pm 3) I have inline code. There could be "c" on the button, but there is only blank on the button.
you need upload image button.
Image
TheDani
Registered User
Posts: 394
Joined: Tue Apr 10, 2012 12:48 pm

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

Post by TheDani »

1-3) Great.

4) I have tried all of these, but failed.

Choose Style - prosilver
Location to put icons for custom BBCodes - root/ext/rin/editor/styles/all/template/js/skins/[your_skin]/icons
/ext/rin/editor/styles/all/template/js/skins/moono-dark/icons/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moono-dark/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moono-lisa/icons/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moono-lisa/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moonocolor/icons/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moonocolor/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/prosilver/icons/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/prosilver/inline-c.png

I have of course reduced 16*16 px, .png and 917 bytes. Purge the cache - Run now.
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 »

TheDani wrote: Thu Jun 03, 2021 8:58 am 1-3) Great.

4) I have tried all of these, but failed.

Choose Style - prosilver
Location to put icons for custom BBCodes - root/ext/rin/editor/styles/all/template/js/skins/[your_skin]/icons
/ext/rin/editor/styles/all/template/js/skins/moono-dark/icons/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moono-dark/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moono-lisa/icons/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moono-lisa/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moonocolor/icons/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/moonocolor/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/prosilver/icons/inline-c.png
/ext/rin/editor/styles/all/template/js/skins/prosilver/inline-c.png

I have of course reduced 16*16 px, .png and 917 bytes. Purge the cache - Run now.
hi

if your tag is

Code: Select all

[c][/c]
so correct file name is "c.png" and not "inline-c.png"

so it should be:

/ext/rin/editor/styles/all/template/js/skins/moono-dark/icons/c.png
/ext/rin/editor/styles/all/template/js/skins/moono-lisa/icons/c.png
/ext/rin/editor/styles/all/template/js/skins/moonocolor/icons/c.png
TheDani
Registered User
Posts: 394
Joined: Tue Apr 10, 2012 12:48 pm

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

Post by TheDani »

thank you
scheccia
Registered User
Posts: 94
Joined: Fri Feb 10, 2017 8:16 am

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

Post by scheccia »

I have a phpbb template var {myvar} and i create a button in this way: https://ckeditor.com/docs/ckeditor4/lat ... ample.html
how can return value of my var on push button?
thanks
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 »

scheccia wrote: Fri Jun 11, 2021 6:58 am I have a phpbb template var {myvar} and i create a button in this way: https://ckeditor.com/docs/ckeditor4/lat ... ample.html
how can return value of my var on push button?
thanks
Sample (part of code of youtube plugin):

https://github.com/martec/Rin-Editor_fo ... ll.html#L4

Code: Select all

"Video URL:": "{{ lang('RCE_VIDEO_URL') }}",
https://github.com/martec/Rin-Editor_fo ... tube.js#L5

Code: Select all

label:RinEditor["Video URL:"]
Locked

Return to “Abandoned Extensions”