User picture block

Categories

Component ID

855504

Component name

User picture block

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

4535

Component created

Component changed

Component body

Create just one block with the logged on user's picture, if he/she has one. In addition, User titles, points and badges are also displayed, if there are any.

After installation, go to Site building > Blocks and enable the block.

It probably makes sense to only enable for authenticated users, and perhaps only on specific pages.

Allow customisation though css and several variables can be added to settings.php:
$conf['user_picture_block_showuser'] = '0'; // disable username display
$conf['user_picture_block_title'] = ''; // custom title
$conf['user_picture_userlen'] = '10'; // trim username
$conf['user_picture_logout'] = '0'; // show logout link

D7 status: initial beta, User titles, points and badges not yet integrated.

This module was developed for a 2011 version of the Swisscom Labs.