Modify

Ticket #544 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

Show most active members

Reported by: and Owned by: dave
Priority: major Milestone: 4.3 Beta1
Component: AuthorProfile Severity:
Keywords: Cc:
Who will test this: And

Description (last modified by anna) (diff)

Devise a way to show the 10/20 most active members on the site as a way of developing community.

Do this as a portlet in the bottom of the right column. We may want to re-purpose the design of this info in the re-design.

Attachments

Change History

comment:1 Changed 2 years ago by and

  • Milestone changed from 4.3 Beta (Re-Design of EM.org & Plumi) to 4.2 Beta (Features - Content Sharing Focus)

Wondering if this is possible for 4.2. Could be a simple but very nice feature.

comment:2 Changed 2 years ago by anna

  • Owner set to dave
  • Component changed from Architecture to AuthorProfile
  • Description modified (diff)

comment:3 Changed 2 years ago by dave

  • Status changed from new to closed
  • Resolution set to ready for testing

I have done this via creating an em.topcontributors (I used the same naming convention as em.taxonomies) you can see it in action here on the right, obviously without design considerations :  http://testing.plumi.org:16080/Plone

I have set it up so that you can configure the number it shows via the manage portlets link.

I have a number of concerns only in regard large sites as it may be an intensive call on the catalog.

Not sure if I have access to EM's svn repository to upload it there alongside em.taxonomies, it may also be worth making a more generic portlet that can be added multiple times with the admin being able to choose the content type it is based on, currently it is fixed to PlumiVideo?.

comment:4 Changed 2 years ago by dave

  • Status changed from closed to reopened
  • Resolution ready for testing deleted

Considering there are other portlets that also need to be done, this should be changed to em.portlets to contain them all, rather than specific to just the one.

I am reopening this to that end.

comment:5 Changed 2 years ago by dave

  • Status changed from reopened to closed
  • Resolution set to ready for testing

This has been done in em.portlets, allowing all the custom portlets to be collated in one tool

comment:6 Changed 2 years ago by anna

this is great. only small changes i think here are design aspects:

  1. remove number next to author pic - i think this is unnecessary
  2. make author pic smaller - i would say half the height/width dimensions
  3. make sure author name sits below pic (right now the top contributor's name sits alongside the author pic)
  4. centre-align the author name below the author pic

two questions:

  1. regarding the intensive nature of catalog calls - is there anything we can do to mitigate this? can caching help here? is it likely to be much of a problem on EM.org?
  1. regarding the top contributors - are they the top contributors since the portlet has been installed? is there any way to control this time period, so that you could have it calculate the top contributors over a monthly period, or simply manually reset this in the modify portlet page? if it was reset-able then it would enable site admins to turn this over a bit. this would avoid the case of someone who contributed a huge amount in Jan & Feb, still being top contributor in March if they did not contribute at all during March.

comment:7 Changed 2 years ago by anna

  • Status changed from closed to reopened
  • Resolution ready for testing deleted

comment:8 Changed 2 years ago by and

Heyas, just looking at this. Couple of questions

  • share the concern about the portlet not really turning over very much, better to be based on the last week/month.
  • i'd call it 'active members' rather than top contributors - as someone might post 50 vids and then disappear for a year.
  • can the images be smaller so that 4/5 fit in the portlet.
  • my original vision (sorry I never specced it out - didn't realise this was getting looked at so soon) was based on this  http://globalvoicesonline.org/#tabContent4. The idea was really to show 10/20 people, not just a few, worried that the top few might not change. Is there anyway of doing that, and just having a small portlet that points people there?

comment:9 Changed 2 years ago by dave

I have this set at the past month, this should help, atm I am trying to scale and crop the images so they are square (and this same code could be used for the video images to make them nice and neat too, but first I'll get it right here)

With regard the amount of images that show, this is done when you add the portlet. 'Manage portlets' links left and right. You can configure it to however many portraits you wish :)

comment:10 Changed 2 years ago by and

Cool.

2 things

  • How easy would it be to exclude people from it, basically I'm thinking EM staff might top the list due to their extra activity (doesn't need to be coded now as it might not actually be a prob, but wondering about it.
  • is it possible to direct the portlet to a full page that shows more than 5 members at a time? Or some other funky way of showing more than 5 without messing with the design.

comment:11 Changed 2 years ago by dave

1/ it would need to be added to the config as an entered list of users, and integrated into filtering the search results.

2/ I could do some sort of popout in css .. having all the images pre-loaded but it would take some concept work on how it was to work, the other option is to code up a page template that does the job, simply using a pythonscript.

comment:12 Changed 2 years ago by and

I'd go for the simple option, how much work do you think the page template is?

comment:13 Changed 2 years ago by dave

Wouldn't be that hard, I have it almost done just need to know if this is limited to a certain amount of users to show .. an upper limit.

comment:14 Changed 2 years ago by and

I'd say 20 max.

comment:15 Changed 2 years ago by dave

  • Status changed from reopened to closed
  • Resolution set to ready for testing

This needs some further input as to direction, the page looks a little bland.

comment:16 Changed 2 years ago by and

Looking good. Can we limit the portlet to the top 4 members? Also I'd suggest pushing them closer together, perhaps 2 to a line?

Also could the header "Active Members" also be a link to the full page?

Lastly on the full page be good if the names sat flush under the images and the Active Members title up the top would be good also.

comment:17 Changed 2 years ago by and

  • Status changed from closed to reopened
  • Resolution ready for testing deleted

comment:18 Changed 2 years ago by dave

  • Status changed from reopened to closed
  • Resolution set to ready for testing

comment:19 Changed 2 years ago by and

  • Status changed from closed to reopened
  • Resolution ready for testing deleted

Nice one Dave. 2 small things

  • the images are pushed slightly to the right, better in the centre of the portlet
  • looks like there isn't a limit on it, looking at the size now I reckon 6 would be fine.

comment:20 Changed 2 years ago by dave

1/ fixed offset 2/ When you manage the portlet, you can set the limit whatever you like, there is a text box and you just place the number limit in it.

comment:21 Changed 2 years ago by and

  • Status changed from reopened to closed
  • Resolution set to fixed

OK, great stuff, esp. like the config feature! Closing.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.