Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Vladan

    (@devedzic)

    Dear Michael,

    I have to thank you very, very much for your help with this issue – it seems that the problem is finally solved.

    I would also like everyone else who might run into the same trouble with sending their badges to Credly to be aware of an important fact that I myself was not aware of: sending badges to Credly from BadgeOS powered site works fine, but the user must be earning badges issued by someone else. The point is, it seems, that Credly does not let a user earn badges that she herself or he himself has issued (which does make sense), not even for testing purposes. So, if someone runs a site as a badge issuer, she/he cannot test the Credly integration with her/his own Credly account that matches her/his credentials as the badge issuer.

    There is a big difference between badge creator and badge issuer. The fact that someone has CREATED some achievements/badges on the issuer’s site and sent them to Credly upon earning them does not mean that she/he has ISSUED them – technically, it is the issuer who has issued them. I suggest everyone who wants to experiment with BadgeOS/Credly before building a badging system to open on the issuer site an account (e.g., TESTER) other than the issuer’s main account (ISSUER), and a matching account on Credly – the test user account on Credly (say, TESTER-C). If the issuer’s main Credly account is, say, ISSUER-C, than the things work as follows:

    – both ISSUER and TESTER can create badges on BadgeOS powered site
    – the badges created by ISSUER show in the “Created” tab on ISSUER-C
    – ISSUER-C can then give these badges to someone else (e.g., TESTER-C)
    – ISSUER can earn her/his own badges on the issuer’s site
    – ISSUER cannot send badges to ISSUER-C
    – TESTER can earn badges on the issuer’s site and send them to Credly
    – TESTER-C will see her/his badges on Credly as issued by ISSUER

    I hope this might help. Again, thanks Michael ??

    Cheers!

    Vladan

    Thread Starter Vladan

    (@devedzic)

    I just did.

    I sent you a private email with login credentials at the address you provided.

    Feel free to send me an email ([email protected]) when you fix the things that I must have messed up. Also, if you think that the solution you come up with can benefit other users, please publish it on the forum as well.

    1000 thanks for your help!

    Vladan

    Thread Starter Vladan

    (@devedzic)

    It is all set as you wrote, but the problem persists… I checked the ID values on Credly and in the achievement editor in BadgeOS (at the very bottom), and they match…

    So… Can I pull you into the site now? My email address id [email protected]

    Thanks.

    Vladan

    Thread Starter Vladan

    (@devedzic)

    OK, let’s strip it further down one by one:

    > The achievement is not giveable to Credly.

    What are the conditions for an achievement to be giveable to Credly? In other words, what makes an achievement giveable or non-giveable? I have just checked here: https://badgeos.org/api/source-function-credly_is_achievement_giveable.html#1098-1114, and I understand the code, but it tells me just the same as you explained in your reply. It does not tell me why, e.g., an achievement can be empty if I have earned it in my WordPress site and it is clearly published there. It also does not tell me what are the eligible values for $achievement_id. I can only see that they must be integers; the values of Credly Badge ID field for my two badges that I am trying to send to Credly are clearly integers, 13171 and 13211. Is Credly Badge ID the integer that credly_is_achievement_giveable takes as its parameter?

    > The ID being passed in isn’t actually an achievement.

    I guess we are talking here about the same thing as in the first case. FYI, I have created a new achievement type in BadgeOS, I have created two badges of that type, I have defined some simple steps/challenges, and then have published them. It was also me myself who has then completed the steps and have won the badges on my BadgeOS powered WordPress site. Maybe that’s the problem – I won the badges that I myself have created. However, it all happened on the WordPress end, and it allowed me to do so. Only then I tried to click “Send to Credly”. Does that ring any bell? Do I have to be logged in as a user different from the one who has created the badge, then win the badge and then send it to Credly?

    > The achievement has already been sent to Credly

    It has been automatically sent to Credly in terms of being stored in my Created badges, but it never went through to my Earned badges.

    Michael, since I am really keen on trying to sort this out, I would be really grateful to you if you let me send you my WordPress site and my Credly credentials in a private email to take a look at it. Alternatively, I can open an admin account for you on my WordPress site. I have just started learning how to use BadgeOS and in my WordPress site there is nothing so private and confidential that I would have to hide from you. My Credly page is also filled with just a couple of test badges. Just send me your private email address and I’ll send you the credentials. I can easily change my passwords after you fix the issue for me. Thanks for your cooperation and understanding.

    Vladan

    Thread Starter Vladan

    (@devedzic)

    Hi again, Michael. I got a new API key, so no problem about its privacy.

    The widget is still not giving success messages, so no chance for badges to show up on my public Credly account. Errors inside my BadgeOS powered WP site are the same as when I first wrote you: In WordPress, I hover my mouse over a badge I earned and there appears the “Share on Credly!” tooltip. I click the designated section of the badge image, and there appears “Yes, send to Credly” orange button. I click it, but always get only “Error: Sorry, Send to Credly Failed”.

    Vladan

    Thread Starter Vladan

    (@devedzic)

    Remove from where? From Credly Integration Settings?

    Thread Starter Vladan

    (@devedzic)

    Credly Integration Settings

    Enable Badge Sharing via Credly: Yes
    Credly API Key: 9f5084acbde173c4cba077e7d0857d120769ec3c6936254e5dcbbba32ed6e0347c1699a87be8c15801624e90b5c1f3afd70c6251fcc2c8cc50c1b5bda08f8cd9

    Credly Field Mapping
    Badge Title: post_title
    Short Description: post_excerpt
    Description: post_body
    Criteria: permalink
    Image: featured_image
    Testimonial: congratulations_text
    Evidence: permalink

    Add a global custom message to each notification: Yes

    On Credly, my account URL is: credly.com/u/devedzic

    Note that I have also tried to open another Credly account, and to set my Credly Integration Settings to that other one (and get another API key), but it did not work either.

    If you need my Credly account credentials, I’ll send them to you through a private message (just send me your email address to [email protected]).

    Perhaps you should also know that the badges I have created in BadgeOS do appear in https://credly.com/my-credit, in the Created tab.

    Thanks again for your efforts to sort this out for me.

    Best regards,

    Vladan

    Thread Starter Vladan

    (@devedzic)

    Hi Michael,
    I have just updated BadgeOS to v. 1.3.4, but the problem persists…

    Vladan

    Thread Starter Vladan

    (@devedzic)

    Thanks, Michael. Looking forward ??

    Vladan

    Thread Starter Vladan

    (@devedzic)

    Hi Michael, Valcs,

    Sorry for getting back to you only today, I was away on a business trip.

    Here’s what my JS console shows (pretty much the same as Valcs’):

    12:34:25.763 239 badgeos-achievements.js:184
    12:34:41.877 POST https://badgeos.fon.bg.ac.rs/wp-admin/admin-ajax.php [HTTP/1.1 200 OK 192ms]
    12:34:41.820 239 badgeos-achievements.js:213
    12:34:42.016 “<strong class=”error”>Error: Sorry, Send to Credly Failed.” badgeos-achievemen

    I understand that now you know what the problem is, so I’m waiting for the BadgeOS plugin update ??

    Vladan

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