Avatar Blocks: Drupal 6.x

bgogoi - July 25, 2008 - 03:14
Project:Avatar Blocks
Version:5.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:roopletheme
Status:reviewed & tested by the community
Description

Hello

When are you planning to release the D6 version of this great mod?

Thanks

#1

roopletheme - July 26, 2008 - 21:50

I don't have an immediate need for a D6 version of this module, and I've got a lot of other immediate needs. But I expect that I will have such a need in the future... possibly the near future. I will share as soon as I do the work.

In the mean time, I'm accepting patches!

#2

roopletheme - July 26, 2008 - 21:51
Category:feature request» task
Assigned to:Anonymous» roopletheme
Status:active» postponed

#3

kmillecam - August 6, 2008 - 03:07

Here's an attempt at converting avatar_blocks.module to run on D6.

I ran it through coder and took care of the problems it identified.

Then, I installed it and ran into an issue where theme_user_picture() had to be changed to theme('user_picture', $online_member)

To remove the calls to the db_num_rows() function, I pretty much looked at the D6 version of the user.module for direction.

The good news is I believe I got rid of all the errors.
The bad news is I'm not seeing any output :(

Hopefully this file will help someone else who wants to give it a shot.

Kevin

AttachmentSize
avatar_blocks.zip 12.55 KB

#4

snowvirus - August 6, 2008 - 11:04

hi,
has anybody had a chance to look at the avatar block?
is anybody using it for Drupal 6.x, if so please post the module here.

thanx

#5

roopletheme - August 7, 2008 - 10:40
Status:postponed» needs review

Here's a working 6.x version. I'll post an official release once I clean up a few details. In the mean time, it would be great to get some feedback from anyone who has a chance to test it.

There's no buddylist block because there's no buddylist module. However, this version does provide a User by Role block. It will display the Avatars of users who are granted a role that you select. There's also an option to set a 'Default' imagecache preset that applies to all blocks. You can still override this default by setting the preset of each block separately. But if you're using the same preset for every block, you no longer have to specify the preset for each block... just configure the default preset at yoursite/admin/settings/avatarblocks.

AttachmentSize
avatar_blocks-6.x-1.3dev.zip 6.21 KB

#6

snowvirus - August 13, 2008 - 07:42
Category:task» feature request

hi, i have tested this module a little... my code writing is not good at all so i didn't have a look at that, but i have a few feature requests which i think will be a great improvement to this module.

1. Allow pictures sizes to be different from profile picture settings. e.g. if i set my profile pics to be 90 X 90, and i want the avator block to show say 50 x 50 avators then i should be able to set it.

2. Show and hide usernames under profile images/avators. but the name is say only 10 characters long, the rest of the name (if a user has a name like shopenhouer it will show the whole name, if the name is say supercalofrenjalistic then it would be cut off at the 10th character and then simply 3 dots are added to the end of the name) this is to help with a better look and to keep the avator block neat and tidy.

do you think any of this is possible roopletheme?

thank for developing the 6.x version of this module, great :D

#7

roopletheme - August 13, 2008 - 12:17

The first feature is already implemented using the interface to imagecache. You can size, scale, and crop the user pictures independently for each block. Read more here. You can see this feature in action by creating an account on the AvatarBlocks demo site, and then uploading a non-square picture.

The second feature is fairly easy to achieve using a simple theme override. You can see some documentation and a sample here.

#8

snowvirus - August 14, 2008 - 11:00

thanx, roopletheme

i will be testing some of the features on the avator block website... to get a more customizable look for the site i'm creating.

will let you know here how i created certain features or how i got nitty gritty formatting correct. if you want me too. :D

#9

andant - September 29, 2008 - 00:45

This is working well for me in D6. Will report any problems that arise, but so far so good.

Thanks for the port.

#10

dRaz - October 25, 2008 - 09:38

In IE7 (Drupal 6.5) the avatar images have all slipped to the right into the "centre section" of the theme.

I have tried this with multiple themes and always the same problem.

Any ideas?

*FIXED: in the .css file you simply change the image to float "left". This does not affect the view in Firefox and it corrects the view in IE7.

#11

bgogoi - October 24, 2008 - 03:16

thank you very much

#12

zilla - October 25, 2008 - 19:31

you can also create a supercool slideshow block that shuffles through user pictures (avatars) using views without this module to generate a page or block - there's a tutorial at this guy's site that actually uses views slideshow module with views to do this, and the example is in fact user profiles:

http://www.drupaltherapy.com/screencasts (see views and views slideshow tutorial, very easy)

#13

HS - November 25, 2008 - 05:12

Thanks Zilla!

#14

Rosamunda - December 13, 2008 - 21:01

subscribing

#15

Rosamunda - December 13, 2008 - 21:02
Title:d6?» Avatar Blocks: Drupal 6.x

Changing title for better tracking.

#16

HS - December 17, 2008 - 23:28

#5 from roopletheme works great on Drupal 6.8. Thank you for the module. Love it!

#17

expatme - January 13, 2009 - 02:10

subscribing +1

#18

charles_elwood - February 1, 2009 - 20:11

subscribing

#19

hamaldus - February 17, 2009 - 10:18

subscribing:)

#20

PlayfulWolf - February 26, 2009 - 21:28

+1

#21

HS - February 28, 2009 - 20:28

Download zip in comment #5 from roopletheme works great on Drupal 6.9. I've been using it for two months now

#22

Stefanos Karagos - March 3, 2009 - 08:22

subscribing

#23

kevster111 - April 12, 2009 - 05:12

Great module, can it be incorporated with views or og or both. og members avatar block etc.

#24

maria_zk - June 27, 2009 - 04:06

subscribing

#25

JPSH - October 31, 2009 - 04:11

+1

#26

JPSH - November 1, 2009 - 05:36

zip in comment #5 working great for me running 6.14

Thanks

#27

HS - November 15, 2009 - 15:35
Status:needs review» reviewed & tested by the community

I can't believe this hasnt been released for Drupal 6.x yet??

This works on Drupal 6.x and has been tested without any issues by a few people now - http://drupal.org/node/286990#comment-954105

#28

bendev - November 17, 2009 - 21:37

+1

 
 

Drupal is a registered trademark of Dries Buytaert.