Limit number of users shown in online users block

Bug #794368 reported by François Marier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Stacey Walker

Bug Description

The online users sideblock can get very large (and make the page ridiculously long) on a busy site.

We should put a limit on the number of online users that get displayed, then we should have a "see more" link which leads to a new page that shows the whole list.

Tags: newfeature
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/293
Committed: http://gitorious.org/mahara/mahara/commit/490b220d5fefdbf709168ac67a5decce55151fdb
Submitter: Francois Marier (<email address hidden>)
Branch: master

commit 490b220d5fefdbf709168ac67a5decce55151fdb
Author: Stacey Walker <email address hidden>
Date: Tue Jun 7 13:11:46 2011 +0100

    Limit users in online side block

    bug#794368

    Change-Id: I5d658b6da7591accb5680a812f8759a2384ae5ac
    Signed-off-by: Stacey Walker <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Note: You can find this feature under Site Administration -> Configure Site -> General Settings.

Revision history for this message
Richard Mansfield (richard-mansfield) wrote :

The online users page should make sure users are only displayed once. Currently users who are in more than one institution can be displayed twice in the list.

Changed in mahara:
status: Fix Committed → Confirmed
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/547
Committed: http://gitorious.org/mahara/mahara/commit/f44a515990e561d69be4787e22edba87763ef094
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit f44a515990e561d69be4787e22edba87763ef094
Author: Hugh Davenport <email address hidden>
Date: Mon Aug 1 12:21:15 2011 +1200

    Remove duplicate users when showing online users

    Happens when all the users institutions have selected at most
    Institution only for displaying online users. If a user was in
    more than one institution as another user, then the user was displayed
    twice (or multiple times)

    This patch adds a DISTINCT condition to the select statement, which only
    displays the users once

    Bug #794368

    Change-Id: I106072cf2063d889fc6451ff57ee1d2dd94ebb67
    Signed-off-by: Hugh Davenport <email address hidden>

Changed in mahara:
status: Confirmed → Fix Committed
tags: added: newfeature
Revision history for this message
Melissa Draper (melissa) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjqdlAAoJECXBtiziiXdcxeoH/iQi1ljFCaDUrA07cq6IAZga
p3Tw7VRtZBy6Cl5NwOFg1b4/DsqFIM9fQPb+WpJqUAcTVP6B44QElOCtb0ldeZCw
cgWlkkSj1jk/gpCdKhCZ2MMHkRjMao5ZpUyF4vSO26tIiYcvPIhRoF6uWu0Z40xe
1wee4ZKGEEvO13bujMyuu4nEQSd9TK5VWPn+PbIKFEyJgCY19Zw62fWBXoanPbWj
LDuO9AnaQOPyVEx2qtoH8M5LFra2zq+dZ9Ac7oAiLffcWJAB9MqL8o2zbQHpOuVi
Ynrh6BIyUYaqdt1BhALrJ6/MQ0h7mDKGy8CVg0z4e2VHyxecYwc84kwzrItH7I0=
=mdeb
-----END PGP SIGNATURE-----

Revision history for this message
Melissa Draper (melissa) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjrRzAAoJECXBtiziiXdcggYH/39bWTAPjHe9fUi3ve11K6iW
/R7j+mSc51e/47Cx0Z1Xv1HkDY0ymFLyRU/4CgErzWLWtrlSVhDx/r3gf8aHj+A+
ICmHRmTTCRBij5sKZVZbzZDN/t9drPvJ1u1dWcagGR2DiXoxAa9Kd2LUXKScRvS6
DqhQWj42JiOoo1R1FGFLa8dpPwlzwuLKyQQ6gvdDutva0E3RqktUUBy8w6ieMG6E
UM/K4sdgx7AAhfBxg91349DOjKeHE/69Vb1gbJXE9UtY/xwe+3sgBtAM7aN4e5US
PhBcGckRLkgxpwLwDzTNGuDHFp51OjIdqXaoRAxXx3tgOonY2bs/eqg42RJBcR4=
=dLjM
-----END PGP SIGNATURE-----

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.