Опубликовано Dr S Bhatia

Moodle actually gives us a lot of opportunity to use grey cells. But the eyes don't see what the mind doesn't know. You gotta move around moodle and tinker with its parts to get around such issues улыбаюсь

There are several ways to duplicate questions. i show you the best one:-
  • duplicating all questions in a category: click on questions from within the course. then click on the desired category. once this is reached, simply export all the questions of that category in desired format, preferrably gift format. this will give you a copy of all questions of that category on your local machine. then create the new category, and import this same file into the new category. all questions duplicated. total time: 70-90 secs улыбаюсь
Not really.

Completion may have following criterion set:
  • the student's enrolment may be of limited period.
  • the course's available time window can be set
  • the test's time available time window can be set(quiz or lesson)
  • manual un-enrol option can be given to students
  • dependency can be created in lessons. for e.g. you may create lesson1(call it test) and lesson 2(call it results or anything). Lesson 1 has , lets say 45 questions and your criterion of passing is let's say 75% marks. the student can read the resources (web/text pages etc.) and then may appear for this lesson 1 as many times as he likes (or just once if you want) and at the end, he is shown his score and a link to 'results' which is lesson2 whose dependency has been set such that any student scoring less than 75% in 'test' cannot access it and he gets this message that you need to score 75% in test to access your result.
    • Now when he does score 75% (any number of tries) then he will be able to access this 'result' lesson which, in its first page will simply declare: 'you have passed this test. click here to finish your course' this 'click here' should be the unenrol link and when he clicks it he will be unenrolled.
  • of course, a smart student may decide not to unenrol. If that's an issue, then keep the enrolment time window short so that he is kicked out after the stipulated period anyway.
this is just one of the many workarounds that i use in moodle улыбаюсь
Hello well, lessons appear to be out of question for you if you want all Qs on one page. I don't think a score criterion for course completion exists. You may have to do some jugglery like make individual enrollment time bound and tell students that they gotta score 100% in 3 weeks or something. EXACTLY what you want is not there as per my knowledge. May be other Moodlers know it so do keep checking.улыбаюсь

If you are sure you want to import multiple user accounts from a text file, then you need to format your text file as follows:

  • Each line of the file contains one record
  • Each record is a series of data separated by commas
  • The first record of the file is special, and contains a list of fieldnames. This defines the format of the rest of the file.

    Required fieldnames: these fields must be included in the first record, and defined for each user

    username, password, firstname, lastname, email

    Default fieldnames: these are optional - if they are not included then the values are taken from the primary admin

    institution, department, city, country, lang, auth, timezone

    Optional fieldnames: all of these are completely optional. The course names are the "shortnames" of the courses - if present then the user will be enrolled as students in those courses. Group names must be associated to the corresponding courses, i.e. group1 to course1, etc.

    idnumber, icq, phone1, phone2, address, url, description, mailformat, maildisplay, htmleditor, autosubscribe, course1, course2, course3, course4, course5, group1, group2, group3, group4, group5, type1, type2, type3, type4, type5

  • Commas within the data should be encoded as &#44 - the script will automatically decode these back to commas.
  • For Boolean fields, use 0 for false and 1 for true.
  • Types are used to tell Moodle whether the user is a student or a teacher if a corresponding course exists (e.g. type2 corresponds to course2). 1 = Student, 2 = Editing Teacher, and 3 = Non-editing Teacher. If type is left blank, or if no course is specified, the user is default to student.
  • For courses, use the short name for the course
  • Note: If a user is already registered in the Moodle user database, this script will return the userid number (database index) for that user, and will enrol the user as a student in any of the specified courses WITHOUT updating the other specified data.

Here is an example of a valid import file:

username, password, firstname, lastname, email, lang, idnumber, maildisplay, course1, group1, type1
jonest, verysecret, Tom, Jones, jonest@someplace.edu, en, 3663737, 1, Intro101, Section 1, 1
reznort, somesecret, Trent, Reznor, reznort@someplace.edu, en_us, 6736733, 0, Advanced202, Section 3, 3

Moodle in English -> Quiz and question banks -> Session timeout -> Re: Session timeout

от Dr S Bhatia -
If I understand correctly session time out works if there is inactivity. therefore it may behave differently with different users.
wise thing is to keep session time out longer than the max time of the longest activity.