Skip to content

Commit

Permalink
OUBlog: Participation statistics #9221
Browse files Browse the repository at this point in the history
  • Loading branch information
athompson697 authored and sammarshallou committed Jul 29, 2014
1 parent 073a538 commit 56bda82
Show file tree
Hide file tree
Showing 13 changed files with 1,491 additions and 356 deletions.
1 change: 1 addition & 0 deletions allposts.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
if ($oublog->statblockon) {
// 'Discovery' block.
$stats = array();
$stats[] = oublog_stats_output_participation($oublog, $cm, $oublogoutput, $course, true);
$stats[] = oublog_stats_output_commentpoststats($oublog, $cm, $oublogoutput, false, true);
$stats[] = oublog_stats_output_visitstats($oublog, $cm, $oublogoutput);
$stats[] = oublog_stats_output_poststats($oublog, $cm, $oublogoutput);
Expand Down
24 changes: 13 additions & 11 deletions internaldoc/participation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ Participation is defined as:

=== Capability Requirements ===

A user will be considered to be participating in the blog if the blog is a course blog (not a global blog), the
blog is not a group blog or the user belongs to the current group and the user has access to post or comment on the blog.
A user will be considered to be participating in the blog if the blog is a course blog (not a global blog),
the blog is not a group blog or the user belongs to the current group and the user has access to post
or comment on the blog.

A user who has the capability '''mod/oublog:viewparticipation''' and has access to the current blog
can view all user participation, subject to the groupmode settings and their membership of those groups.
Expand All @@ -21,21 +22,22 @@ personal membership).

=== Participation Page Display ===

The button displayed to the user to access the participation screens will disply accordingly.
The button displayed to the user to access the participation screens will display accordingly.
A user with access to all users participation will see a button labelled '''Participation by user'''
whereas a user with access to only their participation will see '''My participation'''. These appear
above the topmost blog post visible (below the group selector if applicable).
This appears above the topmost blog post visible (below the group selector if applicable).
A user with access to only their participation, will see in the Blog usage panel
'''My participation summary'''.

The different buttons will take the user to two different screens respectively - one showing all participants
and an overview of their participation and one only showing a single users participation but with more detail for
their actual participation.

If a user has access to all users they can also view detailed information per user via a '''Detail''' link which appears
next to the users full name in the table.
These will allow the user two different views respectively - one showing all participants
and an overview of their participation and one only showing a single users participation but with more detail
for their actual participation.

If a user has access to all users they can also view detailed information per user via a '''Detail'''
link which appears next to the users full name in the user participation table.

The participants to display is as follows:

{| border="1" style="text-align: left;"
!Groups
!Is current group member
!mod/oublog:viewparticipation
Expand Down
2 changes: 1 addition & 1 deletion internaldoc/testcase.access.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ CRE08-CS / Logged in as US1.

BSC Basic usage
===============
Copy the url of the blog CRE01 from the address bar. https://at4737.vledev2.open.ac.uk/ou-moodle2/mod/oublog/view.php?id=2726
Copy the url of the blog CRE01 from the address bar.

Either close the current browser so there are no currently open browser sessions,
or open a different browser.
Expand Down
Loading

0 comments on commit 56bda82

Please sign in to comment.