Posts made by Judy Hsu

Hi everyone, I'm trying to implement this local customization and hope that I could get some help or pointers here.

When you create a new quiz, there are a lot of checkboxes under the "REVIEW OPTIONS." One thing that we have noticed is that when you click on the "Scores" under the "Later, while the quiz is still open" column, ideally this clicking action (check the checkbox) should also force the the corresponding "Scores" under the "After the quiz is closed" checked. Here are my questions:

1. What files/functions should I look into to make this happen?

2. If I understand it correctly (and please correct me if I'm wrong), once the "Scores" gets pushed into the Gradebook, there is no turning back as there is no way to "hide" the score AND that quiz in the Gradebook. For example, if you ONLY check the "Scores" under the "Later, while the quiz is still open" (and everything else unchecked), there is no way that I could change the gradebook codes so that once that quiz is closed, then the Gradebook will autmoatically hide that quiz (and the score) from the students' view. Am I correct on this? It also doesn't seem to make sense to "hide" it from students' view while still counting it for aggregation (possibly lead to students' confusions). Comments or thoughts about this?

Thanks!

Average of ratings: -

Hi Dave, thanks for your reply. This is very helpful. Thanks again!

By the way, this does NOT resolve the "masked URL forwrading" issue though. For example, right now when users go to http://pilot.cmu.edu, they will then be redirect correctly to http://www.cmumoodle.com/login/index.php, however, we would like to HIDE the cmumoodle.com domain name from the users (only show the pilot.cmu.edu all the time). Is there any other way to achive this other than using "masked URL forwarding"? Does Moodle provide any site settings that could control this? Thanks!

Judy

Dear all, sorry if this has been discussed before. I did my homework to search in this forum but couldn't find an discussion thread about this. So here is my question:

It seems that Moodle was designed in the way that the "actual" login page is under /login/index.php, and after you login, then it will trigger the root /index.php, where it will display the information such as "Available Courses", calendar, etc.

However, for our case, we would like to make sure that when students to go our site (let's say for example, http://pilot.cmu.edu), it will go directly to that /login/index.php page, instead of clicking on that tiny "login" link located on the upper-right corner (root index.php) first, then being prompted for the actual login page (redirect to /login/index.php). I understand that in some configuration, you could use apache (httpd.conf) to set your initial page to be /login/index.php (instead of the root /index.php). However, we are using a hosting company that does NOT provide such option. I also thought of using ".htaccess" redirect or even PHP redirect, however, I thnk this is NOT what we wanted, as it will simply redirect all traffics that goes to root /index.php to /login/index.php, which doesn't seem right. I also found that inside of Moodle there is a "Alternate Login URL" (alternateloginurl), under Site Administration > Users > Authentication > Manage authentication. However, according to its explanation, this doesn't seem to be what I'm looking for. Here is the explanation of "alternateloginurl":

===

If you enter a URL here, it will be used as the login page for this site. The page should contain a form which has the action property set to'http://xxx.xxx.xxx.xxx/login/index.php' and return fields username and password.
Be careful not to enter an incorrect URL as you may lock yourself out of this site.
Leave this setting blank to use the default login page.

===

Here are my questions:

1. Does this mean that I have to write a from which has the action property set to /login/index.php and replace the root index.php?? I think the root index.php is serving other purposes too so can not be replaced. If my ISP could ONLY point the initial page to root /index.php, what else could I do to force the initial page to be /login/index.php ??

2. Have anyone here heard about a term called "masked URL forwarding?" If we are hosting a pilot site outside of the campus (e.g. http://www.cmumoodle.com), then here in campus we want to create a subdomain (e.g. http://pilot.cmu.edu) to point to http://www.cmumoodle.com), how could we prevent the http://www.cmumoodle.com ever showing up again? That is, we only want our users to be able to see http://pilot.cmu.edu all the time. I know our hosting company (hostmonster.com) does not support "masked URL forwarding", our own campus IT also doesn't support "masked URL forwarding." What could we do then?

Thanks a bunch! We really appreciate your help!

Judy

Average of ratings: -
Hi,

A quick question for people who are more experienced with the assignment module. I'm trying to change the default setting of the "Sent notification emails" from currently "checked" to "unchecked", while maintaining the function that once this setting is being changed by teacher's preference, it will be recorded.

I have traced down that:

1. The "mdl_user_preferences" table does has a column "assignment_mailinfo" which keep track of teacher's preferences about this checked/unchecked of this checkbox.

2. In /mod/assignment/lib.php, there are several places that would possibly modify "assignment_mailinfo"

a. Inside of display_submssion() (around line 941)
b. Inside of display_submissions() (around line 1325), and
c. Inside of process_feedback() (at around line 1407).

However, I'm a little bit confused about:

1. The relationship between $mailinfo and assignment_mailinfo?

2. The logic of

$mailinfo = get_user_preferences('assignment_mailinfo', 0);
if (!$mailinfo) {
$submission->mailed = 1; // treat as already mailed
} else {
$submission->mailed = 0; // Make sure mail goes out (again, even)
}

If someone could please help I will really appreciate that. Thank you!

Judy
Average of ratings: Useful (2)