soclever_login - Version 1.2.2

Version Notes

Ability to add custom images/icons

Download this release

Release Info

Developer Soclever Social
Extension soclever_login
Version 1.2.2
Comparing to
See all releases


Code changes from version 1.2.1 to 1.2.2

app/code/local/Soclever/Socialloginsc/Block/Adminhtml/System/Config/Form/Field/Customopt1toggle.php ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Soclever_Socialloginsc_Block_Adminhtml_System_Config_Form_Field_Customopt1toggle extends Mage_Adminhtml_Block_System_Config_Form_Field
3
+ {
4
+
5
+ /**
6
+ * Get element ID of the dependent field to toggle
7
+ *
8
+ * @param object $element
9
+ * @return String
10
+ */
11
+ protected function _getToggleElementId($element)
12
+ {
13
+ return substr($element->getId(), 0, strrpos($element->getId(), 'mbcustomopt1')) . 'mbcustomopt2';
14
+ }
15
+ /**
16
+ * Get element ID of the dependent field's parent row
17
+ *
18
+ * @param object $element
19
+ * @return String
20
+ */
21
+ protected function _getToggleRowElementId($element)
22
+ {
23
+ return 'row_'.$this->_getToggleElementId($element);
24
+ }
25
+ /**
26
+ * Override method to output our custom HTML with JavaScript
27
+ *
28
+ * @param Varien_Data_Form_Element_Abstract $element
29
+ * @return String
30
+ */
31
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
32
+ {
33
+
34
+ // Get the default HTML for this option
35
+ $html = parent::_getElementHtml($element);
36
+ // Set up additional JavaScript for our toggle action. Note we are using the two helper methods above
37
+ // to get the correct field ID's. They are hard-coded and depend on your option names in system.xml
38
+ $javaScript = "
39
+ <script type=\"text/javascript\">
40
+ Event.observe(window, 'load', function() {
41
+ enabled=document.getElementById('socialloginsc_options_displaysettings_buttonstyle').value;
42
+ if (enabled=='custom') {
43
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylefb').show();
44
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylegp').show();
45
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyleli').show();
46
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyletw').show();
47
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyleyh').show();
48
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylepp').show();
49
+ } else {
50
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylefb').hide();
51
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylegp').hide();
52
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyleli').hide();
53
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyletw').hide();
54
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyleyh').hide();
55
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylepp').hide();
56
+
57
+ }
58
+ });
59
+ Event.observe('socialloginsc_options_displaysettings_buttonstyle', 'change', function(){
60
+ enabled=document.getElementById('socialloginsc_options_displaysettings_buttonstyle').value;
61
+ if (enabled=='custom') {
62
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylefb').show();
63
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylegp').show();
64
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyleli').show();
65
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyletw').show();
66
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyleyh').show();
67
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylepp').show();
68
+ } else {
69
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylefb').hide();
70
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylegp').hide();
71
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyleli').hide();
72
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyletw').hide();
73
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstyleyh').hide();
74
+ document.getElementById('row_socialloginsc_options_displaysettings_buttonstylepp').hide();
75
+
76
+ }
77
+ });
78
+ </script>";
79
+
80
+ $html .= $javaScript;
81
+ return $html;
82
+ }
83
+ }
84
+
85
+ ?>
app/code/local/Soclever/Socialloginsc/Model/Providers.php CHANGED
@@ -4,7 +4,7 @@ class Soclever_Socialloginsc_Model_Providers
4
  {
5
  public function getbuttonstyles()
6
  {
7
- $buttonstylesarray=array("ic"=>"Icons","fc"=>"Full Logos - Colored","fg"=>"Full Logos - Grey");
8
  return $buttonstylesarray;
9
 
10
  }
4
  {
5
  public function getbuttonstyles()
6
  {
7
+ $buttonstylesarray=array("ic"=>"Icons","fc"=>"Full Logos - Colored","fg"=>"Full Logos - Grey","custom"=>'Custom');
8
  return $buttonstylesarray;
9
 
10
  }
app/code/local/Soclever/Socialloginsc/etc/system.xml CHANGED
@@ -81,17 +81,66 @@
81
  <buttonstyle translate="label">
82
  <label>Select Button Style</label>
83
  <frontend_type>select</frontend_type>
84
- <source_model>socialloginsc/providers::getbuttonstyles</source_model>
 
85
  <sort_order>200</sort_order>
86
  <show_in_default>1</show_in_default>
87
  <show_in_website>1</show_in_website>
88
  <show_in_store>1</show_in_store>
89
- </buttonstyle>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  <buttonsize translate="label">
91
  <label>Button Size</label>
92
  <frontend_type>select</frontend_type>
93
  <source_model>socialloginsc/providers::getsizes</source_model>
94
- <sort_order>199</sort_order>
95
  <show_in_default>1</show_in_default>
96
  <show_in_website>1</show_in_website>
97
  <show_in_store>1</show_in_store>
@@ -100,7 +149,7 @@
100
  <label>Select Providers</label>
101
  <frontend_type>multiselect</frontend_type>
102
  <source_model>socialloginsc/providers::getloginproviders</source_model>
103
- <sort_order>201</sort_order>
104
  <show_in_default>1</show_in_default>
105
  <show_in_website>1</show_in_website>
106
  <show_in_store>1</show_in_store>
@@ -109,7 +158,7 @@
109
  <label>Login Box Caption</label>
110
  <frontend_type>text</frontend_type>
111
  <comment><![CDATA[Text to display on social login box i.e Social Login By]]></comment>
112
- <sort_order>202</sort_order>
113
  <show_in_default>1</show_in_default>
114
  <show_in_website>1</show_in_website>
115
  <show_in_store>1</show_in_store>
@@ -119,7 +168,7 @@
119
  <frontend_type>select</frontend_type>
120
  <source_model>socialloginsc/providers::showpoweredby</source_model>
121
  <comment><![CDATA[At the bottom of login box will show "Powered By Socleversocial.com"]]></comment>
122
- <sort_order>202</sort_order>
123
  <show_in_default>1</show_in_default>
124
  <show_in_website>1</show_in_website>
125
  <show_in_store>1</show_in_store>
@@ -128,7 +177,7 @@
128
  <label>Send welcome email?</label>
129
  <frontend_type>select</frontend_type>
130
  <source_model>adminhtml/system_config_source_yesno</source_model>
131
- <sort_order>203</sort_order>
132
  <show_in_default>1</show_in_default>
133
  <show_in_website>1</show_in_website>
134
  <show_in_store>1</show_in_store>
81
  <buttonstyle translate="label">
82
  <label>Select Button Style</label>
83
  <frontend_type>select</frontend_type>
84
+ <source_model>socialloginsc/providers::getbuttonstyles</source_model>
85
+ <frontend_model>socialloginsc/adminhtml_system_config_form_field_customopt1toggle</frontend_model>
86
  <sort_order>200</sort_order>
87
  <show_in_default>1</show_in_default>
88
  <show_in_website>1</show_in_website>
89
  <show_in_store>1</show_in_store>
90
+ </buttonstyle>
91
+ <buttonstylefb translate="label">
92
+ <label>Facebook</label>
93
+ <frontend_type>text</frontend_type>
94
+ <sort_order>201</sort_order>
95
+ <show_in_default>1</show_in_default>
96
+ <show_in_website>1</show_in_website>
97
+ <show_in_store>1</show_in_store>
98
+ </buttonstylefb>
99
+ <buttonstylegp translate="label">
100
+ <label>Google+</label>
101
+ <frontend_type>text</frontend_type>
102
+ <sort_order>202</sort_order>
103
+ <show_in_default>1</show_in_default>
104
+ <show_in_website>1</show_in_website>
105
+ <show_in_store>1</show_in_store>
106
+ </buttonstylegp>
107
+ <buttonstyletw translate="label">
108
+ <label>Twitter</label>
109
+ <frontend_type>text</frontend_type>
110
+ <sort_order>203</sort_order>
111
+ <show_in_default>1</show_in_default>
112
+ <show_in_website>1</show_in_website>
113
+ <show_in_store>1</show_in_store>
114
+ </buttonstyletw>
115
+ <buttonstyleli translate="label">
116
+ <label>LinkedIN</label>
117
+ <frontend_type>text</frontend_type>
118
+ <sort_order>204</sort_order>
119
+ <show_in_default>1</show_in_default>
120
+ <show_in_website>1</show_in_website>
121
+ <show_in_store>1</show_in_store>
122
+ </buttonstyleli>
123
+ <buttonstyleyh translate="label">
124
+ <label>Yahoo!</label>
125
+ <frontend_type>text</frontend_type>
126
+ <sort_order>205</sort_order>
127
+ <show_in_default>1</show_in_default>
128
+ <show_in_website>1</show_in_website>
129
+ <show_in_store>1</show_in_store>
130
+ </buttonstyleyh>
131
+ <buttonstylepp translate="label">
132
+ <label>PayPal</label>
133
+ <frontend_type>text</frontend_type>
134
+ <sort_order>206</sort_order>
135
+ <show_in_default>1</show_in_default>
136
+ <show_in_website>1</show_in_website>
137
+ <show_in_store>1</show_in_store>
138
+ </buttonstylepp>
139
  <buttonsize translate="label">
140
  <label>Button Size</label>
141
  <frontend_type>select</frontend_type>
142
  <source_model>socialloginsc/providers::getsizes</source_model>
143
+ <sort_order>207</sort_order>
144
  <show_in_default>1</show_in_default>
145
  <show_in_website>1</show_in_website>
146
  <show_in_store>1</show_in_store>
149
  <label>Select Providers</label>
150
  <frontend_type>multiselect</frontend_type>
151
  <source_model>socialloginsc/providers::getloginproviders</source_model>
152
+ <sort_order>208</sort_order>
153
  <show_in_default>1</show_in_default>
154
  <show_in_website>1</show_in_website>
155
  <show_in_store>1</show_in_store>
158
  <label>Login Box Caption</label>
159
  <frontend_type>text</frontend_type>
160
  <comment><![CDATA[Text to display on social login box i.e Social Login By]]></comment>
161
+ <sort_order>209</sort_order>
162
  <show_in_default>1</show_in_default>
163
  <show_in_website>1</show_in_website>
164
  <show_in_store>1</show_in_store>
168
  <frontend_type>select</frontend_type>
169
  <source_model>socialloginsc/providers::showpoweredby</source_model>
170
  <comment><![CDATA[At the bottom of login box will show "Powered By Socleversocial.com"]]></comment>
171
+ <sort_order>210</sort_order>
172
  <show_in_default>1</show_in_default>
173
  <show_in_website>1</show_in_website>
174
  <show_in_store>1</show_in_store>
177
  <label>Send welcome email?</label>
178
  <frontend_type>select</frontend_type>
179
  <source_model>adminhtml/system_config_source_yesno</source_model>
180
+ <sort_order>211</sort_order>
181
  <show_in_default>1</show_in_default>
182
  <show_in_website>1</show_in_website>
183
  <show_in_store>1</show_in_store>
app/design/frontend/base/default/template/socialloginsc/scsl_buttons.phtml CHANGED
@@ -1,8 +1,10 @@
1
  <?php
 
2
  $site_id=Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_siteid');
3
  $api_secret=Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_appsecret');
4
  $api_key=Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_appid');
5
  $btn_style=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonstyle');
 
6
  $button_size=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonsize');
7
  $loginboxcaption=Mage::getStoreConfig('socialloginsc_options/displaysettings/socialloginscboxcaption');
8
  $showpoweredby=Mage::getStoreConfig('socialloginsc_options/displaysettings/socialloginscpowerby');
@@ -13,7 +15,104 @@ $selected_providers=Mage::getStoreConfig('socialloginsc_options/displaysettings/
13
 
14
  if($is_validated=='1' && $selected_providers!='' && $selected_providers!='0')
15
  {
16
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  $valid_data=file_get_contents("https://www.socleversocial.com/dashboard/mage_login_buttons.php?login_only=2&site_id=".$site_id."&api_key=".$api_key."&api_secret=".$api_secret."&csplatform=magentologin&rt=gp&bcaption=".base64_encode($loginboxcaption)."&bshow=".$showpoweredby."&bstyle=".$btn_style."&bsize=".$button_size."&providers=".$selected_providers);
18
 
19
  if($valid_data && $valid_data!='0~~0')
@@ -25,6 +124,7 @@ $selected_providers=Mage::getStoreConfig('socialloginsc_options/displaysettings/
25
  echo"";
26
  }
27
  }
 
28
  echo"";
29
 
30
 
1
  <?php
2
+
3
  $site_id=Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_siteid');
4
  $api_secret=Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_appsecret');
5
  $api_key=Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_appid');
6
  $btn_style=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonstyle');
7
+
8
  $button_size=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonsize');
9
  $loginboxcaption=Mage::getStoreConfig('socialloginsc_options/displaysettings/socialloginscboxcaption');
10
  $showpoweredby=Mage::getStoreConfig('socialloginsc_options/displaysettings/socialloginscpowerby');
15
 
16
  if($is_validated=='1' && $selected_providers!='' && $selected_providers!='0')
17
  {
18
+
19
+ if(strtolower($btn_style)=='custom')
20
+ {
21
+ $provider_arr=explode(",",$selected_providers);
22
+ $fbpath=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonstylefb');
23
+ $gppath=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonstylegp');
24
+ $lipath=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonstyleli');
25
+ $twpath=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonstyletw');
26
+ $yhpath=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonstyleyh');
27
+ $pppath=Mage::getStoreConfig('socialloginsc_options/displaysettings/buttonstylepp');
28
+ $gapi=file_get_contents('https://www.socleversocial.com/dashboard/get_fb_data.php?action=gapi&siteid='.$site_id.'');
29
+ if(in_array('2',$provider_arr) && !empty($fbpath))
30
+ {
31
+ $bg_position=$btn_width;
32
+ $fb_div .='<script type="text/javascript">';
33
+ $imgdiv='<div style="float: left; margin-right: 10px;margin-top: 10px;"><img src="'.$fbpath.'" alt="Login with Facebook" title="Login with Facebook""></div>';
34
+ $fb_div .='csbutton.init([\''.$imgdiv.'\',\'100%\' ,\'100%\',\'login_fb\']);'.PHP_EOL;
35
+ $fb_div .='csbutton.putCsbutton();
36
+ </script>';
37
+
38
+ }
39
+ $gp_div="";
40
+ if(in_array('4',$provider_arr) && !empty($gppath))
41
+ {
42
+
43
+ $gp_div .='<script type="text/javascript">';
44
+ $imgdiv='<div style="float: left; margin-right: 10px;margin-top: 10px;"><img src="'.$gppath.'" alt="Login with Google+" title="Login with Google+""></div>';
45
+ $gp_div .='csbutton.init([\''.$imgdiv.'\',\'100%\' ,\'100%\',\'login\',\''.$gapi.'\']);'.PHP_EOL;
46
+ $gp_div .='csbutton.putCsbutton();
47
+ </script>';
48
+
49
+ }
50
+
51
+ $li_div="";
52
+ if(!empty($lipath) && in_array('7',$provider_arr))
53
+ {
54
+
55
+ $li_div .='<script type="text/javascript">';
56
+ $imgdiv='<div style="float: left; margin-right: 10px;margin-top: 10px;"><img src="'.$lipath.'" alt="Login with LinkedIN" title="Login with LinkedIN""></div>';
57
+ $li_div .='csbutton.init([\''.$imgdiv.'\',\'100%\' ,\'100%\',\'login\',\'li\']);'.PHP_EOL;
58
+ $li_div .='csbutton.putCsbutton();
59
+ </script>';
60
+
61
+ }
62
+
63
+ $tw_div="";
64
+ if(!empty($twpath) && in_array('13',$provider_arr))
65
+ {
66
+
67
+ $tw_div .='<script type="text/javascript">';
68
+ $imgdiv='<div style="float: left; margin-right: 10px;margin-top: 10px;"><img src="'.$lipath.'" alt="Login with Twitter" title="Login with Twitter""></div>';
69
+ $tw_div .='csbutton.init([\''.$imgdiv.'\',\'100%\' ,\'100%\',\'login\',\'twitter\']);'.PHP_EOL;
70
+ $tw_div .='csbutton.putCsbutton();
71
+ </script>';
72
+
73
+ }
74
+
75
+ $yh_div="";
76
+ if(!empty($yhpath) && in_array('15',$provider_arr))
77
+ {
78
+
79
+ $yh_div .='<script type="text/javascript">';
80
+ $imgdiv='<div style="float: left; margin-right: 10px;margin-top: 10px;"><img src="'.$yhpath.'" alt="Login with Yahoo!" title="Login with Yahoo!""></div>';
81
+ $yh_div .='csbutton.init([\''.$imgdiv.'\',\'100%\' ,\'100%\',\'login\',\'yahoo\']);'.PHP_EOL;
82
+ $yh_div .='csbutton.putCsbutton();
83
+ </script>';
84
+
85
+ }
86
+ $pp_div="";
87
+ if(!empty($pppath) && in_array('16',$provider_arr))
88
+ {
89
+
90
+ $pp_div .='<script type="text/javascript">';
91
+ $imgdiv='<div style="float: left; margin-right: 10px;margin-top: 10px;"><img src="'.$lipath.'" alt="Login with PayPal" title="Login with PayPal""></div>';
92
+ $pp_div .='csbutton.init([\''.$imgdiv.'\',\'100%\' ,\'100%\',\'login\',\'paypal\']);'.PHP_EOL;
93
+ $pp_div .='csbutton.putCsbutton();
94
+ </script>';
95
+
96
+ }
97
+
98
+ $imgdiv='<script type="text/javascript" src="https://www.socleversocial.com/dashboard/client_share_js/csloginbuttonsonlysc_'.$site_id.'.js"></script>'.PHP_EOL.$fb_div.PHP_EOL.$gp_div.PHP_EOL.$li_div.PHP_EOL.$tw_div.PHP_EOL.$yh_div.PHP_EOL.$ig_div.PHP_EOL.$pp_div;
99
+
100
+
101
+
102
+
103
+ $display_buttons='<div style="margin-bottom:20px;width:52%;margin-bottom:10px;border:0px solid #bbb6a5;clear:both;overflow:hidden;height:1%;"><div><b>'.$loginboxcaption.'</b></div>'.$imgdiv.'';
104
+ if($showpoweredby=='1')
105
+ {
106
+ $display_buttons .='<div style="clear: both;text-align:left;padding-top:10px;"><b>Powered by </b><a href="https://www.socleversocial.com/" target="_blank">Socleversocial.com</a></div>';
107
+ }
108
+ $display_buttons .='</div>';
109
+ echo $display_buttons;
110
+
111
+
112
+
113
+ }
114
+ else
115
+ {
116
  $valid_data=file_get_contents("https://www.socleversocial.com/dashboard/mage_login_buttons.php?login_only=2&site_id=".$site_id."&api_key=".$api_key."&api_secret=".$api_secret."&csplatform=magentologin&rt=gp&bcaption=".base64_encode($loginboxcaption)."&bshow=".$showpoweredby."&bstyle=".$btn_style."&bsize=".$button_size."&providers=".$selected_providers);
117
 
118
  if($valid_data && $valid_data!='0~~0')
124
  echo"";
125
  }
126
  }
127
+ }
128
  echo"";
129
 
130
 
app/design/frontend/base/default/template/socialloginsc/socialloginsc_head.phtml CHANGED
@@ -4,7 +4,7 @@ if($is_validated=='1')
4
  {
5
  if(!Mage::getSingleton('customer/session')->isLoggedIn())
6
  {
7
- echo'<script type="text/javascript" src="https://www.socleversocial.com/dashboard/client_share_js/client_'.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_siteid').'_onlylogin.js"></script>'.PHP_EOL.
8
  '<script type="text/javascript">'.PHP_EOL.
9
  'csloginjs.init([\''.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_appid').'\', \''.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_siteid').'\',\''.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_appsecret').'\',\''.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_validdomain').'\']);'.PHP_EOL.
10
  'csloginjs.validateCsApi();'.PHP_EOL.
4
  {
5
  if(!Mage::getSingleton('customer/session')->isLoggedIn())
6
  {
7
+ echo'<script type="text/javascript" src="https://www.socleversocial.com/dashboard/client_share_js/client_'.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_siteid').'_onlysclogin.js"></script>'.PHP_EOL.
8
  '<script type="text/javascript">'.PHP_EOL.
9
  'csloginjs.init([\''.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_appid').'\', \''.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_siteid').'\',\''.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_appsecret').'\',\''.Mage::getStoreConfig('socialloginsc_options/apisettings/scsl_validdomain').'\']);'.PHP_EOL.
10
  'csloginjs.validateCsApi();'.PHP_EOL.
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>soclever_login</name>
4
- <version>1.2.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
@@ -28,11 +28,11 @@
28
  Send personalised message to your visitors by using our birthday reports. &lt;/p&gt;&#xD;
29
  &lt;p&gt;&lt;strong&gt;Dynamic JavaScript&lt;/strong&gt;&lt;br /&gt;&#xD;
30
  Our asynchronous javascript loads faster without interfearing with the display or behaviour of the page. Dynamic JavaScript makes it easy to choose/sort social netork buttons for display.&lt;/p&gt;</description>
31
- <notes>Added Twitter Login Pop up</notes>
32
  <authors><author><name>Soclever Social</name><user>Socleversocial</user><email>hemang@socleversocial.com</email></author></authors>
33
- <date>2015-06-11</date>
34
- <time>10:48:24</time>
35
- <contents><target name="magelocal"><dir name="Soclever"><dir name="Socialloginsc"><dir name="Block"><file name="Help.php" hash="f1b78eeb8572b294f147100852341b66"/><file name="Scslhead.php" hash="f160bb1f3bf06ac3d5529bccbf3eaeb1"/><file name="Scslhead.php" hash="f160bb1f3bf06ac3d5529bccbf3eaeb1"/><file name="Scslshow.php" hash="c24f579bd6899fda1b4dfbb745c96f4b"/><file name="Scslfooter.php" hash="be0ebf4b090e0843e8d4c2039babed03"/></dir><dir name="controllers"><file name="IndexController.php" hash="9ab38714af686d97178a9579a94618e6"/><file name="openid.php" hash="421d5936957b8ddda543b679d1876f04"/><file name="http.php" hash="1fe6b6ac5002ed03f3bb5e7f623b8682"/><file name="oauth_client.php" hash="c8b0e317336ba0dce0fee2e384987785"/></dir><dir name="etc"><file name="config.xml" hash="cb074a4803cd4bc99dc8cf6f9496c165"/><file name="system.xml" hash="e3c312194adbf4c6bc23045840812cbe"/></dir><dir name="Helper"><file name="Data.php" hash="ffe3beab121640dedd47db758a93fdaf"/></dir><dir name="Model"><file name="Providers.php" hash="c5398c99a67640139432b902c4ee54e5"/><file name="Info.php" hash="a6af76a1fec277eb2e1d1055e6a447b4"/><file name="Observer.php" hash="270ecaad4d5b460e4f34f64142b5159f"/></dir></dir><dir name="Sociallogin"><dir name="Block"><file name="Scsltrackpixel.php" hash=""/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="socialloginsc.xml" hash="49234a63b798f35e405ddfa9f603ba4c"/></dir><dir name="template"><dir name="socialloginsc"><file name="scsl_buttons.phtml" hash="8de79bcfad3686c5685636ade252d3b2"/><file name="sociallogin_head.phtml" hash=""/><file name="sociallogin_fb.phtml" hash=""/><file name="sociallogin_trackpixel.phtml" hash=""/><file name="socialloginsc_fb.phtml" hash="718d8596a14d123d83afb0d5d6d6fd96"/><file name="socialloginsc_footer.phtml" hash="84220f1f371fcd70cb8aa49d0d19eefe"/><file name="socialloginsc_head.phtml" hash="8176f3c9c6bfe49db0d51e5f448167be"/><file name="socialloginsc_trackpixel.phtml" hash="4ec45f934b23b5e1961e409530d51672"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="soclever_socialloginsc.xml" hash="4bc33a8062ab5eabf3f3edf1e474c400"/></dir></target></contents>
36
  <compatible/>
37
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
38
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>soclever_login</name>
4
+ <version>1.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
28
  Send personalised message to your visitors by using our birthday reports. &lt;/p&gt;&#xD;
29
  &lt;p&gt;&lt;strong&gt;Dynamic JavaScript&lt;/strong&gt;&lt;br /&gt;&#xD;
30
  Our asynchronous javascript loads faster without interfearing with the display or behaviour of the page. Dynamic JavaScript makes it easy to choose/sort social netork buttons for display.&lt;/p&gt;</description>
31
+ <notes>Ability to add custom images/icons</notes>
32
  <authors><author><name>Soclever Social</name><user>Socleversocial</user><email>hemang@socleversocial.com</email></author></authors>
33
+ <date>2015-06-30</date>
34
+ <time>05:18:03</time>
35
+ <contents><target name="magelocal"><dir name="Soclever"><dir name="Socialloginsc"><dir name="Block"><file name="Help.php" hash="f1b78eeb8572b294f147100852341b66"/><file name="Scslhead.php" hash="f160bb1f3bf06ac3d5529bccbf3eaeb1"/><file name="Scslhead.php" hash="f160bb1f3bf06ac3d5529bccbf3eaeb1"/><file name="Scslshow.php" hash="c24f579bd6899fda1b4dfbb745c96f4b"/><file name="Scslfooter.php" hash="be0ebf4b090e0843e8d4c2039babed03"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Customopt1toggle.php" hash="7ffea7dbf09067027228eb243bacb818"/></dir></dir></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="9ab38714af686d97178a9579a94618e6"/><file name="openid.php" hash="421d5936957b8ddda543b679d1876f04"/><file name="http.php" hash="1fe6b6ac5002ed03f3bb5e7f623b8682"/><file name="oauth_client.php" hash="c8b0e317336ba0dce0fee2e384987785"/></dir><dir name="etc"><file name="config.xml" hash="cb074a4803cd4bc99dc8cf6f9496c165"/><file name="system.xml" hash="757de00fb4455d7097d552bc94f11ebe"/></dir><dir name="Helper"><file name="Data.php" hash="ffe3beab121640dedd47db758a93fdaf"/></dir><dir name="Model"><file name="Providers.php" hash="78908f39984603c3ee9be750c51d4044"/><file name="Info.php" hash="a6af76a1fec277eb2e1d1055e6a447b4"/><file name="Observer.php" hash="270ecaad4d5b460e4f34f64142b5159f"/></dir></dir><dir name="Sociallogin"><dir name="Block"><file name="Scsltrackpixel.php" hash=""/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="socialloginsc.xml" hash="49234a63b798f35e405ddfa9f603ba4c"/></dir><dir name="template"><dir name="socialloginsc"><file name="scsl_buttons.phtml" hash="88ab096ccf6977586302185bea43f601"/><file name="sociallogin_head.phtml" hash=""/><file name="sociallogin_fb.phtml" hash=""/><file name="sociallogin_trackpixel.phtml" hash=""/><file name="socialloginsc_fb.phtml" hash="718d8596a14d123d83afb0d5d6d6fd96"/><file name="socialloginsc_footer.phtml" hash="84220f1f371fcd70cb8aa49d0d19eefe"/><file name="socialloginsc_head.phtml" hash="16d2186c311b2f7643e5cbc65dab7e2f"/><file name="socialloginsc_trackpixel.phtml" hash="4ec45f934b23b5e1961e409530d51672"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="soclever_socialloginsc.xml" hash="4bc33a8062ab5eabf3f3edf1e474c400"/></dir></target></contents>
36
  <compatible/>
37
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
38
  </package>