Posts made by Judy Hsu

Moodle in English -> Themes -> FormFactor theme and possible improvement

by Judy Hsu -

Dear all,

I noticed that for the Moodle FormFactor theme, by default the color that it's using to show forum "unread" tracking is kind of subtle.. not easy to tell the differences:

Should I file a Moodle bug tracker as a possible "improvement" to change to some other colors? Also is it easy to change it at the site settings or code level? If so, how? Thanks!

Average of ratings: -

Hi Elena (and everyone), I'm glad that I found this old discussion topic.

Let's say that we are running courses again and again for every 3-4 weeks with different groups of students, and we want to "reset" the group discussion to prevent students from each group to see other group's discussion.

Currently we are using "standard forum for general use" + "separate groups, the only problem is that when my student go in the forum, they will see a "Add a new discussion topic" button which can be a bit confusing to them. If they can then click into the "discussion topic" that I posted, then over there it looks like a "single simple" discussion (for each group) and each group won't interfere with each other.

I think this behavior is the same in both the latest 1.9.19+ or the 2.5.2+. Is there any way to hide that "Add a new discussion topic" from students? Is this something that teachers (or admins) can tweak at the capability/permission level? And, if so, does this permission exist in both the latest 1.9.19+ and 2.5.2+?? Thanks for your help!

Judy

Hi Tim, thanks for your help.

I changed the query to run directly on MySQL, it did not generate any error, just NO results (while it should have some results).

I am thinking that maybe the "context" part of the query has been changed from Moodle 1.9 to 2.3 (or 2.4)? In my query I had:

INNER JOIN prefix_context ctxt ON (ctxt.id = ra.contextid AND
ctxt.instanceid = co.id AND ctxt.contextlevel = 50)

However, when I go to this Moodle page (regarding Roles and modules), it mentioned that "this article is now obsolete." Any idea? Thanks again.

 

Hi,

We used to have this following DB query (run on the Ad-hoc DB query block) running fine on Moodle 1.9 to do monthly forum participation report, and after we upgraded to 2.4, this query no longer works for some reasons... Can anyone see what's wrong with this query running on Moodle 2.4? Thanks!

 

SELECT lo.course AS Course_ID, co.shortname AS Course_ShortName, co.fullname AS Course_FullName, r.name, COUNT(r.name) as Forum_Posts
FROM prefix_log lo
INNER JOIN prefix_course co ON (co.id = lo.course)
INNER JOIN prefix_user us ON (lo.userid = us.id)
INNER JOIN prefix_role_assignments ra ON (ra.userid = us.id)
INNER JOIN prefix_context ctxt ON (ctxt.id = ra.contextid AND
ctxt.instanceid = co.id AND ctxt.contextlevel = 50)
INNER JOIN prefix_role r ON (r.id  = ra.roleid)
WHERE lo.action LIKE '%add%' AND FROM_UNIXTIME(lo.time) > '201x-xx-xx' AND FROM_UNIXTIME(lo.time) < '201x-xx-xx' AND lo.course <> 1 AND lo.module = 'forum'
GROUP BY Course_ID, r.name
ORDER BY co.fullname

Average of ratings: -

Hi, sorry to bother everyone with a quick question.

In Moodle 2.3.x, 2.4.x, and 2.5.x, is there a site setting where I can change the Quiz Timing default setting for the option of "When time expires," from "Attempts must be submitted before time expires, or the are not counted" to "Open attempts are submitted automatically" ?

If not, is there a simple hack (at the code level) that I can do to change this default setting? Thanks for your help!

Average of ratings: -