WP Socializer - Version 2.4.9.8

Version Description

  • (NEW) Social button site (VKontakte) (now contains 108 social bookmarking buttons)
  • Sharethis code fix.
  • Sharethis twitter handle fix.
  • Pinterest alignment fix.
  • Social buttons url encoding fix.
  • Facebook button code updated.
  • (NEW) Facebook like button for different languages.
  • Google plus button code updated
  • Removed outdated options in admin page
  • Minor UI changes
Download this release

Release Info

Developer vaakash
Plugin Icon 128x128 WP Socializer
Version 2.4.9.8
Comparing to
See all releases

Code changes from version 2.4.9.7 to 2.4.9.8

admin/images/anpn-thumb.png CHANGED
Binary file
admin/images/donate.png CHANGED
Binary file
admin/wpsr-admin-css.css CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
  * Admin Page CSS for WP Socializer plugin
3
  * Author : Aakash Chakravarthy
4
- * Version : 1.5 (changed 2.4.9.5)
5
  */
6
 
7
  .wrap{
@@ -650,23 +650,18 @@
650
  .startBox{
651
  float: left;
652
  width: 43%;
653
- padding: 15px;
654
- border: 2px solid #ccc;
655
- margin-top: 20px;
656
- box-shadow: 0 0 7px -1px black;
657
- background: url(images/menu-bg.png) repeat-x bottom;
658
  }
659
  .startBox p{
660
  font-size: 14px;
661
  line-height: 150%;
662
  }
663
  .startBox.auto{
664
- box-shadow: 0 0 7px -1px purple;
665
- border-color: purple;
666
  margin-right: 15px;
 
667
  }
668
  .startBox.manual{
669
- box-shadow: 0 0 7px -1px green;
670
  border-color: green;
671
  }
672
 
1
  /*
2
  * Admin Page CSS for WP Socializer plugin
3
  * Author : Aakash Chakravarthy
4
+ * Version : 1.6 (changed 2.4.9.8)
5
  */
6
 
7
  .wrap{
650
  .startBox{
651
  float: left;
652
  width: 43%;
653
+ padding: 0 15px;
654
+ margin: 20px 0;
 
 
 
655
  }
656
  .startBox p{
657
  font-size: 14px;
658
  line-height: 150%;
659
  }
660
  .startBox.auto{
 
 
661
  margin-right: 15px;
662
+ border-right: 1px dashed #ccc;
663
  }
664
  .startBox.manual{
 
665
  border-color: green;
666
  }
667
 
admin/wpsr-admin-js.js CHANGED
@@ -114,6 +114,8 @@ $j(document).ready(function(){
114
  $j(eleId).val(eleValue);
115
  }
116
  }
 
 
117
  });
118
 
119
  // Add social button
114
  $j(eleId).val(eleValue);
115
  }
116
  }
117
+
118
+ alert(' Template is applied. Go to "Edit templates" page and customize the arrangement or alignment if needed ' );
119
  });
120
 
121
  // Add social button
admin/wpsr-admin.php CHANGED
@@ -119,10 +119,9 @@ echo
119
  </li>
120
 
121
  <li class="parentLi btn">
122
- <span class="admSprites retweetIcon"></span>Retweet & Digg
123
  <ul class="childMenu">
124
- <li openTag="{retweet-bt}">Retweet button</li>
125
- <li openTag="{digg-bt}">Digg button</li>
126
  </ul>
127
  </li>
128
 
@@ -233,11 +232,10 @@ function wpsr_reset_values(){
233
  ## Facebook Defaults
234
  $wpsr_facebook['btstyle'] = 'button_count';
235
  $wpsr_facebook['showfaces'] = 0;
236
- $wpsr_facebook['width'] = 80;
237
  $wpsr_facebook['verb'] = 'like';
238
- $wpsr_facebook['font'] = 'arial';
239
  $wpsr_facebook['color'] = 'light';
240
  $wpsr_facebook['appid'] = '';
 
241
 
242
  update_option("wpsr_facebook_data", $wpsr_facebook);
243
 
@@ -396,11 +394,10 @@ function wpsr_admin_page(){
396
  ## Facebook Options
397
  $wpsr_facebook['btstyle'] = $_POST['wpsr_facebook_btstyle'];
398
  $wpsr_facebook['showfaces'] = $_POST['wpsr_facebook_showfaces'];
399
- $wpsr_facebook['width'] = $_POST['wpsr_facebook_width'];
400
  $wpsr_facebook['verb'] = $_POST['wpsr_facebook_verb'];
401
- $wpsr_facebook['font'] = $_POST['wpsr_facebook_font'];
402
  $wpsr_facebook['color'] = $_POST['wpsr_facebook_color'];
403
  $wpsr_facebook['appid'] = $_POST['wpsr_facebook_appid'];
 
404
 
405
  update_option("wpsr_facebook_data", $wpsr_facebook);
406
 
@@ -564,7 +561,7 @@ function wpsr_admin_page(){
564
  <div class="startBox manual">
565
  <h2>Manual setup</h2>
566
  <p>If you want to create your own button arrangement, then edit the individual button settings if needed.</p>
567
- <p>Then use the "Placement" section to place the buttons in the template</p>
568
  <div class="startBt" data-tab="2"><span>Manual customization</span></div>
569
  </div>
570
 
@@ -583,12 +580,12 @@ function wpsr_admin_page(){
583
  <h3 class="noToggle">Edit button properties: </h3>
584
  <p>Click to edit the button properties.</p>
585
  <ul class="buttonsList clearfix">
586
- <li data-win="winSocialBts" data-width="85%" data-title="Social Buttons"><span class="admSprites socialButtons"></span> Social buttons</li>
587
  <li data-win="winAddthis" data-title="Addthis"><span class="admSprites addthisIcon"></span> Addthis</li>
588
- <li data-win="winSharethis" data-title="Sharethis"><span class="admSprites sharethisIcon"></span> Sharethis</li>
589
- <li data-win="winRetweetDigg" data-title="Retweet and Digg"><span class="admSprites retweetIcon"></span> Retweet &amp; Digg</li>
590
- <li data-win="winFacebook" data-title="Facebook"><span class="admSprites facebookIcon"></span> Facebook</li>
591
- <li data-win="winCustom" data-title="Custom buttons"><span class="admSprites customIcon"></span> Add a custom button</li>
592
  </ul>
593
 
594
  <p class="nextStep" data-tab="3">Next step: Insert these customized buttons in the template</p>
@@ -697,21 +694,9 @@ function wpsr_admin_page(){
697
  </table>
698
  </div>
699
 
700
- <h3>Bit.ly <?php _e('Integration', 'wpsr'); ?></h3>
701
- <span class="smallText">Bit.ly is used only in Social bookmarking button for Twitter</span>
702
  <div class="section">
703
- <table width="100%" height="39" border="0">
704
- <tr>
705
- <td width="49%" height="35"><label for="wpsr_settings_bitlyusername">Bit.ly <?php _e('Username', 'wpsr'); ?></label></td>
706
- <td width="51%"><input name="wpsr_settings_bitlyusername" id="wpsr_settings_bitlyusername" type="text" value="<?php echo $wpsr_settings['bitlyusername']; ?>"/></td>
707
- </tr>
708
-
709
- <tr>
710
- <td width="49%" height="35"><label for="wpsr_settings_bitlyapi">Bit.ly API Key</label></td>
711
- <td width="51%"><input name="wpsr_settings_bitlyapi" id="wpsr_settings_bitlyapi" type="text" value="<?php echo $wpsr_settings['bitlyapi']; ?>"/></td>
712
- </tr>
713
-
714
- </table>
715
  </div>
716
 
717
  <h3><?php _e('WP Socializer Settings', 'wpsr'); ?></h3>
@@ -1068,7 +1053,7 @@ function wpsr_admin_page(){
1068
  </div><!-- Sharethis -->
1069
 
1070
 
1071
- <div class="inWindow winRetweetDigg">
1072
  <h3><?php _e('General', 'wpsr'); ?></h3>
1073
  <div class="section">
1074
  <table width="100%" height="76" border="0">
@@ -1143,20 +1128,8 @@ function wpsr_admin_page(){
1143
  </table>
1144
  </div>
1145
 
1146
- <h3><?php _e('Digg Button', 'wpsr'); ?></h3>
1147
- <div class="section">
1148
- <table width="100%" border="0">
1149
- <tr>
1150
- <td width="31%"><label for="wpsr_digg_type"><?php _e('Digg Button type', 'wpsr'); ?></label></td>
1151
- <td width="69%"><select id="wpsr_digg_type" name="wpsr_digg_type">
1152
- <option <?php echo $wpsr_digg['type'] == 'DiggMedium' ? ' selected="selected"' : ''; ?> value="DiggMedium"><?php _e('Medium', 'wpsr'); ?></option>
1153
- <option <?php echo $wpsr_digg['type'] == 'DiggWide' ? ' selected="selected"' : ''; ?> value="DiggLarge"><?php _e('Wide', 'wpsr'); ?></option>
1154
- <option <?php echo $wpsr_digg['type'] == 'DiggCompact' ? ' selected="selected"' : ''; ?> value="DiggCompact"><?php _e('Compact', 'wpsr'); ?></option>
1155
- <option <?php echo $wpsr_digg['type'] == 'DiggIcon' ? ' selected="selected"' : ''; ?> value="DiggIcon"><?php _e('Icon', 'wpsr'); ?></option>
1156
- </select></td>
1157
- </tr>
1158
- </table>
1159
- </div>
1160
  </div> <!-- Retweet and digg -->
1161
 
1162
 
@@ -1179,10 +1152,9 @@ function wpsr_admin_page(){
1179
  <option <?php echo $wpsr_facebook['showfaces'] == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
1180
  </select></td>
1181
  </tr>
1182
- <tr>
1183
- <td height="49"><label for="wpsr_facebook_width"><?php _e('Width', 'wpsr'); ?></label></td>
1184
- <td><input name="wpsr_facebook_width" id="wpsr_facebook_width" type="text" value="<?php echo $wpsr_facebook['width']; ?>"/><br /><span class="smallText"><?php _e('In pixels', 'wpsr'); ?></span></td>
1185
- </tr>
1186
  <tr>
1187
  <td height="35"><label for="wpsr_facebook_verb"><?php _e('Verb to Display', 'wpsr'); ?></label></td>
1188
  <td><select id="wpsr_facebook_verb" name="wpsr_facebook_verb">
@@ -1190,17 +1162,9 @@ function wpsr_admin_page(){
1190
  <option <?php echo $wpsr_facebook['verb'] == 'recommend' ? ' selected="selected"' : ''; ?> value="recommend"><?php _e('Recommend', 'wpsr'); ?></option>
1191
  </select></td>
1192
  </tr>
1193
- <tr>
1194
- <td height="37"><label for="wpsr_facebook_font"><?php _e('Font', 'wpsr'); ?></label></td>
1195
- <td><select id="wpsr_facebook_font" name="wpsr_facebook_font">
1196
- <option <?php echo $wpsr_facebook['font'] == 'arial' ? ' selected="selected"' : ''; ?> value="arial">Arial</option>
1197
- <option <?php echo $wpsr_facebook['font'] == 'lucida grande' ? ' selected="selected"' : ''; ?> value="lucida grande">Lucida Grande</option>
1198
- <option <?php echo $wpsr_facebook['font'] == 'segoe ui' ? ' selected="selected"' : ''; ?> value="segoe ui">Segoe UI</option>
1199
- <option <?php echo $wpsr_facebook['font'] == 'tahoma' ? ' selected="selected"' : ''; ?> value="tahoma">Tahoma</option>
1200
- <option <?php echo $wpsr_facebook['font'] == 'trebuchet ms' ? ' selected="selected"' : ''; ?> value="trebuchet ms">Trebuchet MS</option>
1201
- <option <?php echo $wpsr_facebook['font'] == 'verdana' ? ' selected="selected"' : ''; ?> value="verdana">Verdana</option>
1202
- </select></td>
1203
- </tr>
1204
  <tr>
1205
  <td height="38"><label for="wpsr_facebook_color"><?php _e('Color scheme', 'wpsr'); ?></label></td>
1206
  <td><select id="wpsr_facebook_color" name="wpsr_facebook_color">
@@ -1218,6 +1182,12 @@ function wpsr_admin_page(){
1218
  <td height="38"><label for="wpsr_facebook_appid"><?php _e('Application ID', 'wpsr'); ?></label></td>
1219
  <td><input name="wpsr_facebook_appid" id="wpsr_facebook_appid" type="text" value="<?php echo $wpsr_facebook['appid']; ?>"/><br /><span class="smallText"><?php _e('Useful in analytics', 'wpsr'); ?>. Enter a <b>valid</b> ID or else leave blank.</span></td>
1220
  </tr>
 
 
 
 
 
 
1221
  </table>
1222
  </div>
1223
  </div><!-- Facebook -->
@@ -1233,7 +1203,9 @@ function wpsr_admin_page(){
1233
  <textarea name="wpsr_custom2" id="wpsr_custom2" style="width:99%" rows="8" class="custom_box"><?php echo $wpsr_custom['custom2']; ?></textarea>
1234
  </div>
1235
 
1236
- <p class="note"><?php printf(__('Enter any share button code. Use %s for the page url and %s for page title', 'wpsr'), '{url}', '{title}'); ?></p>
 
 
1237
 
1238
  </div><!-- Custom -->
1239
 
119
  </li>
120
 
121
  <li class="parentLi btn">
122
+ <span class="admSprites retweetIcon"></span>Twitter
123
  <ul class="childMenu">
124
+ <li openTag="{retweet-bt}">Twitter button</li>
 
125
  </ul>
126
  </li>
127
 
232
  ## Facebook Defaults
233
  $wpsr_facebook['btstyle'] = 'button_count';
234
  $wpsr_facebook['showfaces'] = 0;
 
235
  $wpsr_facebook['verb'] = 'like';
 
236
  $wpsr_facebook['color'] = 'light';
237
  $wpsr_facebook['appid'] = '';
238
+ $wpsr_facebook['locale'] = 'en_US';
239
 
240
  update_option("wpsr_facebook_data", $wpsr_facebook);
241
 
394
  ## Facebook Options
395
  $wpsr_facebook['btstyle'] = $_POST['wpsr_facebook_btstyle'];
396
  $wpsr_facebook['showfaces'] = $_POST['wpsr_facebook_showfaces'];
 
397
  $wpsr_facebook['verb'] = $_POST['wpsr_facebook_verb'];
 
398
  $wpsr_facebook['color'] = $_POST['wpsr_facebook_color'];
399
  $wpsr_facebook['appid'] = $_POST['wpsr_facebook_appid'];
400
+ $wpsr_facebook['locale'] = $_POST['wpsr_facebook_locale'];
401
 
402
  update_option("wpsr_facebook_data", $wpsr_facebook);
403
 
561
  <div class="startBox manual">
562
  <h2>Manual setup</h2>
563
  <p>If you want to create your own button arrangement, then edit the individual button settings if needed.</p>
564
+ <p>Then use the <b>Edit templates</b> section to place the buttons in the template</p>
565
  <div class="startBt" data-tab="2"><span>Manual customization</span></div>
566
  </div>
567
 
580
  <h3 class="noToggle">Edit button properties: </h3>
581
  <p>Click to edit the button properties.</p>
582
  <ul class="buttonsList clearfix">
583
+ <li data-win="winSocialBts" data-width="85%" data-title="Social Buttons"><span class="admSprites socialButtons"></span> Social button settings</li>
584
  <li data-win="winAddthis" data-title="Addthis"><span class="admSprites addthisIcon"></span> Addthis</li>
585
+ <li data-win="winSharethis" data-title="Sharethis"><span class="admSprites sharethisIcon"></span> Sharethis settings</li>
586
+ <li data-win="winTwitter" data-title="Twitter settings"><img src="https://twitter.com/favicon.ico" /> Twitter settings</li>
587
+ <li data-win="winFacebook" data-title="Facebook"><span class="admSprites facebookIcon"></span> Facebook settings <small class="redText">New</small></li>
588
+ <li data-win="winCustom" data-title="Custom buttons"><span class="admSprites customIcon"></span> Add a custom button <small class="redText">Note</small></li>
589
  </ul>
590
 
591
  <p class="nextStep" data-tab="3">Next step: Insert these customized buttons in the template</p>
694
  </table>
695
  </div>
696
 
697
+ <h3><s>Bit.ly <?php _e('Integration', 'wpsr'); ?></s></h3>
 
698
  <div class="section">
699
+ <p>Bitly URL shortening feature is disabled in this version</p>
 
 
 
 
 
 
 
 
 
 
 
700
  </div>
701
 
702
  <h3><?php _e('WP Socializer Settings', 'wpsr'); ?></h3>
1053
  </div><!-- Sharethis -->
1054
 
1055
 
1056
+ <div class="inWindow winTwitter">
1057
  <h3><?php _e('General', 'wpsr'); ?></h3>
1058
  <div class="section">
1059
  <table width="100%" height="76" border="0">
1128
  </table>
1129
  </div>
1130
 
1131
+ <!-- Digg button options removed -->
1132
+
 
 
 
 
 
 
 
 
 
 
 
 
1133
  </div> <!-- Retweet and digg -->
1134
 
1135
 
1152
  <option <?php echo $wpsr_facebook['showfaces'] == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
1153
  </select></td>
1154
  </tr>
1155
+
1156
+ <!-- removed button width option v2.4.9.8 -->
1157
+
 
1158
  <tr>
1159
  <td height="35"><label for="wpsr_facebook_verb"><?php _e('Verb to Display', 'wpsr'); ?></label></td>
1160
  <td><select id="wpsr_facebook_verb" name="wpsr_facebook_verb">
1162
  <option <?php echo $wpsr_facebook['verb'] == 'recommend' ? ' selected="selected"' : ''; ?> value="recommend"><?php _e('Recommend', 'wpsr'); ?></option>
1163
  </select></td>
1164
  </tr>
1165
+
1166
+ <!-- removed font option v2.4.9.8 -->
1167
+
 
 
 
 
 
 
 
 
1168
  <tr>
1169
  <td height="38"><label for="wpsr_facebook_color"><?php _e('Color scheme', 'wpsr'); ?></label></td>
1170
  <td><select id="wpsr_facebook_color" name="wpsr_facebook_color">
1182
  <td height="38"><label for="wpsr_facebook_appid"><?php _e('Application ID', 'wpsr'); ?></label></td>
1183
  <td><input name="wpsr_facebook_appid" id="wpsr_facebook_appid" type="text" value="<?php echo $wpsr_facebook['appid']; ?>"/><br /><span class="smallText"><?php _e('Useful in analytics', 'wpsr'); ?>. Enter a <b>valid</b> ID or else leave blank.</span></td>
1184
  </tr>
1185
+
1186
+ <tr>
1187
+ <td height="38"><label for="wpsr_facebook_locale"><?php _e('Like Button language / locale', 'wpsr'); ?></label></td>
1188
+ <td><input name="wpsr_facebook_locale" id="wpsr_facebook_locale" type="text" value="<?php echo $wpsr_facebook['locale']; ?>"/><br /><span class="smallText">Language of the like button. <br/>Get the code for your <a href="http://bit.ly/LxvUk4" target="_blank">language from this page</a> and paste here. Leave empty for en_US</span></td>
1189
+ </tr>
1190
+
1191
  </table>
1192
  </div>
1193
  </div><!-- Facebook -->
1203
  <textarea name="wpsr_custom2" id="wpsr_custom2" style="width:99%" rows="8" class="custom_box"><?php echo $wpsr_custom['custom2']; ?></textarea>
1204
  </div>
1205
 
1206
+ <h3>Help</h3>
1207
+ <div class="section"><p>Enter any share button code. Use <code>{url}</code> for the page url and <code>{title}</code> for page title</p>
1208
+ <p><a href="#" target="_blank">Check this small tutorial</a> on using custom buttons and for some examples.</p></div>
1209
 
1210
  </div><!-- Custom -->
1211
 
includes/wpsr-facebook.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Facebook buttons Processor code for WP Socializer Plugin
4
- * Version : 1.8
5
  * Author : Aakash Chakravarthy
6
  */
7
 
@@ -19,9 +19,7 @@ function wpsr_facebook($args = ''){
19
  'type' => 'like',
20
  'style' => 'button_count',
21
  'showfaces' => 1,
22
- 'width'=> 80,
23
  'verb' => 'like',
24
- 'font' => 'arial',
25
  'color' => 'light',
26
  'appid' => '',
27
  'text' => __('Share on Facebook', 'wpsr'),
@@ -39,7 +37,7 @@ function wpsr_facebook($args = ''){
39
  case 'button':
40
 
41
  $facebook_processed .=
42
- '<div class="fb-like" data-href="' . $url . '" data-send="' . (($type == 'send') ? 'true' : 'false') . '" data-layout="' . $style . '" data-width="' . $width . '" data-show-faces="' . $showfaces . '" data-action="' . $verb . '" data-font="' . $font . '" data-colorscheme="' . $color . '"></div>';
43
 
44
  break;
45
 
@@ -70,8 +68,6 @@ function wpsr_facebook_bt($type){
70
  'type' => $type,
71
  'style' => $wpsr_facebook['btstyle'],
72
  'showfaces' => $wpsr_facebook['showfaces'],
73
- 'width' => $wpsr_facebook['width'],
74
- 'font' => $wpsr_facebook['font'],
75
  'verb' => $wpsr_facebook['verb'],
76
  'color' => $wpsr_facebook['color'],
77
  'appid' => $wpsr_facebook['appid']
1
  <?php
2
  /*
3
  * Facebook buttons Processor code for WP Socializer Plugin
4
+ * Version : 1.9
5
  * Author : Aakash Chakravarthy
6
  */
7
 
19
  'type' => 'like',
20
  'style' => 'button_count',
21
  'showfaces' => 1,
 
22
  'verb' => 'like',
 
23
  'color' => 'light',
24
  'appid' => '',
25
  'text' => __('Share on Facebook', 'wpsr'),
37
  case 'button':
38
 
39
  $facebook_processed .=
40
+ '<div class="fb-like" data-href="' . $url . '" data-share="' . ( $type == 'send' ? 'true' : 'false') . '" data-layout="' . $style . '" data-show-faces="' . $showfaces . '" data-action="' . $verb . '" data-colorscheme="' . $color . '"></div>';
41
 
42
  break;
43
 
68
  'type' => $type,
69
  'style' => $wpsr_facebook['btstyle'],
70
  'showfaces' => $wpsr_facebook['showfaces'],
 
 
71
  'verb' => $wpsr_facebook['verb'],
72
  'color' => $wpsr_facebook['color'],
73
  'appid' => $wpsr_facebook['appid']
includes/wpsr-google.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Google +1 button Processor code for WP Socializer Plugin
4
- * Version : 3.2
5
  * Author : Aakash Chakravarthy
6
  */
7
 
@@ -43,7 +43,7 @@ function wpsr_plusone($args = ''){
43
  switch($output){
44
  // Display the ordinary button
45
  case 'button':
46
- $plusone_processed .= '<g:plusone size="' . $type . '" href="' . $url . '" ' . $params . '></g:plusone>';
47
  break;
48
  }
49
 
1
  <?php
2
  /*
3
  * Google +1 button Processor code for WP Socializer Plugin
4
+ * Version : 3.3
5
  * Author : Aakash Chakravarthy
6
  */
7
 
43
  switch($output){
44
  // Display the ordinary button
45
  case 'button':
46
+ $plusone_processed .= '<div class="g-plusone" data-size="' . $type . '" data-href="' . $url . '"></div>';
47
  break;
48
  }
49
 
includes/wpsr-other.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Pinterest, Reddit, StumbleUpon and LinkedIn buttons Processor code for WP Socializer Plugin
4
- * Version : 2.4
5
  * Since v2.0
6
  * Author : Aakash Chakravarthy
7
  */
@@ -119,12 +119,17 @@ function wpsr_pinterest($args = ''){
119
  $args = wp_parse_args($args, $defaults);
120
  extract($args, EXTR_SKIP);
121
 
 
 
 
 
 
122
  $pinterest_processed = "\n<!-- Start WP Socializer Plugin - Pinterest Button -->\n";
123
 
124
  switch($output){
125
  // Display the ordinary button
126
  case 'button':
127
- $pinterest_processed .= '<a href="http://pinterest.com/pin/create/button/?url=' . urlencode($url) . '&amp;media=' . urlencode($media) . '" class="pin-it-button" count-layout="' . $type . '"><img border="0" src="//assets.pinterest.com/images/PinExt.png" alt="Pinterest" title="Pin It" /></a>';
128
  break;
129
 
130
  // Display the Image format
1
  <?php
2
  /*
3
  * Pinterest, Reddit, StumbleUpon and LinkedIn buttons Processor code for WP Socializer Plugin
4
+ * Version : 2.5
5
  * Since v2.0
6
  * Author : Aakash Chakravarthy
7
  */
119
  $args = wp_parse_args($args, $defaults);
120
  extract($args, EXTR_SKIP);
121
 
122
+ // fix padding problem since 2.4.9.8
123
+ $padd = "";
124
+ if( $type == 'above' ) $padd = 'style="padding:35px 0 5px"';
125
+ elseif( $type == 'beside' ) $padd = 'style="padding-right:50px"';
126
+
127
  $pinterest_processed = "\n<!-- Start WP Socializer Plugin - Pinterest Button -->\n";
128
 
129
  switch($output){
130
  // Display the ordinary button
131
  case 'button':
132
+ $pinterest_processed .= '<div ' . $padd . '><a href="http://pinterest.com/pin/create/button/?url=' . urlencode($url) . '&amp;media=' . urlencode($media) . '" data-pin-do="buttonPin" data-pin-config="' . $type . '" ><img border="0" src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" alt="Pinterest" title="Pin It" /></a></div>';
133
  break;
134
 
135
  // Display the Image format
includes/wpsr-sharethis.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Sharethis buttons Processor code for WP Socializer Plugin
4
- * Version : 2.5
5
  * Author : Aakash Chakravarthy
6
  */
7
 
@@ -24,15 +24,19 @@ function wpsr_sharethis_config(){
24
 
25
  $wpsr_sharethis_pubkey = $wpsr_sharethis['pubkey'];
26
  $wpsr_sharethis_pubkey = ($wpsr_sharethis_pubkey == '') ? wpsr_sharethis_pubkey() : $wpsr_sharethis_pubkey;
 
27
 
28
  // Return the script
29
- return "\n<!-- WP Socializer - ShareThis Config -->\n" .
30
- '<script type="text/javascript">
31
- var sharethisLoad = function(){ stLight.options({publisher: "' . $wpsr_sharethis_pubkey . '" ' . ($wpsr_sharethis['copynshare'] == 1 ? '' : ', doNotHash: true') . ' }); }, st_type=\'wordpress\';
 
 
 
32
  if(window.addEventListener) window.addEventListener("load", sharethisLoad, false);
33
  else if (window.attachEvent) window.attachEvent("onload", sharethisLoad);
34
- </script>' .
35
- "\n<!-- WP Socializer - End ShareThis Config -->\n";
36
  }
37
 
38
  function wpsr_sharethis_script(){
@@ -49,6 +53,9 @@ function wpsr_sharethis($args = ''){
49
  ## Sharethis option
50
  $wpsr_sharethis = get_option('wpsr_sharethis_data');
51
 
 
 
 
52
  $defaults = array (
53
  'output' => 'vcount',
54
  'url' => $def_url,
@@ -73,6 +80,7 @@ function wpsr_sharethis($args = ''){
73
 
74
  // $title = urlencode($title); (fix v2.1)
75
  // $url = urlencode($url); (fix v2.4.6)
 
76
 
77
  if($addp == 1){
78
  $before_st = '<p>';
@@ -86,47 +94,47 @@ function wpsr_sharethis($args = ''){
86
  case 'vcount':
87
  foreach($services_split as $srvc){
88
  $srvc = trim($srvc);
89
- $sharethis_processed .= "<span class='st_{$srvc}_vcount' st_title='{$title}' st_url='{$url}' displayText='share'></span>";
90
  }
91
  break;
92
 
93
  case 'hcount':
94
  foreach($services_split as $srvc){
95
  $srvc = trim($srvc);
96
- $sharethis_processed .= "<span class='st_{$srvc}_hcount' st_title='{$title}' st_url='{$url}' displayText='share'></span>";
97
  }
98
  break;
99
 
100
  case 'buttons':
101
  foreach($services_split as $srvc){
102
  $srvc = trim($srvc);
103
- $sharethis_processed .= "<span class='st_{$srvc}_buttons' st_title='{$title}' st_url='{$url}' displayText='share'></span>";
104
  }
105
  break;
106
 
107
  case 'large':
108
  foreach($services_split as $srvc){
109
  $srvc = trim($srvc);
110
- $sharethis_processed .= "<span class='st_{$srvc}_large' st_title='{$title}' st_url='{$url}' displayText='share'></span>";
111
  }
112
  break;
113
 
114
  case 'regular':
115
  foreach($services_split as $srvc){
116
  $srvc = trim($srvc);
117
- $sharethis_processed .= "<span class='st_{$srvc}' st_title='{$title}' st_url='{$url}' displayText='share'></span>";
118
  }
119
  break;
120
 
121
  case 'regular2':
122
  foreach($services_split as $srvc){
123
  $srvc = trim($srvc);
124
- $sharethis_processed .= "<span class='st_{$srvc}' st_title='{$title}' st_url='{$url}'></span>";
125
  }
126
  break;
127
 
128
  case 'classic':
129
- $sharethis_processed .= "<span class='st_sharethis' st_title='{$title}' st_url='{$url}' displayText='ShareThis'></span>";
130
  break;
131
 
132
  case 'image':
1
  <?php
2
  /*
3
  * Sharethis buttons Processor code for WP Socializer Plugin
4
+ * Version : 2.6
5
  * Author : Aakash Chakravarthy
6
  */
7
 
24
 
25
  $wpsr_sharethis_pubkey = $wpsr_sharethis['pubkey'];
26
  $wpsr_sharethis_pubkey = ($wpsr_sharethis_pubkey == '') ? wpsr_sharethis_pubkey() : $wpsr_sharethis_pubkey;
27
+ $wpsr_sharethis_copynshare = $wpsr_sharethis['copynshare'] ? 'true' : 'false';
28
 
29
  // Return the script
30
+ return '<!-- WP Socializer - ShareThis Config -->
31
+ <script type="text/javascript">
32
+ var switchTo5x=false;
33
+ var sharethisLoad = function(){
34
+ ' . "stLight.options({publisher: '{$wpsr_sharethis_pubkey}', doNotHash: {$wpsr_sharethis_copynshare}, doNotCopy: {$wpsr_sharethis_copynshare}, hashAddressBar: false});" . '
35
+ };
36
  if(window.addEventListener) window.addEventListener("load", sharethisLoad, false);
37
  else if (window.attachEvent) window.attachEvent("onload", sharethisLoad);
38
+ </script>
39
+ <!-- WP Socializer - End ShareThis Config -->';
40
  }
41
 
42
  function wpsr_sharethis_script(){
53
  ## Sharethis option
54
  $wpsr_sharethis = get_option('wpsr_sharethis_data');
55
 
56
+ # Get Retweet Button Options
57
+ $wpsr_retweet = get_option('wpsr_retweet_data');
58
+
59
  $defaults = array (
60
  'output' => 'vcount',
61
  'url' => $def_url,
80
 
81
  // $title = urlencode($title); (fix v2.1)
82
  // $url = urlencode($url); (fix v2.4.6)
83
+ $username = $wpsr_retweet['username'];
84
 
85
  if($addp == 1){
86
  $before_st = '<p>';
94
  case 'vcount':
95
  foreach($services_split as $srvc){
96
  $srvc = trim($srvc);
97
+ $sharethis_processed .= "<span class='st_{$srvc}_vcount' st_title='{$title}' st_via='{$username}' st_url='{$url}' displayText='share'></span>";
98
  }
99
  break;
100
 
101
  case 'hcount':
102
  foreach($services_split as $srvc){
103
  $srvc = trim($srvc);
104
+ $sharethis_processed .= "<span class='st_{$srvc}_hcount' st_title='{$title}' st_via='{$username}' st_url='{$url}' displayText='share'></span>";
105
  }
106
  break;
107
 
108
  case 'buttons':
109
  foreach($services_split as $srvc){
110
  $srvc = trim($srvc);
111
+ $sharethis_processed .= "<span class='st_{$srvc}_buttons' st_title='{$title}' st_via='{$username}' st_url='{$url}' displayText='share'></span>";
112
  }
113
  break;
114
 
115
  case 'large':
116
  foreach($services_split as $srvc){
117
  $srvc = trim($srvc);
118
+ $sharethis_processed .= "<span class='st_{$srvc}_large' st_title='{$title}' st_via='{$username}' st_url='{$url}' displayText='share'></span>";
119
  }
120
  break;
121
 
122
  case 'regular':
123
  foreach($services_split as $srvc){
124
  $srvc = trim($srvc);
125
+ $sharethis_processed .= "<span class='st_{$srvc}' st_title='{$title}' st_via='{$username}' st_url='{$url}' displayText='share'></span>";
126
  }
127
  break;
128
 
129
  case 'regular2':
130
  foreach($services_split as $srvc){
131
  $srvc = trim($srvc);
132
+ $sharethis_processed .= "<span class='st_{$srvc}' st_title='{$title}' st_via='{$username}' st_url='{$url}'></span>";
133
  }
134
  break;
135
 
136
  case 'classic':
137
+ $sharethis_processed .= "<span class='st_sharethis' st_title='{$title}' st_via='{$username}' st_url='{$url}' displayText='ShareThis'></span>";
138
  break;
139
 
140
  case 'image':
includes/wpsr-socialbuttons.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Social buttons Processor code for WP Socializer Plugin
4
- * Version : 4.8
5
  * Author : Aakash Chakravarthy
6
  */
7
 
@@ -157,7 +157,7 @@ function wpsr_socialbts_processlist($args = ''){
157
  $url = urlencode($pUrl);
158
  $deUrl = $pUrl;
159
 
160
- $title = urlencode(trim(str_replace('&#8211;', '-', $pTitle))); // Revised in v2.4.6
161
  $deTitle = trim($pTitle);
162
 
163
  $excerpt = trim(urlencode($pExcerpt));
@@ -185,7 +185,7 @@ function wpsr_socialbts_processlist($args = ''){
185
  );
186
 
187
  $srvcsSplit = explode(',', $services);
188
- $spriteImage = WPSR_SOCIALBT_IMGPATH . "wp-socializer-sprite-$pixel.png";
189
  $spriteMaskImage = WPSR_SOCIALBT_IMGPATH . "wp-socializer-sprite-mask-$pixel.gif";
190
  $srvcsCount = count($srvcsSplit);
191
  $socialbts_list = '';
1
  <?php
2
  /*
3
  * Social buttons Processor code for WP Socializer Plugin
4
+ * Version : 4.9
5
  * Author : Aakash Chakravarthy
6
  */
7
 
157
  $url = urlencode($pUrl);
158
  $deUrl = $pUrl;
159
 
160
+ $title = urlencode( html_entity_decode( trim( $pTitle ) ) ); // REVISED IN 2.4.9.8
161
  $deTitle = trim($pTitle);
162
 
163
  $excerpt = trim(urlencode($pExcerpt));
185
  );
186
 
187
  $srvcsSplit = explode(',', $services);
188
+ $spriteImage = WPSR_SOCIALBT_IMGPATH . "wp-socializer-sprite-$pixel.png?v1";
189
  $spriteMaskImage = WPSR_SOCIALBT_IMGPATH . "wp-socializer-sprite-mask-$pixel.gif";
190
  $srvcsCount = count($srvcsSplit);
191
  $socialbts_list = '';
public/css/wp-socializer-buttons-css.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- * WP Socializer Social buttons - CSS File - v2.6
3
  * Author: Aakash Chakravarthy
4
  */
5
 
@@ -120,11 +120,7 @@
120
  width: 60px;
121
  margin: 0px 0px 0px 0px !important;
122
  z-index: 9999;
123
- -moz-border-radius: 10px;
124
- -webkit-border-radius: 10px;
125
  border-radius: 10px;
126
- -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
127
- -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
128
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
129
  text-align: center;
130
  }
@@ -144,14 +140,7 @@
144
  width: 900px;
145
  z-index: 9999;
146
  padding: 0px 0px 0px 15px;
147
- -moz-border-radius-topleft: 10px;
148
- -moz-border-radius-topright: 10px;
149
- -moz-border-radius-bottomright: 0px;
150
- -moz-border-radius-bottomleft: 0px;
151
- -webkit-border-radius: 10px 10px 0px 0px;
152
  border-radius: 10px 10px 0px 0px;
153
- -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
154
- -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
155
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
156
  left: 0px;
157
  right: 0px;
@@ -174,8 +163,6 @@
174
  background-color: #333;
175
  background-image: url(images/dark-bg.png);
176
  background-position: 0px 0px;
177
- -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
178
- -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
179
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
180
  }
181
  .wpsr-floatbar-float_left.wpsr-floatbar-dark{
@@ -308,7 +295,12 @@
308
  /* ADJUSTMENTS */
309
  .wpsr-floatbar-float_left .wpsr_floatbt .fb-like{
310
  width: 50px !important;
 
311
  }
 
 
 
 
312
  .wpsr_floatbt .wp-socializer-single{
313
  margin: 0px;
314
  }
1
  /*
2
+ * WP Socializer Social buttons - CSS File - v2.7
3
  * Author: Aakash Chakravarthy
4
  */
5
 
120
  width: 60px;
121
  margin: 0px 0px 0px 0px !important;
122
  z-index: 9999;
 
 
123
  border-radius: 10px;
 
 
124
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
125
  text-align: center;
126
  }
140
  width: 900px;
141
  z-index: 9999;
142
  padding: 0px 0px 0px 15px;
 
 
 
 
 
143
  border-radius: 10px 10px 0px 0px;
 
 
144
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
145
  left: 0px;
146
  right: 0px;
163
  background-color: #333;
164
  background-image: url(images/dark-bg.png);
165
  background-position: 0px 0px;
 
 
166
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
167
  }
168
  .wpsr-floatbar-float_left.wpsr-floatbar-dark{
295
  /* ADJUSTMENTS */
296
  .wpsr-floatbar-float_left .wpsr_floatbt .fb-like{
297
  width: 50px !important;
298
+ overflow: hidden; /* FB locale buttons fix */
299
  }
300
+ .wpsr-floatbar-float_left .wpsr_floatbt .fb-like:hover{
301
+ overflow: visible;
302
+ }
303
+
304
  .wpsr_floatbt .wp-socializer-single{
305
  margin: 0px;
306
  }
public/social-icons/16/vkontakte.png ADDED
Binary file
public/social-icons/32/vkontakte.png ADDED
Binary file
public/social-icons/wp-socializer-sprite-16px.png CHANGED
Binary file
public/social-icons/wp-socializer-sprite-32px.png CHANGED
Binary file
readme.txt CHANGED
@@ -2,12 +2,12 @@
2
  Contributors: Aakash Chakravarthy
3
  Author URI: http://www.aakashweb.com/
4
  Plugin URI: http://www.aakashweb.com/wordpress-plugins/wp-socializer/
5
- Tags: social, social bookmarking, bookmarks, bookmarking, bookmarks menu, share, sharing, search, rss, post, posts, plugin, seo, page, pages, google, widget, excerpt, content, bookmark, button, technorati, email, gmail, facebook, twitter, retweet, myspace, diigo, delicious, digg, buzz, linkedin, google buzz, yahoo, reddit, dzone, sphinn, addthis, template, socializer, sociable, wp, wordpress, sexy bookmarks
6
  License: GPLv2 or later
7
  Donate Link: http://bit.ly/wpsrDonation
8
  Requires at least: 3.1
9
- Tested up to: 3.6.1
10
- Stable tag: 2.4.9.7
11
 
12
  Super Cool Plugin for inserting all kinds of Social Bookmarking & Sharing buttons. Has customizable Floating Share Bar, Widgets, Shortcodes also.
13
 
@@ -17,6 +17,19 @@ WP Socializer is an advanced plugin for inserting all kinds of Social bookmarkin
17
 
18
  [Check out the **LIVE DEMO** of the plugin](http://www.aakashweb.com/demos/wp-socializer/)
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  = Notable features =
21
 
22
  * Insert all kinds of social buttons in posts & pages.
@@ -27,19 +40,17 @@ WP Socializer is an advanced plugin for inserting all kinds of Social bookmarkin
27
  * Template functions are available for advanced placements.
28
  * (NEW) Floating sharebar now optimized for mobile devices also.
29
 
30
- = New features and bug fixes in v2.4.9.7 =
31
 
32
- * Added option to Sharethis "CopyNshare" feature.
33
- * Fixed the issue in page URL outside the post loop. The wrong share count displayed for various buttons is therefore fixed.
34
- * Fixed small UI related bugs.
35
 
36
- [Changelog](changelog)
37
 
38
  = Buttons available =
39
 
40
  Using WP Socializer, you can insert all these buttons into your site. These buttons can be inserted easily in any desired way. There is no fixed way as other plugins do.
41
 
42
- **107** Social bookmarking buttons (in both 16px and 32px) - [Demo](http://www.aakashweb.com/demos/wp-socializer/social-buttons/), Addthis, Sharethis, Facebook like, Google +1, Pinterest, 3 Kinds of Retweet and all kinds of Digg, LinkedIn, Reddit & StumbleUpon buttons
43
 
44
  [youtube="http://www.youtube.com/v/1uimAE8rFYE"]
45
 
@@ -70,14 +81,6 @@ There are whole lot of Social bookmarking buttons avaialble in WP Socializer, wh
70
  = and more ... =
71
 
72
  > **Donate:** If you find this plugin useful, [consider making a donation](http://bit.ly/wpsrDonation), it will make me happy for this plugin!!
73
-
74
- = New features and fixed bugs =
75
- * Added mobile optimization or small screen support for the floating sharebar
76
- * Facebook comments popup clipping is fixed.
77
- * Sharethis "undefined" object issue is fixed.
78
- * Social button CSS file size is reduced and notable tweaks are made to the social buttons.
79
- * Scripts and styles are now loaded properly in the frontend as per the API
80
- * Source code is revised and optimized.
81
 
82
  [More changes listed in Changelog](changelog)
83
 
@@ -91,6 +94,7 @@ Documentation:
91
 
92
  * [Template function reference](http://www.aakashweb.com/docs/wp-socializer-docs/function-reference/).
93
  * [Manual placement](http://www.aakashweb.com/docs/wp-socializer-docs/manual-placement/).
 
94
 
95
  == Installation ==
96
 
@@ -105,7 +109,7 @@ Documentation:
105
 
106
  == Frequently Asked Questions ==
107
 
108
- Frequently Asked Questions can be seen [here](http://www.aakashweb.com/faqs/wordpress-plugins/wp-socializer/).
109
 
110
  For custom placement in theme files and posts, check out the following documentations
111
 
@@ -130,6 +134,18 @@ For custom placement in theme files and posts, check out the following documenta
130
 
131
  == Changelog ==
132
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  = 2.4.9.7 =
134
  * Added option to Sharethis "CopyNshare" feature.
135
  * Fixed the issue in page URL outside the post loop. The wrong share count displayed for various buttons is therefore fixed.
@@ -272,7 +288,7 @@ For custom placement in theme files and posts, check out the following documenta
272
 
273
  == Upgrade Notice ==
274
 
275
- Version 2.4.x is a recommended upgrade to get all the latest social bookmarking and sharing buttons available in the Internet. Various bugs are fixed and the admin UI is completely changed for easy use.
276
 
277
  == Credits ==
278
 
2
  Contributors: Aakash Chakravarthy
3
  Author URI: http://www.aakashweb.com/
4
  Plugin URI: http://www.aakashweb.com/wordpress-plugins/wp-socializer/
5
+ Tags: social, social bookmarking, bookmarks, bookmarking, bookmarks menu, share, sharing, search, rss, post, posts, plugin, seo, page, pages, google, widget, excerpt, content, bookmark, button, technorati, email, gmail, facebook, twitter, retweet, myspace, diigo, delicious, digg, buzz, linkedin, yahoo, reddit, dzone, vkontakte, vk, sphinn, addthis, template, socializer, sociable, wp, wordpress, sexy bookmarks
6
  License: GPLv2 or later
7
  Donate Link: http://bit.ly/wpsrDonation
8
  Requires at least: 3.1
9
+ Tested up to: 3.8.1
10
+ Stable tag: 2.4.9.8
11
 
12
  Super Cool Plugin for inserting all kinds of Social Bookmarking & Sharing buttons. Has customizable Floating Share Bar, Widgets, Shortcodes also.
13
 
17
 
18
  [Check out the **LIVE DEMO** of the plugin](http://www.aakashweb.com/demos/wp-socializer/)
19
 
20
+ [ Note: v2.4.9.8 is a recommended update which fixes various issues. Please update to it for perfect working ]
21
+
22
+ = New features and bug fixes in v2.4.9.8 =
23
+
24
+ * (NEW) Social button site (**VKontakte**) (now contains 108 social bookmarking buttons)
25
+ * Sharethis code fix.
26
+ * Sharethis twitter handle fix.
27
+ * Pinterest alignment fix.
28
+ * Social buttons url encoding fix.
29
+ * Facebook button code updated (support for share button).
30
+ * (NEW) Facebook like button for different languages.
31
+ * Google plus button code updated
32
+
33
  = Notable features =
34
 
35
  * Insert all kinds of social buttons in posts & pages.
40
  * Template functions are available for advanced placements.
41
  * (NEW) Floating sharebar now optimized for mobile devices also.
42
 
43
+ [Changelog](changelog)
44
 
45
+ = Future of WP Socializer =
 
 
46
 
47
+ Planned for a complete change in the plugin with simple UI, more buttons and features (may be in v2.5). Hoping to see it in action.
48
 
49
  = Buttons available =
50
 
51
  Using WP Socializer, you can insert all these buttons into your site. These buttons can be inserted easily in any desired way. There is no fixed way as other plugins do.
52
 
53
+ **108** Social bookmarking buttons (in both 16px and 32px) - [Demo](http://www.aakashweb.com/demos/wp-socializer/social-buttons/), Addthis, Sharethis, Facebook like, Google +1, Pinterest, 3 Kinds of Retweet and all kinds of Digg, LinkedIn, Reddit & StumbleUpon buttons
54
 
55
  [youtube="http://www.youtube.com/v/1uimAE8rFYE"]
56
 
81
  = and more ... =
82
 
83
  > **Donate:** If you find this plugin useful, [consider making a donation](http://bit.ly/wpsrDonation), it will make me happy for this plugin!!
 
 
 
 
 
 
 
 
84
 
85
  [More changes listed in Changelog](changelog)
86
 
94
 
95
  * [Template function reference](http://www.aakashweb.com/docs/wp-socializer-docs/function-reference/).
96
  * [Manual placement](http://www.aakashweb.com/docs/wp-socializer-docs/manual-placement/).
97
+ * [FAQs](http://www.aakashweb.com/docs/wp-socializer-docs/wp-socializer-faq/)
98
 
99
  == Installation ==
100
 
109
 
110
  == Frequently Asked Questions ==
111
 
112
+ Frequently Asked Questions can be seen [here](http://www.aakashweb.com/docs/wp-socializer-docs/wp-socializer-faq/).
113
 
114
  For custom placement in theme files and posts, check out the following documentations
115
 
134
 
135
  == Changelog ==
136
 
137
+ = 2.4.9.8 =
138
+ * (NEW) Social button site (**VKontakte**) (now contains 108 social bookmarking buttons)
139
+ * Sharethis code fix.
140
+ * Sharethis twitter handle fix.
141
+ * Pinterest alignment fix.
142
+ * Social buttons url encoding fix.
143
+ * Facebook button code updated.
144
+ * (NEW) Facebook like button for different languages.
145
+ * Google plus button code updated
146
+ * Removed outdated options in admin page
147
+ * Minor UI changes
148
+
149
  = 2.4.9.7 =
150
  * Added option to Sharethis "CopyNshare" feature.
151
  * Fixed the issue in page URL outside the post loop. The wrong share count displayed for various buttons is therefore fixed.
288
 
289
  == Upgrade Notice ==
290
 
291
+ Version 2.4.9.8 is a recommended upgrade to get all the latest social bookmarking and sharing buttons available in the Internet. Various bugs are fixed. Please dont ignore to update to it.
292
 
293
  == Credits ==
294
 
wp-socializer.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Socializer
4
- Version: 2.4.9.7
5
  Plugin URI: http://www.aakashweb.com/
6
  Description: WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar and Smart load feature. <a href="http://youtu.be/1uimAE8rFYE" target="_blank">Check out the demo video</a>.
7
  Author: Aakash Chakravarthy
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_URL')) {
14
  $wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
15
  }
16
 
17
- define('WPSR_VERSION', '2.4.9.7');
18
  define('WPSR_AUTHOR', 'Aakash Chakravarthy');
19
  define('WPSR_URL', $wpsr_url);
20
  define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
@@ -805,6 +805,14 @@ $wpsr_socialsites_list = array(
805
  'url' => 'http://www.viadeo.com/shareit/share/?url={url}&title={title}&urllanguage=fr',
806
  ),
807
 
 
 
 
 
 
 
 
 
808
  // W
809
 
810
  'webnewsde' => array(
@@ -942,7 +950,7 @@ $wpsr_floating_bar_bts = array(
942
  'float_left' => '[wpsr_facebook style="box_count" width="48" ]', // Added "width" in v2.4.2
943
  'bottom_fixed' => '[wpsr_facebook style="button_count"]',
944
  ),
945
- 'Facebook Like and Send' => array(
946
  'float_left' => '[wpsr_facebook style="box_count" width="70" type="send"]', // Added v2.4.9.5, thanks to Dan: http://bit.ly/1bSWWut
947
  'bottom_fixed' => '[wpsr_facebook style="button_count" type="send" ]',
948
  ),
@@ -959,8 +967,8 @@ $wpsr_floating_bar_bts = array(
959
  'bottom_fixed' => '[wpsr_linkedin type="right" script="0"]',
960
  ),
961
  'Pinterest' => array(
962
- 'float_left' => '[wpsr_pinterest type="vertical" script="0"]',
963
- 'bottom_fixed' => '[wpsr_pinterest type="horizontal" script="0"]',
964
  ),
965
  'Comments' => array(
966
  'float_left' => '[wpsr_commentsbt type="vertical"]',
@@ -1225,8 +1233,8 @@ function wpsr_process_template($no, $rss = 0){
1225
  wpsr_reddit_bt('1'), wpsr_reddit_bt('2'), wpsr_reddit_bt('3'),
1226
  wpsr_stumbleupon_bt('1'), wpsr_stumbleupon_bt('2'), wpsr_stumbleupon_bt('3'),
1227
  wpsr_stumbleupon_bt('5'), wpsr_linkedin_bt('standard'), wpsr_linkedin_bt('right'),
1228
- wpsr_linkedin_bt('top'), wpsr_pinterest_bt('nocount'), wpsr_pinterest_bt('horizontal'),
1229
- wpsr_pinterest_bt('vertical'), wpsr_custom_bt('custom1'), wpsr_custom_bt('custom2')
1230
  );
1231
 
1232
  $wpsr_button_processed_list_rss = array(
@@ -1408,8 +1416,11 @@ function wpsr_scripts_adder(){
1408
 
1409
  if(wpsr_button_used('facebook') == 1){
1410
  $fbappid = $wpsr_facebook['appid'];
 
 
1411
  $fbparam = ($fbappid == '') ? '' : '&appId=' . $fbappid;
1412
- array_push($scripts, '"https://connect.facebook.net/en_US/all.js#xfbml=1' . $fbparam . '"');
 
1413
  }
1414
 
1415
  if(wpsr_button_used('digg') == 1){
1
  <?php
2
  /*
3
  Plugin Name: WP Socializer
4
+ Version: 2.4.9.8
5
  Plugin URI: http://www.aakashweb.com/
6
  Description: WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar and Smart load feature. <a href="http://youtu.be/1uimAE8rFYE" target="_blank">Check out the demo video</a>.
7
  Author: Aakash Chakravarthy
14
  $wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
15
  }
16
 
17
+ define('WPSR_VERSION', '2.4.9.8');
18
  define('WPSR_AUTHOR', 'Aakash Chakravarthy');
19
  define('WPSR_URL', $wpsr_url);
20
  define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
805
  'url' => 'http://www.viadeo.com/shareit/share/?url={url}&title={title}&urllanguage=fr',
806
  ),
807
 
808
+ 'vkontakte' => array( // Added in v2.4.9.8 24-01-2014
809
+ 'name' => 'VKontakte',
810
+ 'titleText' => __('Share this on ', 'wpsr') . 'VKontakte',
811
+ 'icon' => 'vkontakte.png',
812
+ 'url' => 'http://vk.com/share.php?url={url}&title={title}&description={excerpt}',
813
+ 'support32px' => 1,
814
+ ),
815
+
816
  // W
817
 
818
  'webnewsde' => array(
950
  'float_left' => '[wpsr_facebook style="box_count" width="48" ]', // Added "width" in v2.4.2
951
  'bottom_fixed' => '[wpsr_facebook style="button_count"]',
952
  ),
953
+ 'Facebook Like and Share' => array(
954
  'float_left' => '[wpsr_facebook style="box_count" width="70" type="send"]', // Added v2.4.9.5, thanks to Dan: http://bit.ly/1bSWWut
955
  'bottom_fixed' => '[wpsr_facebook style="button_count" type="send" ]',
956
  ),
967
  'bottom_fixed' => '[wpsr_linkedin type="right" script="0"]',
968
  ),
969
  'Pinterest' => array(
970
+ 'float_left' => '[wpsr_pinterest type="above" script="0"]', //changed type since 2.4.9.8
971
+ 'bottom_fixed' => '[wpsr_pinterest type="beside" script="0"]',
972
  ),
973
  'Comments' => array(
974
  'float_left' => '[wpsr_commentsbt type="vertical"]',
1233
  wpsr_reddit_bt('1'), wpsr_reddit_bt('2'), wpsr_reddit_bt('3'),
1234
  wpsr_stumbleupon_bt('1'), wpsr_stumbleupon_bt('2'), wpsr_stumbleupon_bt('3'),
1235
  wpsr_stumbleupon_bt('5'), wpsr_linkedin_bt('standard'), wpsr_linkedin_bt('right'),
1236
+ wpsr_linkedin_bt('top'), wpsr_pinterest_bt('none'), wpsr_pinterest_bt('beside'),
1237
+ wpsr_pinterest_bt('above'), wpsr_custom_bt('custom1'), wpsr_custom_bt('custom2')
1238
  );
1239
 
1240
  $wpsr_button_processed_list_rss = array(
1416
 
1417
  if(wpsr_button_used('facebook') == 1){
1418
  $fbappid = $wpsr_facebook['appid'];
1419
+ $fblocale = $wpsr_facebook['locale'];
1420
+
1421
  $fbparam = ($fbappid == '') ? '' : '&appId=' . $fbappid;
1422
+ $fblang = ( empty($fblocale) ) ? 'en_US' : $fblocale;
1423
+ array_push($scripts, '"https://connect.facebook.net/' . $fblang . '/all.js#xfbml=1' . $fbparam . '"');
1424
  }
1425
 
1426
  if(wpsr_button_used('digg') == 1){