E-Voting
Maintained by
Cyberlearn HES-SO, Christophe Hadorn
The E-Voting activity module enables students to vote via their smartphone or their laptop and to have the results displayed on a graph in real time.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I look forward to using this later once this has been more stable. Great work though and great idea. Im sure alot of people would enjoy using this feature.
To fix the issue on the adaptable theme, you can comment these lines on file style.css on evoting folder and clear cache in Moodle.
/*
body.path-mod-evoting .container {
display: table;
width: 100%;
height: 33.3%;
padding: 0px;
}
body.path-mod-evoting .container div {
display: table-cell;
text-align: center;
height: 100%;
margin: 0;
padding: 0;
vertical-align: middle;
width: 50%
}
*/
When I have more time, I will upload a new version with some improvement.
I experience a problem with the QR-code-link en the link itself.
They links me to http://mysite.etc instead of httpS://mysite.etc.
What do I wrong? Can you fix it?
Regards,
Kees.
You can try this :
View.php
line 59 (replace content by) :
define('QRCODE_URL', $protocol . $path ."/". QRCODE_URL_LINK);
Line 93 (replace content by) :
$qrCodeS = "https://api.qrserver.com/v1/create-qr-code/?color=000000&bgcolor=FFFFFF&data=" . urlencode(QRCODE_URL) ."&qzone=1&margin=0&size=60x60&ecc=L";
Line 108 (replace content by) :
$qrCode = "https://api.qrserver.com/v1/create-qr-code/?color=000000&bgcolor=FFFFFF&data=" . urlencode(QRCODE_URL) ."&qzone=1&margin=0&size=400x400&ecc=L";
Keep me in touch,
I'm having some problems creating the QR Code. The QR Code does not appearing... If I try to see only the QR Code image (mouse right key), I receive this message:
"en: malformed 'create-qr-code' API request. Please consider the API
documentation at http://goqr.me/api/doc/create-qr-code/
de: ungültige 'create-qr-code'-API-Anfrage. Bitte beachten Sie die
API-Dokumenation unter http://goqr.me/de/api/doc/create-qr-code/"
Can you help me?
Regrads
Thanks Christophe.
- choice limit settings at site level
- improve authorisation with ajax
- rename prefix functions and prefix tables
- some minor improvement (access session variables, lang detection, etc.)
- bug fix jquery
Thanks for uploading a new version. However I don't think it is much closer to being accepted for now, to be honest. I reported more details into separate issues in your bug tracker. There are some significant bugs - like a lack of authorisation for certain operations where one would expect it (sesskey confirmation protects from cross site request forgery, it is important to understand what it does and does not). Other things like hard-coded prefix of database tables in SQL queries may make the plugin unusable on many sites. I must mark this as needing more again, thanks for understanding.
- use session key, check ajax call, use require_parameter / opional_parameter method. with ajax call for anonymous user and too require_login / isLoggin() for authenticate user.
-
https://integration.moodle.org/job/Precheck%20remote%20branch/27745/artifact/work/smurf.html
Thanks for a new version. Can you please summarise and shortly describe the changes in it? It seems that the release notes just copy the plugin description with no actual information of the changes / improvements in the release.
https://integration.moodle.org/job/Precheck%20remote%20branch/26655/artifact/work/smurf.html