diff --git a/e107_core/shortcodes/batch/comment_shortcodes.php b/e107_core/shortcodes/batch/comment_shortcodes.php
index e2735f250..bc70b91cf 100644
--- a/e107_core/shortcodes/batch/comment_shortcodes.php
+++ b/e107_core/shortcodes/batch/comment_shortcodes.php
@@ -105,12 +105,13 @@ class comment_shortcodes extends e_shortcode
$width = e107::getPref("im_width");
$tp = e107::getParser();
+
if (vartrue($this->var['user_id']))
{
if (vartrue($this->var['user_image']))
{
- $img = $tp->thumbUrl(e_MEDIA."avatars/".$this->var['user_image'],"aw=".$width."&ah=".$height);
- $text = "";
+ $img = (strpos($this->var['user_image'],"://")!==false) ? $this->var['user_image'] : $tp->thumbUrl(e_MEDIA."avatars/".$this->var['user_image'],"aw=".$width."&ah=".$height);
+ $text = "
";
}
else
{
diff --git a/e107_core/shortcodes/batch/signup_shortcodes.php b/e107_core/shortcodes/batch/signup_shortcodes.php
index 969d80181..8a8a0e5aa 100755
--- a/e107_core/shortcodes/batch/signup_shortcodes.php
+++ b/e107_core/shortcodes/batch/signup_shortcodes.php
@@ -42,11 +42,11 @@ class signup_shortcodes extends e_shortcode
function sc_signup_xup() // show it to those who were using xup
{
- return $this->sc_social_login();
+ return $this->sc_signup_social_login();
}
- function sc_social_login()
+ function sc_signup_social_login()
{
$pref = e107::getPref('social_login_active');
@@ -54,7 +54,7 @@ class signup_shortcodes extends e_shortcode
{
$text = "";
$providers = e107::getPref('social_login');
- // $providers = array('facebook','twitter','google','yahoo','blogger');
+
foreach($providers as $p=>$v)
{
$p = strtolower($p);
@@ -65,9 +65,8 @@ class signup_shortcodes extends e_shortcode
//TODO different icon options. see: http://zocial.smcllns.com/
}
- $text .= "