Michael

Forum Replies Created

Viewing 20 posts - 321 through 340 (of 649 total)
  • Author
    Posts
  • Michael
    Member
    Post count: 649
    in reply to: WooCommerce crashed #7209

    It was definitely working for me with my test setup, not sure what may be different for yours.

    Essentially we have some badly prefixed CSS that is affecting the z-index, and we’re also getting multiple copies of Select2 loaded from both BadgeOS and Woocommerce, and it’s causing some js conflicts when used on the same page, so I’m trying to prevent loading ours when we’re not needing it.

    Not sure what to suggest regarding the frontend “view cart” button. I can’t reproduce and I don’t see anything in Auto Messages that should be affecting it at all.

    Michael
    Member
    Post count: 649

    Giving me invalid user name issues.

    Michael
    Member
    Post count: 649

    I know we’re using the $wpdb class, and from the looks of it, that has its own caching mechanism in it as well, which may also be playing a part in this.

    Michael
    Member
    Post count: 649
    in reply to: WooCommerce crashed #7199

    Not quite able to reproduce the Auto Message issue. I have both Woo and Auto Messages enabled and both the “add to cart” and “view cart” buttons remain.

    Michael
    Member
    Post count: 649
    in reply to: WooCommerce crashed #7198

    For the admin side of things with WooCommerce and BadgeOS. This is just meant as a temporary thing until BadgeOS core finds a way to remove the conflicts. Add the following two code snippets to your functions.php.

    /**
     * Hotfix for conflict with Select2 between BadgeOS and WooCommerce.
     */
    function michaels_badgeos_woo_scripts_hotfix() {
    	if ( !empty( $_GET ) && isset( $_GET['post_type'] ) && 'shop_order' == $_GET['post_type'] ) {
    		remove_action( 'admin_init', 'badgeos_shortcodes_add_editor_button' );
    	}
    }
    add_action( 'admin_init', 'michaels_badgeos_woo_scripts_hotfix' );
    
    /**
     * Hotfix CSS for conflict with Select2 between BadgeOS and WooCommerce.
     */
    function michaels_badgeos_woo_css_hotfix() {
    	if ( !empty( $_GET ) && isset( $_GET['post_type'] ) && 'shop_order' == $_GET['post_type'] ) {
    		echo '<style>#select2-drop { z-index: 999999; }</style>';
    	}
    }
    add_action( 'admin_head', 'michaels_badgeos_woo_css_hotfix' );
    
    Michael
    Member
    Post count: 649
    in reply to: WooCommerce crashed #7195

    Another part I’ll need to investigate at the same time. I don’t have an answer at the moment for either.

    Michael
    Member
    Post count: 649

    Had not tried yet, will try this afternoon, if not this weekend.

    Michael
    Member
    Post count: 649

    From the sounds of it, if I’m understanding correctly, you are showing both step achievements as well as completed badge achievements. In the background of BadgeOS core, steps are technically their own achievements, though usually not one that gets shown off proudly in achievement lists, though we do allow them to be.

    Whatever method you’re using to display them, if on the frontend, should allow to not show them. However, since it sounds like you’re referring to the WP Admin user settings page, then they will show both steps and X achievements at the same time, and that’s expected.

    Michael
    Member
    Post count: 649

    Honestly, I’ve never been one to do live skype debugging. It’s nothing against anyone, just not how I best operate. I definitely understand hesitation in granting me access, and respect that, but the temporary access allows me to work a lot faster.

    Michael
    Member
    Post count: 649

    Transients may be in play as well.

    Michael
    Member
    Post count: 649

    Create a leaderboard, even if you don’t use it right away, and the error should go away.

    It’s something we need to get patched in the next release, and already has an internal issue associated with it.

    Michael
    Member
    Post count: 649

    There’s no “right” or “wrong” way to set it, it’s just providing a string to be checked. Would you be willing to let me into the admin to see if I can determine anything odd?

    I don’t believe so, for the last part.

    Michael
    Member
    Post count: 649
    in reply to: WooCommerce crashed #7176

    Responded to your wordpress.org thread as it’s more publicly visible there.

    Michael
    Member
    Post count: 649

    From the looks of things, you have a lot of javascript errors going on on that page that would be able to prevent the processing of this pretty easily.

    Is this a currently in development website or is it a live site? Asking because I’m curious if it’d be possible to disable all plugins except the BadgeOS ones and see if it still happens at that point. If the issue clears up, then we’d need to re-enable each plugin one by one until the issue returns. At that point, we’d know the cause of the conflict.

    Michael
    Member
    Post count: 649

    Yes, it should be part of the next update we release for Leaderboards.

    Emailed you before refreshing the thread, so that’s why you still got an email regarding this 🙂

    Michael
    Member
    Post count: 649

    Interesting, and I have no idea why it’s doing that, because it’s supposed to only link if that’s set to true AND BuddyPress is installed/activated.

    I think it’s an issue with boolean checking that we didn’t catch. If you want to hot patch the appropriate file, you’ll want to edit BadgeOS-Leaderboard-Add-on/includes/display.php. On lines 80 through 90, there are 3 checks of true == $args['param'] and you’ll want to add each of the 3 values of “true” in single quotes.

    If you prefer, I can provide a patched version of the file for you to upload as well.

    Michael
    Member
    Post count: 649

    If you mean the Leaderboards plugin in general, you can find it in the top row at https://badgeos.org/add-ons/

    Michael
    Member
    Post count: 649

    Undo that, because the function is defined, for your admin area, but not your frontend.

    Add the following to the top of the filter_kses() function in badgeos-auto-messages.php

    if ( !is_admin() ) {
    	return;
    }
    

    Right around line 286.

    Michael
    Member
    Post count: 649
    in reply to: Monthly Top #7118

    The callbacks for those filters would go in your own custom plugin or at least your functions.php theme file.

    I don’t have any ready-to-drop in solution for this, to be honest, but I wanted to at least give some pointers of where I’d start looking first to get a possible solution rolling. It’d take me some time to try and work out a working solution as well 🙂

    Michael
    Member
    Post count: 649

    Glad you figured things out Sasa.

Viewing 20 posts - 321 through 340 (of 649 total)