Patch (to be ported)
Project:
Avatar Blocks
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 Jul 2008 at 03:14 UTC
Updated:
5 Nov 2010 at 04:09 UTC
Jump to comment: Most recent file
Comments
Comment #1
roopletheme commentedI 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!
Comment #2
roopletheme commentedComment #3
kmillecam commentedHere'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
Comment #4
baxterjones commentedhi,
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
Comment #5
roopletheme commentedHere'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.
Comment #6
baxterjones commentedhi, 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
Comment #7
roopletheme commentedThe 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.
Comment #8
baxterjones commentedthanx, 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
Comment #9
andant commentedThis is working well for me in D6. Will report any problems that arise, but so far so good.
Thanks for the port.
Comment #10
dRaz commentedIn 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.
Comment #11
bgogoi commentedthank you very much
Comment #12
zilla commentedyou 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)
Comment #13
HS commentedThanks Zilla!
Comment #14
Rosamunda commentedsubscribing
Comment #15
Rosamunda commentedChanging title for better tracking.
Comment #16
HS commented#5 from roopletheme works great on Drupal 6.8. Thank you for the module. Love it!
Comment #17
expatme commentedsubscribing +1
Comment #18
charles_elwood commentedsubscribing
Comment #19
farald commentedsubscribing:)
Comment #20
playfulwolf commented+1
Comment #21
HS commentedDownload zip in comment #5 from roopletheme works great on Drupal 6.9. I've been using it for two months now
Comment #22
Stefanos Karagos commentedsubscribing
Comment #23
kevster111 commentedGreat module, can it be incorporated with views or og or both. og members avatar block etc.
Comment #24
maria_zk commentedsubscribing
Comment #25
jpshayes commented+1
Comment #26
jpshayes commentedzip in comment #5 working great for me running 6.14
Thanks
Comment #27
HS commentedI 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
Comment #28
bendev commented+1
Comment #29
gothica commentedhow can I make that this module can output all avatars, but not only 10?
Comment #30
hugafish commentedAwesome, I am just beginning the 4th phase of my live site for some new improvements and this is exactly what I have been waiting for. I am using 6.15 and will start using and testing this module very soon. I will also look into that views thing in post#12 from Zilla. I see no reason to not have both actually for my site.
Thanks roopletheme
Eric
Comment #31
aac commentedSubscribing!!
Comment #32
danreb commentedsubscribing...
Comment #33
alcoder commentedHello. This all can be done using Views, Imagecache, ImageCache Profiles.
Comment #34
jpshayes commentedI have used the module in #5 and it works great. I have also done it with views.
I just helped someone do it with views in the forum
http://drupal.org/node/756932#comment-2803970
Comment #35
azwildcat commentedIn response to node 756932 - Thanks for the work but it doesn’t look right. In the attachments, you’ll see that the avatars are not properly aligned in the block and in the profile page, the avatars are very large and all over the place. I’m using this because the Avatar Blocks module for Drupal 6 does not sync the avatars when a user changes his picture. Eventually, the new avatar will be displayed in the block but it takes quite some time. So I tried using this method and it does sync new avatars on the fly but it clearly does not look as clean. Moreover, I would like to see a border around the avatars and equal spacing between avatars from side-to-side and top-to-bottom to give the block a consistent look. Thanks again.
Comment #36
jpshayes commentedLets respect the issue queue and talk over at http://drupal.org/node/756932 please
Comment #37
druupydog commentedHere is a patch file I put together for Avatar Blocks 6.x based on the avatar_block_duplicate_users.patch file for avatar_blocks-5.x-1.2.
This solves the problem with duplicate avatars appearing in the blocks.
Comment #38
hugafish commentedSo far I've been using this module for Drupal 6 on my live site since around March 2010 with no issues. I would like to see it have multiple block instances so I could create individual blocks for different type of roles. Great job roopletheme!!! I did turn on the download count module and the images disappeared, but that was because the image files were being filtered out for that module and somehow affected this module. No big deal here for me. One other thing that would be awesome would to be to have the who's online block use ajax code to make it very live for the type of users on my site. This may be asking for too much though and completely understand if not done.
Eric
Comment #39
hugafish commentedWell actually this problem did come back, but corrected itself when the image cache for my small images was purged. So I guess this could be a problem with the image cache module after a period of time or site usage goes by. Not a big deal, I can just purge it once in awhile!
Eric
Comment #40
yngens commentedsubscribe