Avatar Wall v1.0

Release Notes

image

Show all your community members on one page

Features:
 - configure max avatars
 - with or without custom avatar
 - tiny or small icons 

Version History
1.0
 - first release to the public

ColdTrick IT Solutions
(C) 2009 ColdTrick IT Solutions

  • Oh sry, it shows all your community members on one page.... nothing more, nothing less

  • That's pretty cool. Doesn't really do much but like it!

  • @Jeroen Dalsem: Seeking a little more clarity on what thie plugin does - Are all the Avitars displayed  (clickable) and linked to the user profiles?

  • @Marcus all are clickable and linked to the profile

  • Do you have a to do list on this or are you finished.

    The reason I'm asking is I was wondering about pagination. As this couldn't be used on our site without it. I'd love to use this, but I'm not sure how I could use it without some sort of pagination

    Good job. You keep coming up with good stuff

  • Hi Jeroen,

    Would be nice if there's an option to show only the most active or members with most friends. :)

  • Hi it is not working if i am using vazco_avatar can you guide me how to use with vazco_avatar please

  • @ankurdhoom it seems that the vazco_avatar plugin does something strange with the icons. Best is if the vazco_avatar plugin makes sure the icons are handled like the default icons do. I am using the default functions of Elgg for displaying avatar icons, vazco should hook in to that, so there will be no compatability issues.

  • Is there a way it can be configured for featured profiles that the admin can set.

  • i'm tring to do the same with groups ...is this correct? how can i do, in better way, to see from the first group to last....here i can show  the latest group to the first? thanks in advence

     

    $users_max = get_plugin_setting("maxIcons","avatar_wall");
        if(!$users_max) $users_max = 300;
       
        $onlyWithAvatar = get_plugin_setting("onlyWithAvatar","avatar_wall");
        if(empty($onlyWithAvatar) || $onlyWithAvatar == "no"){
            $users = get_entities('user','',null,null,$users_max,0);
            $groups = get_entities('group', '', 0, '', $users_max, 0, false, 0, null);
        } else {
            $users = get_entities_from_metadata('icontime', '', 'user', '', 0, $users_max);
            $groups = get_entities_from_metadata('icontime', '', 'group', '', 0, $users_max);
        }
       
        $wallIconSize = get_plugin_setting("wallIconSize","avatar_wall");
        if(!$wallIconSize) $wallIconSize = "small";
        shuffle($users);
        $body .= elgg_view_title(elgg_echo('avatar_wall:title'));
       
        // Format page
        $body .= elgg_view_layout('two_column_left_sidebar_maincontent', $title . elgg_view('avatar_wall/wall', array('users'=>$users, 'wallIconSize'=>$wallIconSize)));
        $body .= elgg_view_title(elgg_echo('avatar_wall:title'));
        $body .= elgg_view_layout('two_column_left_sidebar_maincontent', $title2 . elgg_view('avatar_wall/wall', array('users'=>$groups, 'wallIconSize'=>$wallIconSize)));

  • how  can i introduce also:

     

    $featured_groups = get_entities_from_metadata("featured_group", "yes", "group", "", 0, $users_max, false, false, false);

    is this correct:

    $users_max = get_plugin_setting("maxIcons","avatar_wall");
        if(!$users_max) $users_max = 300;
       
        $onlyWithAvatar = get_plugin_setting("onlyWithAvatar","avatar_wall");
        if(empty($onlyWithAvatar) || $onlyWithAvatar == "no"){
            $users = get_entities('user','',null,null,$users_max,0);
            $groups = get_entities('group', '', 0, '', $users_max, 0, false, 0, null);
            $featured_groups = get_entities_from_metadata("featured_group", "yes", "group", "", 0, $users_max, false, false, false);
        } else {
            $users = get_entities_from_metadata('icontime', '', 'user', '', 0, $users_max);
            $groups = get_entities_from_metadata('icontime', '', 'group', '', 0, $users_max);
            $featured_groups = get_entities_from_metadata("icontime", "yes", "featured_group", "", 0, $users_max, false, false, false);
        }
       
        $wallIconSize = get_plugin_setting("wallIconSize","avatar_wall");
        if(!$wallIconSize) $wallIconSize = "small";
        shuffle($users);
        $body .= elgg_view_title(elgg_echo('Member Wall'));
       
        // Format page
        $body .= elgg_view_layout('two_column_left_sidebar_maincontent', $title . elgg_view('avatar_wall/wall', array('users'=>$users, 'wallIconSize'=>$wallIconSize)));
        $body .= elgg_view_title(elgg_echo('Group Wall'));
        $body .= elgg_view_layout('two_column_left_sidebar_maincontent', $title2 . elgg_view('avatar_wall/wall', array('users'=>$groups, 'wallIconSize'=>$wallIconSize)));
        $body .= elgg_view_title(elgg_echo('Featured Group Wall'));
        $body .= elgg_view_layout('two_column_left_sidebar_maincontent', $title2 . elgg_view('avatar_wall/wall', array('users'=>$featured_groups, 'wallIconSize'=>$wallIconSize)));

    thanks!

  • Thanks lord? it creative!

  • make it works for 1.6 or it is ?

  • Can you show up only members who are your friend? It would be great if it only showed those who are your friends so you can put it somewhere on your profile and people who visit your profile can see who you're a friend of.

    Thanks!

  • Works fine on 1.61

    Anway to get the users name to appear under there icon, kinda like ,myspace, or something like it??

  • Anyone got any ideas about pagination, that would be awesome

  • @Jeroen

    Look at your wall.php line 6 at the end. Instead <a/>"; it should be </a>";

     

    best regards

  • This would be cool with tags, and pagination.

    you could pick your location or likes and then the pictures display, what an awesome way of getting people uploade Real Life pictures and encouraging random interaction.

  • Jereon,

       Awesome plugin. I was using your logic to add this kind of avatar wall to a custom index page. I wrote my own custom index plugin to display my own html/php page. And I wanted to add an avatar listing on my index page but am having a little issue. Below is the snippet of code that appears in the body of my index page. Would you be so kind as to give it a look and see why nothing appears. I did echo Count($users); and it was the correct number of users, so I am getting all the users, but do you know why don't they display when I echo them?

     

     

    <?php

    // Start engine from original plug, don't need it

    /* require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); */

    $users_max = 1000;

            $onlyWithAvatar = "no";

    if(empty($onlyWithAvatar) || $onlyWithAvatar == "no")

      {$users = get_entities('user','',null,null,$users_max,0);} 

    else 

      {$users = get_entities_from_metadata('icontime', '', 'user', '', 0, $users_max);}

               $wallIconSize = "small";

    shuffle($users);

    foreach($vars['users'] as $user){

    echo "<a href='" . $user->getURL() . "'><img class='avatars' alt='" . $user->name . "' src='". $user->getIcon($vars['wallIconSize']) . "'></a>";

    }

    ?>

     

  • very good ... really like congratulations!

  • Hi all, I might take this to the community forums; but I'd love to implement this plugin into a great CSS3 tutorial I've found on Codrops: http://tympanus.net/codrops/2011/05/25/image-wall/

    I have all of the required HTML/CSS/Jquery (thanks to the plugin), and am in the process of resizing it to fit my design. Initially I had the idea of designing something similar to http://www.italki.com/ front page, and this plugin would be perfect.

    I suppose my question is; which line(s) of the php call the images?

     

  • @idiomas there should be some code doing $user->getIcon("small"). That returns an url to the profile icon.

  • Nice plugin but it does not work with 1.8.4 (at least on my deployment). During activation:

    Deprecated in 1.7: extend_view() was deprecated by elgg_extend_view()!

    regs.

     

Jeroen Dalsem

Owner of ColdTrick IT Solutions, developing social networking sites for the dutch market

Stats

  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 3408
  • Recommendations: 7

Other Projects

View Jeroen Dalsem's plugins