Re: sql query group by name and average
by Mike Glazebrook. Ok I have some updated code here. This is the warning that I am now getting:Warning: mysql_query() expects parameter 1 to be string, array given in...
View ArticleRe: Is it possible to get quiz id in formulation_and_controls (renderer.php)...
by María José López Monzón. I am doing the changes, and I think this time could work. But i have another doubt concerning the variant variable. Is it always the same for the same user? It doesn't...
View ArticleRe: Feedback requested on new Events system specification
by Dan Poltawski. I see your lib/db/events.php, and raise you a mod/quiz/db/events.php. Good docs relies on developers taking the time to write them, not on any particular type of code.If I had more...
View ArticleRe: Feedback requested on new Events system specification
by Tim Hunt. > But would that actually be mod_deleted?Well, that is a decision about which events we use in core. Do we want more finer grained events, so you can ask the system to send you...
View ArticleProblem with users custom fields
by Robert Smalc. In moodle 2.4 I created a custom user field: birthday (Date/Time). Then I upgrade moodle to the last version 2.5.1 and birthday hasn't been saved right.When I enter: 30.1.1950 and...
View ArticleRe: Is it possible to get quiz id in formulation_and_controls (renderer.php)...
by María José López Monzón. But if i want to use the same data in each attempt of one user, how can i control variant? Because in my plugin the data is assigned to each user and if they attempt the...
View ArticleRe: Is it possible to get quiz id in formulation_and_controls (renderer.php)...
by Tim Hunt. Why?You have never explained how this will all look to the students. If you told us about the educaitonal problem you are trying to solve, we would be better able to help you.
View Articlearranging students according to subjects
by Arun Kumar. Hi,currently working on moodle to provide online content for students.I would explain my current scenario which I need to find solutionusing moodle. I hope you could help me.I have 13...
View ArticleRe: Is there a plug-in to link Moodle slides in different lessons?
by Tony LaCasse. Good morning Joseph,Yes, I am using it in the Moodle sense--that is too bad no one has developed this yet. I know it would be a definite time saver! Thank you so much for your...
View Articlemoodle 2.4.4 and 2.4.5 : can't choose my memcache store instance for session...
by Céline Perves. after creating an instance of memcache store, I can't choose it for session in the form /cache/admin.php?action=editmodemapping.But it was enabled in 2.4.3.Is there an reason...
View ArticleRe: Feedback requested on new Events system specification
by Petr Škoda. Activities are actually instances stored in course_modules table, the deleting is done by core, not activity itself - this leads to \core\event\course_module_deleted event, right?
View ArticleRe: Feedback requested on new Events system specification
by Petr Škoda. Cron, external in transaction or failed events are passed to cron via DB table, we also store execution status in database table, the event data may be pretty big, it needs to be...
View ArticleDid anyone else know that pspell was going away?
by Tim Hunt. Well, I have not fully got to the bottom of this, but I have just got a bug report from a user and started investigating.There is a comment at the bottom of...
View ArticleRe: Dear moodle, can we have some image optimisation?
by Stuart Lamour. here is some fun stuff with client-side resizing - just for in the wysiwyg editor, not for resources of type file that are images obviously.http://codepen.io/thisismyrice/pen/DgdJe
View ArticleRe: sql query group by name and average
by Darko Miletić. Forget about mysql API. Here is the full examplerequire('../../config.php');global $USER, $DB;$sql = "SELECT res.id, res.rank, u.firstname, u.email, u.username, rp.submittedFROM...
View ArticleRe: sql query group by name and average
by Darko Miletić. get_records_sql returns to you array of objects, where each object represents an individual record from the query. Than you just encode that into json and done.Or you can do foreach...
View ArticleFront Page Quiz
by Martin Hristov. Hello, I am using Moodle for first time and I would like to know if I could show a quiz on the front page instead of the available courses.Thank you in advance,Martin
View ArticleRe: Front Page Quiz
by Joseph Rézeau. Wrong forum. This is not a "Development" question, and you should have posted it to the Quiz forum.Anyway what you want is quite possible. If you are an admin of your moodle site you...
View ArticleRe: sql query group by name and average
by Mike Glazebrook. Took me a little while but I finally got it! Could you be so kind as to help me convert the rp.submitted number to mm/dd/yyyy? I will post back if I figure it out. Thanks again!
View ArticleRe: Is it possible to get quiz id in formulation_and_controls (renderer.php)...
by María José López Monzón. That's right. The students who attempt my type of question will have a big statement with several data (which is loaded in a CSV to the DB). And will have several input...
View Article