Showcase more popular pages on homepage

Bug #901894 reported by François Marier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Triaged
Wishlist
Unassigned

Bug Description

In order to promote popular pages (views) that people have created on Mahara sites, we should have an option (enabled by default) to display the most popular (by number of page views) pages on the site.

When logged out:
- most popular pages that are publicly accessible

When logged in:
- most popular pages that are accessible to logged-in users (which includes the above public pages)

For now, the display of these pages will consist of showing the name of the page as well as the display name of the author (or group in the case of group pages).

In order to add a bit of variety, that listing should display 10 of the most popular pages, randomly taken from the set of the top 30 most popular pages. The number of pages to list on the frontpage could be customizable with the total set being 3 times the number of random pages picked from it (e.g. 25 on the frontpage -> set of 75).

Tags: frontpage
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

I think you got the "logged-in" and "logged-out" confused. I think it should be:

When logged out:
- most popular pages that are publicly accessible

When logged in:
- most popular pages that are accessible to logged-in users (which includes the above public pages)

Revision history for this message
François Marier (fmarier) wrote :

Indeed. I've updated the bug description to reflect that.

description: updated
Melissa Draper (melissa)
Changed in mahara:
assignee: nobody → Melissa Draper (melissa)
Revision history for this message
Melissa Draper (melissa) wrote :

https://reviews.mahara.org/#change,964 is a preliminary patch for this. The icon for the blocktype is ugly but serves its purpose right now. Will get a better one done later on. Have also requested feedback at http://mahara.org/interaction/forum/topic.php?id=4279

Melissa Draper (melissa)
Changed in mahara:
status: Confirmed → In Progress
Changed in mahara:
milestone: 1.5.0 → none
Changed in mahara:
status: In Progress → Triaged
assignee: Melissa Draper (melissa) → nobody
Revision history for this message
Peter Smith (p-smith) wrote :

I wonder if this patch will be revived. It seems like a very sensible request ... if not, is there any reason why I shouldn't try and integrate it into my code-base (i.e., does it conflict with anything in the pipeline).

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hi Peter,

This feature would need a bit more work (see my comment on https://reviews.mahara.org/#change,964 ), but if you want to use it as it, you can go ahead and put it on your 1.7. However, since it was developed on the 1.5 codebase, some thing might be out-of-date.

We haven't yet had time to finish this as bug fixing and client work has come inbetween, but it's still in the review system for anyone to pick up and finish if they like.

Cheers
Kristina

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :
Revision history for this message
Aaron Wells (u-aaronw) wrote :

I extracted out just the blocktype from the patch and gave it a quick test in a new 1.8 installation, and it worked, with a few warning messages.

So, I've packaged the blocktype in a zip file and put up a link to it on the Mahara plugins page on the wiki: https://wiki.mahara.org/index.php/Plugins#Blocktype_Plugins

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.