Implement TinyMCE in bbPress for Subscribers

I am trying to implement visual editing for subscribers in bbPress. The options offered by the Theme found in Theme Options (Topic/Reply Quicktags) are not user friendly for basic users. I have added the following code to the functions.php in a child theme

// Allow Wordpress Visual Editor in bbPress */

add_filter(‘bbp_after_get_the_content_parse_args’, function($args = array()){
$args[‘tinymce’] = true;
$args[‘teeny’] = false;
$args[‘quicktags’] = false;

return $args;

});

This works perfectly for Admins but does not display for Subscribers. How can I get the TinyMCE to display for Subscribers when creating Topics or Replies in bbPress. I will add the Credentials in a secure note.

Jim

I have found a plugin (Image Upload for BBPress) that also activates the TinyMCE in bbPress while allowing image uploads so I have removed my coding from the Child Theme. I still have the issue where the visual editor will show for Admins in Wordpress but not subscribers. There must be something in Pro which is disabling this function? Jim

Hey Jim,

I tested your custom code just to see if Pro is hindering it but no, it isn’t. The TinyMCE editor is used in the Subscriber side.

Please note that what you’re trying to do is theme customization. We do not provide support for theme customization. If you need guidance on theme customization, you can subscribe to our One service here: https://theme.co/one

Thanks.

Thank you for your reply. I have tried it on a clean install and it works there. I will have to find the conflict. Jim

Hey Jim,

I said:

I’m logged in as a Subscriber. Not an Admin.

Anyway, this concerns theme customization in general, so this is beyond the scope of our theme support. That is whether you’re using custom code or a 3rd party plugin (see https://theme.co/terms).

Thank you for understanding.

Christian. I edited my reply but you were too quick!! My apologies, I have now set it up on a clean install, and the TinyMCE is available. I will have to find the conflict. Jim

Glad to hear that, Jim.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.