Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/userstats #120

Merged
merged 20 commits into from
May 8, 2023
Merged

Feature/userstats #120

merged 20 commits into from
May 8, 2023

Conversation

TamaroWalter
Copy link
Contributor

#61
The new feature allows a teacher to see the course wide activity and statistics of users in a moodleoverflow forum.

In a Moodleoverflow forum there is a new button "view user statistics":
userstats1

By clicking on this button, the teacher will be redirected to a new page with a table that shows the upvotes and downvotes that the user has received, the activity of a user (a sum of submitted posts and submitted ratings), and the user reputation.
userstats2

In default mode, the table is sorted after the user reputation in descending order, but you can sort after a different column and change the sort order (to ascending or descending order)
userstats3
userstats4

By clicking on "moodleoverflow" in the site header, the teacher will be redirected back to the forum.

classes/tables/userstats_table.php Outdated Show resolved Hide resolved
classes/tables/userstats_table.php Outdated Show resolved Hide resolved
classes/tables/userstats_table.php Outdated Show resolved Hide resolved
classes/tables/userstats_table.php Show resolved Hide resolved
classes/tables/userstats_table.php Show resolved Hide resolved
classes/tables/userstats_table.php Show resolved Hide resolved
}

// Functions that show the data.
public function col_userid($row) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete ID From the final Table

userstats.php Show resolved Hide resolved
userstats.php Show resolved Hide resolved
@NinaHerrmann
Copy link
Contributor

I am quiet happy with the pull request however, as I was looking at it in production there are some minor improvements.

  1. Amount of activity - need to be explained to the teacher - which activity counts how much?

@NinaHerrmann
Copy link
Contributor

Moreover, requires a a version increment as a capability is added.

@acquaalta
Copy link

@NinaHerrmann Hi Nina, Do you have any estimate when you'll release on "Moodle Plugins" website a new version of the plugin that includes this feature? Thanks

@NinaHerrmann
Copy link
Contributor

Hey @acquaalta,
We are working on a release most likely it will be released next Monday 👍🏻

@acquaalta
Copy link

Thank you :-) I'll wait patiently.

@NinaHerrmann
Copy link
Contributor

A little bit late but we have the release published today 👍

@TamaroWalter TamaroWalter deleted the feature/userstats branch May 23, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants