Michael

Forum Replies Created

Viewing 20 posts - 461 through 480 (of 649 total)
  • Author
    Posts
  • Michael
    Member
    Post count: 649

    Is this a learndash-specific step? or something from core Badgeos?

    Michael
    Member
    Post count: 649

    The leaderboard stats/data is cached, because of the size of the query it takes to generate everything, especially on a larger site with many users. Your custom script is going to affect the user meta directly, but it’s not going to have an effect on the cache. You can manually delete the cache when you edit the Leaderboard, there will be a button at the bottom regarding “rebuilding”. However, once the code detects that it needs to recalculate, it should clear that cache automatically. If needbe, you could probably check on the leaderboard code for the WP Transient that we use, and delete that as you need with your custom php script.

    Michael
    Member
    Post count: 649

    Oops, I’m very sorry. Somehow the thread slipped under my radar and I didn’t see it. My apologies. I’ll go check on it right now.

    Michael
    Member
    Post count: 649

    You should be fine. The license doesn’t unlock functionality, just enables automatic updates, as you noted already :).

    You’ll likely need to log into BadgeOS.org here manually every now and then to check for updates, but that’s not going to be the end of the world. You’ll definitely be able to download the files here and upload to your intranet site.

    Hope that helps

    Michael
    Member
    Post count: 649

    Not a problem. If you run into any issues with that, let us know over on https://wordpress.org/support/plugin/badgeos-community-add-on which is the dedicated support forum for the Community Addon.

    Michael
    Member
    Post count: 649
    in reply to: NO VALID CODE #4939

    Hi Fabio,

    This is an issue that got reported this weekend and we have worked on it this morning. You should be able to download a fresh copy of the Congratulations plugin from your account page at https://badgeos.org/add-ons/my-downloads/ and the new copy you’ll get should have the necessary fixes in them to have the license validate now.

    Hope that helps and let me know if you have any issues with that.

    Michael
    Member
    Post count: 649

    Here you go Ramona:

    Should give you a zip file named “badgeos-ramona” and in it will be a plugin you can install and activate. Once activated, you should be able to remove the 2 other customization spots that you did with the code above, as this will do the exact same thing.

    Michael
    Member
    Post count: 649

    Ahhh, you had Jetpack loading a separate mobile theme for your site.

    It’d probably be best to undo that because you’ll lose the customization next time you update Jetpack.

    I could make a very quick plugin for you with the code snippet above if you want, that way you can have it persistent no matter what theme you’re viewing your site with.

    Michael
    Member
    Post count: 649

    The names aren’t the issue, other than making it appear duplicated. It’d take custom code changes to remove them from being tracked completely. I’m pretty certain the steps are tracked on purpose and by design of both the Reports addon and BadgeOS in general. It’s part of the achievement process and progress.

    Michael
    Member
    Post count: 649

    Shouldn’t be anything extra needed if it’s all from the same spot in your website.

    Michael
    Member
    Post count: 649

    Received.

    The “duplicates” are very likely a case of naming the steps and the achievements the same, but they are actually separate things. What I said above about steps I think still applies, and we do have a “step” post type internally that is used for achievements earned by compleing steps. As a consequence, it appears we also track those in our numbers.

    The autodraft part would be a “bug” though not a harming one. We should filter those out from our display, and I’ll be filing a ticket to amend that.

    Michael
    Member
    Post count: 649

    If they’re just showing up in the leaderboard still, then that’s just a case of the leaderboard data being cached. You’ll need to go edit the leaderboard in the admin, and click the “rebuild” button we provide. That’ll flush out that cache.

    The deletion of the user itself will clear out the wp_usermeta table of their existence so that part won’t need to be manual.

    Michael
    Member
    Post count: 649

    Not sure bbPress, which is what we use for the forums here, has that functionality. We may be stuck with a 3rd party hosting, or I’m willing to accept an email with them. However we’d resume debugging the issues here.

    michael @ webdevstudios.com

    Michael
    Member
    Post count: 649

    Jennifer, if you’re comfortable with MySQL, I could definitely type something up for you. However, if you’re not, let me ask how important it is to keep these test users?

    Deleting the user accounts themselves should clear out the user meta as well, which is where we store a user’s points. Any new users would start with a blank slate and not be a factor in calculating the leaderboards yet until they earn some points.

    Michael
    Member
    Post count: 649

    Hi Jennifer,

    I’m not able to see exactly what you’re seeing due to not having an account to log in with, so a screenshot would be helpful in this case.

    Regarding the steps being counted, shouldn’t that be part of an active report? Say I have a goal of losing weight(I really do), one of the steps would be going exercising more, another of them would be diet reform. If I have the diet part down, but am still lazy, then I’m still actively striving for that goal, but don’t have everything in place yet. I would want those tracked though. Just some thoughts. I won’t deny that I don’t know your specific achievement design.

    Which part has the auto drafts showing up? The Active users version? or one of the other more specific reports?

    Michael
    Member
    Post count: 649

    I’d personally recommend adding it to your theme’s CSS and override ours that way instead of try to modify ours. That way the changes remain next time you update the plugin.

    Michael
    Member
    Post count: 649

    Those two parts should be adjustable via css. We try to keep our shipped CSS minimal so that everything inherits primarily from the theme that the user has. As a consequence, we can have small moments like above that need to be tweaked on a per-user basis.

    Michael
    Member
    Post count: 649

    Oofta. Our query and your database do not like each other. Even via phpmyadmin it’s locking up and taking forever. Just an update.

    Michael
    Member
    Post count: 649

    Try this out in your functions.php file for your theme

    function custom_leaderboard_display_name( $current_display, $user_id, $user_data ) {
    	return $user_data->data->display_name;
    }
    add_filter( 'badgeos_leaderboard_display_name', 'custom_leaderboard_display_name', 10, 3 );
    
    Michael
    Member
    Post count: 649
    in reply to: Contact Info #4756

    I thought you did because I know you’ve sent me information before 😛

    Anyways, michael @ webdevstudios.com

Viewing 20 posts - 461 through 480 (of 649 total)