diff --git a/e107_core/shortcodes/batch/signup_shortcodes.php b/e107_core/shortcodes/batch/signup_shortcodes.php index 98cdd13c7..969d80181 100755 --- a/e107_core/shortcodes/batch/signup_shortcodes.php +++ b/e107_core/shortcodes/batch/signup_shortcodes.php @@ -53,10 +53,16 @@ class signup_shortcodes extends e_shortcode if(vartrue($pref)) { $text = ""; - $providers = array('facebook','twitter','google','yahoo','blogger'); - foreach($providers as $p) + $providers = e107::getPref('social_login'); + // $providers = array('facebook','twitter','google','yahoo','blogger'); + foreach($providers as $p=>$v) { - $text .= ""; + $p = strtolower($p); + if($v['enabled'] == 1) + { + $text .= ""; + } + //TODO different icon options. see: http://zocial.smcllns.com/ } $text .= "
";