Activity Report has disappeared after 1.6?

Activity Report has disappeared after 1.6?

by Joseph Rézeau -
Number of replies: 8
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

We have recently upgraded our university moodle site from 1.6 to 1.8 and I am only today realizing that the Activity Report facility seems to have disappeared from student mode.surprise

On my local test site I have tried to change some capabilities in the student roles, but nothing gives me back this facility. It is quite useful and indispensable for my courses, as I encourage the students to check regularly their Activity Report to check what activities they have done so fare and which ones have yet to be done.

Looking forward to help on how to restore this facility.

Joseph

Attachment image00.jpg
Average of ratings: -
In reply to Joseph Rézeau

Re: Activity Report has disappeared after 1.6?

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
More info about this problem (using 1.8.2).
Logged in as admin, at Site level, I edit the Student capabilities as follows and get these results.
Case 1
--------
Users
Edit user profilemoodle/user:editprofile ALLOW
See all user postsmoodle/user:readuserposts ALLOW
See all user blogsmoodle/user:readuserblogs ALLOW
See user activity reportsmoodle/user:viewuseractivitiesreport ALLOW
View reportsmoodle/site:viewreports NOT SET
------
logged in as Student inside a course, click on Participants (if Participants block has been added by teacher), on list of participants, click on any name, including my own name, then you see the tabs: Profile / Forum posts / Blog / Activity reports
then click on Activity Reports and get error message :
You are not allowed to look at this page
Case 2
-------Users
Edit user profilemoodle/user:editprofile ALLOW
See all user postsmoodle/user:readuserposts ALLOW
See all user blogsmoodle/user:readuserblogs ALLOW
See user activity reportsmoodle/user:viewuseractivitiesreport ALLOW
View reportsmoodle/site:viewreports ALLOW

logged in as Student inside a course, click on Participants (if Participants block has been added by teacher), on list of participants, click on any name, including my own name, then you see the tabs: Profile / Forum posts / Blog / Activity reports
then click on Activity Reports and you can view the activity reports of everyone enrolled in the course, including the teacher!
---------------
What is missing is something between the two, i.e. the ability for a student to see their own Activity report and their own report only -not others'.
What is also missing is the Activity Report link in the student's Administration block, as illustrated in my previous screenshot (from moodle 1.6).
Would be grateful to anyone finding a solution out of this dilemma.
Joseph
In reply to Joseph Rézeau

Re: Activity Report has disappeared after 1.6?

by Mauno Korpelainen -

Hi Joseph,

Administration -> Users -> Permissions -> Define roles
Edit Students role
Setting

See user activity reports
to Allow and

In Core system
View reports
to Allow

might be enough

In reply to Mauno Korpelainen

Re: Activity Report has disappeared after 1.6?

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
No, Mauno, this is my case #2: student can see ALL activity reports!
Joseph
In reply to Joseph Rézeau

Re: Activity Report has disappeared after 1.6?

by Mauno Korpelainen -
Strange - it works with my moodle 1.8 so there must be some other "role mixture"...I will check all my settings if I could find some explanation.
In reply to Mauno Korpelainen

Re: Activity Report has disappeared after 1.6?

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Yes, please, Mauno, it would be nice if you could find an explanation to this strange behaviour.
Thanks in advance,
Joseph
In reply to Joseph Rézeau

Re: Activity Report has disappeared after 1.6?

by Mauno Korpelainen -
Sorry - I was wrong - it looks like a bug
Attachment splash_green.png
In reply to Mauno Korpelainen

Re: Activity Report has disappeared after 1.6?

by Chardelle Busch -
Picture of Core developers
Hi Joseph,

Did you make changes to the course roles? Make sure the student roles are all set to inherit. Then, under Admin>Users>Permissions click on Student, hit the Reset to Defaults button. Then, make sure Show Activity Reports is set to Yes under your course settings. Students should see the activity report tab in their profile (only their own) . Also, remember to logout before testing changes to roles. I don't know why the link isn't in the admin block anymore mixed -- but the code is still there. So, in blocks>admin>block_admin.php delete the two // in front of lines 179-182 under "/// View own activity report".
In reply to Chardelle Busch

Re: Activity Report has disappeared after 1.6?

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Charlene,

Many thanks for giving the perfect answer to my query. I had not noticed the (new to 1.7/1.8?) "Show Activity Reports" setting in the Course settings. I am surprised that it is set to No by default, hence all my problems.

As regards the missing link(s) in the student Administration block, here is a copy of my bug report MDL-11382, which I encourage moodlers to vote for:

View own activity report and Edit your own profile should be re-activated in Administration block. These two links have been commented out in 1.7, 1.8 and 1.9, preceded with this comment: "Should the following two be in this block?" Unfortunately they have never been re-located to any other block so far. Having only recently upgraded from 1.6 to 1.8 I am missing this link very much and I am surprised that no-one has ever raised the question since 1.7 was introduced... anyway, please can someone *urgently* comment out those lines in in blocks>admin>block_admin.php to restore those links?

All the best,

Joseph