Question regarding text editor and quoting

perrie
@perrie
9 years ago
435 posts
Is there a way to get some code to add quoting to the text editor?
updated by @perrie: 02/01/16 12:37:48AM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
YES, much needed! I've had this on my 'to do' list forever!

As of now, the procedure I've had to use in the tinymce editor is:
1)copy/paste a section from the other person's post
2)select it and then use the INDENT button and maybe ALSO the italic button (to give it a vague 'quote-y' look)...but
3)it still won't say WHO it was quoted from, so I may need to paste or type that in too, to be clear..."Darla said:..."

Somewhat of a pita.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,714 posts
huh? seams to be working now on your site @strumelia.

Went to this page:
http://fotmd.com/forums/forum/adventures-with-other-instruments/18346/acoustic-bass-guitar

Clicked on the quote button for "dusty-turtle" and got (screenshot).
screenshot_quote.jpg

gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
I thinking they are just missing the quota button that shows when you hover over the post? However there is no way to quote a comment afaik if that is what they mean.
updated by @garymoncrieff: 10/14/15 03:36:07AM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Michael, you tested it in a Forum discussion post.
The problem occurs in GROUP discussions.
When we hover over a previous post in a group discussion, we get the edit gear, the trashcan, ...but no quote icon. And there's no quote button in the tinymce editor either, so we're sort of stuck doing awkward workarounds when we want to quote from a previous post...which of course happens often in discussions.

(So again I'm guessing the fact that group discussion posts are in fact a form of 'comments' instead of true forum type posts gets in the way, as Gary alluded to.)

So Perrie's original question about tinymce would solve the issue no matter where it occurs- in forums or groups. But if we could have the hover quote in group discussions, it would also solve the issue.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 10/14/15 07:24:45AM
perrie
@perrie
9 years ago
435 posts
I went to the tiny MCE website and they do have a quotation icon on their "Classic" version, http://www.tinymce.com/tryit/classic.php which means that there must be some code for it, but I am not sure if that is open source or not.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Perry, I was able to add a 'quote' button to the JR Tinymce editor, but it doesn't really do us any good. It will indent any text YOU paste in or type into your text posting box... then select that text and hit quote button and it simply gets indented... but the 'indent' button we have already will do that anyway.

Because of how things are set up in Group discussions, you can't pull a quote from a previous post with the poster's name ("Sally wrote..."). So, adding the quote button into our text editor won't do much for us in Group discussions. What we could really use is the hover-option to quote that we currently have in Forum discussions, to get at least that same function in our Group discussions. Then we would get the "quote="Strumelia"" attribution and a complete auto quote that can then be trimmed to the significant part needed.



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 10/14/15 02:50:57PM
perrie
@perrie
9 years ago
435 posts
Strumelis.

Does it add quotation marks? If it does, that is all my site needs.

You are one little sharp cookie Strumelia
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Thanks, but I just stumble around and get lucky sometimes.
Sadly, the quote Tinymce button only indents whatever text you've already copy/pasted into your text window and then selected. And the 'indent' button already does just that.
It doesn't pull in anything from previous posts, it merely indents whatever text is selected in your own reply, nothing more. It's pretty useless and likely that's why they dropped that button in newer versions.
In Ning prior posts in a discussion (even a group discussion) all had their own "Reply" link which would then paste that entire post into your new text reply box, and it would be pre-indented, with quotes, and also with the author "John said".. That worked well for replying to a specific quote from someone's prior post. Much like our quote hover button does in Jamroom forums. But the issue is the lack of quoting ability in JR Group discussions.



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 10/14/15 07:53:25PM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
woo. hoooo. :D


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
perrie
@perrie
9 years ago
435 posts
Strumeilia,

Which template did you find tiny MCE. I need to make an adjustment to the size of the default text (or at least try).
perrie
@perrie
9 years ago
435 posts
Very Cool Michael
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Perrie, it's in your active skin's jrCore_form_editor template.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,714 posts
Strumelia:...it's in your active skin's jrCore_form_editor template....
It is for strumelia, because she's over-riding it with her skin.

#1
Look for it in these places in this order:
ACP -> CORE -> SYSTEM CORE -> TEMPLATES -> form_editor.tpl

That's the most default place for it to be and where you would over-ride it if you like over-riding things via the ACP.

#2
If your more into skins, then its possible that you have a file in your skin that over-rides it (like stumelia does), in which case you can alter it via that file if you like working in the filesystem instead at:
/skins/(YOUR-SKIN)/jrCore_form_editor.tpl

#3
And the last place to look for it would be if its been over-ridden by the skin, BUT then you have over-riden that over-ride in the ACP you might look for it at:
ACP -> SKINS -> YOUR SKIN -> TEMPLATES -> jrCore_form_editor.tpl
perrie
@perrie
9 years ago
435 posts
Thanks Stumelia and Michael. I will attempt to do that.
radiomusicgroup
radiomusicgroup
@charles-brady
9 years ago
107 posts
@michael would remind us at this point "Skin developers have a lot of power" in JR5!
Thanks for the Udemy course Michael! It is a big help learning all this new stuff in JR5!
michael
@michael
9 years ago
7,714 posts
So your the one who did it @charles-brady ;) great to hear its of some use. :)
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Yayyyyyyy!!!!! The new jrComments update 1.6.1 gives us the Quote button in all Group discussions and all site-wide Comments on comment walls, photos, vids, audio clips, etc.

This is GREAT, and such a nice touch. Seems to be working great on my site.
thaaaaaank youuuuuu !!! =8-)

See here: https://www.jamroom.net/the-jamroom-network/tracker/1719/quote-button-for-posts-in-groups-and-comments


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,714 posts
:) great to hear its working as required. The idea makes sense, thanks all for pointing out it was missing.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Thank YOU!

By the way Michael, I'm proud of myself- two of my jrComment templates affected had various custom changes over time that I didn't want to mess up for myself. At first the 'compare' code threads made as much sense to me as a bowl of spaghetti. But I first made a template code backup copy, and then went into my Compare with a veeeery careful study and identified and applied ONLY the codes changes needed for the quoting and the comment IDs. Apparently I didn't screw up! hahahaha yesssss!!!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
michael:
:) great to hear its working as required. The idea makes sense, thanks all for pointing out it was missing.

I'm gonna quote you on that. ;)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015