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 .= "