Giter VIP home page Giter VIP logo

moodle-block_simple_certificate's People

Contributors

bozoh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

davidherney

moodle-block_simple_certificate's Issues

List certificates for any users

Hi...

In view.php, the user id is not validated and it is a request parameter. A user can get the certificate list for any other user changing the uid param by get.
$uid = required_param('uid', PARAM_INT);

It is a bug or a feature?
In the block content, the userid is from the session user.
$certs = self::get_issued_certificates($USER->id, $COURSE->id);

Besides, in mod/simplecertificate/wmsendfile.php the user is validated and the certificatecopy marker is added when the current user is different to the certificate user, however, the personal information is into the certificate. A user can get many certificates changing values into the URL, including guest users.

Can I change this and submit the correction? or
Do you want to keep it that way?

Saludos

Missing strings for block's capabilities

Invalid get_string() identifier: 'simple_certificate:addinstance' or component 'block_simple_certificate'.
Perhaps you are missing
    $string['simple_certificate:addinstance'] = '...';
in .../blocks/simple_certificate/lang/en/block_simple_certificate.php?

I guess the same applies for the other capability simple_certificate:myaddinstance

Upgrade throw errors

Hi Carlos,

The block was working really well, but now that I install the new upgrade in M3.1 I got the following errors when I click on an issued certificate from the block.

image

and I'm using the latest version of mod simple certificate 2.2.6 (2017091800)

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.