atlet / moodle-local_badgecerts Goto Github PK
View Code? Open in Web Editor NEWBadgeCerts plugin for Moodle.
License: GNU General Public License v3.0
BadgeCerts plugin for Moodle.
License: GNU General Public License v3.0
The page https://moodle.org/plugins/local_badgecerts should give better instructions on how to actually use the plugin. It took me a while (and I almost gave up) to realize that I have to go to a course and access the menu from there. As an admin, I was expecting to find some relevant UI somewhere in the administration tree, too.
Hi guys,
I had a problem when I wanted to create a certification. When I selected a moodle badge, its id was not saved as a certid in the database (certid=null). But if I create a certification and then edit it to select my moodle badge, it works (certid=moodle badge id in database).
To solve the problem, I just put the following line in new.php:
$fordb->certid = $data->certid;
Thank you for your work !
I noticed certain SQL queries accessing the tables like booking_answers
or booking_options
that may not be present. There is no dependency on the other module declared. So is the Booking module needed?
https://docs.moodle.org/dev/Plugin_contribution_checklist#Dependencies
The queries use certain functions such as IF()
that are not cross-compatible (this one does not exist on PostgreSQL for example).
In Moodle it is essential to use cross-db syntax that works on all supported databases.
https://docs.moodle.org/dev/Plugin_contribution_checklist#Cross-DB_compatibility
Warning: Creating default object from empty value in ./local/badgecerts/new.php on line 96
I am getting the following debugging message:
Navigation node intersect: Adding a node that already exists managecerts
line 946 of /lib/navigationlib.php: call to debugging()
line 388 of /lib/navigationlib.php: call to navigation_node_collection->add()
line 364 of /lib/navigationlib.php: call to navigation_node->add_node()
line 1507 of /local/badgecerts/lib.php: call to navigation_node->add()
line 4979 of /lib/navigationlib.php: call to local_badgecerts_extend_navigation_user()
line 4751 of /lib/navigationlib.php: call to settings_navigation->generate_user_settings()
line 4202 of /lib/navigationlib.php: call to settings_navigation->load_user_settings()
line 769 of /lib/pagelib.php: call to settings_navigation->initialise()
line 830 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 125 of /user/profile.php: call to moodle_page->__get()
When creating a new badge certificate, I get:
Warning: Creating default object from empty value in local/badgecerts/new.php on line 96
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.