Open Badge Factory

Issue Open Badges created in Open Badge Factory from Moodle, and display badges issued to users.
Price option: Free

Supports Moodle 4.1-5.2 See all versions
Latest release: 2 months ago
Installations: 617
Downloads (last 90 days): 382

Frankenstyle name: local_obf
Local plugins

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

now using the version 1.0.5 we are getting this error
Trazado de la pila (stack):
line 200 of /local/obf/classes/criterion/obf_criterion_activity.php: Error thrown
line 283 of /local/obf/classes/criterion/obf_criterion_activity.php: call to classes\criterion\obf_criterion_activity::get_course_activities()
line 78 of /local/obf/form/coursecriterion.php: call to classes\criterion\obf_criterion_activity->get_options()
line 214 of /lib/formslib.php: call to obf_coursecriterion_form->definition()
line 798 of /local/obf/renderer.php: call to moodleform->__construct()
line 652 of /local/obf/renderer.php: call to local_obf_renderer->render_badge_criteria_course()
line 421 of /local/obf/renderer.php: call to local_obf_renderer->print_badge_info_criteria()
line 215 of /local/obf/badge.php: call to local_obf_renderer->page_badgedetails()
thank you @Antti Koskinen, looks like the company made a fix in their API too
Hi @Melvyn Gomez, the issue is fixed.
with the last version of this plugin, we are getting this message when trying to issue a badge manually
Invalid get_string() identifier: 'apierror408' or component 'local_obf'. Perhaps you are missing $string['apierror408'] = ''; in /var/www/html/moodle/local/obf/lang/en/local_obf.php?
line 356 of /lib/classes/string_manager_standard.php: call to debugging()
line 7414 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 459 of /local/obf/classes/client.php: call to get_string()
line 964 of /local/obf/classes/client.php: call to classes\obf_client->request()
line 475 of /local/obf/classes/badge.php: call to classes\obf_client->issue_badge()
line 172 of /local/obf/classes/obf_assertion.php: call to classes\obf_badge->issue()
line 133 of /local/obf/issue.php: call to classes\obf_assertion->process()
Trazado de la pila (stack):
line 458 of /local/obf/classes/client.php: Exception thrown
line 964 of /local/obf/classes/client.php: call to classes\obf_client->request()
line 475 of /local/obf/classes/badge.php: call to classes\obf_client->issue_badge()
line 172 of /local/obf/classes/obf_assertion.php: call to classes\obf_badge->issue()
line 133 of /local/obf/issue.php: call to classes\obf_assertion->process()
@Enovation Dev Team, thank you for the feedback. The plugin uses API calls for most of the features so outbound connections to openbadgefactory.com must be allowed in general.
Hi, for premium subscribers that needs to use Token (legacy api) instead of Oauth2 key and secret, make sure that you are allowing outbound connectivity from the server hosting Moodle to openbadgefactory.com, not only from from openbadgefactory.com to the server. If outbound connectivity is not enabled you will have an error trying to save the token to the field (that is only available for 10 minutes) and there's no error message or information in the documentation about this.
Hi @Emilie Lenel. Thanks for your answer. I'm happy to hear that technical docs are on the way smile
I hit another problem in the meantime. While the Factory part of the plugin seems to work fine (we see our OBF badges in Moodle, and we can award them in our courses depending on completion settings), the Passport part of the plugin, available in every user's Preferences page, doesn't want to connect to OBP. We tested the plugin on a dummy Moodle which was hosted on an external provider's server, and it worked. But on our self-hosted Moodle at the university, each time we try to connect a user's profile to their Passport account, we receive an email giving us a token which we have to enter on Moodle to verify the address, and when we enter it, Moodle responds "Error writing to the database". I can't find why it doesn't work on this installation of Moodle, but works on another one. Do you have any ideas ?
Thanks
Cédric
Hi @Cédric Floquet, You can indeed filter what badges can be used in your Moodle. In OBF, from the Creator tools, on your badge - step 3 permissions - you have a specific checkbox "Visible in external tools". If ticked, your badge will be available in Moodle. We are currently rebuilding our technical documentation, including all the related permissions descriptions, the new doc will be published in the coming days. Thanks for your patience.
Is there a way to limit which badges are shown in Moodle ? If the plugin is used within a large organisation, the connection between the plugin and Moodle with the OAuth key makes all the badges visible when someone wants to use a few badges in his/her course. Is any segmentation possible ?
Also, is there (technical) documentation about the plugin available somewhere ? We changed some of the permissions that the plugin adds to Moodle, in order to show/hide some of the links related to OBF in the course settings for specific roles, but we had to test the permissions and guess what they were doing.
CSR output empty.error:0906D06C:PEM routines:PEM_read_bio:no start line
error:02001002:system library:fopen:No such file or directory
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib
error:02001002:system library:fopen:No such file or directory
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib
error:02001002:system library:fopen:No such file or directory
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib
error:02001002:system library:fopen:No such file or directory
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib
How can we solve this error please. I am using xampp as localhost
there is a limit of badges to show? i can only see 120 badges
thank you for this
Thanks For Sharing This Article This Article Very Helpful For Me
Any news about the version for Moodle 3.6? We need to know when this is planned so we can organise our own Moodle update strategy. OBF is one of our last major plugins to keep us waiting!
Piling on here... Update for 3.5 please! smile