Profile Comments TinyMCE

I am trying to understand what determines the TinyMCE loaded when one is on the Profile Comments.  The same TinyMCE init is used on photo comments, etc.  I want to be able to change the profile comment TinyMCE but not the TinyMCE used on other comments; such as blog post comments, photo comments, etc.

Inspection shows:

<div class="cmt-post-reply-text">

<textarea id="mce_0" class="bx-def-round-corners-with-border" tinypossible="true" name="CmtText" style="display: none;" aria-hidden="true"></textarea>

I am not finding where we are building that textarea with id="mce_0.  Is that id determining the editor that is loaded?

In BxDolEditor:

define('BX_EDITOR_MINI', 3);

The Profile Comments editor is mini.

Or do I need to be looking at the javascript?


If you can help me to get my head around this; I would appreciate it.
Geeks, making the world a better place
Quote · 15 Feb 2013

No Dolphin programmers able to help with this?

Geeks, making the world a better place
Quote · 16 Feb 2013

OK, guess I will just have to keep trying to see on my own.

Geeks, making the world a better place
Quote · 16 Feb 2013

HL, I see you are working on TinyMCE; care to give me some information on this?

Geeks, making the world a better place
Quote · 16 Feb 2013

 

HL, I see you are working on TinyMCE; care to give me some information on this?

I guess he doesn't know how to do this.

Geeks, making the world a better place
Quote · 17 Feb 2013

As I look at the code that initiates the TinyMCE editor for comments, I am thinking that the code does not differentiate profile comments from any other comments.  Therefore, I need to have a separate "comment box" (not sure how to say that) for the profile comments from all the other comment boxes on the site.

I need to be able to have a different TinyMCE editor for the profile comments than all the other comment boxes; that is, from the blog post comments, the photo comments, etc.  Is there anyone that can help me understand more about this?

Geeks, making the world a better place
Quote · 22 Feb 2013

 

I guess he doesn't know how to do this.

 Actually, I'm just ignoring you

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Feb 2013

would it work to create a second tinymce folder with all files, make changes accordingly on that one, and set your page to look at that tinymce instead of the other one?

caredesign.net
Quote · 28 Feb 2013

 

 

I guess he doesn't know how to do this.

 Actually, I'm just ignoring you

Yeah, right 

Geeks, making the world a better place
Quote · 28 Feb 2013
You should keep after this. Don't give up until you have it figured out.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Feb 2013

 

You should keep after this. Don't give up until you have it figured out.

I have a hundred things I need to do with Dolphin, not mentioning moderating, and another CMS that I am helping to develop; plus trying to earn a meagre living to keep the heat on.  It is why I asked for someone that might could shorten the learning process; just as you asked for help on your TinyMCE plugin project.  The other day I asked a developer how the call service method worked and he very graciously took time out to answer my question; which was probably very elementary level, which helped me to understand.  I had managed to write some php code to do a job that I wanted but did not have a real understanding in case in the future I wanted to do something similar.

Geeks, making the world a better place
Quote · 28 Feb 2013

Here is an example.  I spent a lot of time trying to see how they were using javascript to hide the comment replies.  Come to find out, I was looking at the problem all wrong.  They were not using javascript to hide the comments, they were using javascript to show the comments.  If someone could have stepped in and told me that; then I might could have solved that problem months ago.  Just understanding the procedure can mean a great deal.

Geeks, making the world a better place
Quote · 28 Feb 2013

Have you ever stopped to think that since there's only one comment system, that maybe there can only  be one instance of the editor initialization?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Feb 2013

I am working on adding html to the description box for files; limiting it to only some html; mainly users want to add a photo "cover" for the file; it helps users in knowing what the file is.  In doing so, I now know how a particular instance of the different tinyMCE configurations are added.  If this is the same way it is handled for the profile comments, then I have an easy answer to having two different tinyMCE for the profile comments.  If not, then I will return to the search.  I will add a switch in the profile edit section so that a user can decide which tinyMCE they want loaded on their profile page for visitors to use.

Geeks, making the world a better place
Quote · 2 Mar 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.