Showcase more popular pages on homepage

Bug #901894 reported by François Marier on 2011-12-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
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).

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)

François Marier (fmarier) wrote :

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

description: updated
Melissa Draper (melissa) on 2011-12-28
Changed in mahara:
assignee: nobody → Melissa Draper (melissa)
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) on 2012-01-05
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
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).

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

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  Edit
Everyone can see this information.

Other bug subscribers