added the Member List functionality to communities

This commit is contained in:
Eric J. Bowersox
2001-11-12 20:18:07 +00:00
parent 98d949fd74
commit 5b17952eee
7 changed files with 622 additions and 5 deletions

View File

@@ -34,6 +34,9 @@ public class TopicPosts implements JSPRender
private static Category logger = Category.getInstance(TopicPosts.class);
private static int SCALING_NUM = 1;
private static int SCALING_DENOM = 2;
// Attribute name for request attribute
protected static final String ATTR_NAME = "com.silverwrist.venice.content.TopicPosts";
@@ -98,6 +101,9 @@ public class TopicPosts implements JSPRender
HashSet saw_users = new HashSet();
if (conf.displayPostPictures() && user.displayPostPictures())
{ // build up the mapping of UIDs to photo URLs
Dimension psz = engine.getUserPhotoSize();
photo_size = new Dimension((psz.width * SCALING_NUM) / SCALING_DENOM,
(psz.height * SCALING_NUM) / SCALING_DENOM);
photo_size = engine.getUserPhotoSize();
uid_photos = new HashMap();