Report Orphaned files

Reports ::: report_sphorphanedfiles
Maintained by SchulportalHessen (technischer Account), Andreas Schenkel
# Report Orphaned files # This plugin is a report to show files that are stored in moodle but are not in use.
Latest release:
152 sites
65 downloads
16 fans
Current versions available: 2

This plugin is a report to show files that are stored in moodle but are not in use.

Example:

A teacher adds a material "label" into a moodlecourse and uploads an image to this label. Then the teacher recognize that this was the wrong image and selects the image and deletes the image. Now the teacher adds the correct image. The problem is, that the first uploades image ist still stored in this label. This can be seen by clicking at the "manage files" icon where unused files are indicated at the bottom of the shown dialog.

This report only shows orphaned files that are stored by a teacher in the intro-field of added moodle activity or moodle material. The files that are added by students are not checked.

How to access the report

In the course menu there is an additional node if the user has the capability to see the report.


Capabilitys

The capability to view the report is set for 'editingteacher' => CAP_ALLOW, by default.


Settings

By default the report is not activated after installation. It can be activated for every user with the capability report/sphophanedfiles:view or only for siteadmins.
If you additional plugins to your moodle and you want the report to check if there are orphaned files you have to add the name of the plugin into the commasperated list.


Screenshots

Screenshot #0

Contributors

SchulportalHessen (technischer Account) (Lead maintainer)
Andreas Schenkel
Please login to view contributors details and/or to contact them

Comments RSS

Asehoy ny fanehoan-kevitra
  • Plugins bot
    Tal, 26 Jol 2022, 4:40 PM
    Approval issue created: CONTRIB-9021
  • Pável Montero Fitó
    Alak, 9 Mar 2023, 6:13 AM
    Hice todo y no se visualiza el menu del plugin en la navegacion del curso.
  • Andreas Schenkel
    Alak, 9 Mar 2023, 3:45 PM
    @pavel Have you installed version 2.0.4 for moodle 4.x or 2.0.3 for moodle 3.x ?
  • Inna Eivin
    Alak, 18 Jol 2024, 3:53 PM
    Very helpful plugin. Does it support different question types? I mean if i have orphaned files inside quiz questions. Thanks
  • Efraim Pereira Martins
    Alar, 2 Okt 2024, 1:51 AM
    Instalei mas não aparece em nenhum lugar.
  • Efraim Pereira Martins
    Alar, 2 Okt 2024, 1:52 AM
    I installed it but it doesn't appear anywhere.
  • Andreas Schenkel
    Alar, 2 Okt 2024, 6:44 PM
    @Efraim By default the report is not activated. You can activate it in the pluginsettings in websiteadministration.
  • Andreas Schenkel
    Alar, 2 Okt 2024, 6:46 PM
    @Inna No, it only checks the activity intros.
  • Andreas Schenkel
    Alar, 2 Okt 2024, 6:46 PM
    @Inna No, it only checks the activity intros.
  • Efraim Pereira Martins
    Tal, 8 Okt 2024, 3:22 AM
    @andreas Yes. I activated it but I still can't find it in the course administration or on the website.
  • EFRAIM P. MARTINS
    Asab, 19 Okt 2024, 9:24 PM
    @andreas Schenkel I discovered that it has to do with the theme used. When I use the default Moodle theme (without forcing a theme) or some other themes it doesn't appear. However, when I use themes like Fordson it appears.
  • Dominic Gagne
    Alats, 9 Des 2024, 11:32 PM
    Great plugin with Moodle 4.1, THANKS!

    I would love to be able to use it with my other and bigger server Moodle 4.5, but it crashes at the installation process. sad
  • Vera Rendohl
    Tal, 10 Des 2024, 2:26 AM
    It's a very useful plugin but we're getting an error message and Site administration > Notifications stop working. I had to uninstall do get access to notifications again.

    'Coding error detected, it must be fixed by a programmer: Unknown parameter type '1''

    We´re using Moodle 4.4.3 installed on Apache and Maria DB.

    The same problem was reported 1 month ago with Moodle 4.5 https://github.com/schulportalhessen/moodle-report_sphorphanedfiles/issues/11

    The error message shows when:
    - I try to save the plugin configuration .../admin/settings.php?section=reportsphorphanedfiles
    - At Site administration > Notifications .../admin/index.php

    Plugin configuration:
    report_sphorphanedfiles | isactive = yes

    all other parameters set to default values
    report_sphorphanedfiles | isactiveforadmin
    report_sphorphanedfiles | handleractivitiescore, report_sphorphanedfiles | handleractivitiesplugin, report_sphorphanedfiles | handlermaterialscore, report_sphorphanedfiles | handlermaterialsplugin



Please login to post comments