User Profile Page

Project:Course Design Centre
Component:Code
Category:feature request
Priority:normal
Assigned:harini
Status:patch (code needs work)
Description

Modify the user profile page to include user avatar image. The user profile page should include blocks with details about their Bio, contributions made, courses they are part off, etc,

A profile summary should also come on the home page of a course under authors. The profile summary should have a smaller avatar image with a brief about the author and link to detailed profile page.

25 May17:02

#1

By harini
Assigned to:Anonymous» harini
25 May17:02

#2

By harini

Avatar being a user uploaded image only right?

26 May04:14

#3

By sandy

That is right.. Lets support user uploading their images, resizing them to fit properly in case the size of the image is large. Also lets have images of 2 sizes , one for a profile summary of size say 75 x 75 and profile page say of size 125 x 125. There are some ready modules which should do the trick, I think

27 May05:58

#4

By harini
Status:active» patch (code needs work)

Have done some work on the User Profile Page.

The page - The page is quite easily created as a new content type node with the CCK modules. Any fields we need can be added or removed. Also only particular fields can be displayed in the teaser. So if we have say only the bio field displayed, it should work fine. The block can be shown only on the home page of the course with a link to the full profile.

The image - There is a module called "Image" that allows attaching images to nodes directly and specifying different display sizes in the teaser and the full view of the node. Fits our requirements almost perfectly.

Auto create profile page - Another module called "node_factory" gives easy functions to create node in code itself. I have disabled 'creating a profile' permission for users and used functions in the user login module to automatically create a profile page for the user every time a new user is created. This way the user only has to edit the profile page and cannot make more than one profile for himself.

Harini

28 May06:29

#5

By sandy

Think that should be fine.. We need to create some blocks to show a profile brief on course home for the authors. Besides we may turn on blogs at some point in time and therefore the profile brief should adjacent to user blog as well.

Copyright 2009 KenElements. Powered by Open Source Software from projects like Apache, Drupal, Linux, MySQL, PHP, JQuery