PHP Moodle

Moodle: an on line education/school application; programming and security issues, tec.

Cannot Uninstall Old Moodle Themes (mdl 1.x to 2.6 unsupported)

February 22, 2017
Cannot Uninstall Old Moodle Themes (mdl 1.x to 2.6 unsupported)

Cannot delete old themes! (in moodle 2.8 and beyond) Cannot uninstall Disabled themes! We deleted the theme folders from the {moodle}/themes/ folder years ago but despite every attempt to "uninstall" them, they still show up in the plugins overview list. error: core_plugin/err_uninstalling_unknown_plugin Of course, you have to turn on error reporting to see this. If not, no error is displayed, moodle may just "hang"...

Read more »

moodle 2 & 3: exclude my-moodle from admin

November 16, 2014

updated 2017-02-04 How to exclude admin, administrators, from the my-moodle dashboard The moodle Administrator is no longer excluded from the my-moodle module. Starting with moodle 2.0, if we activate the my-moodle front page for students, administrators get thrown into it also upon logging in. in ~/moodle199/index.php you could turn on "MyMoodle" for users and there was an exception for administrators, that exception has been...

Read more »

moodle database access functions

July 21, 2014

Access denied One of the dramatic proofs that OOP is NOT an improvement. In fact OOP programming is at least 3 times more expensive, time consuming, than structured programming. It is a step backward. If you try to use a standard php – mysql function call, you get "Access denied" these 2 database connection statements in your program enable bypassing moodle’s "Access denied" lock-out....

Read more »

moodle: A query to see where lessons come from

June 18, 2014

updated 2016-12-08 to see where-how the modules for each "Topic" are stored and kept in order SELECT cs.id, cs.course, cs.section, cs.sequence, cm.id AS cm_id, cm.module, cm.instance FROM mdl_course_sections AS cs JOIN mdl_course_modules AS cm ON FIND_IN_SET(cm.id, cs.sequence) WHERE cs.course = 40 AND cs.sequence '' AND cs.visible = 1 AND cm.visible = 1 ORDER BY cs.course, cs.section, FIND_IN_SET(cm.id, cs.sequence) ; look at your list of...

Read more »

Moodle: config.php, for debugging and flexible control

December 13, 2013

If you do not hard-code anything that is not necessary, you can avoid having multiple copies of files. If you have a test copy of moodle in a different folder (ex: mdl-test), add an if statement to handle it. if (stripos(dirname(__file__), 'mdl-test') ) {$CFG->dbname = 'mdl_backup'; } else {$CFG->dbname = 'mdl_production'; } I broke wwwroot up into 2 steps: $wwwroot = 'http://' . $_SERVER...

Read more »

Moodle: State required identity questions for on-line classes

November 24, 2013
Moodle: State required identity questions for on-line classes

U.S. State required security-identity questions for approval of online ‘certificated’ classes. State requirement for proof of identity while taking online classes State required proof of identity in an online classroom A few years ago, several states, including Nevada, Idaho, Florida and, N.Carolina, passed into law the additional, on-line education, requirement that "if a student can re-answer a set of personal questions asked at the...

Read more »

moodle: Time Spent in a lesson, not being saved, preserved

October 29, 2012

updated 2017-02-04 Moodle: Time Spent in a lesson being falsified since mdl 2.3 Moodle: To require a minimum time spent in a lesson the time spent in a lesson was (years ago) preserved in a table that shows the time entering the lesson and the time leaving(finishing?) the lesson. Also, in the first page of a lesson, if a person refreshes the page, it...

Read more »

moodle lessons: grade errors

October 11, 2011

Unreliable grade tracking in lesson module Also, moodle has known for years that their grades (course >> grades) are unreliable and that their calculations of "time spent in a lesson" are wrong, but have still, as of now, (moodle 2.1.2, October 10th, 2011) not done anything about it. Lesson Grades and Time Spent are incorrect when 1. a person starts a lesson and then...

Read more »

moodle 2.0 installation problems and more

October 2, 2011
moodle 2.0 installation problems and more

moodle developers are getting more demanding Good grief! Moodle 2.0 wrecks all your plug-ins and themes, demands PHP 5.2.8+ (PHP 5.3.3), DOM (not always included with 5.2.8). the lesson module is still as buggy as ever, … not to mention the sites that could but don’t need all the hassles, without a good reason – some fantastic new feature that they just HAVE to...

Read more »

How to keep a moodle database clean and trim

August 22, 2011

If your database is becoming very large "Help, my moodle database is huge!" How to delete old records in a huge moodle database How to clean moodle database tables. How to keep a moodle database clean and trimmed How to delete old log table records from a moodle database For example, we cleared a 500+ meg(!) mdl_event table … moodle does not use it....

Read more »

Open Source LMS, MOODLE, ATutor, Sakai, Canvas, and others

December 29, 2010

Because moodle has abandoned so many of its installed client base with the release of moodle version 2.0, it’s seems to be the right time to look at the alternatives. Moodle has only about 10% of the on-line education market. "Moodle has been in a downward spiral for a few years" – educhalk.org ATutor ver. 2.0 PHP 5 meg tar.gz Claroline ver. 1.10 PHP...

Read more »