Hotpot - Missing from disk!

Hotpot - Missing from disk!

by Russell Thomson -
Number of replies: 4

Moodle 2.6.11

Is it possible to completely remove this Hotpot entry from the plugins overview?

Regards


Attachment Moodle Screenshot.png
Average of ratings: -
In reply to Russell Thomson

Re: Hotpot - Missing from disk!

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Russel,
if you have removed the files from the file system you need to remove the config params too, from the config_plugins table.

HTH,
Matteo

In reply to Matteo Scaramuccia

Re: Hotpot - Missing from disk!

by Russell Thomson -

Thanks for replying. Where do I find the config_plugins table to be able to remove the config params.

Regards

In reply to Russell Thomson

Re: Hotpot - Missing from disk!

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Russel,
it is in the Moodle database, named mdl_config_plugins by default.

You need to remove those records where the plugin column contains hotpot.

HTH,
Matteo

In reply to Matteo Scaramuccia

Re: Hotpot - Missing from disk!

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Russel,

here are three suggestions for how to uninstall the HotPot module from your Moodle site. I recommend you go straight to Method 3, but I put Method 1 first because that follows the flow of the thread, and answers the immediate question you asked.

Method 1

if you have access to the Moodle database, then you can use your favorite database admin tool (e.g. phpMyAdmin) to remove some of the HotPot settings by running the following SQL queries:

  • DELETE FROM mdl_config WHERE name LIKE 'hotpot%';
  • DELETE FROM mdl_config_plugins WHERE plugin LIKE '%hotpot';
  • DELETE FROM mdl_log_display WHERE module LIKE '%hotpot';

Even having deleted the settings, Moodle may remember some of them because they are stored in a cache. You may be able to delete the cache if you log in to Moodle as admin, and purge caches:

  • Site administration -> Development -> Purge all caches

But this is all very messy.

There may be a cleaner way ...

Method 2

  1. log in to Moodle as admin
  2. navigate to the Activity plugins page (as shown in your initial post to this thread)
  3. right-click on on the link to uninstall the Workshop module, and copy the URL
  4. open a new browser tab/window and paste the URL into the address bar - don't hit return yet wink
  5. in the URL, change "mod_workshop" to "mod_hotpot", now hit return
  6. you should see a page asking you to confirm that you wish to delete the HotPot module
  7. follow on-screen directions to remove the HotPot module

Method 3

The best way to remove the HotPot modue would be using Moodle's standard uninstall procedure. To do that you need to: 

  1. download the HotPot scripts, put them on your server in the "mod/hotpot" folder
  2. login to Moodle as admin and follow instructions to install/update the HotPot module
  3. go to the Activity plugins page and click the uninstall link for the HotPot module
  4. follow on-screen instructions to remove the HotPot module
  5. remove the HotPot scripts from the "mod/hotpot" folder


Average of ratings: Useful (2)