added the Member List functionality to communities
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user