ctchanandy / moodle-mod_advmindmap Goto Github PK
View Code? Open in Web Editor NEWMindmap plugin for Moodle 2.X with additional features, original module developed by ekpenso.com
Mindmap plugin for Moodle 2.X with additional features, original module developed by ekpenso.com
Hi,
Not really an issue, but it coul'd be interesting to have releases or tagged versions in the Git. Like this we could automatised update plugin from Git for Moodle installations. It's sometimes a prerequisite for plugin installation autorisation like in my organisation :-(
Cheers
There's a bunch of lines that are too legacy into view.php, along the students searching. Using the hardcoded value 5 to get all the students in a course, is not valid anymore in new setups of moodle.
The suggestion is to change the code as follow (diff raw)
--- a/view.php
+++ b/view.php
@@ -454,14 +454,11 @@ if (has_capability('mod/advmindmap:viewother', $context)) {
echo $OUTPUT->footer();
die;
}
// Get all students in the course
// Get all students in the course able to view mindmaps
$context = context_course::instance($course->id);
$params = array($context->id, 5);
$sql = "SELECT u.id
FROM {role_assignments} AS a, {user} AS u
WHERE contextid = ? AND roleid = ? AND a.userid = u.id
ORDER BY u.lastname ASC";
if ($students = $DB->get_records_sql($sql, $params)) {
$students = get_enrolled_users($context);
if (count($students) > 0) {
$students = array_keys($students);
} else {
notice(get_string('errornostudentincourse', 'advmindmap'));
I want to join the post. A couple of errors.
In line 58 the string should be corrected as follow:
$string['notavailable'] = 'Not available yet';
Hello,
When advanced mindmap is enabled and I navigate to site administration -> grades -> scaIes, I see an empty page. If I disable that plugin, the scales page shows fine. this is the error I found in the error log of Apache:
PHP Fatal error: Call to undefined function record_exists() in /var/www/elo/html/mod/advmindmap/lib.php on line 324, referer: https://elo.ictmbo.nl/admin/modules.php?show=advmindmap&sesskey=lkuA2VM52o
Hello,
Will this plugin support moodle 3.3 and 3.5? @ct
The intro text must be pre-processed to get the links to images or video embedded resolved to a real link, otherwise the link contains only @@PluginFile@@
The view.php around line 258 should be changed as follow:
if (!empty($advmindmap->intro)) {
echo $OUTPUT->box(format_module_intro('advmindmap', $advmindmap, $cm->id), 'generalbox', 'intro');
}
Fatal error: Class 'backup_advmindmap_activity_task' not found in backup/util/factories/backup_factory.class.php on line 107
Hello,
Thanks for maintaining this very useful plugin! However, there are a couple of usability issues which have caused lost work from our observations. It's very easy to overlook the little "disk" icon, and loser one's mind map drawing after exiting the page. This has happened numerous times to us.
It would be very helpful if Mind map would give an alert dialog or something to prompt users to save changes before they exit the mind map canvas page.
Also, tooltips on toolbar icons and a "Save Changes" button under the canvas might also be Moodle-consistent ways to help users use the plugin and avoid losing their work.
Thank you!
I believe that's there is a typo in
classes/event/course_module_instances_list_viewed.php
where the class is defined without the "s" and this causes a fatal php error in index.php line 44.
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.