Michael

Forum Replies Created

Viewing 20 posts - 541 through 560 (of 649 total)
  • Author
    Posts
  • Michael
    Member
    Post count: 649
    in reply to: License #3784

    Hi Sem,

    sorry about that. I just checked your purchase history and saw that you indeed didn’t have any license keys generated, which is a bit odd, or possibly a half done regeneration task. My apologies.

    I believe you should now be able to see it when you visit https://badgeos.org/add-ons/my-downloads/

    However, if not, let me know and I can either put it in a private reply or possibly email directly.

    Hope that helps get you back at square one with this.

    Michael
    Member
    Post count: 649
    in reply to: User #3741

    Hi Adam, not a stupid question by any means. I do not believe we have any manual way to simply insert into the leaderboards. Really, the best way to get them in, or at least get the process started to get them in, is have them start earning some achievements and acquiring points. You can manually do that part by visiting their user account in the WP admin, via an administrator account. It’ll be towards the bottom. You’ll then need to either wait for the cache to refresh on the leaderboard in question, or trigger a manual rebuild for it.

    Hope that helps clear up your questions.

    Michael
    Member
    Post count: 649
    in reply to: Undefined code #3719

    Just to be certain, what version are you running? I recall a similar issue before that I thought we solved.

    That said, despite the error showing up, it should be fine to use that code. Especially when you know it’s not already used. The error isn’t going to prevent anything, it’s primarily visual aid to help you the admin.

    Michael
    Member
    Post count: 649

    That’ll be all CSS that you can control. In your particular case, it looks like the pretty generic “.header” class is affecting your tables as well. do something like th.header{} and adjust the width for just those and you should be good to go.

    Michael
    Member
    Post count: 649

    Sorry for the delay in reply to this. Busy times + not sure how I want to approach this given the sensitive topic of user data. I hadn’t forgotten though!

    You basically want a script that will wipe out all achievement types, achievements in the achievement types, post meta related to those achievements, user meta related to achievements, options and transients related to achievements from both the core BadgeOS plugin as well as the Leaderboard Addon?

    Michael
    Member
    Post count: 649
    This reply has been marked as private.
    Michael
    Member
    Post count: 649

    I’d like to take your current keys and get them plopped in the right place and see what type of response is coming back from the activation servers.

    The keys are indicated as “activated” or not in our EasyDigitalDownloads install which runs the store. We can also deactivate keys or regenerate at no extra cost to the user, because “stuff” happens sometimes. In terms of your use, with a single license, it’s really a “one active site at a time” thing, where you could use it on a dev install for the time being, and then deactivate it, move the site to production, and re-activate the same key. You just wouldn’t be able to have it active in both the dev and production, and you shouldn’t need to anyway. The licenses aren’t required for functionality of the plugins, they’re required for the indication that you have paid and should be able to download updates as they’re released.

    Long story short, yes, please re-visit this as a WordPress install in the near future, it sounds like within a couple weeks from now if not just end of term for spring semesters, and I’d love to see this going for you. I will help where I can. Still noted about the refunds, but I need to go through the right channels to get that covered.

    Michael
    Member
    Post count: 649

    Would you be willing to let me into the admin as a temporary admin user? I’m really curious why the keys aren’t activating, and would like to see first hand if possible.

    If yes, I’ll give you my email to use with a new user.

    Michael
    Member
    Post count: 649

    And just like that, “tomorrow” accidentally turned into 2 weeks. Very sorry about that Dean.

    Before I pull any regenerate triggers, I just want to check first if you happened to get either license keys working.

    Looking over the payment history for your account, you purchased the Reports plugin once, on the 27th. You have the Activity Codes on the 26th, an attempted renewal on the 29th, and then a new license as well on the 29th. Does this sound correct?

    Michael
    Member
    Post count: 649

    Nothing official yet, until then there’s quick solutions like my shortcode example above.

    Michael
    Member
    Post count: 649

    Still no update yet, I’ll let you know once we have something, Reva.

    Michael
    Member
    Post count: 649

    I do not believe we have any sort of “kill switch” that covers all of that data.

    I do believe we use transients to help store the data and make things quicker, so I’m wondering if there is possibly a transient that is still showing up. The rest sounds pretty thorough for covering what would compose the leaderboard data.

    Michael
    Member
    Post count: 649

    Well, you shouldn’t be modifying the core plugin code anyway, for those reasons 🙂

    We do what we can to offer many hooks for those types of modifications in safe ways.

    I typed this up a couple days ago for someone on the .org forums for the core plugin, and it should be re-usable in your case.

    
    function bos_deny_for_admins( $has_access, $user_id ) {
    	//Grab our ouser.
    	$user = get_user_by( 'id', $user_id );
    
    	//check the user capabilities and such here.
    	if ( $user->allcaps['edit_others_posts'] ) {
    		//We are an admin. Definitely return false.
    		return false;
    	}
    	//Leave this untouched, it may or may not be false as is.
    	return $has_access;
    }
    add_filter( 'user_has_access_to_achievement', 'bos_deny_for_admins', 10, 2 );
    

    It’ll set it up so if the current user can “edit_others_posts” then they automatically do not have access to an achievement, and the awarding would fail. This should go in your theme’s functions.php file so that it’s safe and protected from future badgeos/leaderboard updates.

    Just to be certain, you should probably go to the user profiles for each of the admins/editors and reset their scores and remove any awards they managed to earn already. After that’s done, go to the leaderboards and rebuild, it should recalculate everything with those users excluded due to lack of achievements.

    Michael
    Member
    Post count: 649

    Still working on this one sadly Reva, and I’m not sure we’ll have a solution worked out in time for your needs this week, to be honest. I wish I could say we would. I would likely be able to make some more progress with it if I was able to access the code, but the site, likely wisely, doesn’t allow access to plugin code from the WordPress admin. The other issue with that is that I can’t guarantee I’d be able to get in there and debug completely in time for your presentations. After them would be a lot more likely.

    Sorry we haven’t determined what’s up yet. Just know that I haven’t forgotten by any means, just a matter of schedules and what you have going on.

    Michael
    Member
    Post count: 649

    Alright, I’ve looked things over an I have a general idea of what’s going on. However, I don’t know WHY it’s going on. I need to talk to our developers to figure this one out, and that won’t be till as early as tomorrow.

    Michael
    Member
    Post count: 649

    Sorry about the delay Reva, ended up being an early night for me last night :).

    Not sure about using and integrating the SDK aspect itself, I think that may be more for custom applications that someone is developing. We do offer credly integration with BadgeOS though, just visit the “Credly Integration” page, enter your credentials, and it should go fetch the correct tokens to use to connect your site to Credly itself.

    I’m not sure how well any “syncing” will go with regards to the achievements though, that’s something I haven’t had to work with myself. I know I’m hoping that it doesn’t take a lot of time or reworking.

    Michael
    Member
    Post count: 649

    michael@webdevstudios.com will reach me just fine 🙂

    Michael
    Member
    Post count: 649

    Hmm, definitely a bit odd still. Would you be willing to let me in as an admin to check it out? That may prove to be a bit quicker for both of us to get the site to a good point than me trying to guess from outside.

    Michael
    Member
    Post count: 649

    Hi Reva,

    Sorry to hear that you’re experiencing issues with this. Strange that it’s not working for you out of the box. What all are you seeing when you visit the “BadgeOS Reports” main page? It should say “Registered Reports” and then a list of the achievement types you currently have, and then also the “Active Users Report” link.

    We do provide a default “Badges” achievement type at first, but it’s something that is delete-able after the fact. Strange that it’s appearing in the list still.

    Offhand I’m not sure what may be going on, though you have me intrigued. Hopefully you’ve managed to figure a solution since the original post, but if not, we can keep talking this through. Last resort for me would be requesting temporary access to the site to see first-hand, but I try to avoid that one when I can.

    Michael
    Member
    Post count: 649

    It sounds familiar to other issues we’ve had with this, and we should really get it sorted out on our end.

    However, for the time being, it’s good that you got it worked out, as I saw in my inbox :).

Viewing 20 posts - 541 through 560 (of 649 total)