rinh (@rinh)

Forum Replies Created

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

  • rinh
    Participant

    @rinh

    That makes sense. Thanks a lot!

    In reply to: Editor autoresize

    rinh
    Participant

    @rinh

    Thanks for the links 🙂 It’s not a necessary feature, but agree would be neat. I think one issue is that most scripts and functions are for when you have TinyMCE as the deafault WordPress editor, but this is inside bbPress.

    I’ll definitely let you know if I find a working solution.


    rinh
    Participant

    @rinh

    Oh! I did not see that the code changed when I pasted it in here and the ‘;’ even disappeared. I kept retrying with the one in the documentation.

    Thanks again Robin, you’re awesome 🙂


    rinh
    Participant

    @rinh

    Thank you for trying.

    That’s odd.

    I’ve tried it again, and also in my functions.php instead of Code Snippets. It doesn’t say there’s any errors until I try to save it.
    I tried another theme as well and also to remove all other custom snippets I got, but the same result.


    rinh
    Participant

    @rinh

    Sorry for double post, but I got the toggle button back by adding wp_adv, as well as the image button. Full code below if anyone needs it too

    function bbp_enable_visual_editor( $args = array() ) {
      
        $args['tinymce'] = array('toolbar1' => 'formatselect, bold, italic, underline, bullist, numlist, blockquote, alignleft, aligncenter, alignright, link, image, wp_adv');
        $args['quicktags'] = false;
        $args['teeny'] = false;
    
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

    For toolbar 2 I hid the unwanted buttons with CSS. I’m happy with the results 🙂 Still curious though if toolbar 2 can be customised, but it’s nothing necessary.


    rinh
    Participant

    @rinh

    My post disappeared and I’m unable to post it again: I’ll try again

    I messed around with the conditions in the theme builder last night and I found working solutions 🙂

    Elementor template for single topic and single forum

    This template will work for single topics (those pages where you read a topic and can reply) and single forum (where you see a list of topics, sometime called boards or category). Both of these act as single posts. Make a Single post template according to your needs and in the container/section where you want bbPress itself put an Archive Posts widget and set the skin to Full Content. It’s going to look like your blog posts in Elementor editor, but it’s normal.

    Save the template with the following conditions:

    Include: All Singular
    Exclude: Posts (unless you want the same template for your posts)
    Exclude: any custom post types you may have
    Exclude: Pages (just to be safe)
    Exclude: you may need to exclude additional things according to your needs.

    Elementor template for forum index

    This template will work for the forum index only. Create and Archive template according to your needs. In the container/section where you want bbPress itself put bbPress forum index shortcode which can be found here: https://codex.bbpress.org/features/shortcodes/

    Save the template with the following conditions:

    Include: Forums Archive


    rinh
    Participant

    @rinh

    Will do 🙂


    rinh
    Participant

    @rinh

    Some correction. I do have the header working. Not sure how I didn’t see that… And also widgets do appear at the bottom below the reply form. So perhaps just a lot of CSS is the easiest way to go here.


    rinh
    Participant

    @rinh

    Thanks again Robin. I tried Hello Elementor theme plus your plugin. Unfortunately it doesn’t work, and Hello Elementor seems to also breaks the template on forums which is pretty odd as the template works with Underscores theme.

    I’m thinking now if there would be a way to manually put the template into bbPress files. Probably not XD


    rinh
    Participant

    @rinh

    Thanks for taking your time to look at this! Your filter works great and fixes the issue 🙂


    rinh
    Participant

    @rinh

    Thank you a lot 🙂


    rinh
    Participant

    @rinh

    Thanks for checking into it.

    I only had bbPress installed and activated. I’ve switched to various themes including Twenty Twenty. I ran the Health and Troubleshooting, but everything seems fine. I also set up a local installation with the same result. There are no error logs either.

    Not sure what could cause it if it’s only happening to me. The issue does not happen if the category and sub-forums are public.


    rinh
    Participant

    @rinh

    Here you go:

    Screenshot of forum index
    Screenshot 1

    Screenshot of forum index after I made a topic in Sub-Forum 1
    Screenshot 2


    rinh
    Participant

    @rinh

    Thanks!


    rinh
    Participant

    @rinh

    Thank you 🙂 I’ll look into and give bbPress a proper try.

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