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

KFMDM Solutions wrote: Tue May 09, 2023 10:19 pm
martec wrote: Tue May 09, 2023 12:21 pm

Strange regardless of my extension's existence, it shouldn't affect the inner workings of a function.
sorry you're right

the issue is only in quick reply
but if quick reply is enabled the quote goes direct to quick reply

so this function doesn't get executed
Hi this issue only happen when my extension enabled in quick reply? Without my extension in quick reply the issue doesnt happen?
KFMDM Solutions
Registered User
Posts: 15
Joined: Mon Aug 23, 2021 4:41 am

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

Post by KFMDM Solutions »

wi
martec wrote: Tue May 09, 2023 11:46 pm
KFMDM Solutions wrote: Tue May 09, 2023 10:19 pm sorry you're right

the issue is only in quick reply
but if quick reply is enabled the quote goes direct to quick reply

so this function doesn't get executed
Hi this issue only happen when my extension enabled in quick reply? Without my extension in quick reply the issue doesnt happen?
without your extension you can't quote in quick reply
only manual
KFMDM Solutions
Registered User
Posts: 15
Joined: Mon Aug 23, 2021 4:41 am

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

Post by KFMDM Solutions »

KFMDM Solutions wrote: Wed May 10, 2023 7:22 pm wi
martec wrote: Tue May 09, 2023 11:46 pm

Hi this issue only happen when my extension enabled in quick reply? Without my extension in quick reply the issue doesnt happen?
without your extension you can't quote in quick reply
only manual
fix would be

replace

Code: Select all

	public function rce_quick_reply($event)
	{
		if ($this->config['RCE_quickreply'] && $this->request->is_ajax() && $event['mode'] == 'quote')
		{
			$data = array('quick_reply_msg' => $event['post_data']['post_text']);
			$json = new \phpbb\json_response();
			$json->send($data);
		}
	}
with

Code: Select all

	public function rce_quick_reply($event)
	{
		if ($this->config['RCE_quickreply'] && $this->request->is_ajax() && $event['mode'] == 'quote')
		{
			$post_data = $event['post_data'];
			$post_data['post_text'] = preg_replace('#\[mention\](.*?)\[\/mention\]#uis', '@\\1', $post_data['post_text']);
			$post_data['post_text'] = preg_replace('#\[smention u=([0-9]+)\](.*?)\[\/smention\]#uis', '@\\2', $post_data['post_text']);
			$post_data['post_text'] = preg_replace('#\[smention g=([0-9]+)\](.*?)\[\/smention\]#uis', '@\\2', $post_data['post_text']);
			
			$data = array('quick_reply_msg' => $post_data['post_text']);
			$json = new \phpbb\json_response();
			$json->send($data);
		}
	}
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 »

KFMDM Solutions wrote: Wed May 10, 2023 11:24 pm
KFMDM Solutions wrote: Wed May 10, 2023 7:22 pm wi
without your extension you can't quote in quick reply
only manual
fix would be

replace

Code: Select all

	public function rce_quick_reply($event)
	{
		if ($this->config['RCE_quickreply'] && $this->request->is_ajax() && $event['mode'] == 'quote')
		{
			$data = array('quick_reply_msg' => $event['post_data']['post_text']);
			$json = new \phpbb\json_response();
			$json->send($data);
		}
	}
with

Code: Select all

	public function rce_quick_reply($event)
	{
		if ($this->config['RCE_quickreply'] && $this->request->is_ajax() && $event['mode'] == 'quote')
		{
			$post_data = $event['post_data'];
			$post_data['post_text'] = preg_replace('#\[mention\](.*?)\[\/mention\]#uis', '@\\1', $post_data['post_text']);
			$post_data['post_text'] = preg_replace('#\[smention u=([0-9]+)\](.*?)\[\/smention\]#uis', '@\\2', $post_data['post_text']);
			$post_data['post_text'] = preg_replace('#\[smention g=([0-9]+)\](.*?)\[\/smention\]#uis', '@\\2', $post_data['post_text']);
			
			$data = array('quick_reply_msg' => $post_data['post_text']);
			$json = new \phpbb\json_response();
			$json->send($data);
		}
	}
thanks. . i will incorporate in next version..
KFMDM Solutions
Registered User
Posts: 15
Joined: Mon Aug 23, 2021 4:41 am

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

Post by KFMDM Solutions »

martec wrote: Thu May 11, 2023 3:26 am thanks. . i will incorporate in next version..
would this be fixed too?

replace
rin/editor/styles/all/template/js/automention.js

Code: Select all

function remoteSearch(a,b){a.length<MIN_MENTION_LENGTH?b([]):$.getJSON(U_AJAX_MENTION_URL,{q:encodeURIComponent(a)},function(a){b(a)})}
with this

Code: Select all

function remoteSearch(a,b){a.length<MIN_MENTION_LENGTH?b([]):$.getJSON(U_AJAX_MENTION_URL,{q:a},function(a){b(a)})}
and for overall it's a great extension

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 »

KFMDM Solutions wrote: Thu May 11, 2023 4:51 am
martec wrote: Thu May 11, 2023 3:26 am thanks. . i will incorporate in next version..
would this be fixed too?

replace
rin/editor/styles/all/template/js/automention.js

Code: Select all

function remoteSearch(a,b){a.length<MIN_MENTION_LENGTH?b([]):$.getJSON(U_AJAX_MENTION_URL,{q:encodeURIComponent(a)},function(a){b(a)})}
with this

Code: Select all

function remoteSearch(a,b){a.length<MIN_MENTION_LENGTH?b([]):$.getJSON(U_AJAX_MENTION_URL,{q:a},function(a){b(a)})}
and for overall it's a great extension

thanks
hi, yes..
Miri4ever bug report I will also check but I can't promise if it will be fixed.
Octopus
Registered User
Posts: 37
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 »

KFMDM Solutions wrote: Wed May 10, 2023 7:22 pm wi
martec wrote: Tue May 09, 2023 11:46 pm

Hi this issue only happen when my extension enabled in quick reply? Without my extension in quick reply the issue doesnt happen?
without your extension you can't quote in quick reply
only manual
I think this is a bug in the mentions 2.0 extension: https://www.phpbb.com/customise/db/exte ... s/faq/3696
KFMDM Solutions
Registered User
Posts: 15
Joined: Mon Aug 23, 2021 4:41 am

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

Post by KFMDM Solutions »

Octopus wrote: Thu May 11, 2023 10:43 am
KFMDM Solutions wrote: Wed May 10, 2023 7:22 pm wi
without your extension you can't quote in quick reply
only manual
I think this is a bug in the mentions 2.0 extension: https://www.phpbb.com/customise/db/exte ... s/faq/3696
one has nothing to do with the other
I'm referring to quote in general not mention
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.8-beta Released

Bug Fix:

- Fixed issue related with Simples mentions 2.0 reported by Thank you and KFMDM Solutions (thanks for report)
Thank you
Registered User
Posts: 22
Joined: Mon Apr 17, 2023 6:07 pm

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

Post by Thank you »

Hello, I noticed that the quick quote feature only works when Rin editor is enabled in quick reply,

It's possible to use quick quote without having Rin editor in quick reply?

Thank you
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 »

Thank you wrote: Fri May 19, 2023 9:28 pm
Quick quote of this extension is feature of Rin Editor. So only will work with Rin Editor enabled.
Thank you
Registered User
Posts: 22
Joined: Mon Apr 17, 2023 6:07 pm

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

Post by Thank you »

martec wrote: Sat May 20, 2023 6:16 am
Thank you wrote: Fri May 19, 2023 9:28 pm
Quick quote of this extension is feature of Rin Editor. So only will work with Rin Editor enabled.
But the point of enabling quick reply is to not have a editor...
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 »

Thank you wrote: Sun May 21, 2023 6:17 pm
martec wrote: Sat May 20, 2023 6:16 am

Quick quote of this extension is feature of Rin Editor. So only will work with Rin Editor enabled.
But the point of enabling quick reply is to not have a editor...
you need to enable rin editor in quick reply
User avatar
masterbiz
Registered User
Posts: 65
Joined: Thu Dec 20, 2012 8:31 am

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

Post by masterbiz »

Hello Excellent ext I've been testing it for a couple of days and it seems to work very well. When do you expect to validate it? :)
User avatar
lúthien
Registered User
Posts: 27
Joined: Tue May 20, 2008 9:18 am

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

Post by lúthien »

dear all,

I've been using Rin editor on our forum for several years and I love it. Many thanks for supplying it!

However, yesterday I noticed something very odd: when entering any text in the Rin Editor (creating a new topic or writing a reply), the [Source] button is pressed down by default. If I then tap it to activate the WYSIWYG mode, and then tap it again to enter the source mode again, the text area is filled with spammy gibberish. See these examples:

IMG_8732.jpg


IMG_8733.jpg

IMG_8734.jpg


This ONLY happens:
  • when using the Brave browser on iOS (both most recent versions as of yesterday) (Chrome and Safari @ iOS don't show this)
  • with the "Brave shields" switched [ON]
  • when toggling the [source] switch off and on again
What I tried so far:
  • update Rin Editor plus five other phpbb add-ons
  • update PHPBB to the most recent version (3.3.10)
  • for now, disabled the Rin editor until I found a solution
It's especially puzzling because I don't even know where to start looking.
It could be a Brave browser issue, the Rin editor, or maybe the PHPBB software. Or it might even be an iOS problem.I just noticed iOS has a minor update, I'll install that asap.
It might also be some kind of selective malware that made its way to my hosting space.
I'm absolutely clueless right now.

Does anyone have a clue where I could start looking? Or maybe I should rather ask this on the Brave support forum? :?
Thanks,

Lúthien
You do not have the required permissions to view the files attached to this post.
A! Suilannon le - elin velui, dîn dolog, aduial lúthad!
AhI Sweet stars, trusty silence, enchanting twilight: I greet you!

Return to “Abandoned Extensions”