diff --git a/e107_core/shortcodes/batch/comment_shortcodes.php b/e107_core/shortcodes/batch/comment_shortcodes.php
index 12275411b..6c27dcde4 100644
--- a/e107_core/shortcodes/batch/comment_shortcodes.php
+++ b/e107_core/shortcodes/batch/comment_shortcodes.php
@@ -105,8 +105,14 @@ class comment_shortcodes extends e_shortcode
function sc_comment_avatar($parm='')
{
$tp = e107::getParser();
- $text = $tp->parseTemplate("{USER_AVATAR=".vartrue($this->var['user_image'],USERIMAGE)."}");
+ // return $this->var['user_image'];
+
+ // $url = $tp->thumbUrl($this->var['user_image']);
+
+ // $text = $tp->parseTemplate("{USER_AVATAR=".vartrue($this->var['user_image'],USERIMAGE)."}");
+ $text = $tp->parseTemplate("{USER_AVATAR=".$this->var['user_id']."}");
+ $text =
$text .= "
";
$text .= "
".$this->sc_username()."
";
diff --git a/e107_core/shortcodes/single/user_avatar.php b/e107_core/shortcodes/single/user_avatar.php
index 5f3d32c73..b95338cce 100644
--- a/e107_core/shortcodes/single/user_avatar.php
+++ b/e107_core/shortcodes/single/user_avatar.php
@@ -1,11 +1,10 @@
toAvatar(); so full arrays can be passed to it.
{
global $loop_uid;
-
-
+
$tp = e107::getParser();
$width = $tp->thumbWidth;
$height = ($tp->thumbHeight !== 0) ? $tp->thumbHeight : "";
diff --git a/e107_core/templates/comment_template.php b/e107_core/templates/comment_template.php
index 259692b42..68b3766d3 100644
--- a/e107_core/templates/comment_template.php
+++ b/e107_core/templates/comment_template.php
@@ -97,7 +97,7 @@ $sc_style['MODERATE']['post'] = '';
$COMMENT_TEMPLATE['form'] = "
- {SETIMAGE: w=60}
+ {SETIMAGE: w=100&h=100}
"; - $width = 0; - $rows = $sql->db_getList(); //Shortcodes could use $sql, so just grab all results - + $width = 0; + foreach ($rows as $row) { @@ -1120,9 +1120,9 @@ class comment // from calculations are done by eNav() js. return " - Previous + Previous - Next + Next ";