Shared Resources Center

General plugins (Local) ::: local_sharedresources
Maintained by Valery Fremaux
This additional component provides Moodle with a sote level Library front end, for exploring searching or browsing common pool of public resources, using a rich metadata based search engine.
Latest release:
23 sites
19 fans

IMPORTANT NOTE FOR PLUGIN ARCHIVE AVAILABILITY : due to the large amount of plugins supported, it is NOT affordable for us to update packages. Please use the Source Control urls to our github to get plugins archives

This component implements a Library Front End for accessing, browsing, searching
in sharedresources. It will provide also a Librarian backoffice to manange, list
update resource indexation information, among with some other site level services
such as OAI exposure.

When browsed from a course context, the library keeps awareness of originating
context and will allow direct resource publication from the library search results.

Shared resource can be an alternative to "common Pot" filesystem repository, adding
possiblity to all teachers to feed collectively the resource base.

The library developement is still not achieved,  and we still are on the road for improvement and completeness.


This plugin is part of set Shared resources module package.


Screenshot #0


Valery Fremaux (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Thu, May 30, 2013, 10:05 AM
    Hi Valery,
    i have tried installing all the plugins in this set 'Shared resources module package'. My site wouldn't load at all, and with no errors. i then removed the local package on a hunch and then installation ran fine with the rest of the set. Please look into this package to see what could be blocking the loading moodle. i suspect one of the structural files like settings.php or lang ? i can look into this more soon.
  • Thu, May 30, 2013, 6:50 PM
    ok trying my side too...
  • MD shot of me from his iphone4
    Tue, Jun 4, 2013, 12:02 PM
    Warning: require_once(/Users/aparup/mtools/mdkinstances/stable_master/moodle/mod/sharedresource/lib.php): failed to open stream: No such file or directory in /Users/aparup/mtools/mdkinstances/stable_master/moodle/local/sharedresources/lib.php on line 30

    Aha! : you need to change $plugin->dependancies ... to $plugin->dependencies smile

    Do note the spelling of 'dependEncies' smile
  • MD shot of me from his iphone4
    Tue, Jun 4, 2013, 12:05 PM
    I'm confident you will get around to fixing this, so i'll approve it now. Thanks for sharing this.
  • Wed, Jun 5, 2013, 7:05 AM
    package reloaded and fixed.
  • Germán and Temudgin
    Tue, Jun 25, 2013, 1:32 AM
    Hi Valery,
    I was translating the local_sharedresources add-on and I noticed a strange-looking English language string:
    Mots clefs

    I think the English word for that is "Keywords".
    Thanks in advance for your help
  • Fri, Dec 6, 2013, 10:52 PM
    Hi Valery,

    I was trying to install this plugin in Moodle 2.6 and got the following messages when updating the database in Notifications (with debugging turned on):

    Subplugin type "sharedresourceprovider" should define class "\local_sharedresources\plugininfo\sharedresourceprovider"
    * line 435 of /lib/classes/plugin_manager.php: call to debugging()
    * line 240 of /lib/classes/plugin_manager.php: call to core_plugin_manager::resolve_plugininfo_class()
    * line 261 of /lib/classes/plugin_manager.php: call to core_plugin_manager->load_enabled_plugins()
    * line 384 of /lib/classes/plugininfo/base.php: call to core_plugin_manager->get_enabled_plugins()
    * line 88 of /lib/classes/plugininfo/mod.php: call to core\plugininfo\base->is_enabled()
    * line 35 of /admin/settings/plugins.php: call to core\plugininfo\mod->load_settings()
    * line 6363 of /lib/adminlib.php: call to require()
    * line 6248 of /lib/adminlib.php: call to admin_get_root()
    * line 14 of /admin/upgradesettings.php: call to admin_externalpage_setup()

    get_list_of_plugins() should not be used to list real plugins, use core_component::get_plugin_list() instead!
    * line 7303 of /lib/moodlelib.php: call to debugging()
    * line 15 of /local/sharedresources/settings.php: call to get_list_of_plugins()
    : : : : : : :

    I am not sure how to correct the first one. If you could look into it, I would really appreciate it.

    The second issue was easily corrected by making the following change to line 15 of /local/sharedresources/settings.php:

    $plugins = get_plugin_list('local/sharedresources/plugins');

    Should now be:
    $plugins = core_component::get_plugin_list('local/sharedresources/plugins');

    Hope that helps.

    Best regards,

    Michael Milette
  • Sat, Dec 7, 2013, 1:33 AM
    Hi Michael, seems subplugins API has changed for Moodle 2.6. I am actually working on 2.5 upgradings and have a work plan for 2.6 not before June 2014 (2.6 final delivery date for major plugins).... we'll try to go a bit faster... moreover on this resource set... but cannot really plan now....
  • Fri, Dec 30, 2016, 7:01 AM
    Hi, I'm having trouble accessing the Center as an administrator, i do not have the permission..could I have some help please.
  • Tue, Dec 5, 2017, 2:33 AM
    PLEASE REMOVE THIS PLUGIN FROM THE MOODLE DIRECTORY UNTIL IT IS FIXED! We experienced the same issue: Once we installed it, we lost access to our website and could no longer login as an administrator (500 Error). We had to remove the plugin in order to regain access to our website. Thank you for your help.
  • Tue, Dec 5, 2017, 5:42 AM
    Hi all, the sharedresource subsystem for moodle is on a major redraw phase for a next complete republishing in a few weeks (ideally first of January). This will address install issues and code cleanup of all our local debug stuff. The permission will remain in the plugin report/sharedresources acces capability definitions, that needs to be installed with the local_sharedresources plugin. the reason is that sharedresource is semantically attached to the resource repository concept, although the central library frontoffice is a separate site-wide implementation.

    the new version has its entire code reviewed to cover new moodle developement rules such as mustache templates, amd javascript modules, and a lot of code cleanup and simplification.

    We are introducing new features of the subsystem as are requests from our funders :
    - Adding basic Dublin Core metadata schema (done)
    - Allow configuring separately the read and the write profile for metadata (done)
    - Adding a taxonomy based resource browser (browse by categories of the classification) (in progress)
    - Adding a backoffice to edit and update the locally stored taxonomies (todo)
    - Restructuring the classification definition management (in work)
    - Metadata values binding facility to switch an existing resource base from one metadata schema to another

    - The backoffice facility to massively preload a complete resource base in the library will switch to the "Pro" implementation area
    - Add a GUI for this facility.

    People who are interested in the subsystem should likely follow us on git at and where the code is regularily updated and handled through the travis-ci integration toolkit.

    On the antique versions there is indeed an "egg and the chicken" circle on install for initializing the metadata schema configuration. This will disappear we home on the future version. We are involved in an internal quality reinforcement process for all the 160 entries we care, so it goes not as fast as we would like it.

  • Mon, Aug 6, 2018, 8:15 PM
    Hi Everyone,

    Today I installed this plugin on My Moodle 3.3 and I have lost access to my site. The site would not load at all . All I get is "HTTP Error 500". Can someone please guide me on how to fix this error. This is really annoying.

    Please help
  • Mon, Aug 6, 2018, 10:18 PM
    Hi, Just an update
    I somehow managed to get the site back on but now I cannot go to the site admin area
    Not sure what to do next.
    Can someone please help

Please login to post comments