#89 ✓resolved
Kieran P

User portraits

Reported by Kieran P | October 15th, 2008 @ 01:37 PM | in 1.2

In order to add the user portrait or “avatar” feature we will: * Create a new “join model” that describes a new relationship between the User and StillImage models that designates “a user has many user portraits that are certain still images” * This join model should have an attribute that designates one of the user's portraits as the user's current avatar or default portrait by being the first portrait, use acts_as_list and a position attribute to do this. See other join models (content_item_relations) for example code. * On image detail pages, if the user was the creator of the image, provide a link to an action that will add the mapping of the image as one of the user's portraits and their new avatar * Add look up the of avatar to user account show action in the controller and its display in the user profile template * Add display of the smallest version of the avatar image wherever users are listed. For example next to their comments.

Comments and changes to this ticket

  • Walter McGinnis

    Walter McGinnis October 28th, 2008 @ 10:01 AM

    By the way, we want a system setting in Accounts section for turning off user portrait display completely (and interface to add them), so that legacy sites can turn it on if they want it or keep it off if they don't.

    Off by default.

    Cheers, Walter

  • Kieran P

    Kieran P October 28th, 2008 @ 03:20 PM

    A system setting to enable/disable user portraits altogether has been pushed.

    Regards Kieran

  • Kieran P

    Kieran P November 18th, 2008 @ 09:06 AM

    • State changed from “new” to “resolved”

    Work has been merged into master. Resolving ticket.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket

Pages