Michael 2014-04-21T12:07:06-04:00

Forum Replies Created

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

    Keep us updated. I hadn’t quite had a chance to get around to the images sent.

    Michael
    Member
    Post count: 649

    You could send the screenshots to my previously supplied email.

    Michael
    Member
    Post count: 649
    Michael
    Member
    Post count: 649

    This is what I have gathered on the topic and asking someone with more working knowledge on the Credly side of things.

    When a badge is issued to Credly it will be tied to the email address the person used to sign up for the BadgeOS site. The earner will receive an email notification that they have a badge on Credly and they should log in to save it to their Credly account (they will be prompted to set up a Credly account if they don’t already have one).

    If the earner already has a Credly account under a different email address the earner can add a second email address to their existing Credly account so that ONE account can be the badge repository for the various emails they may have. Here’s more on that:

    http://support.credly.com/knowledgebase/articles/150915

    Michael
    Member
    Post count: 649

    I wouldn’t be looking in our CSS’s files, I’d be looking at the browser output. The closest our CSS has is

    table.badgeos-leaderboard tr td img
    

    and it is just being used to touch up on margins. You’d need to add your own CSS properties, via your theme or some other place that won’t be overwritten, to do what you need.

    Regarding the fix from earlier in this thread:

    https://cloudup.com/csBkRrnawn1

    Should extract into the same matching folder name so you can upload and overwrite what’s already on your server and take its place.

    Michael
    Member
    Post count: 649

    What version of the Leaderboard addon are you currently running.

    I don’t have any copy/paste ready snippets to affect the image size but you should be able to alter with the correct selectors and specificity.

    Michael
    Member
    Post count: 649

    I would need to actually make a version with it, as I never heard back from the person above.

    CSS will cover those. I’d make the edits to your theme’s css file for this, so that you don’t lost any modifications that are potentially made against the plugin files themselves.

    Michael
    Member
    Post count: 649

    Let us know if you run into anything else. I do my best to try and confirm bugs and help find resolutions that I can push out solutions for.

    Thanks

    Michael
    Member
    Post count: 649

    Not sure, to be tragically honest. There’s been a number of things cropping up that I just have not managed to figure out for issues going on. I think there’s some possible race conditions involved in the logic of querying for what has been earned that is negating some things. There are some timestamps that are checked against, and if an achievement is older than the threshold, it’s not considered in the “earned” status. Not sure why and I don’t know who was originally a part of the code for it.

    Doubt the congrats addon is playing any part in it, for what it’s worth.

    Michael
    Member
    Post count: 649
    in reply to: Show User Points #11193

    No idea what you’re doing to cause it to crash either.

    You wouldn’t be editing our plugin’s files for this, because those would get overwritten the next time we push out an update to the plugin.

    Trying to mix user ID fetching functions and something like shortcodes gets a bit hairy quickly, which makes it difficult to code up some shortcode for a text widget that can be positioned below the leaderboard widget.

    Michael
    Member
    Post count: 649

    Looking at the code in the plugin, it passes in $('.badgeos-congrats') each time.

    Does the following with it, with the bit above being the jQuery object in "container"

    var width  = Math.min( 640, ( $(window).width() - 100 ) );
    var height = Math.min( ( container.outerHeight( true ) + $('#TB_title').outerHeight( true ) ), ( $(window).height() - 200 ) );
    
    Michael
    Member
    Post count: 649
    Michael
    Member
    Post count: 649

    Not trying to push blame off from us, but in terms of specific CSS provided by BadgeOS for the plugin, we don’t do anything with hardcoded pixel values for width or height, so the values are very likely coming from somewhere else in the usage of the thickbox window. Without myself having a link or a great way to trigger, it’s hard for me to determine exactly where the source is at the moment.

    Michael
    Member
    Post count: 649

    I would recommend using the badgeos_congrats_render_achievement filter at the end of the badgeos_congrats_render_achievement() function instead of modifying the output directly.

    Since you want to keep 95% of it the same, I’d just copy/paste the default version into your own callback, and make the modifications afterwards and then return. Should have all the variables passed into the filter that are needed to recreate.

    Michael
    Member
    Post count: 649
    Michael
    Member
    Post count: 649

    Perhaps provide a screenshot of the “Slow queries” area that is maybe showing up. The query monitor tab at the top of the page often changes colors in cases of issues. I believe red for “slow queries” area.

    Michael
    Member
    Post count: 649

    Nothing is immediately standing out to me in the Congrats plugin that would cause slowness.

    Would you be willing to use something like the Query Monitor plugin to get a better idea of what is slowing the site down? https://wordpress.org/plugins/query-monitor/

    It’ll be able to show slow queries and some trace information for where it’s coming from.

    Michael
    Member
    Post count: 649

    Looks like it doesn’t do any sort of post type checks for comments, just simply listens to the comment_approved_comment and wp_insert_comment hooks. So it should work as far as I can tell.

    Michael
    Member
    Post count: 649

    You should be able to emulate what we have above, just change the role to query by to the role that the teachers have.

    Michael
    Member
    Post count: 649

    Should be able to handle this one with a touch of CSS. We don’t have any sort of CSS editing built in that’s meant to override what little we add. All the rest is inherited from your theme itself.

Viewing 20 posts - 61 through 80 (of 649 total)