Your Moodle version

Filters: oohoo - Popup Dictionary - Filter

filter_dictionary
Maintained by Picture of Patrick Thibaudeau Patrick Thibaudeau, Picture of Nicolas Bretin Nicolas Bretin
This filter is required for the oohoo Pop-up Dictionary block. OOHOO Pop-up Dictionary is a Moodle package that gives the students the possibility to double click on any word within a Moodle HTML resource and retrieve its definition from an online dictionary chosen by the teacher.
7k
204
3
Moodle 2.0, 2.1, 2.2, 2.3, 2.4

This filter works in combination with the oohoo Pop-up Dictionary block.

OOHOO Pop-up Dictionary is a Moodle package that gives the students the
possibility to double click on any word within a Moodle HTML resource and
retrieve its definition from an online dictionary chosen by the teacher.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Picture of Patrick Thibaudeau
Patrick Thibaudeau (Lead maintainer)
Picture of Nicolas Bretin
Nicolas Bretin: Programmer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of German Valero
    Fri, Nov 16, 2012, 8:28 AM
    Hi Patrick,
    Thanks for the new version. I works great with the new wikipedia languages smile

    Just one typo I saw: the spanish word for spanish is español.
    I think it is quite difficult to type this in an english keyboard (I do not know the ASCII codes for the letter ñ), but you could copy it from here and paste it in your code.

    The block might be improved even more (perhaps) if there were some more default web dictionaries available in the default dropdown menu than the ones currently available. For example, if you were looking for happiness you could use:

    http://oxforddictionaries.com/definition/english/happiness?q=happiness
    http://www.merriam-webster.com/dictionary/happiness
    http://lema.rae.es/drae/?val=felicidad (in spanish)

    Or looking for a medical term, such as influenza:
    http://vsearch.nlm.nih.gov/vivisimo/cgi-bin/query-meta?v%3Aproject=medlineplus&query=influenza&x=0&y=0

    This might be overkill, but it is an idea worth considering.

    Thanks again for this nice plugin
  • Picture of Patrick Thibaudeau
    Fri, Nov 16, 2012, 12:07 PM
    Hi German,

    Excellent suggestions. I have updated both the filter and the block.

    Thank you for these suggestions and for noticing the typo.
  • Picture of romano gino
    Sun, Dec 2, 2012, 11:56 PM
    Very good resource!

    Please add this address: http://www.rae.es/rae.html for spanish people. Diccionario de la Real Academia Española.

    Thanks you.
  • Picture of student std
    Sat, Mar 30, 2013, 5:59 PM
    Hi Nicolas and Patrick,
    Thanks for this resource, I want to use this filter and change the code to redirect the student to a web service which I developed, how can I do this?
  • Picture of Patrick Thibaudeau
    Wed, Jun 26, 2013, 12:30 AM
    Hi,

    Just changed the the code in dictionary.js to point to whatever you want.

    Patrick
  • Picture of Patrick Thibaudeau
    Wed, Jun 26, 2013, 12:31 AM
    New version for 2.5 now available
  • Picture of William Lu
    Thu, Jan 16, 2014, 5:46 AM
    Installed on my Moodle2.6 via the 'Install addons'. passed all code check, updated database, then got 'error reading from database'. even worse, whenever I click on admin or search in admin area, got full page displays 'error reading from database'. Front page is OK, very simple courses (without any activitiy) are OK. But most courses got 'error reading from database'. Please help. Thanks.
  • Picture of William Lu
    Thu, Jan 16, 2014, 11:19 AM
    Fixed:
    1. Access your server file, find the WRONG plugin file. Delete it!
    2. Open your site, it will show the files missing message, you won’t be able to go anywhere
    3. Add this ‘/admin/plugins.php’ after your site domain will open ‘Plugin Overview’ page---Good luck!
    4. Find that Bad plugin and uninstall it. Congratulations!
  • Picture of Gordon Bateson
    Mon, Jan 27, 2014, 11:17 AM
    Patrick and Nicolas,

    The file "filter/dictionary/settings.php" contains a BOM (byte order mark) which breaks the display of the Moodle site administration menu - at least on Moodle 2.6.

    Please could you remove the BOM and update your the github.com repository.

    FYI, the following CLI perl command will remove the BOM:
    perl -p -i -0777 -e 's/^\xef\xbb\xbf//' filter/dictionary/settings.php

    thanks
    Gordon
  • Picture of Patrick Thibaudeau
    Tue, Jan 28, 2014, 12:11 AM
    Again thank you, will make the changes
  • Picture of Gordon Bateson
    Tue, Jan 28, 2014, 9:38 AM
    Thank you for the speedy fix. It works fine now!
  • Picture of sanjib nanda
    Mon, Jun 2, 2014, 4:20 PM
    get this error? what can be the issue

    Not Acceptable

    An appropriate representation of the requested resource /blocks/dictionary/add.php could not be found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
  • Picture of Ame Vahi
    Sun, Oct 19, 2014, 6:54 PM
    Hi. First and foremost thank you for this wonderful extension.
    I have tried to change the location of the popup window through editing your Dictionary.js file in the filter but it doesn't change would it be possible for you to guide me on this issue?
    I changed the line of the popupwindow of by adding features to it but it doesn't take effect.
  • Picture of Đinh Lư Giang
    Sun, Dec 7, 2014, 9:03 AM
    I tried to install the addon and twice there is the error: Error reading from database so I have to delete it via FTP. Do you have any idea about the error? I am having Moodle 2.5.8
  • Picture of ryan sanders
    Tue, Mar 24, 2015, 2:01 AM
    in the version.php you can set a "required" other plugin, i was tempted to quickly uninstall plugin, and not even bothering to mess with this plugin. till i looked at the error in more fine detail. if you did a "required other plugin = block_dictionary" i would not be seeing below issues. but would of realized i need to install "block_dictionary" as well. docs.moodle.org/dev has more details about it, for the version.php options.

    multi $string errors just showing below
    Invalid get_string() identifier: 'dictionaryname' or component 'block_dictionary'. Perhaps you are missing $string['dictionaryname'] = ''; in /lang/en/block_dictionary.php?
    line 293 of \lib\classes\string_manager_standard.php: call to debugging()
    line 6926 of \lib\moodlelib.php: call to core_string_manager_standard->get_string()
    line 16 of \filter\dictionary\filtersettings.php: call to get_string()
    line 87 of \lib\classes\plugininfo\filter.php: call to include()
    line 163 of \admin\settings\plugins.php: call to core\plugininfo\filter->load_settings()
    line 6649 of \lib\adminlib.php: call to require()
    line 6534 of \lib\adminlib.php: call to admin_get_root()
    line 19 of \admin\upgradesettings.php: call to admin_externalpage_setup()
1 2
Please login to post comments