Hi, thanks for trying to help...
Just a quick question. I think for Moodle 2.5 to 2.7, for the "criteriatype" field in the mdl_course_completion_criteria table, all the possible values are 1,4,6,7,8.
What does each value mean? Thanks!
Hi, thanks for trying to help...
Just a quick question. I think for Moodle 2.5 to 2.7, for the "criteriatype" field in the mdl_course_completion_criteria table, all the possible values are 1,4,6,7,8.
What does each value mean? Thanks!
Hi Ben,
I tried to replace http://localhost with http://127.0.0.1 but I still got:
Any idea why? I am using Windows 8.1. Maybe some of the anti-virus software are getting in the way? Thank you!
Hi I'm curious about this too.
We have a project that we are hoping that users can be authenticated on another web site (not Moodle based), then with single-sign-on, they will then automatically be logged in to the Moodle site. However on the Moodle site we don't want to keep the firstname, lastname, and email addresses in the mdl_user table (the only "link" would be the username, for privacy reasons, etc.). Normally how would people do to achieve this, and would this require touching the Moodle core codes (which we don't want to, as it would add more complication for future upgrades, etc.). Thanks you!
Hi,
I have a local dev Moodle instance which is running Moodle 2.5, but I forgot the admin password. I have access to the database which would give me the password string, I also have access to config.php (but I don't see a salt being setup in there). Is there a way that I can reverse engineering to figure out what's the original password that I was using?
I know that I can use:
$ sudo -u apache /usr/bin/php admin/cli/reset_password.php
to reset my forgotten password,
But I'm just curious to know if it's possible to find out the original password with other means. Thank you!
Also, for the password, is Moodle 3.0 still follow the same implementation? Thanks again...
Hmm I made some progress, but still would like to get some help here if possible.
I decided to focus on #3 "Outcomes by Course" first, since at each course, there is a "outcome report" already...
I also found that in /grade/report/outcomes/index.php, at around line 73, there is a sql query:
$sql = "SELECT itemid, AVG(finalgrade) AS avg, COUNT(finalgrade) AS count
FROM {grade_grades}
WHERE itemid = ?".
$hidesuspendedsql.
" GROUP BY itemid";
$info = $DB->get_records_sql($sql, $params);
Under the mdl_grade_items table, I believe that if the gradetype=2, then those are the "outcome" grades? Can someone give me some pointers about this? Thanks!