Steveorevo (@steveorevo)

Forum Replies Created

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

  • Steveorevo
    Participant

    @steveorevo

    Even simpler; add this one line to twenty twenty two’s index.php file; this will preserve the theme’s menus, header, etc. and tell WordPress to use 2022’s template engine:

    
    include ABSPATH . WPINC . '/template-canvas.php';
    

    Or, to prevent losing changes when/if 2022 updates; use this hook in your own functions/plugin/child:

    
    add_filter( 'template_include', function( $template ) {
        if ( false !== strpos($template, 'twentytwentytwo/index.php') ) {
    		$template = ABSPATH . WPINC . '/template-canvas.php';
        }
        return $template;
    });
    

    Steveorevo
    Participant

    @steveorevo

    Very nice work with the style pack Robin! I do have one issue with Mega Max menu compatibility. For whatever reason, it doesn’t look like shortcodes are being processed when style pack is activated (which is how MegaMax allows menus to be embedded).

    Otherwise I’d recommend your style pack for bbPress users as this “simply works” to deliver the forum styling to Twenty Twenty Two without having to painfully apply one’s own CSS rules to make it marginally pretty.

    For those willing to go that far, I found that simply adding a basic, default template page as described on WordPress.org will do the trick. Supposedly block editor doesn’t care for/use PHP template pages anymore so it’s otherwise ignored.

    For simplicity, I just replace Twenty Twenty Two’s otherwise empty index.php with the “skinny” template index.php I created here:

    https://gist.github.com/Steveorevo/96d8015bcf353221e1cf0cd6b89bb766


    Steveorevo
    Participant

    @steveorevo

    I found this issue was related to my Host’s Nginx settings. Turning off “custom/own error documents” resolved the issue (not sure why).


    Steveorevo
    Participant

    @steveorevo

    I’ve found that you have to go to Settings -> Forums, “Save Changes” anytime you mess with permalinks. Not sure if private/public could be causing this too.


    Steveorevo
    Participant

    @steveorevo

    Welcome. @anointed, DesktopServer will also allow you to make multiple multisites too. I know that sounds like a lot of sites, but I keep them on hand to accelerate projects.

    I’ll have to see how bbPress works with Multisite. Does anyone know if it is limited to one forum engine per multisite install or can each subsite have it’s own instance?


    Steveorevo
    Participant

    @steveorevo

    Check that you create a user at the subscriber level, and post a reply containing the script tag. It should not allow you to do this (or at least that is the case with me).

    Within the administration screens, or at a different user level other then subscriber maybe a different story.


    Steveorevo
    Participant

    @steveorevo

    Thumbing through the code. I can’t find any reference to an email being sent. There is the “bbp_new_reply” action hook. But it looks like the only one leveraging this is BuddyPress. I tried with BuddyPress, and nuthin’. So I imagine these projects just aren’t working together yet, especially given that BuddyPress requires permalinks be turned on and bbPress 2.0 will not work with BuddyPress when permalinks are turned off.

    For now, it looks like we’ll have to wait the a win-win situation.

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