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

imbris wrote: Sat Oct 16, 2021 1:46 am Russian language for Rin Editor
path: ext\rin\editor\language\ru
filename: rce.php

Code: Select all

<?php

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
	// Front
	'RCE_RESTORE'					=> 'Восстановить',
	'RCE_MORE'						=> 'Ещё...',
	'RCE_INSERT_A_VIDEO'			=> 'Вставить видео',
	'RCE_ENTER_URL'					=> 'Вставить ссылку:',
	'RCE_ENTER_THE_IMAGE_URL'		=> 'Вставить ссылку на изображение:',
	'RCE_DESCRIPTION_OPTIONAL'		=> 'Описание (опционально):',
	'RCE_INSERT'					=> 'Вставить',
	'RCE_VIDEO_URL'					=> 'Видео ссылка или ID:',
	'RCE_QUICK_QUOTE'				=> 'Текст цитаты',
	'RCE_UPLOADING'					=> ' изображение загружается...',
	'RCE_FAIL'						=> 'Ошибка загрузки:',

	// ACP
	'ACP_RCE_TITLE'			=>	'Редактор Rin (Powered by CKEditor)',
	'ACP_RCE_SETTING'		=>	'Настройки относятся к редактору Rin',
	'RCE_CONFIG_UPDATE'		=>	'Обновление настроек редактора Rin',
	'RCE_SETTING_SAVED'		=>	'Настройки сохранены успешно!',
	'RCE_LANGUAGE_TITLE'	=>	'Язык редактора Rin',
	'RCE_LANGUAGE_DESC'		=>	'Установите этот язык для редактора Rin.<br /><strong>PS.</strong> Используйте значение по умолчанию, если хотите, чтобы редактор определял язык браузера..',
	'RCE_BBCODE_TITLE'		=>	'Выбор BBCode',
	'RCE_BBCODE_DESC'		=>	'Выберите, для какого BBCode вы хотите изменить разрешение группы.',
	'RCE_PBBCODE_TITLE'		=>	'Групповое разрешение для ',
	'RCE_PBBCODE_DESC'		=>	'Выберите группы, которым вы хотите дать разрешение на использование собственного BBCode. Нажмите ctrl и щелкните, чтобы отменить выбор групп.<br /><strong>Ps.</strong> Если вы не выберете ни одну группу, все группы будут иметь разрешение на использование этого BBCode.',
	'RCE_MOBMS_TITLE'		=>	'Исходный режим в мобильном',
	'RCE_MOBMS_DESC'		=>	'Установите значение «Да», если вы хотите загружать редактор Rin в режиме «Код» при использовании мобильного устройства.',
	'RCE_ENBQUICK_TITLE'	=>	'Показать редактор Rin в режиме быстрого ответа и быстрого редактирования',
	'RCE_ENBQUICK_DESC'		=>	'Установите значение «Да», если вы хотите, чтобы редактор Rin отображался в режиме быстрого ответа и быстрого редактирования.',
	'RCE_SCSMILEY_TITLE'	=>	'SCEditor стиль подобно Smile Box',
	'RCE_SCSMILEY_DESC'		=>	'Установите «Да», если хотите использовать Smile Box подобно SCEditor вместо стиля CKEditor.',
	'RCE_AUTOSAVE_TITLE'	=>	'Функция автосохранения',
	'RCE_AUTOSAVE_DESC'		=>	'Установите значение «Нет», если вы хотите отключить функцию автосохранения.',
	'RCE_AUTOSAVEMSG_TITLE' =>	'Автоматически сохраненное уведомление',
	'RCE_AUTOSAVEMSG_DESC'	=>	'Установите тип уведомления автосохранения.',
	'RCE_AUTOSAVE_NOTIFCAT' =>	'Уведомление',
	'RCE_AUTOSAVE_STATUS'	=>	'Статусбар',
	'RCE_AUTOSAVE_NONE' 	=>	'Ничего',
	'RCE_QUICKQUOTE_TITLE'	=>	'Функция быстрой цитаты',
	'RCE_QUICKQUOTE_DESC'	=>	'Установите значение «Нет», если вы не хотите включать функцию быстрой цитаты.',
	'RCE_QUICKREPLY_TITLE'	=>	'Функция быстрого ответа',
	'RCE_QUICKREPLY_DESC'	=>	'Установите значение «Нет», если вы не хотите включать функцию быстрого ответа.',
	'RCE_SUPSMENT_TITLE'	=>	'Активная поддержка расширения Simple Mentions',
	'RCE_SUPSMENT_DESC'		=>	'Установите значение no, если вы не хотите включать поддержку функции расширения Simple Mentions.<br /><strong>Ps.</strong> Перед тем, как активировать эту функцию, вам необходимо установить расширение Simple Mentions. https://www.phpbb.com/customise/db/extension/simple_mentions/',
	'RCE_ACOMEMOJI_TITLE'	=>	'Активная поддержка автозаполнения эмодзи',
	'RCE_ACOMEMOJI_DESC'	=>	'Установите значение "Нет", если вы не хотите включать функцию автозаполнения эмодзи..',
	'RCE_HEIGHT_TITLE'		=>	'Высота редактора',
	'RCE_HEIGHT_DESC'		=>	'Установите высоту редактора (значение в пикселях).',
	'RCE_MAX_HEIGHT_TITLE'	=>	'Максимальная высота редактора',
	'RCE_MAX_HEIGHT_DESC'	=>	'Установите максимальную высоту редактора (значение в пикселях).',
	'RCE_SUPEXT_TITLE'		=>	'Активная поддержка кнопок внешних расширений',
	'RCE_SUPEXT_DESC'		=>	'Установите значение "да", если вы хотите включить поддержку кнопок внешних расширений.<br /><strong>Ps.</strong> Эта функция не работает в ACP, Quick Reply и Quick Edit.',
	'RCE_DESNOPOP_TITLE'	=>	'Нет всплывающего окна описания настраиваемых кнопок',
	'RCE_DESNOPOP_DESC'		=>	'Установите значение да, если не хотите, чтобы всплывало окно описания',
	'RCE_PARTIAL_TITLE'		=>	'Частичный режим ',
	'RCE_PARTIAL_DESC'		=>	'Установите значение «Да», если вы хотите включить функцию частичного режима. <br /><strong>Ps.</strong> Эта функция не преобразует тег кавычек и тег кода в стиль WYSIWYG, как в Xenforo. ',
	'RCE_SELTXT_TITLE'		=>	'Не заменять выделенный текст ',
	'RCE_SELTXT_DESC'		=>	'Установите значение "Да", если вы не хотите, чтобы выделенный текст заменялся при нажатии пользовательской кнопки. <br /> <strong> Ps. </strong> Включение этой функции может привести к некоторым ошибкам. ',
	'RCE_RMV_ACP_COLOR_TITLE'	=>	'Удалить палитру цветов ACP ',
	'RCE_RMV_ACP_COLOR_DESC'	=>	'Установите значение «Да», если хотите удалить палитру цветов acp. ',
	'RCE_CACHE_TITLE'		=>	'Кэш',
	'RCE_CACHE_DESC'		=>	'Установите время кеширования в секундах. Установите 0, чтобы отключить эту функцию. Максимально допустимое значение - 86400. <br /> <strong> Ps. </strong> После полной настройки настоятельно рекомендуется использовать кеш, чтобы не снижать производительность. ',
	'RCE_IMGUR_TITLE'		=>	'Imgur',
	'RCE_IMGUR_DESC'		=>	'Установите здесь API imgur (Client ID). <br /> <strong> Ps. </strong> Вы можете получить идентификатор клиента в https://imgur.com/register/api_anon (oauth2 без обратного вызова) ',
	'RCE_STYLE_TITLE'		=>	'Выберите стиль',
	'RCE_STYLE_DESC'		=>	'Выберите, для какого стиля вы хотите изменить скин редактора. ',
	'RCE_SKIN_TITLE'		=>	'Скин для ',
	'RCE_SKIN_DESC'			=>	'Введите название скина. <br /> <strong> Место для установки нового скина: </strong> root/ext/rin/editor/styles/all/template/js/skins/',
	'RCE_TXTA_TITLE'		=>	'Цвет текстовой области для  ',
	'RCE_TXTA_DESC'			=>	'Установите значение «Да», если вы хотите изменить цвет текстовой области на черный. ',
	'RCE_BUT_TITLE'			=>	'Место для размещения значков для пользовательских BBCodes ',
	'RCE_BUT_DESC'			=>	'root/ext/rin/editor/styles/all/template/js/skins/[your_skin]/icons<br />(Размер: 16x16 пикселей, Имя файла: точно такое же, как имя bbcode, Расширение файла:  png.)',
));
thanks for contribution.
but can you made PR directly to my repository?
imbris
Registered User
Posts: 9
Joined: Mon Feb 15, 2021 6:43 pm

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

Post by imbris »

martec wrote: Sun Oct 17, 2021 10:15 am About add spoiler button check setting page of plugin.
I did it! But not everything is good.

"Spoiler" button must be first in line. "BBvideo" icon not visible (see in yellow circle).
111111111111111.jpg
icon for BBcode button placed to folder. .PNG 16x16
111111111.jpg
Also in standard editor button BBvideo was running script with dialogue like to "youtube" in Rin Editor. Now this option insert bbcode only.

Old editor:
insvideo.jpg
New editor:
333333333.jpg
333333333.jpg (8.6 KiB) Viewed 5286 times
Script of BBcode:
222222222.jpg
P.S. Is there a WISYWIG plugin for headers in the version of the Rin Editor on the phpbb platform?

Thank you
imbris
Registered User
Posts: 9
Joined: Mon Feb 15, 2021 6:43 pm

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

Post by imbris »

One more.

Icon of plugin "BGcolor" not changed. But I has change files "icons.png" and "icons_hidpi.png". Cache was cleaned in browser also.
444444444.jpg
444444444.jpg (4.2 KiB) Viewed 5279 times
111111111111111.jpg
111111111111111.jpg (7.26 KiB) Viewed 5279 times
imbris
Registered User
Posts: 9
Joined: Mon Feb 15, 2021 6:43 pm

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

Post by imbris »

Huston, we have a problem!

After insertion text (Ctrl+V) and press button "Submit", I have message from editor: "Your text is too short"

But, my text have 25000 symbols...

After this error, I refresh page (F5) and repeat paste of text. Posting succesful.

Also, edited message (after posting) few times was not saved.

I need help.
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 »

imbris wrote: Mon Oct 25, 2021 12:33 am Huston, we have a problem!

After insertion text (Ctrl+V) and press button "Submit", I have message from editor: "Your text is too short"

But, my text have 25000 symbols...

After this error, I refresh page (F5) and repeat paste of text. Posting succesful.

Also, edited message (after posting) few times was not saved.

I need help.
HI,

try test version below
https://drive.google.com/file/d/1cICrpt ... sp=sharing
imbris wrote: Sun Oct 17, 2021 2:03 pm Icon of plugin "BGcolor" not changed. But I has change files "icons.png" and "icons_hidpi.png". Cache was cleaned in browser also.
sorry but it is not possible to change the icon that is part of the package.
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 »

Mirrabeau wrote: Tue Oct 05, 2021 2:33 pm Hello to all,

Tested on 3.3.5 with Php8 and Prosilver template (+ some prosilver-like other styles).

I have several errors with the WYSIWYG editor is not able to launch.

Note: it used to work on my test on php8 with 3.3.4. I don't have other issues on our board with 3.3.5.

Note2: I did tested 0.4.5 with same results.

Here below the errors from my browser console (F12):

Code: Select all

Uncaught SyntaxError: "" string literal contains an unescaped line break posting.php:1526:451
Uncaught ReferenceError: dropdownsmiliesname is not defined
    <anonymous> https://www.xxxxxxxxxxxxxx.com/forum/ext/rin/editor/styles/all/template/js/rineditor.js?assets_version=50:1
rineditor.js:1:38
Uncaught ReferenceError: partialmode is not defined
    <anonymous> https://www.xxxxxxxxxxxxxx.com/forum/ext/rin/editor/styles/all/template/js/ckeditor.js?assets_version=50:610
    <anonymous> https://www.xxxxxxxxxxxxxx.com/forum/ext/rin/editor/styles/all/template/js/ckeditor.js?assets_version=50:650
    <anonymous> https://www.xxxxxxxxxxxxxx.com/forum/ext/rin/editor/styles/all/template/js/ckeditor.js?assets_version=50:1234
ckeditor.js:610:246
Uncaught ReferenceError: rinheight is not defined
    <anonymous> https://www.xxxxxxxxxxxxxx.com/forum/ext/rin/editor/styles/all/template/js/rck.init.js?assets_version=50:3
rck.init.js:3:120
jQuery.Deferred exception: rinheight is not defined phpbb.resizeTextArea@https://www.xxxxxxxxxxxxxx.com/forum/ext/rin/editor/styles/all/template/js/rck.init.js?assets_version=50:2:107
@https://www.xxxxxxxxxxxxxx.com/forum/styles/prosilver/template/ajax.js?assets_version=50:389:8
e@https://www.xxxxxxxxxxxxxx.com/forum/assets/javascript/jquery-3.6.0.min.js?assets_version=50:2:30038
l/</t<@https://www.xxxxxxxxxxxxxx.com/forum/assets/javascript/jquery-3.6.0.min.js?assets_version=50:2:30340
 undefined jquery-3.6.0.min.js:2:31593
Uncaught ReferenceError: rinheight is not defined
    resizeTextArea https://www.xxxxxxxxxxxxxx.com/forum/ext/rin/editor/styles/all/template/js/rck.init.js?assets_version=50:2
    <anonymous> https://www.xxxxxxxxxxxxxx.com/forum/styles/prosilver/template/ajax.js?assets_version=50:389
    jQuery 2
rck.init.js:2:107
sorry delay reply...

i did test here in localhost using php 8.0.12, phpbb 3.3.5 and rin editor 0.4.5-beta. sorry but i could not reproduce the problem reported by you.
User avatar
huynhbuutam
Registered User
Posts: 30
Joined: Wed Dec 01, 2021 4:15 pm
Location: Viet Nam
Name: Huynh Buu Tam
Contact:

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

Post by huynhbuutam »

Tested version 0.4.5 of this extension on phpBB 3.3.5 and PHP 8.0.12, everything works like a charm, just a little problem that custom BBCode in upper-case wont show its icon, I have to change my BBCode all to lower-case and then the icon shows up.
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.6-beta Released

Bug Fix:
- Try fix issue that custom BBCode in upper-case wont show its icon. Thanks @huynhbuutam for report!
- Try fix issue that when submit the content is empty. Thanks @imbris for report!
User avatar
hd321kbps
Registered User
Posts: 190
Joined: Tue Oct 16, 2012 10:16 am
Location: Russian
Name: Igor Marchuk
Contact:

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

Post by hd321kbps »

Tell me how you can enable the standard phpBB colorPicker. Or will it not work?
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 »

hd321kbps wrote: Sat Apr 30, 2022 4:27 pm Tell me how you can enable the standard phpBB colorPicker. Or will it not work?
sorry, doesn't work.
use color picker of ckeditor...
User avatar
aorlovsky
Registered User
Posts: 6
Joined: Sun Jan 30, 2022 10:55 am
Location: Germany
Name: Alexander Orlovsky
Contact:

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

Post by aorlovsky »

martec
This is very cool editor i liked it a lot!

As you can see not all icons displayed as expected, i did figure it out that icons directory is not created , so i did created it and add the icons to it, but still not all icons can be seen:
2022-08-18 22_24_06-Orlovsky Consulting GbR public client's forum - Post a new topic.png
  • ABBC3_HIGHLIGHT_HELPLINE
  • ABBC3_SHADOW_HELPLINE
  • ABBC3_DROPSHADOW_HELPLINE
  • ABBC3_BLUR_HELPLINE
  • ABBC3_FADE_HELPLINE
  • ABBC3_SOUNDCLOUD_HELPLINE
What is solution?
Purge cache done, but the issue stayed.
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 »

hi martec,
i have this error
Schermata del 2022-09-05 22-56-17.png
delete most of the emoticons, to make the editor work
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 »

there is a problem with bbcode in wysiwyg mode...
if you click on custom button example spoiler(and no select text) the cursor go to end of code:
[spoiler][/spoiler]|
correct mode is:
[spoiler] | [/spoiler]
on mobile it's a problem...
i found a trick (but only for custom plugin):

Code: Select all

exec: function(editor) {
				if (b = editor.getSelection().getSelectedText()){
					editor.insertText('[spoiler]'+b+ '[/spoiler]');	
				}else{
					var bookmarks = editor.getSelection().createBookmarks2(true);
					editor.insertText('[/spoiler]');			
					editor.getSelection().selectBookmarks( bookmarks );
					editor.insertText('[spoiler]');
			}},
i write the end of code, after put the cursor on start e write the first part of code...
I posted it in case it was useful in your code
Octopus
Registered User
Posts: 35
Joined: Mon Mar 19, 2007 10:28 am

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

Post by Octopus »

Hello Martec,

Two questions about the rin Editor, which I have been using for years:

1. Paul's extension (Simple Mentions - https://www.phpbb.com/customise/db/exte ... _mentions/ ) has been updated to V2.0 and can now also notify groups. Is this compatible with handling in the rin editor or can it be adapted for this?

2. Is the extension/editor compatible with php 8.1 or can it be made to be so? At least php 8.1 is required for an extension for push notifications to users (from Senky - https://github.com/senky/pushnotifications ).

Thanks for the great work,
Frank.
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 »

Octopus wrote: Thu Apr 20, 2023 11:07 am Hello Martec,

Two questions about the rin Editor, which I have been using for years:

1. Paul's extension (Simple Mentions - https://www.phpbb.com/customise/db/exte ... _mentions/ ) has been updated to V2.0 and can now also notify groups. Is this compatible with handling in the rin editor or can it be adapted for this?

2. Is the extension/editor compatible with php 8.1 or can it be made to be so? At least php 8.1 is required for an extension for push notifications to users (from Senky - https://github.com/senky/pushnotifications ).

Thanks for the great work,
Frank.
hello, about the mentioned extension I will check in japan's golden week.
Locked

Return to “Abandoned Extensions”