From: Zvi ben Yaakov (a.k.a rdc) Date: Mon, 25 Jun 2012 10:42:37 +0000 (+0300) Subject: Added App::get_cached_avatar_image usage for displaying "Latest users" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=493eb176d3f8020cf6999af4cdab2cc7f978738d;p=friendica-addons.git Added App::get_cached_avatar_image usage for displaying "Latest users" avatar thumbs in left sidebar of Community home page. Requires: FRIENDICA_VERSION 3.0.1380+ --- diff --git a/communityhome/communityhome.php b/communityhome/communityhome.php index 14c40328..2b14fd33 100755 --- a/communityhome/communityhome.php +++ b/communityhome/communityhome.php @@ -55,7 +55,7 @@ function communityhome_home(&$a, &$o){ $entry = replace_macros($tpl,array( '$id' => $rr['id'], '$profile-link' => $profile_link, - '$photo' => $rr[$photo], + '$photo' => $a->get_cached_avatar_image($rr[$photo]), '$alt-text' => $rr['name'], )); $aside['$lastusers_items'][] = $entry;