Skip to:
Content
Pages
Categories
Search
Top
Bottom

Visual editor not appearing


  • richard.miller
    Participant

    @richardmiller-1

    Just installed BBPress, and see that the editor is barebones html.

    I’ve learned from this codex page that the visual editor is disabled by default – so I added the code snippet to my functions file, but no effect at all. Added TinyMCE Advance plugin, no effect at all.

    What could be wrong?

    (note: I see all sorts of references to “enable fancy WP editor” in older posts here, but can’t find that setting)

    WP 4.8.3
    BBpress: 2.5.14

Viewing 18 replies - 1 through 18 (of 18 total)

  • richard.miller
    Participant

    @richardmiller-1

    Bump?


    richard.miller
    Participant

    @richardmiller-1

    Please, forum, I would love some help with this.

    If I’ve phrased the question in a weird or confusing way, please let me know – happy to clarify!


    Anonymous User 12966443
    Inactive

    @anonymized-12966443

    Yeah forget about the fantastic support. We need to help each other I guess.

    //editor bbpress
    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        $args['teeny'] = false;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
    
    //clean html when copy and paste into forum
    function bbp_tinymce_paste_plain_text( $plugins = array() ) {
        $plugins[] = 'paste';
        return $plugins;
    }
    add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' );

    Works for me but it does not show up when using mobile?


    Robin W
    Moderator

    @robin-w

    We need to help each other I guess.

    that is what open source software is all about.


    Anonymous User 12966443
    Inactive

    @anonymized-12966443

    Wauw that my comment triggers you as moderator to respond that way, while you let Richard wait for 4 days. At least respond with some value.


    Robin W
    Moderator

    @robin-w

    @heathcliff2013

    1. I am just a user of bbpress – ie I am one of the ‘We need to help each other I guess.’ I am only a moderator because I do a lot of support on here, and someone needs to clear out the spam.

    2. I was not ‘waiting 4 days’ I do have a life outside of providing FREE support I give here – giving my time without any payback to help others, and I respond as I get time to those that I can contribute to.

    3. writing sarcastic comments ‘Yeah forget about the fantastic support’ – shows you really don’t understand how open source software works – people write code for FREE which other then use for free. If you have paid for something, then you can start whinging about support, but if someone gives you a car, you don’t complain that they then don’t come round and service it for you, open source software is offered as is, additional help is totally voluntary.


    richard.miller
    Participant

    @richardmiller-1

    Thanks to both of you! I truly appreciate any and all help I can get, especially when i’m just trying to make the software work as designed.

    So. The code supplied by @heathcliff2013 had no effect either, and I’m stumped.

    Any other suggestions, dear forum?


    Robin W
    Moderator

    @robin-w

    ok, I’ve just loaded the code below (same as in the post above) to my test site and it enables the tinymce editor on my test site

    //editor bbpress
    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        $args['teeny'] = false;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
    
    //clean html when copy and paste into forum
    function bbp_tinymce_paste_plain_text( $plugins = array() ) {
        $plugins[] = 'paste';
        return $plugins;

    }
    add_filter( ‘bbp_get_tiny_mce_plugins’, ‘bbp_tinymce_paste_plain_text’ );

    So I suggest you start by doing some further testing

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    plugins

    If themes don’t pinpoint the problem, deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back


    Robin W
    Moderator

    @robin-w

    by the way wp 4.8.3 is really old – any reason you are on that version?


    richard.miller
    Participant

    @richardmiller-1

    Thanks, @robin-w.

    I’ve upgraded to WP 4.9.1.

    Tried disabling all plugins outside of BBPress AND switching to the Twenty Seventeen theme, still no effect.

    And just to be clear, here’s what I’m looking at:
    bbpress editor


    Robin W
    Moderator

    @robin-w

    ok, I can only imagine that the code is not in the right place, or that a character is affecting (one character out of place and nothing works !)

    ok, remove the code above completely

    I’ve put the code into a small plugin

    go to

    add visual aditor

    and download it to your PC, noting where it is downloaded to

    go to

    dashboard>plugins>add new>upload plugin and upload the file you downloaded and activate

    If that doesn’t work, then I’m stumped, but please come back and let us know


    richard.miller
    Participant

    @richardmiller-1

    You’ve gone above and beyond, thank you.

    Unfortunately, there’s still no effect at all. Argh.

    I’m wondering if I’m missing something at some fundamental level here. Could the fact that I’m using a child theme have any effect? Or the fact that this is a Divi Theme environment?

    At this point, I’d happily send you login credentials so you could take a look around. If you’re willing, let’s figure out how that could work.


    Robin W
    Moderator

    @robin-w

    contact me via the contact on

    http://www.rewweb.co.uk


    richard.miller
    Participant

    @richardmiller-1

    Done. Thank you.


    Robin W
    Moderator

    @robin-w

    Issue resolved.

    Usernames had ‘ Disable the visual editor when writing’ switched off in profile

    I’ve now incorporated the code above into my bbp style pack

    bbp style pack

    dashboard>settings>bbp stylepack>topic/reply form item 9


    analog1002
    Participant

    @analog1002

    @robin-w you have saved my ass a dozen times, how can I buy you a cup of coffee?

    PS Love you! you are the best <3


    analog1002
    Participant

    @analog1002

    Ah I found the link in your profile, thnx again!


    Robin W
    Moderator

    @robin-w

    great – glad you are fixed !

Viewing 18 replies - 1 through 18 (of 18 total)
  • You must be logged in to reply to this topic.
Skip to toolbar