Any body can tells how to do in latest version of attendance . I want to disable grade in attendance module .
There are two solutions here:
- put the attendance grade item in a category with grade type set to "None", then hide the category so users cannot see it.
- change a few lines of code in the attendance module to prevent it from registering with the gradebook.
- When you create a new attendance activity in your course, at the bottom of the form you can choose the grade category. It defaults to "uncategorised". Select instead "New category".
- Save your attendance activity
- Go to Grades -> grader report
- You will see your attendance activity inside a category called "activity name"
- Next to the "activity name" grade item is another called "Category total".
- If not already done, click the button "Turn editing on"
- A little edit icon appears beneath the Category Total heading
- Click this icon
- In the "Grade type" drop-down menu, select "None"
- Save your changes
- Hide the activity name category (there should be a little "eye" icon under the heading, if not click the "Hide show/hide icons" link above the report, it should make the icon appear). This will hide the whole category from students in your course.
- In attendances.php, comment out lines 76 and 85 (put // at the beginning)
- In lib.php, comment out lines 22 and 40