Facebook Button by BestWebSoft - Version 2011.2.06

Version Description

Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Facebook Button by BestWebSoft
Version 2011.2.06
Comparing to
See all releases

Code changes from version 2011.2.05 to 2011.2.06

css/style.css ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #fcbk_share {
2
+ clear:both;
3
+ }
4
+
5
+ .fcbk_button {
6
+ float:left;
7
+ margin-right:10px;
8
+ }
9
+
10
+ .fcbk_like {
11
+
12
+ }
13
+
14
+ #fb-root {
15
+
16
+ }
facebook-button-plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Facebook Button Plugin
4
  Plugin URI: http://bestwebsoft.com/plugin/
5
  Description: Put Facebook Button in to your post.
6
  Author: BestWebSoft
7
- Version: 2.05
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -40,7 +40,9 @@ if( ! function_exists( 'bws_add_menu_render' ) ) {
40
  array( 'contact-form-plugin\/contact_form.php', 'Contact Form', 'http://wordpress.org/extend/plugins/contact-form-plugin/', 'http://bestwebsoft.com/plugin/contact-form/', '/wp-admin/update.php?action=install-plugin&plugin=contact-form-plugin&_wpnonce=47757d936f' ),
41
  array( 'facebook-button-plugin\/facebook-button-plugin.php', 'Facebook Like Button Plugin', 'http://wordpress.org/extend/plugins/facebook-button-plugin/', 'http://bestwebsoft.com/plugin/facebook-like-button-plugin/', '/wp-admin/update.php?action=install-plugin&plugin=facebook-button-plugin&_wpnonce=6eb654de19' ),
42
  array( 'twitter-plugin\/twitter.php', 'Twitter Plugin', 'http://wordpress.org/extend/plugins/twitter-plugin/', 'http://bestwebsoft.com/plugin/twitter-plugin/', '/wp-admin/update.php?action=install-plugin&plugin=twitter-plugin&_wpnonce=1612c998a5' ),
43
- array( 'portfolio\/portfolio.php', 'Portfolio', 'http://wordpress.org/extend/plugins/portfolio/', 'http://bestwebsoft.com/plugin/portfolio-plugin/', '/wp-admin/update.php?action=install-plugin&plugin=portfolio&_wpnonce=488af7391d' )
 
 
44
  );
45
  foreach($array_plugins as $plugins)
46
  {
@@ -71,29 +73,29 @@ if( ! function_exists( 'bws_add_menu_render' ) ) {
71
  <div class="wrap">
72
  <div class="icon32 icon32-bws" id="icon-options-general"></div>
73
  <h2><?php echo $title;?></h2>
74
- <?php if($count_activate > 0) { ?>
75
  <div>
76
- <h3>Activated plugins</h3>
77
- <?php foreach($array_activate as $activate_plugin) { ?>
78
- <div style="float:left; width:200px;"><?php echo $activate_plugin['title']; ?></div> <p><a href="<?php echo $activate_plugin['link']; ?>">Read more</a></p>
79
  <?php } ?>
80
  </div>
81
  <?php } ?>
82
- <?php if($count_install > 0) { ?>
83
  <div>
84
- <h3>Installed plugins</h3>
85
  <?php foreach($array_install as $install_plugin) { ?>
86
- <div style="float:left; width:200px;"><?php echo $install_plugin['title']; ?></div> <p><a href="<?php echo $install_plugin['link']; ?>">Read more</a></p>
87
  <?php } ?>
88
  </div>
89
  <?php } ?>
90
- <?php if($count_recomend > 0) { ?>
91
  <div>
92
- <h3>Recommended plugins</h3>
93
- <?php foreach($array_recomend as $recomend_plugin) { ?>
94
- <div style="float:left; width:200px;"><?php echo $recomend_plugin['title']; ?></div> <p><a href="<?php echo $recomend_plugin['link']; ?>">Read more</a> <a href="<?php echo $recomend_plugin['href']; ?>">Download</a> <a class="install-now" href="<?php echo get_bloginfo("url") . $recomend_plugin['slug']; ?>" title="<?php esc_attr( sprintf( __( 'Install %s' ), $recomend_plugin['title'] ) ) ?>"><?php echo __( 'Install Now' ) ?></a></p>
95
  <?php } ?>
96
- <span style="color: rgb(136, 136, 136); font-size: 10px;">If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site <a href="http://bestwebsoft.com/contact/">http://bestwebsoft.com/contact/</a></span>
97
  </div>
98
  <?php } ?>
99
  </div>
@@ -127,13 +129,10 @@ if( ! function_exists( 'bws_plugin_header' ) ) {
127
  }
128
  }
129
 
130
- add_action('admin_head', 'bws_plugin_header');
131
-
132
-
133
  if( ! function_exists( 'fcbk_bttn_plgn_add_pages' ) ) {
134
  function fcbk_bttn_plgn_add_pages() {
135
- add_menu_page(__('BWS Plugins'), __('BWS Plugins'), 'manage_options', 'bws_plugins', 'bws_add_menu_render', WP_CONTENT_URL."/plugins/facebook-button-plugin/img/px.png", 101);
136
- add_submenu_page('bws_plugins', 'FaceBook Button Options', 'FaceBook Button', 'manage_options', "facebook-button-plugin.php", 'fcbk_bttn_plgn_settings_page');
137
 
138
  //call register settings function
139
  add_action( 'admin_init', 'fcbk_bttn_plgn_settings' );
@@ -149,7 +148,7 @@ if( ! function_exists( 'fcbk_bttn_plgn_settings' ) ) {
149
  'fcbk_bttn_plgn_where' => '',
150
  'fcbk_bttn_plgn_display_option' => '',
151
  'fcbk_bttn_plgn_count_icon' => 1,
152
- 'fb_img_link' => 'wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg'
153
  );
154
 
155
  if( ! get_option( 'fcbk_bttn_plgn_options_array' ) )
@@ -166,7 +165,6 @@ if( ! function_exists( 'fcbk_bttn_plgn_settings_page' ) ) {
166
  function fcbk_bttn_plgn_settings_page()
167
  {
168
  global $fcbk_bttn_plgn_options_array;
169
- //$fcbk_bttn_plgn_options_array = get_option ( 'fcbk_bttn_plgn_options_array' );
170
 
171
  $message = "";
172
  $error = "";
@@ -182,7 +180,7 @@ if( ! function_exists( 'fcbk_bttn_plgn_settings_page' ) ) {
182
  if($fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_count_icon' ] > 2)
183
  $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_count_icon' ] = 1;
184
  update_option ( 'fcbk_bttn_plgn_options_array', $fcbk_bttn_plgn_options_array );
185
- $message = "Options saved.";
186
  }
187
  // Form options
188
  if ( isset ( $_FILES [ 'uploadfile' ] [ 'tmp_name' ] ) && $_FILES [ 'uploadfile' ] [ 'tmp_name' ] != "" ) {
@@ -205,10 +203,10 @@ if( ! function_exists( 'fcbk_bttn_plgn_settings_page' ) ) {
205
  $filename = $_FILES [ 'uploadfile' ] [ 'tmp_name' ];
206
  $ext = substr ( $_FILES [ 'uploadfile' ] [ 'name' ], 1 + strrpos( $_FILES [ 'uploadfile' ] [ 'name' ], '.' ) );
207
  if ( filesize ( $filename ) > $max_image_size ) {
208
- $error = "Error: File size > 32K";
209
  }
210
  elseif ( ! in_array ( $ext, $valid_types ) ) {
211
- $error = "Error: Invalid file type";
212
  }
213
  else {
214
  $size = GetImageSize ( $filename );
@@ -218,16 +216,16 @@ if( ! function_exists( 'fcbk_bttn_plgn_settings_page' ) ) {
218
  $message .= " Upload successful.";
219
  }
220
  else {
221
- $error = "Error: moving file failed";
222
  }
223
  }
224
  else {
225
- $error = "Error: check image width or height";
226
  }
227
  }
228
  }
229
  else {
230
- $error = "Uploading Error: check image properties";
231
  }
232
  }
233
  fcbk_bttn_plgn_update_option();
@@ -242,35 +240,35 @@ if( ! function_exists( 'fcbk_bttn_plgn_settings_page' ) ) {
242
  }
243
  </style>
244
  <div class="icon32 icon32-bws" id="icon-options-general"></div>
245
- <h2>FaceBook Button Options</h2>
246
  <div class="updated fade" <?php if( ! isset( $_REQUEST['fcbk_bttn_plgn_form_submit'] ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
247
  <div class="error" <?php if( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
248
  <div>
249
  <form name="form1" method="post" action="admin.php?page=facebook-button-plugin.php" enctype="multipart/form-data" >
250
  <table class="form-table">
251
  <tr valign="top">
252
- <th scope="row"><?php _e( "Your's FaceBook Id:" ); ?></th>
253
  <td>
254
  <input name='fcbk_bttn_plgn_link' type='text' value='<?php echo $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_link' ] ?>' style="width:200px;" />
255
  </td>
256
  </tr>
257
  <tr>
258
  <th>
259
- Choose display option:
260
  </th>
261
  <td>
262
  <select name="fcbk_bttn_plgn_display_option" onchange="if ( this . value == 'custom' ) { getElementById ( 'fcbk_bttn_plgn_display_option_custom' ) . style.display = 'block'; } else { getElementById ( 'fcbk_bttn_plgn_display_option_custom' ) . style.display = 'none'; }" style="width:200px;" >
263
- <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_display_option' ] == 'standart' ) echo 'selected="selected"'; ?> value="standart">Standart FaceBook image</option>
264
- <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_display_option' ] == 'custom' ) echo 'selected="selected"'; ?> value="custom">Custom FaceBook image</option>
265
  </select>
266
  </td>
267
  </tr>
268
  <tr>
269
  <th>
270
- Current image:
271
  </th>
272
  <td>
273
- <img src="<?php echo home_url( '/' ).$fcbk_bttn_plgn_options_array [ 'fb_img_link' ]; ?>" style="margin-left:2px;" />
274
  </td>
275
  </tr>
276
  <tr>
@@ -280,11 +278,11 @@ if( ! function_exists( 'fcbk_bttn_plgn_settings_page' ) ) {
280
  <th style="padding-left:0px;font-size:13px;">
281
  <input type="hidden" name="MAX_FILE_SIZE" value="64000"/>
282
  <input type="hidden" name="home" value="<?php echo ABSPATH ; ?>"/>
283
- FaceBook image:
284
  </th>
285
  <td>
286
  <input name="uploadfile" type="file" style="width:196px;" />
287
- <span style="color: rgb(136, 136, 136); font-size: 10px;">Image properties: max image width:100px; max image height:40px; max image size:32Kb; image types:"jpg", "jpeg".</span>
288
  </td>
289
  </table>
290
  </div>
@@ -292,22 +290,22 @@ if( ! function_exists( 'fcbk_bttn_plgn_settings_page' ) ) {
292
  </tr>
293
  <tr>
294
  <th>
295
- FaceBook Button Position:
296
  </th>
297
  <td>
298
  <select name="fcbk_bttn_plgn_where" onchange="if ( this . value == 'shortcode' ) { getElementById ( 'shortcode' ) . style.display = 'inline'; } else { getElementById ( 'shortcode' ) . style.display = 'none'; }" style="width:200px;" >
299
- <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'before' ) echo 'selected="selected"'; ?> value="before">Before</option>
300
- <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'after' ) echo 'selected="selected"'; ?> value="after">After</option>
301
- <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'beforeandafter' ) echo 'selected="selected"'; ?> value="beforeandafter">Before and After</option>
302
- <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'shortcode ') echo 'selected="selected"'; ?> value="shortcode">Shortcode</option>
303
  </select>
304
- <span id="shortcode" style="color: rgb(136, 136, 136); font-size: 10px; <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'shortcode' ) { echo ( 'display:inline' ); } else { echo ( 'display:none' ); }?>">If you would like to add a FaceBook button to your website, just copy and put this shortcode onto your post or page: [fb_button].</span>
305
  </td>
306
  </tr>
307
  <tr>
308
  <td colspan="2">
309
  <input type="hidden" name="fcbk_bttn_plgn_form_submit" value="submit" />
310
- <input type="submit" value="Save Changes" class="button-primary">
311
  </td>
312
  </tr>
313
  </table>
@@ -324,9 +322,9 @@ if( ! function_exists( 'fcbk_bttn_plgn_update_option' ) ) {
324
  function fcbk_bttn_plgn_update_option () {
325
  global $fcbk_bttn_plgn_options_array;
326
  if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_display_option' ] == 'standart' ){
327
- $fb_img_link = 'wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg';
328
  } else if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_display_option' ] == 'custom'){
329
- $fb_img_link = 'wp-content/plugins/facebook-button-plugin/img/facebook-ico'.$fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_count_icon' ].'.jpg';
330
  }
331
  $fcbk_bttn_plgn_options_array [ 'fb_img_link' ] = $fb_img_link ;
332
  update_option( "fcbk_bttn_plgn_options_array", $fcbk_bttn_plgn_options_array );
@@ -339,17 +337,17 @@ if( ! function_exists( 'fcbk_bttn_plgn_display_button' ) ) {
339
  //Query the database to receive array 'fcbk_bttn_plgn_options_array' and receiving necessary information to create button
340
  $fcbk_bttn_plgn_options_array = get_option ( 'fcbk_bttn_plgn_options_array' );
341
  $fcbk_bttn_plgn_where = $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ];
342
- $img = home_url( '/' ).$fcbk_bttn_plgn_options_array [ 'fb_img_link' ];
343
  $url = $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_link' ];
344
  $permalink_post = get_permalink ( $post_ID );
345
  //Button
346
- $button = '<div id="fb_share">
347
- <div style="float:left;margin-right:10px;" >
348
- <a name="fb_share" href="http://www.facebook.com/' . $url . '" target="blank">
349
  <img src="' . $img . '" alt="Fb-Button" />
350
  </a>
351
  </div>
352
- <div>
353
  <div id="fb-root"></div>
354
  <script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
355
  <fb:like href="' . $permalink_post . '" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
@@ -370,12 +368,12 @@ if( ! function_exists( 'fcbk_bttn_plgn_display_button' ) ) {
370
  }
371
  }
372
 
373
- //Function 'facebook_button_short' are using to create shortcode by FaceBook Button.
374
  if( ! function_exists( 'fcbk_bttn_plgn_shortcode' ) ) {
375
  function fcbk_bttn_plgn_shortcode( $content ) {
376
  $fcbk_bttn_plgn_options_array = get_option ( 'fcbk_bttn_plgn_options_array' );
377
  $fcbk_bttn_plgn_where = $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ];
378
- $img = home_url( '/' ). $fcbk_bttn_plgn_options_array [ 'fb_img_link' ];
379
  $url = $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_link' ];
380
  $permalink_post = get_permalink ( $post_ID );
381
  $button = '<div id="fb_share" >
@@ -394,28 +392,56 @@ if( ! function_exists( 'fcbk_bttn_plgn_shortcode' ) ) {
394
  }
395
  }
396
 
397
- function fcbk_bttn_plgn_action_links( $links, $file ) {
398
- //Static so we don't call plugin_basename on every plugin row.
399
- static $this_plugin;
400
- if ( ! $this_plugin ) $this_plugin = plugin_basename(__FILE__);
 
 
401
 
402
- if ( $file == $this_plugin ){
403
- $settings_link = '<a href="admin.php?page=facebook-button-plugin.php">' . __('Settings', 'facebook-button-plugin') . '</a>';
404
- array_unshift( $links, $settings_link );
405
- }
406
- return $links;
 
407
  } // end function fcbk_bttn_plgn_action_links
408
 
409
- function fcbk_bttn_plgn_links($links, $file) {
410
- $base = plugin_basename(__FILE__);
411
- if ($file == $base) {
412
- $links[] = '<a href="admin.php?page=facebook-button-plugin.php">' . __('Settings','facebook-button-plugin') . '</a>';
413
- $links[] = '<a href="http://wordpress.org/extend/plugins/facebook-button-plugin/faq/" target="_blank">' . __('FAQ','facebook-button-plugin') . '</a>';
414
- $links[] = '<a href="Mailto:plugin@bestwebsoft.com">' . __('Support','facebook-button-plugin') . '</a>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  }
416
- return $links;
417
  }
418
 
 
 
 
 
 
 
 
419
  // adds "Settings" link to the plugin action page
420
  add_filter( 'plugin_action_links', 'fcbk_bttn_plgn_action_links',10,2);
421
 
@@ -430,3 +456,4 @@ add_shortcode( 'fb_button', 'fcbk_bttn_plgn_shortcode' );
430
 
431
  //Add settings links.
432
  add_filter( 'the_content', 'fcbk_bttn_plgn_display_button' );
 
4
  Plugin URI: http://bestwebsoft.com/plugin/
5
  Description: Put Facebook Button in to your post.
6
  Author: BestWebSoft
7
+ Version: 2.06
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
40
  array( 'contact-form-plugin\/contact_form.php', 'Contact Form', 'http://wordpress.org/extend/plugins/contact-form-plugin/', 'http://bestwebsoft.com/plugin/contact-form/', '/wp-admin/update.php?action=install-plugin&plugin=contact-form-plugin&_wpnonce=47757d936f' ),
41
  array( 'facebook-button-plugin\/facebook-button-plugin.php', 'Facebook Like Button Plugin', 'http://wordpress.org/extend/plugins/facebook-button-plugin/', 'http://bestwebsoft.com/plugin/facebook-like-button-plugin/', '/wp-admin/update.php?action=install-plugin&plugin=facebook-button-plugin&_wpnonce=6eb654de19' ),
42
  array( 'twitter-plugin\/twitter.php', 'Twitter Plugin', 'http://wordpress.org/extend/plugins/twitter-plugin/', 'http://bestwebsoft.com/plugin/twitter-plugin/', '/wp-admin/update.php?action=install-plugin&plugin=twitter-plugin&_wpnonce=1612c998a5' ),
43
+ array( 'portfolio\/portfolio.php', 'Portfolio', 'http://wordpress.org/extend/plugins/portfolio/', 'http://bestwebsoft.com/plugin/portfolio-plugin/', '/wp-admin/update.php?action=install-plugin&plugin=portfolio&_wpnonce=488af7391d' ),
44
+ array( 'gallery-plugin\/gallery-plugin.php', 'Gallery', 'http://wordpress.org/extend/plugins/gallery-plugin/', 'http://bestwebsoft.com/plugin/gallery-plugin/', '/wp-admin/update.php?action=install-plugin&plugin=gallery-plugin&_wpnonce=f82ce8c1ad' ),
45
+ array( 'adsense-plugin\/adsense-plugin.php', 'Google AdSense Plugin', 'http://wordpress.org/extend/plugins/adsense-plugin/', 'http://bestwebsoft.com/plugin/google-adsense-plugin/', '/wp-admin/update.php?action=install-plugin&plugin=adsense-plugin&_wpnonce=e6e85756de' )
46
  );
47
  foreach($array_plugins as $plugins)
48
  {
73
  <div class="wrap">
74
  <div class="icon32 icon32-bws" id="icon-options-general"></div>
75
  <h2><?php echo $title;?></h2>
76
+ <?php if( 0 < $count_activate ) { ?>
77
  <div>
78
+ <h3><?php _e( 'Activated plugins', 'facebook' ); ?></h3>
79
+ <?php foreach( $array_activate as $activate_plugin ) { ?>
80
+ <div style="float:left; width:200px;"><?php echo $activate_plugin['title']; ?></div> <p><a href="<?php echo $activate_plugin['link']; ?>"><?php echo __( "Read more", 'facebook'); ?></a></p>
81
  <?php } ?>
82
  </div>
83
  <?php } ?>
84
+ <?php if( 0 < $count_install ) { ?>
85
  <div>
86
+ <h3><?php _e( 'Installed plugins', 'facebook' ); ?></h3>
87
  <?php foreach($array_install as $install_plugin) { ?>
88
+ <div style="float:left; width:200px;"><?php echo $install_plugin['title']; ?></div> <p><a href="<?php echo $install_plugin['link']; ?>"><?php echo __( "Read more", 'facebook'); ?></a></p>
89
  <?php } ?>
90
  </div>
91
  <?php } ?>
92
+ <?php if( 0 < $count_recomend ) { ?>
93
  <div>
94
+ <h3><?php _e( 'Recommended plugins', 'facebook' ); ?></h3>
95
+ <?php foreach( $array_recomend as $recomend_plugin ) { ?>
96
+ <div style="float:left; width:200px;"><?php echo $recomend_plugin['title']; ?></div> <p><a href="<?php echo $recomend_plugin['link']; ?>"><?php echo __( "Read more", 'facebook'); ?></a> <a href="<?php echo $recomend_plugin['href']; ?>"><?php echo __( "Download", 'facebook'); ?></a> <a class="install-now" href="<?php echo get_bloginfo( "url" ) . $recomend_plugin['slug']; ?>" title="<?php esc_attr( sprintf( __( 'Install %s' ), $recomend_plugin['title'] ) ) ?>"><?php echo __( 'Install Now' ) ?></a></p>
97
  <?php } ?>
98
+ <span style="color: rgb(136, 136, 136); font-size: 10px;"><?php _e( 'If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site', 'facebook' ); ?> <a href="http://bestwebsoft.com/contact/">http://bestwebsoft.com/contact/</a></span>
99
  </div>
100
  <?php } ?>
101
  </div>
129
  }
130
  }
131
 
 
 
 
132
  if( ! function_exists( 'fcbk_bttn_plgn_add_pages' ) ) {
133
  function fcbk_bttn_plgn_add_pages() {
134
+ add_menu_page( __( 'BWS Plugins', 'facebook' ), __( 'BWS Plugins', 'facebook' ), 'manage_options', 'bws_plugins', 'bws_add_menu_render', plugins_url( "img/px.png", __FILE__ ), 1001);
135
+ add_submenu_page( 'bws_plugins', __( 'FaceBook Button Options', 'facebook' ), __( 'FaceBook Button', 'facebook' ), 'manage_options', "facebook-button-plugin.php", 'fcbk_bttn_plgn_settings_page');
136
 
137
  //call register settings function
138
  add_action( 'admin_init', 'fcbk_bttn_plgn_settings' );
148
  'fcbk_bttn_plgn_where' => '',
149
  'fcbk_bttn_plgn_display_option' => '',
150
  'fcbk_bttn_plgn_count_icon' => 1,
151
+ 'fb_img_link' => plugins_url( "img/standart-facebook-ico.jpg", __FILE__ )
152
  );
153
 
154
  if( ! get_option( 'fcbk_bttn_plgn_options_array' ) )
165
  function fcbk_bttn_plgn_settings_page()
166
  {
167
  global $fcbk_bttn_plgn_options_array;
 
168
 
169
  $message = "";
170
  $error = "";
180
  if($fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_count_icon' ] > 2)
181
  $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_count_icon' ] = 1;
182
  update_option ( 'fcbk_bttn_plgn_options_array', $fcbk_bttn_plgn_options_array );
183
+ $message = __( "Options saved.", 'facebook' );
184
  }
185
  // Form options
186
  if ( isset ( $_FILES [ 'uploadfile' ] [ 'tmp_name' ] ) && $_FILES [ 'uploadfile' ] [ 'tmp_name' ] != "" ) {
203
  $filename = $_FILES [ 'uploadfile' ] [ 'tmp_name' ];
204
  $ext = substr ( $_FILES [ 'uploadfile' ] [ 'name' ], 1 + strrpos( $_FILES [ 'uploadfile' ] [ 'name' ], '.' ) );
205
  if ( filesize ( $filename ) > $max_image_size ) {
206
+ $error = __( "Error: File size > 32K", 'facebook' );
207
  }
208
  elseif ( ! in_array ( $ext, $valid_types ) ) {
209
+ $error = __( "Error: Invalid file type", 'facebook' );
210
  }
211
  else {
212
  $size = GetImageSize ( $filename );
216
  $message .= " Upload successful.";
217
  }
218
  else {
219
+ $error = __( "Error: moving file failed", 'facebook' );
220
  }
221
  }
222
  else {
223
+ $error = __( "Error: check image width or height", 'facebook' );
224
  }
225
  }
226
  }
227
  else {
228
+ $error = __( "Uploading Error: check image properties", 'facebook' );
229
  }
230
  }
231
  fcbk_bttn_plgn_update_option();
240
  }
241
  </style>
242
  <div class="icon32 icon32-bws" id="icon-options-general"></div>
243
+ <h2><?php echo __( "FaceBook Button Options", 'facebook' ); ?></h2>
244
  <div class="updated fade" <?php if( ! isset( $_REQUEST['fcbk_bttn_plgn_form_submit'] ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
245
  <div class="error" <?php if( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
246
  <div>
247
  <form name="form1" method="post" action="admin.php?page=facebook-button-plugin.php" enctype="multipart/form-data" >
248
  <table class="form-table">
249
  <tr valign="top">
250
+ <th scope="row"><?php _e( "Your's FaceBook Id:", 'facebook' ); ?></th>
251
  <td>
252
  <input name='fcbk_bttn_plgn_link' type='text' value='<?php echo $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_link' ] ?>' style="width:200px;" />
253
  </td>
254
  </tr>
255
  <tr>
256
  <th>
257
+ <?php echo __( "Choose display option:", 'facebook' ); ?>
258
  </th>
259
  <td>
260
  <select name="fcbk_bttn_plgn_display_option" onchange="if ( this . value == 'custom' ) { getElementById ( 'fcbk_bttn_plgn_display_option_custom' ) . style.display = 'block'; } else { getElementById ( 'fcbk_bttn_plgn_display_option_custom' ) . style.display = 'none'; }" style="width:200px;" >
261
+ <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_display_option' ] == 'standart' ) echo 'selected="selected"'; ?> value="standart"><?php echo __( "Standart FaceBook image", 'facebook' ); ?></option>
262
+ <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_display_option' ] == 'custom' ) echo 'selected="selected"'; ?> value="custom"><?php echo __( "Custom FaceBook image", 'facebook' ); ?></option>
263
  </select>
264
  </td>
265
  </tr>
266
  <tr>
267
  <th>
268
+ <?php echo __( "Current image:", 'facebook' ); ?>
269
  </th>
270
  <td>
271
+ <img src="<?php echo $fcbk_bttn_plgn_options_array [ 'fb_img_link' ]; ?>" style="margin-left:2px;" />
272
  </td>
273
  </tr>
274
  <tr>
278
  <th style="padding-left:0px;font-size:13px;">
279
  <input type="hidden" name="MAX_FILE_SIZE" value="64000"/>
280
  <input type="hidden" name="home" value="<?php echo ABSPATH ; ?>"/>
281
+ <?php echo __( "FaceBook image:", 'facebook' ); ?>
282
  </th>
283
  <td>
284
  <input name="uploadfile" type="file" style="width:196px;" />
285
+ <span style="color: rgb(136, 136, 136); font-size: 10px;"><?php echo __( 'Image properties: max image width:100px; max image height:40px; max image size:32Kb; image types:"jpg", "jpeg".', 'facebook' ); ?></span>
286
  </td>
287
  </table>
288
  </div>
290
  </tr>
291
  <tr>
292
  <th>
293
+ <?php echo __( "FaceBook Button Position:", 'facebook' ); ?>
294
  </th>
295
  <td>
296
  <select name="fcbk_bttn_plgn_where" onchange="if ( this . value == 'shortcode' ) { getElementById ( 'shortcode' ) . style.display = 'inline'; } else { getElementById ( 'shortcode' ) . style.display = 'none'; }" style="width:200px;" >
297
+ <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'before' ) echo 'selected="selected"'; ?> value="before"><?php echo __( "Before", 'facebook' ); ?></option>
298
+ <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'after' ) echo 'selected="selected"'; ?> value="after"><?php echo __( "After", 'facebook' ); ?></option>
299
+ <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'beforeandafter' ) echo 'selected="selected"'; ?> value="beforeandafter"><?php echo __( "Before and After", 'facebook' ); ?></option>
300
+ <option <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'shortcode ') echo 'selected="selected"'; ?> value="shortcode"><?php echo __( "Shortcode", 'facebook' ); ?></option>
301
  </select>
302
+ <span id="shortcode" style="color: rgb(136, 136, 136); font-size: 10px; <?php if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ] == 'shortcode' ) { echo ( 'display:inline' ); } else { echo ( 'display:none' ); }?>"><?php echo __( "If you would like to add a FaceBook button to your website, just copy and put this shortcode onto your post or page:", 'facebook' ); ?> [fb_button].</span>
303
  </td>
304
  </tr>
305
  <tr>
306
  <td colspan="2">
307
  <input type="hidden" name="fcbk_bttn_plgn_form_submit" value="submit" />
308
+ <input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
309
  </td>
310
  </tr>
311
  </table>
322
  function fcbk_bttn_plgn_update_option () {
323
  global $fcbk_bttn_plgn_options_array;
324
  if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_display_option' ] == 'standart' ){
325
+ $fb_img_link = plugins_url( 'img/standart-facebook-ico.jpg', __FILE__ );
326
  } else if ( $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_display_option' ] == 'custom'){
327
+ $fb_img_link = plugins_url( 'img/facebook-ico'.$fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_count_icon' ].'.jpg', __FILE__ );
328
  }
329
  $fcbk_bttn_plgn_options_array [ 'fb_img_link' ] = $fb_img_link ;
330
  update_option( "fcbk_bttn_plgn_options_array", $fcbk_bttn_plgn_options_array );
337
  //Query the database to receive array 'fcbk_bttn_plgn_options_array' and receiving necessary information to create button
338
  $fcbk_bttn_plgn_options_array = get_option ( 'fcbk_bttn_plgn_options_array' );
339
  $fcbk_bttn_plgn_where = $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ];
340
+ $img = $fcbk_bttn_plgn_options_array [ 'fb_img_link' ];
341
  $url = $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_link' ];
342
  $permalink_post = get_permalink ( $post_ID );
343
  //Button
344
+ $button = '<div id="fcbk_share">
345
+ <div class="fcbk_button">
346
+ <a name="fcbk_share" href="http://www.facebook.com/' . $url . '" target="blank">
347
  <img src="' . $img . '" alt="Fb-Button" />
348
  </a>
349
  </div>
350
+ <div class="fcbk_like">
351
  <div id="fb-root"></div>
352
  <script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
353
  <fb:like href="' . $permalink_post . '" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
368
  }
369
  }
370
 
371
+ //Function 'fcbk_bttn_plgn_shortcode' are using to create shortcode by FaceBook Button.
372
  if( ! function_exists( 'fcbk_bttn_plgn_shortcode' ) ) {
373
  function fcbk_bttn_plgn_shortcode( $content ) {
374
  $fcbk_bttn_plgn_options_array = get_option ( 'fcbk_bttn_plgn_options_array' );
375
  $fcbk_bttn_plgn_where = $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_where' ];
376
+ $img = $fcbk_bttn_plgn_options_array [ 'fb_img_link' ];
377
  $url = $fcbk_bttn_plgn_options_array [ 'fcbk_bttn_plgn_link' ];
378
  $permalink_post = get_permalink ( $post_ID );
379
  $button = '<div id="fb_share" >
392
  }
393
  }
394
 
395
+ //Function 'fcbk_bttn_plgn_action_links' are using to create action links on admin page.
396
+ if( ! function_exists( 'fcbk_bttn_plgn_action_links' ) ) {
397
+ function fcbk_bttn_plgn_action_links( $links, $file ) {
398
+ //Static so we don't call plugin_basename on every plugin row.
399
+ static $this_plugin;
400
+ if ( ! $this_plugin ) $this_plugin = plugin_basename(__FILE__);
401
 
402
+ if ( $file == $this_plugin ){
403
+ $settings_link = '<a href="admin.php?page=facebook-button-plugin.php">' . __( 'Settings', 'facebook' ) . '</a>';
404
+ array_unshift( $links, $settings_link );
405
+ }
406
+ return $links;
407
+ }
408
  } // end function fcbk_bttn_plgn_action_links
409
 
410
+ //Function 'fcbk_bttn_plgn_links' are using to create other links on admin page.
411
+ if ( ! function_exists ( 'fcbk_bttn_plgn_links' ) ) {
412
+ function fcbk_bttn_plgn_links($links, $file) {
413
+ $base = plugin_basename(__FILE__);
414
+ if ($file == $base) {
415
+ $links[] = '<a href="admin.php?page=facebook-button-plugin.php">' . __( 'Settings','facebook' ) . '</a>';
416
+ $links[] = '<a href="http://wordpress.org/extend/plugins/facebook-button-plugin/faq/" target="_blank">' . __( 'FAQ','facebook' ) . '</a>';
417
+ $links[] = '<a href="Mailto:plugin@bestwebsoft.com">' . __( 'Support','facebook' ) . '</a>';
418
+ }
419
+ return $links;
420
+ }
421
+ } // end function fcbk_bttn_plgn_links
422
+
423
+ //Function '_plugin_init' are using to add language files.
424
+ if ( ! function_exists ( 'fcbk_plugin_init' ) ) {
425
+ function fcbk_plugin_init() {
426
+ load_plugin_textdomain( 'facebook', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
427
+ }
428
+ } // end function fcbk_plugin_init
429
+
430
+
431
+ if ( ! function_exists ( 'fcbk_admin_head' ) ) {
432
+ function fcbk_admin_head() {
433
+ wp_register_style( 'fcbkStylesheet', plugins_url( 'css/style.css', __FILE__ ) );
434
+ wp_enqueue_style( 'fcbkStylesheet' );
435
  }
 
436
  }
437
 
438
+ //Add language files
439
+ add_action( 'init', 'fcbk_plugin_init' );
440
+
441
+ add_action( 'admin_head', 'bws_plugin_header');
442
+
443
+ add_action( 'init', 'fcbk_admin_head' );
444
+
445
  // adds "Settings" link to the plugin action page
446
  add_filter( 'plugin_action_links', 'fcbk_bttn_plgn_action_links',10,2);
447
 
456
 
457
  //Add settings links.
458
  add_filter( 'the_content', 'fcbk_bttn_plgn_display_button' );
459
+
img/facebook-ico1.jpg ADDED
Binary file
img/facebook-ico2.jpg ADDED
Binary file
languages/facebook-ru_RU.mo ADDED
Binary file
languages/facebook-ru_RU.po ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: facebook\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-12-27 21:25+0200\n"
6
+ "PO-Revision-Date: 2011-12-27 21:26+0200\n"
7
+ "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
+ "Language-Team: bestwebsoft.com <plugin@bestwebsoft.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-Language: Russian\n"
15
+ "X-Poedit-Country: RUSSIAN FEDERATION\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: facebook-button-plugin.php:78
20
+ msgid "Activated plugins"
21
+ msgstr "Активированные плагины"
22
+
23
+ #: facebook-button-plugin.php:80
24
+ #: facebook-button-plugin.php:88
25
+ #: facebook-button-plugin.php:96
26
+ msgid "Read more"
27
+ msgstr "Читать далее"
28
+
29
+ #: facebook-button-plugin.php:86
30
+ msgid "Installed plugins"
31
+ msgstr "Установленные плагины"
32
+
33
+ #: facebook-button-plugin.php:94
34
+ msgid "Recommended plugins"
35
+ msgstr "Рекомендованные к установке плагины"
36
+
37
+ #: facebook-button-plugin.php:96
38
+ msgid "Download"
39
+ msgstr "Скачать"
40
+
41
+ #: facebook-button-plugin.php:96
42
+ #, php-format
43
+ msgid "Install %s"
44
+ msgstr "Установлено %s"
45
+
46
+ #: facebook-button-plugin.php:96
47
+ msgid "Install Now"
48
+ msgstr "Установить сейчас"
49
+
50
+ #: facebook-button-plugin.php:98
51
+ msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
52
+ msgstr "Если у вас есть какие-то впросы, обращайтесь на plugin@bestwebsoft.com или заполните контактную форму на нашем сайте"
53
+
54
+ #: facebook-button-plugin.php:134
55
+ msgid "BWS Plugins"
56
+ msgstr "Плагины BWS"
57
+
58
+ #: facebook-button-plugin.php:135
59
+ #: facebook-button-plugin.php:243
60
+ msgid "FaceBook Button Options"
61
+ msgstr "Настройки FaceBook Кнопки"
62
+
63
+ #: facebook-button-plugin.php:135
64
+ msgid "FaceBook Button"
65
+ msgstr "FaceBook кнопка"
66
+
67
+ #: facebook-button-plugin.php:183
68
+ msgid "Options saved."
69
+ msgstr "Опции сохранены"
70
+
71
+ #: facebook-button-plugin.php:206
72
+ msgid "Error: File size > 32K"
73
+ msgstr "Ошибка: Размер файла больше 32К"
74
+
75
+ #: facebook-button-plugin.php:209
76
+ msgid "Error: Invalid file type"
77
+ msgstr "Ошибка: Некорректный тип файла"
78
+
79
+ #: facebook-button-plugin.php:219
80
+ msgid "Error: moving file failed"
81
+ msgstr "Ошибка: При перемещении произошла ошибка"
82
+
83
+ #: facebook-button-plugin.php:223
84
+ msgid "Error: check image width or height"
85
+ msgstr "Ошибка: Проверьте ширину и высоту изображения"
86
+
87
+ #: facebook-button-plugin.php:228
88
+ msgid "Uploading Error: check image properties"
89
+ msgstr "Ошибка загрузки: Проверьте опции изображения"
90
+
91
+ #: facebook-button-plugin.php:250
92
+ msgid "Your's FaceBook Id:"
93
+ msgstr "Ваш FaceBook Id:"
94
+
95
+ #: facebook-button-plugin.php:257
96
+ msgid "Choose display option:"
97
+ msgstr "Выбор опций отображения:"
98
+
99
+ #: facebook-button-plugin.php:261
100
+ msgid "Standart FaceBook image"
101
+ msgstr "Стандартная картинка FaceBook"
102
+
103
+ #: facebook-button-plugin.php:262
104
+ msgid "Custom FaceBook image"
105
+ msgstr "Пользовательская картинка FaceBook"
106
+
107
+ #: facebook-button-plugin.php:268
108
+ msgid "Current image:"
109
+ msgstr "Текущее изображение:"
110
+
111
+ #: facebook-button-plugin.php:281
112
+ msgid "FaceBook image:"
113
+ msgstr "FaceBook изображение:"
114
+
115
+ #: facebook-button-plugin.php:285
116
+ msgid "Image properties: max image width:100px; max image height:40px; max image size:32Kb; image types:\"jpg\", \"jpeg\"."
117
+ msgstr "Опции изображения для загрузки: максимальная ширина:100px; максимальная высота:40px; максимальный размер:32Kb; тип файла:\"jpg\", \"jpeg\"."
118
+
119
+ #: facebook-button-plugin.php:293
120
+ msgid "FaceBook Button Position:"
121
+ msgstr "Позиции FaceBook кнопки:"
122
+
123
+ #: facebook-button-plugin.php:297
124
+ msgid "Before"
125
+ msgstr "Перед"
126
+
127
+ #: facebook-button-plugin.php:298
128
+ msgid "After"
129
+ msgstr "После"
130
+
131
+ #: facebook-button-plugin.php:299
132
+ msgid "Before and After"
133
+ msgstr "Перед и после"
134
+
135
+ #: facebook-button-plugin.php:300
136
+ msgid "Shortcode"
137
+ msgstr "Шорткод"
138
+
139
+ #: facebook-button-plugin.php:302
140
+ msgid "If you would like to add a FaceBook button to your website, just copy and put this shortcode onto your post or page:"
141
+ msgstr "Если вы хотите добавить FaceBook кнопку на свой сайт, вам надо только скопировать и вставить шорткод в контент страницы или поста"
142
+
143
+ #: facebook-button-plugin.php:308
144
+ msgid "Save Changes"
145
+ msgstr ""
146
+
147
+ #: facebook-button-plugin.php:403
148
+ #: facebook-button-plugin.php:415
149
+ msgid "Settings"
150
+ msgstr "Настройки"
151
+
152
+ #: facebook-button-plugin.php:416
153
+ msgid "FAQ"
154
+ msgstr "FAQ"
155
+
156
+ #: facebook-button-plugin.php:417
157
+ msgid "Support"
158
+ msgstr "Поддержка"
159
+
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: bestwebsoft
4
  Donate link: http://bestwebsoft.com/
5
  Tags: Facebook, Facebook Button, Like, Like button, Share, Share button, Facebook like, Facebook like button, Facebook button like, Button like, Facebook share, Facebook share button, Facebook button share
6
  Requires at least: 2.9
7
- Tested up to: 3.2
8
- Stable tag: 2011.2.05
9
 
10
  Add Facebook button to your WordPress website
11
 
@@ -58,26 +58,32 @@ Facebook Button Plugin allows you to add follow button in the most easiest and f
58
 
59
  == Changelog ==
60
 
 
 
 
61
  = 2.05 =
62
- *The bug of redirect to profile page is fixed.
63
 
64
  = 2.04 =
65
- *BWS Plugins sections was fixed and right now it is consisted with 3 parts: activated, installed and recommended plugins. The bug of position in the admin menu is fixed. Facebook button plugin functionality was changed in connection with the change of Facebook API.
66
 
67
  = 2.03 =
68
- *BWS Plugins sections was fixed and right now it is consisted with 2 parts: installed and recommended plugins. Icons displaying is fixed.
69
 
70
  = 2.02 =
71
- *The bug of the setting page link is fixed in this version. Please upgrade the plugin immediately. Thank you
72
 
73
  = 2.01 =
74
- *Usability at the settings page of plugin was improved.
75
 
76
  = 1 =
77
- *Ability to install Facebook Button icon with link to the account page, including settings adjustment functionality via WordPress admin panel.
78
 
79
  == Upgrade Notice ==
80
 
 
 
 
81
  = 2.05 =
82
  The bug of redirect to profile page is fixed.
83
 
4
  Donate link: http://bestwebsoft.com/
5
  Tags: Facebook, Facebook Button, Like, Like button, Share, Share button, Facebook like, Facebook like button, Facebook button like, Button like, Facebook share, Facebook share button, Facebook button share
6
  Requires at least: 2.9
7
+ Tested up to: 3.3
8
+ Stable tag: 2011.2.06
9
 
10
  Add Facebook button to your WordPress website
11
 
58
 
59
  == Changelog ==
60
 
61
+ = 2.06 =
62
+ * Added language files for plugin. Added style for facebook button block.
63
+
64
  = 2.05 =
65
+ * The bug of redirect to profile page is fixed.
66
 
67
  = 2.04 =
68
+ * BWS Plugins sections was fixed and right now it is consisted with 3 parts: activated, installed and recommended plugins. The bug of position in the admin menu is fixed. Facebook button plugin functionality was changed in connection with the change of Facebook API.
69
 
70
  = 2.03 =
71
+ * BWS Plugins sections was fixed and right now it is consisted with 2 parts: installed and recommended plugins. Icons displaying is fixed.
72
 
73
  = 2.02 =
74
+ * The bug of the setting page link is fixed in this version. Please upgrade the plugin immediately. Thank you
75
 
76
  = 2.01 =
77
+ * Usability at the settings page of plugin was improved.
78
 
79
  = 1 =
80
+ * Ability to install Facebook Button icon with link to the account page, including settings adjustment functionality via WordPress admin panel.
81
 
82
  == Upgrade Notice ==
83
 
84
+ = 2.06 =
85
+ Added language files for plugin. Added style for facebook button block.
86
+
87
  = 2.05 =
88
  The bug of redirect to profile page is fixed.
89