Repositories: Giphy

repository_giphy
Maintained by Picture of Andrei Băutu Andrei Băutu
Moodle plugin for using of Giphy.com as repository
5 sites
13 downloads
1 fans
Moodle plugin for using of Giphy.com as repository

How to setup 

  1. Download and install the plugin, as indicated here https://docs.moodle.org/31/en/Installing_plugins. Access Site administration > Plugins > Repositories > Manage repositories. 
  2. Enable the plugin and access its settings page. 
  3. Fill in the Giphy API key (you can get one from https://developers.giphy.com/dashboard/)
  4. Optional, limit the available files to a specific rating level.

How to use

  1. Select any field that triggers the file picker (e.g. file upload in assignments, link in forum posts, etc.)
  2. In the File picker, select the Giphy repository. 
  3. Search or browse the available images to select one.
  4. For the selected image, you will be presented with multiple options for format and resolutions to select from.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Picture of Andrei Băutu
Andrei Băutu (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Fri, 2 Feb 2018, 8:30 PM
    Approval issue created: CONTRIB-7182
  • Picture of Bas Brands
    Thu, 22 Feb 2018, 4:49 PM
    Hi Andrei,

    Thanks for submitting this plugin! I think it a a realy fun and nice addition to the plugin DB.

    During installation I noticed a small problem in when configuring the Giphy API key. The steps to reproduce are:
    Turn on development mode
    Go to Site Administration -> Development
    Select Debugging
    Set Debugging to "Developer..."
    Check the display debug messages

    Go to Site Administration -> Plugins
    Select Repositories -> Manage Repositories
    Click the settings icon for the Giphy repository

    You will see this notice:

    Did you remember to call setType() for 'api_key'? Defaulting to PARAM_RAW cleaning.
    line 1354 of /lib/formslib.php: call to debugging()
    line 312 of /lib/formslib.php: call to moodleform->detectMissingSetType()
    line 218 of /lib/formslib.php: call to moodleform->_process_submission()
    line 99 of /admin/repository.php: call to moodleform->__construct()

    And

    Notice: Undefined variable: attributes in /var/wwwdata/mdk/stable_34/moodle/repository/giphy/lib.php on line 260

    For further info please read:
    https://docs.moodle.org/dev/lib/formslib.php_Form_Definition#setType

    Thanks!
Please login to post comments