Recent Topics

Enable TinyMCE for comments

Started by on Sep 20, 2018 – Contents updated: Oct 01, 2018

Sep 20, 2018 13:23    

Is there a reason that TinyMCE is available only for initial post but not for the comments?

I am trying to reconfigure the forum functionality to look like and behave like a modern forum, but I really struggle.

In the configuration of TinyMCE plugin iI can activate it only for posts but not comments.

I was also dissapointed to discover that attachments and image handling is almost inexistent.

I can't mass upload for comments, only for posts.

I can't upload and insert the image into the post easily (or in WYSIWYG mode), have to use shortcodes.

Thought about integrating https://www.responsivefilemanager.com/ into TinyMCE to properly handle uploads and to make it use existent user folders inside /media/, but can't find how to enable TinyMCE for comments..

Is there a manual which explains how b2evo handles each request? The code is not easy to read, there are some includes but no explicit actions to show what is going to happen, so I have to look through all the included files to get an idea..

Sep 20, 2018 13:37

I can't upload and insert the image into the post easily (or in WYSIWYG mode), have to use shortcodes.

?? There is the option to drag images to a which uploads them, so I'm wondering what you mean ??

I tend to use the HTML edit bar to insert the <img src=""> tag which gives me absolute scope for alignment etc.

Sep 20, 2018 14:49

There is the option to drag images to a which uploads them, so I'm wondering what you mean


I have it only for initial post, not for the replies (comments).

I am planning to migrate an existing forum (with 40k users) to b2evo, the users are not technically skilled at the most, so I can't force them write any html markup to insert pictures.

On the current forup people can mass upload pictures, get a list of tumbnails of uploaded pictures, then click any thumbnail to insert the picture to the post (where cursor was placed).

Sep 20, 2018 17:57

Hmm! the best I can see is the option to browse for images, in a comment not quite the same as drag and drop, but that's individual images one at a time. Then options on posts include which of the uploaded images can be shown, but no way of selecting from a massive set at each comment. Is that the problem?

On the current forup people can mass upload pictures, get a list of tumbnails of uploaded pictures, then click any thumbnail to insert the picture to the post (where cursor was placed).

Sep 20, 2018 22:05

@dm we're not against the idea to make wysiwyg/tinymce available for forum comments. It just never came up before. But can you please post screenshots of what you have now , ideally with annotations, so we really understand what you're looking for?
Thanks.

Sep 21, 2018 09:49

The only thing I need actually is to undrstand how to configure the TinyMCE plugin to appear not only for posts but also for comments.

I will continue in the next comment because I can't attach multiple pictures to the post here (the same problem, actually)

Sep 21, 2018 09:51

current comment post form does not allow to add multiple attachments, no WYSIWYG neither

Sep 21, 2018 09:52

I want to use the same approach for comments as for the initial post (I'll modify it up to my needs by myself)

Comments post form shoud look like this

Sep 21, 2018 15:07

Ok.

Note: you can add multiple attachments by clicking "Preview/Add File" after each attachment.

We have some changes for this, which are not released yet but I will check how fast we can release them.

I merely meant for you to post screenshots of your existing forum to see how the UI is there.

Sep 21, 2018 16:10

Here's the current state of the drag & drop attachments.

We'll try to finish this next week.

Sep 22, 2018 14:38

I use TinyMCE with ResponsiveFileManager plugin, here is the demo
https://www.responsivefilemanager.com/demo.php

This responsivefilemanager does it's job really well and quite easy to integrate into any CMS. In case of b2evo it should be a 15 minutes work because you already have user folders set up, just need to modify this filemanager script to read proper values from the user session to select the proper folder (and to limit user to it).

So, if you can explain how to enable TinyMCE plugin for comments, I am ready to do the rest of the work (add filemanager plugin and integrate it to b2evo) as I am already familiar with it. I'll share the result to add it ti b2evo 'as alternate tinyMCE plugin, may be?)

I found one more bug, by the way. In the backoffice, in the theme manager for default theme, when I upload a new picture to change the background, the uploaded picture has no label to select it and close the dialog. I have to close and reopen the file manager to make it appear.

Sep 23, 2018 16:39

@dm wrote earlier:

I found one more bug, by the way. In the backoffice, in the theme manager for default theme, when I upload a new picture to change the background, the uploaded picture has no label to select it and close the dialog. I have to close and reopen the file manager to make it appear.

Please open a new thread in the bugs category to report a new bug. If it's mixed in this thread it might go unnoticed. Also kindly include some screenshots of the bug.

Sep 23, 2018 21:23

#dm

So, if you can explain how to enable TinyMCE plugin for comments,

I don't know how to do it on the current version but we will add a checkbox to enable TinyMCE for comments, hopefully this week.

I don't understand how you got to use TinyMCE in the front office on your screenshots. Did you modify the code to do this?

I'll share the result to add it ti b2evo 'as alternate tinyMCE plugin, may be?)

That would be nice.

Regrading the bug I second @achillis' message.

Sep 24, 2018 01:51

Ok, I'll wait for

a checkbox to enable TinyMCE for comments, hopefully this week.

, thanks in advance.

I'll submit a proper bugreport later this week , found more bugs to report meanwhile.

I don't understand how you got to use TinyMCE in the front office on your screenshots. Did you modify the code to do this?


did nothing special, may be the fact that I gave admin rights for forum collection to ordinary users group did the trick.

Oct 01, 2018 10:56

Great, thanks, I'll try it out. Can I install b2evo v7 over my existent b2evo v6 installation?

Oct 01, 2018 12:45

For testing yes. For production you should not. As long as it’s not an official release, future upgrades will likely fail.


Form is loading...

powered by b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.