Social Media Flying Icons | Floating Social Media Icon - Version 1.3.3

Version Description

  • January 05, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
  • Minor Bug Fixes
  • Optimized Codes
  • Spelling Corrections
Download this release

Release Info

Developer Acurax
Plugin Icon 128x128 Social Media Flying Icons | Floating Social Media Icon
Version 1.3.3
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.3

acurax-social-icon.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Floating Social Media Icon
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: An easy to use plugin to show social media icons which floats on your browsers right bottom, which links to your social media profiles, You have option in plugin settings to configure social media profile urls and also can select icon style,order and size.
6
  Author: Acurax
7
- Version: 1.3.1
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
4
  Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
  Description: An easy to use plugin to show social media icons which floats on your browsers right bottom, which links to your social media profiles, You have option in plugin settings to configure social media profile urls and also can select icon style,order and size.
6
  Author: Acurax
7
+ Version: 1.3.3
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
fsmi-misc.php CHANGED
@@ -3,16 +3,12 @@ if($_POST['acurax_social_icon_hidden'] == 'Y')
3
  { //Form data sent
4
  $acx_si_fsmi_menu_highlight = $_POST['acx_si_fsmi_menu_highlight'];
5
  update_option('acx_si_fsmi_menu_highlight', $acx_si_fsmi_menu_highlight);
6
-
7
  $acx_si_fsmi_acx_service_banners = $_POST['acx_si_fsmi_acx_service_banners'];
8
  update_option('acx_si_fsmi_acx_service_banners', $acx_si_fsmi_acx_service_banners);
9
-
10
  $acx_si_fsmi_float_fix = $_POST['acx_si_fsmi_float_fix'];
11
  update_option('acx_si_fsmi_float_fix', $acx_si_fsmi_float_fix);
12
-
13
  $acx_si_fsmi_hide_advert = $_POST['acx_si_fsmi_hide_advert'];
14
  update_option('acx_si_fsmi_hide_advert', $acx_si_fsmi_hide_advert);
15
-
16
  ?>
17
  <div class="updated"><p><strong><?php _e('Acurax Floating Social Icons Misc Settings Saved!.' ); ?></strong></p></div>
18
  <?php
@@ -23,23 +19,18 @@ $acx_si_fsmi_menu_highlight = get_option('acx_si_fsmi_menu_highlight');
23
  $acx_si_fsmi_acx_service_banners = get_option('acx_si_fsmi_acx_service_banners');
24
  $acx_si_fsmi_float_fix = get_option('acx_si_fsmi_float_fix');
25
  $acx_si_fsmi_hide_advert = get_option('acx_si_fsmi_hide_advert');
26
-
27
-
28
  // Setting Defaults
29
  if ($acx_si_fsmi_menu_highlight == "") { $acx_si_fsmi_menu_highlight = "yes"; }
30
  if ($acx_si_fsmi_acx_service_banners == "") { $acx_si_fsmi_acx_service_banners = "yes"; }
31
  if ($acx_si_fsmi_float_fix == "") { $acx_si_fsmi_float_fix = "no"; }
32
  if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
33
-
34
  } //Main else
35
-
36
  ?>
37
  <div class="wrap">
38
  <?php if ($acx_si_fsmi_acx_service_banners != "no") { ?>
39
  <p class="widefat" style="padding:8px;width:99%;height: 75px;">
40
  <b>Acurax Services >> </b><br>
41
  <a href="http://www.acurax.com/services/wordpress-designing-experts.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wtd" style="background:url(<?php echo plugins_url('images/wtd.jpg', __FILE__);?>);"></a>
42
-
43
  <a href="http://www.acurax.com/services/web-designing.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wd" style="background:url(<?php echo plugins_url('images/wd.jpg', __FILE__);?>);"></a>
44
  <a href="http://www.acurax.com/social-media-marketing-optimization/social-profile-design.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="spd" style="background:url(<?php echo plugins_url('images/spd.jpg', __FILE__);?>);"></a>
45
  <a href="http://www.acurax.com/services/website-redesign.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wrd" style="background:url(<?php echo plugins_url('images/wr.jpg', __FILE__);?>);"></a>
@@ -62,10 +53,8 @@ if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
62
  </div> <!-- acx_fsmi_premium -->
63
  <?php } ?>
64
  <?php echo "<h2>" . __( 'Acurax Social Icons Misc Settings', 'acx_si_config' ) . "</h2>"; ?>
65
-
66
  <form name="acurax_si_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
67
  <input type="hidden" name="acurax_social_icon_hidden" value="Y">
68
-
69
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Menu Highlight: " ); ?>
70
  <select name="acx_si_fsmi_menu_highlight">
71
  <option value="yes"<?php if ($acx_si_fsmi_menu_highlight == "yes") { echo 'selected="selected"'; } ?>>Yes, Highlight Plugin Menu </option>
@@ -73,8 +62,6 @@ if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
73
  </select>
74
  <?php _e("Show Plugin Menu In Green" ); ?>
75
  </p>
76
-
77
-
78
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Acurax Service Banners: " ); ?>
79
  <select name="acx_si_fsmi_acx_service_banners">
80
  <option value="yes"<?php if ($acx_si_fsmi_acx_service_banners == "yes") { echo 'selected="selected"'; } ?>>Yes, Show Them </option>
@@ -82,7 +69,6 @@ if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
82
  </select>
83
  <?php _e("Show Acurax Service Banners On Plugin Settings Page?" ); ?>
84
  </p>
85
-
86
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Hide Premium Version Adverts: " ); ?>
87
  <select name="acx_si_fsmi_hide_advert">
88
  <option value="yes"<?php if ($acx_si_fsmi_hide_advert == "yes") { echo 'selected="selected"'; } ?>>Yes </option>
@@ -90,7 +76,6 @@ if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
90
  </select>
91
  <?php _e("Would you like to hide the feature comparison advertisement of basic and premium version from plugin settings pages?" ); ?>
92
  </p>
93
-
94
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Social Media Widget Theme Conflict Fix: " ); ?>
95
  <select name="acx_si_fsmi_float_fix">
96
  <option value="yes"<?php if ($acx_si_fsmi_float_fix == "yes") { echo 'selected="selected"'; } ?>>Enable </option>
@@ -98,16 +83,10 @@ if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
98
  </select>
99
  <?php _e("If your widget/shortcode icons are in Vertical, then enable this to make it Horizontal" ); ?>
100
  </p>
101
-
102
-
103
-
104
-
105
  <p class="submit">
106
  <input type="submit" name="Submit" value="<?php _e('Save Settings', 'acx_si_config' ) ?>" />
107
  </p>
108
-
109
  </form>
110
-
111
  <hr/>
112
  <?php
113
  if($acx_si_fsmi_hide_advert == "no")
3
  { //Form data sent
4
  $acx_si_fsmi_menu_highlight = $_POST['acx_si_fsmi_menu_highlight'];
5
  update_option('acx_si_fsmi_menu_highlight', $acx_si_fsmi_menu_highlight);
 
6
  $acx_si_fsmi_acx_service_banners = $_POST['acx_si_fsmi_acx_service_banners'];
7
  update_option('acx_si_fsmi_acx_service_banners', $acx_si_fsmi_acx_service_banners);
 
8
  $acx_si_fsmi_float_fix = $_POST['acx_si_fsmi_float_fix'];
9
  update_option('acx_si_fsmi_float_fix', $acx_si_fsmi_float_fix);
 
10
  $acx_si_fsmi_hide_advert = $_POST['acx_si_fsmi_hide_advert'];
11
  update_option('acx_si_fsmi_hide_advert', $acx_si_fsmi_hide_advert);
 
12
  ?>
13
  <div class="updated"><p><strong><?php _e('Acurax Floating Social Icons Misc Settings Saved!.' ); ?></strong></p></div>
14
  <?php
19
  $acx_si_fsmi_acx_service_banners = get_option('acx_si_fsmi_acx_service_banners');
20
  $acx_si_fsmi_float_fix = get_option('acx_si_fsmi_float_fix');
21
  $acx_si_fsmi_hide_advert = get_option('acx_si_fsmi_hide_advert');
 
 
22
  // Setting Defaults
23
  if ($acx_si_fsmi_menu_highlight == "") { $acx_si_fsmi_menu_highlight = "yes"; }
24
  if ($acx_si_fsmi_acx_service_banners == "") { $acx_si_fsmi_acx_service_banners = "yes"; }
25
  if ($acx_si_fsmi_float_fix == "") { $acx_si_fsmi_float_fix = "no"; }
26
  if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
 
27
  } //Main else
 
28
  ?>
29
  <div class="wrap">
30
  <?php if ($acx_si_fsmi_acx_service_banners != "no") { ?>
31
  <p class="widefat" style="padding:8px;width:99%;height: 75px;">
32
  <b>Acurax Services >> </b><br>
33
  <a href="http://www.acurax.com/services/wordpress-designing-experts.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wtd" style="background:url(<?php echo plugins_url('images/wtd.jpg', __FILE__);?>);"></a>
 
34
  <a href="http://www.acurax.com/services/web-designing.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wd" style="background:url(<?php echo plugins_url('images/wd.jpg', __FILE__);?>);"></a>
35
  <a href="http://www.acurax.com/social-media-marketing-optimization/social-profile-design.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="spd" style="background:url(<?php echo plugins_url('images/spd.jpg', __FILE__);?>);"></a>
36
  <a href="http://www.acurax.com/services/website-redesign.php?utm_source=plugin-page&utm_medium=banner&utm_campaign=fsmi" target="_blank" id="wrd" style="background:url(<?php echo plugins_url('images/wr.jpg', __FILE__);?>);"></a>
53
  </div> <!-- acx_fsmi_premium -->
54
  <?php } ?>
55
  <?php echo "<h2>" . __( 'Acurax Social Icons Misc Settings', 'acx_si_config' ) . "</h2>"; ?>
 
56
  <form name="acurax_si_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
57
  <input type="hidden" name="acurax_social_icon_hidden" value="Y">
 
58
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Menu Highlight: " ); ?>
59
  <select name="acx_si_fsmi_menu_highlight">
60
  <option value="yes"<?php if ($acx_si_fsmi_menu_highlight == "yes") { echo 'selected="selected"'; } ?>>Yes, Highlight Plugin Menu </option>
62
  </select>
63
  <?php _e("Show Plugin Menu In Green" ); ?>
64
  </p>
 
 
65
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Acurax Service Banners: " ); ?>
66
  <select name="acx_si_fsmi_acx_service_banners">
67
  <option value="yes"<?php if ($acx_si_fsmi_acx_service_banners == "yes") { echo 'selected="selected"'; } ?>>Yes, Show Them </option>
69
  </select>
70
  <?php _e("Show Acurax Service Banners On Plugin Settings Page?" ); ?>
71
  </p>
 
72
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Hide Premium Version Adverts: " ); ?>
73
  <select name="acx_si_fsmi_hide_advert">
74
  <option value="yes"<?php if ($acx_si_fsmi_hide_advert == "yes") { echo 'selected="selected"'; } ?>>Yes </option>
76
  </select>
77
  <?php _e("Would you like to hide the feature comparison advertisement of basic and premium version from plugin settings pages?" ); ?>
78
  </p>
 
79
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Social Media Widget Theme Conflict Fix: " ); ?>
80
  <select name="acx_si_fsmi_float_fix">
81
  <option value="yes"<?php if ($acx_si_fsmi_float_fix == "yes") { echo 'selected="selected"'; } ?>>Enable </option>
83
  </select>
84
  <?php _e("If your widget/shortcode icons are in Vertical, then enable this to make it Horizontal" ); ?>
85
  </p>
 
 
 
 
86
  <p class="submit">
87
  <input type="submit" name="Submit" value="<?php _e('Save Settings', 'acx_si_config' ) ?>" />
88
  </p>
 
89
  </form>
 
90
  <hr/>
91
  <?php
92
  if($acx_si_fsmi_hide_advert == "no")
function.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
  error_reporting('0');
3
  //*************** Include style.css in Header ********
4
-
5
  // Getting Option From DB *****************************
6
  $acx_si_theme = get_option('acx_si_theme');
7
  $acx_si_credit = get_option('acx_si_credit');
@@ -17,25 +16,22 @@ $acx_si_icon_size = get_option('acx_si_icon_size');
17
  $acx_si_fsmi_menu_highlight = get_option('acx_si_fsmi_menu_highlight');
18
  $acx_si_fsmi_float_fix = get_option('acx_si_fsmi_float_fix');
19
  // *****************************************************
 
20
  function enqueue_acx_si_style()
21
  {
22
  wp_enqueue_style ( 'acx-si-style', plugins_url('style.css', __FILE__) );
23
  } add_action( 'wp_print_styles', 'enqueue_acx_si_style' );
24
-
25
- // Check Credit Link
26
- function check_acx_credit($yes,$no)
27
- { $acx_si_credit = get_option('acx_si_credit');
28
- if($acx_si_credit != "no") { echo $yes; } else { echo $no; }
29
- }
30
-
31
  // Options Value Checker
32
  function acx_option_value_check($option_name,$yes,$no)
33
  { $acx_si_option_set = get_option($option_name);
34
  if ($acx_si_option_set != "") { echo $yes; } else { echo $no; }
35
  }
 
 
 
 
36
  function acurax_si_simple($theme = "") // Added Default "" // Updated << and V (alt added to Images Title Added to Links)
37
  {
38
-
39
  // Getting Globals *****************************
40
  global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
41
  $acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed, $acx_si_icon_size;
@@ -75,21 +71,15 @@ function acurax_si_simple($theme = "") // Added Default "" // Updated << and V (
75
  foreach ($social_icon_array_order as $key => $value)
76
  {
77
  if ($value == 0) { echo $twitter_link; }
78
-
79
  else if ($value == 1) { echo $facebook_link; }
80
-
81
  else if ($value == 2) { echo $gplus_link; }
82
-
83
  else if ($value == 3) { echo $pinterest_link; }
84
-
85
  else if ($value == 4) { echo $youtube_link; }
86
-
87
  else if ($value == 5) { echo $linkedin_link; }
88
 
89
  else if ($value == 6) { echo $feed_link; }
90
  }
91
  } //acurax_si_simple()
92
-
93
  function acx_theme_check_wp_head() {
94
  $template_directory = get_template_directory();
95
  // If header.php exists in the current theme, scan for "wp_head"
@@ -110,8 +100,6 @@ function acx_theme_check_wp_head() {
110
  }
111
  } // theme check
112
  add_action('admin_notices', 'acx_theme_check_wp_head');
113
-
114
-
115
  function acx_theme_check_wp_footer() {
116
  $template_directory = get_template_directory();
117
 
@@ -132,7 +120,6 @@ function acx_theme_check_wp_footer() {
132
  echo "<div class=\"highlight\" style=\"width: 99%; margin-top: 10px; margin-bottom: 10px; border: 1px solid darkred;\">" . "Your theme needs to be fixed for plugins to work (Especially Floating Social Media Icon). To fix your theme, use the <a href=\"theme-editor.php\">Theme Editor</a> to insert <code>&lt;?php wp_footer(); ?&gt;</code> just before the <code>&lt;/body&gt;</code> line of your theme's <code>footer.php</code> file." . "</div>";
133
  }
134
  } add_action('admin_notices', 'acx_theme_check_wp_footer');
135
-
136
  function acurax_icons()
137
  {
138
  global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
@@ -151,7 +138,6 @@ function acurax_icons()
151
  } // Chking null fields
152
 
153
  } // Ending acurax_icons();
154
-
155
  // Setting X Y values for javascript
156
  $x = -170;
157
  $y = -60;
@@ -159,7 +145,6 @@ function acx_load_floating_js()
159
  {
160
  global $x;
161
  global $y;
162
-
163
  //*************** STARTING PUMBING JAVASCIRPT *******************************
164
  echo "\n\n\n<!-- Starting Javascript For Social Media Icon From Acurax International www.acurax.com -->\n";
165
  $acx_si_icon_size = get_option('acx_si_icon_size');
@@ -200,7 +185,6 @@ function acx_load_floating_js()
200
  $y = $set_y_value;
201
  }
202
  } // ENDING THE FUNCTION TO CROS CHECK
203
-
204
  /**************************************************************************
205
  CONDITIONS STARTING HERE
206
  if X Decreases then move to Right
@@ -305,13 +289,11 @@ function acx_load_floating_js()
305
  {
306
  add_action('wp_footer', 'acx_load_floating_js',101);
307
  }
308
-
309
  // Starting Footer PBL
310
  function pbl_footer()
311
  {
312
  global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
313
  $acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed;
314
-
315
  //********** CHECKING CREDIT LINK STATUS ******************
316
  if($acx_si_twitter != "" || $acx_si_facebook != "" || $acx_si_youtube != "" || $acx_si_linkedin != "" || $acx_si_pinterest != "" || $acx_si_gplus != "" || $acx_si_feed != "")
317
  {
@@ -358,9 +340,7 @@ echo "<a href='http://www.acurax.com/products/floating-social-media-icon-plugin-
358
  echo "</div>";
359
  }
360
  }
361
-
362
  } add_action('wp_footer', 'pbl_footer'); // pbl_footer
363
-
364
  function extra_style_acx_icon() // updated added class acx_fsmi_float_fix support
365
  {
366
  global $acx_si_icon_size;
@@ -386,7 +366,6 @@ function extra_style_acx_icon() // updated added class acx_fsmi_float_fix suppor
386
  echo "</style>\n<!-- Ending Styles For Social Media Icon From Acurax International www.acurax.com -->\n\n\n\n";
387
  } add_action('admin_head', 'extra_style_acx_icon'); // ADMIN
388
  add_action('wp_head', 'extra_style_acx_icon'); // PUBLIC
389
-
390
  function acx_si_admin_style() // Adding Style For Admin
391
  {
392
  global $acx_si_fsmi_menu_highlight;
@@ -395,7 +374,6 @@ global $acx_si_fsmi_menu_highlight;
395
  echo '<link rel="stylesheet" type="text/css" href="' .plugins_url('dynamic_admin_style.css', __FILE__). '">';
396
  } // updated
397
  } add_action('admin_head', 'acx_si_admin_style'); // ADMIN
398
-
399
  $acx_si_display = get_option('acx_si_display');
400
  if ($acx_si_display == "auto" || $acx_si_display == "both")
401
  {
@@ -435,7 +413,6 @@ function DISPLAY_ACURAX_ICONS_SC($atts)
435
  }
436
  else echo "<!-- Select Display Mode as Manual To Show The Acurax Social Media Icons -->";
437
  } // DISPLAY_ACURAX_ICONS_SC
438
-
439
  function DISPLAY_ACURAX_ICONS()
440
  {
441
  global $acx_si_display, $acx_si_icon_size;;
@@ -454,7 +431,6 @@ function DISPLAY_ACURAX_ICONS()
454
  }
455
  else echo "<!-- Select Display Mode as Manual To Show The Acurax Social Media Icons -->";
456
  } // DISPLAY_ACURAX_ICONS
457
-
458
 
459
  function acx_not_auto()
460
  {
@@ -468,17 +444,12 @@ else
468
  {
469
  add_shortcode( 'DISPLAY_ACURAX_ICONS', 'acx_not_auto' ); // Defining Shortcode to show Select Manual
470
  }
471
-
472
-
473
  function acx_si_custom_admin_js()
474
  {
475
  wp_enqueue_script('jquery');
476
  wp_enqueue_script('jquery-ui-core');
477
  wp_enqueue_script('jquery-ui-sortable');
478
  } add_action( 'admin_enqueue_scripts', 'acx_si_custom_admin_js' );
479
-
480
-
481
-
482
  // wp-admin Notices >> Finish Upgrade
483
  function acx_si_pluign_upgrade_not_finished()
484
  {
@@ -494,8 +465,6 @@ if ($social_icon_array_count < $total_arrays)
494
  {
495
  add_action('admin_notices', 'acx_si_pluign_upgrade_not_finished',1);
496
  }
497
-
498
-
499
  function acx_fsmi_si_pluign_finish_version_update()
500
  {
501
  echo '<div id="message" class="updated">
@@ -503,17 +472,13 @@ function acx_fsmi_si_pluign_finish_version_update()
503
  </div>';
504
  }
505
  $acx_fsmi_si_current_version = get_option('acx_fsmi_si_current_version');
506
- if($acx_fsmi_si_current_version != '1.3.1') // Current Version
507
  {
508
  if (get_option('social_icon_array_order') != "")
509
  {
510
  add_action('admin_notices', 'acx_fsmi_si_pluign_finish_version_update',1);
511
  }
512
  }
513
-
514
-
515
-
516
-
517
  // wp-admin Notices >> Plugin not configured
518
  function acx_si_pluign_not_configured()
519
  {
@@ -530,7 +495,6 @@ if ($acx_si_twitter == "" && $acx_si_facebook == "" && $acx_si_youtube == "" &&
530
  add_action('admin_notices', 'acx_si_pluign_not_configured',1);
531
  } // Chking If Plugin Not Configured
532
  } // Chking $social_icon_array_count == $total_arrays
533
-
534
  // wp-admin Notices >> Plugin not configured
535
  function acx_si_pluign_promotion()
536
  {
@@ -576,8 +540,6 @@ if (get_option('acx_si_td') != "hide")
576
  add_action('admin_notices', 'acx_si_pluign_promotion',1);
577
  }
578
  }
579
-
580
-
581
  // Starting Widget Code
582
  class Acx_Social_Icons_Widget extends WP_Widget
583
  {
@@ -592,21 +554,17 @@ class Acx_Social_Icons_Widget extends WP_Widget
592
  // Actually create the widget (widget id, widget name, options...)
593
  $this->WP_Widget( 'acx-social-icons-widget', 'Acx Social Icons', $widget_options, $control_options );
594
  }
595
-
596
  // Output the content of the widget
597
  function widget($args, $instance)
598
  {
599
  extract( $args ); // Don't worry about this
600
-
601
  // Get our variables
602
  $title = apply_filters( 'widget_title', $instance['title'] );
603
  $icon_size = $instance['icon_size'];
604
  $icon_theme = $instance['icon_theme'];
605
  $icon_align = $instance['icon_align'];
606
-
607
  // This is defined when you register a sidebar
608
  echo $before_widget;
609
-
610
  // If our title isn't empty then show it
611
  if ( $title )
612
  {
@@ -623,7 +581,6 @@ class Acx_Social_Icons_Widget extends WP_Widget
623
  // This is defined when you register a sidebar
624
  echo $after_widget;
625
  }
626
-
627
  // Output the admin options form
628
  function form($instance)
629
  {
@@ -674,13 +631,11 @@ for ($i=1; $i < $total_themes; $i++)
674
  </p>
675
  <?php
676
  }
677
-
678
  // Processes the admin options form when saved
679
  function update($new_instance, $old_instance)
680
  {
681
  // Get the old values
682
  $instance = $old_instance;
683
-
684
  // Update with any new values (and sanitise input)
685
  $instance['title'] = strip_tags( $new_instance['title'] );
686
  $instance['icon_size'] = strip_tags( $new_instance['icon_size'] );
@@ -690,7 +645,6 @@ for ($i=1; $i < $total_themes; $i++)
690
  }
691
  } add_action('widgets_init', create_function('', 'return register_widget("Acx_Social_Icons_Widget");'));
692
  // Ending Widget Codes
693
-
694
  function acurax_optin()
695
  {
696
  echo "";
@@ -701,13 +655,9 @@ $ad_1 = '
701
  </hr>
702
  <a name="compare"></a>
703
  <div id="fsmi_landing_holder">
704
-
705
  <div id="fsmi_lp_compare">
706
  <div class="row_1">
707
  <div class="fsmi_lp_compare_row_1_1"></div> <!-- fsmi_lp_compare_row_1_1 -->
708
-
709
-
710
-
711
  <div id="fsmi_lp_f_group">
712
  <div class="left" style="padding-top: 173px;padding-bottom: 172px;">
713
  Display
@@ -726,8 +676,6 @@ Display
726
  <div class="fsmi_lp_compare_row_1_features highlighted">Add Custom Icons</div> <!-- fsmi_lp_compare_row_1_features -->
727
  </div> <!-- right -->
728
  </div> <!-- fsmi_lp_f_group -->
729
-
730
-
731
  <div id="fsmi_lp_f_group">
732
  <div class="left" style="padding-top: 74px;padding-bottom: 74px;">
733
  Icon Function
@@ -740,7 +688,6 @@ Icon Function
740
  <div class="fsmi_lp_compare_row_1_features highlighted">Define Social Media Meta for Each Page/Post</div> <!-- fsmi_lp_compare_row_1_features -->
741
  </div> <!-- right -->
742
  </div> <!-- fsmi_lp_f_group -->
743
-
744
  <div id="fsmi_lp_f_group">
745
  <div class="left" style="padding-top: 23px;padding-bottom: 25px;">
746
  Animation
@@ -750,7 +697,6 @@ Animation
750
  <div class="fsmi_lp_compare_row_1_features highlighted">Mouse Over Effects</div> <!-- fsmi_lp_compare_row_1_features -->
751
  </div> <!-- right -->
752
  </div> <!-- fsmi_lp_f_group -->
753
-
754
  <div id="fsmi_lp_f_group">
755
  <div class="left" style="padding-top: 65px;padding-bottom: 65px;">
756
  Fly Animation Repeat Interval
@@ -763,9 +709,6 @@ Fly Animation Repeat Interval
763
  <div class="fsmi_lp_compare_row_1_features">Based On Page Views and Time</div> <!-- fsmi_lp_compare_row_1_features -->
764
  </div> <!-- right -->
765
  </div> <!-- fsmi_lp_f_group -->
766
-
767
-
768
-
769
  <div id="fsmi_lp_f_group">
770
  <div class="left highlighted" style="padding-top: 24px;padding-bottom: 24px;">
771
  Multiple Fly Animation
@@ -775,7 +718,6 @@ Multiple Fly Animation
775
  <div class="fsmi_lp_compare_row_1_features">Can Choose Fly End Position</div> <!-- fsmi_lp_compare_row_1_features -->
776
  </div> <!-- right -->
777
  </div> <!-- fsmi_lp_f_group -->
778
-
779
  <div id="fsmi_lp_f_group">
780
  <div class="left" style="padding-top: 40px;padding-bottom: 41px;">
781
  Easy to Configure
@@ -786,7 +728,6 @@ Easy to Configure
786
  <div class="fsmi_lp_compare_row_1_features">Easy to Configure</div> <!-- fsmi_lp_compare_row_1_features -->
787
  </div> <!-- right -->
788
  </div> <!-- fsmi_lp_f_group -->
789
-
790
  <div id="fsmi_lp_f_group">
791
  <div class="left" style="padding-top: 90px;padding-bottom: 90px;">
792
  Widget Support
@@ -800,7 +741,6 @@ Widget Support
800
  <div class="fsmi_lp_compare_row_1_features">Seperate Default Opacity for Each</div> <!-- fsmi_lp_compare_row_1_features -->
801
  </div> <!-- right -->
802
  </div> <!-- fsmi_lp_f_group -->
803
-
804
  <div id="fsmi_lp_f_group">
805
  <div class="left" style="padding-top: 90px;padding-bottom: 90px;">
806
  Shortcode Support
@@ -814,9 +754,6 @@ Shortcode Support
814
  <div class="fsmi_lp_compare_row_1_features">Seperate Default Opacity for Each</div> <!-- fsmi_lp_compare_row_1_features -->
815
  </div> <!-- right -->
816
  </div> <!-- fsmi_lp_f_group -->
817
-
818
-
819
-
820
  <div id="fsmi_lp_f_group">
821
  <div class="left" style="padding-top: 106px;padding-bottom: 107px;border-bottom:0px;">
822
  PHP Code Support
@@ -942,8 +879,6 @@ PHP Code Support
942
  <div id="fsmi_lp_shadow"></div> <!-- fsmi_lp_shadow -->
943
  <!-- div style="font-family: arial; font-size: 11px; color: darkgreen; float: left; margin-left: 39px; margin-bottom: 5px;">* Special Offer Price on Premium Version for Free Plugin Users Valid Only Until Next Free Version Upgrade - Click Order Now to Get Premium Version for $19.50</div -->
944
  </div> <!-- fsmi_landing_holder -->
945
-
946
-
947
  <div id="ad_fsmi_2_button_order" style="float:left;margin-left: 445px;">
948
  <a href="http://clients.acurax.com/floating-socialmedia.php?utm_source=plugin_fsmi_settings&utm_medium=banner&utm_campaign=plugin_yellow_order" target="_blank"><div id="ad_fsmi_2_button_order_link"></div></a></div> <!-- ad_fsmi_2_button_order -->
949
  ';
1
  <?php
2
  error_reporting('0');
3
  //*************** Include style.css in Header ********
 
4
  // Getting Option From DB *****************************
5
  $acx_si_theme = get_option('acx_si_theme');
6
  $acx_si_credit = get_option('acx_si_credit');
16
  $acx_si_fsmi_menu_highlight = get_option('acx_si_fsmi_menu_highlight');
17
  $acx_si_fsmi_float_fix = get_option('acx_si_fsmi_float_fix');
18
  // *****************************************************
19
+ // Check Credit Link
20
  function enqueue_acx_si_style()
21
  {
22
  wp_enqueue_style ( 'acx-si-style', plugins_url('style.css', __FILE__) );
23
  } add_action( 'wp_print_styles', 'enqueue_acx_si_style' );
 
 
 
 
 
 
 
24
  // Options Value Checker
25
  function acx_option_value_check($option_name,$yes,$no)
26
  { $acx_si_option_set = get_option($option_name);
27
  if ($acx_si_option_set != "") { echo $yes; } else { echo $no; }
28
  }
29
+ function check_acx_credit($yes,$no)
30
+ { $acx_si_credit = get_option('acx_si_credit');
31
+ if($acx_si_credit != "no") { echo $yes; } else { echo $no; }
32
+ }
33
  function acurax_si_simple($theme = "") // Added Default "" // Updated << and V (alt added to Images Title Added to Links)
34
  {
 
35
  // Getting Globals *****************************
36
  global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
37
  $acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed, $acx_si_icon_size;
71
  foreach ($social_icon_array_order as $key => $value)
72
  {
73
  if ($value == 0) { echo $twitter_link; }
 
74
  else if ($value == 1) { echo $facebook_link; }
 
75
  else if ($value == 2) { echo $gplus_link; }
 
76
  else if ($value == 3) { echo $pinterest_link; }
 
77
  else if ($value == 4) { echo $youtube_link; }
 
78
  else if ($value == 5) { echo $linkedin_link; }
79
 
80
  else if ($value == 6) { echo $feed_link; }
81
  }
82
  } //acurax_si_simple()
 
83
  function acx_theme_check_wp_head() {
84
  $template_directory = get_template_directory();
85
  // If header.php exists in the current theme, scan for "wp_head"
100
  }
101
  } // theme check
102
  add_action('admin_notices', 'acx_theme_check_wp_head');
 
 
103
  function acx_theme_check_wp_footer() {
104
  $template_directory = get_template_directory();
105
 
120
  echo "<div class=\"highlight\" style=\"width: 99%; margin-top: 10px; margin-bottom: 10px; border: 1px solid darkred;\">" . "Your theme needs to be fixed for plugins to work (Especially Floating Social Media Icon). To fix your theme, use the <a href=\"theme-editor.php\">Theme Editor</a> to insert <code>&lt;?php wp_footer(); ?&gt;</code> just before the <code>&lt;/body&gt;</code> line of your theme's <code>footer.php</code> file." . "</div>";
121
  }
122
  } add_action('admin_notices', 'acx_theme_check_wp_footer');
 
123
  function acurax_icons()
124
  {
125
  global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
138
  } // Chking null fields
139
 
140
  } // Ending acurax_icons();
 
141
  // Setting X Y values for javascript
142
  $x = -170;
143
  $y = -60;
145
  {
146
  global $x;
147
  global $y;
 
148
  //*************** STARTING PUMBING JAVASCIRPT *******************************
149
  echo "\n\n\n<!-- Starting Javascript For Social Media Icon From Acurax International www.acurax.com -->\n";
150
  $acx_si_icon_size = get_option('acx_si_icon_size');
185
  $y = $set_y_value;
186
  }
187
  } // ENDING THE FUNCTION TO CROS CHECK
 
188
  /**************************************************************************
189
  CONDITIONS STARTING HERE
190
  if X Decreases then move to Right
289
  {
290
  add_action('wp_footer', 'acx_load_floating_js',101);
291
  }
 
292
  // Starting Footer PBL
293
  function pbl_footer()
294
  {
295
  global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
296
  $acx_si_linkedin, $acx_si_gplus, $acx_si_pinterest, $acx_si_feed;
 
297
  //********** CHECKING CREDIT LINK STATUS ******************
298
  if($acx_si_twitter != "" || $acx_si_facebook != "" || $acx_si_youtube != "" || $acx_si_linkedin != "" || $acx_si_pinterest != "" || $acx_si_gplus != "" || $acx_si_feed != "")
299
  {
340
  echo "</div>";
341
  }
342
  }
 
343
  } add_action('wp_footer', 'pbl_footer'); // pbl_footer
 
344
  function extra_style_acx_icon() // updated added class acx_fsmi_float_fix support
345
  {
346
  global $acx_si_icon_size;
366
  echo "</style>\n<!-- Ending Styles For Social Media Icon From Acurax International www.acurax.com -->\n\n\n\n";
367
  } add_action('admin_head', 'extra_style_acx_icon'); // ADMIN
368
  add_action('wp_head', 'extra_style_acx_icon'); // PUBLIC
 
369
  function acx_si_admin_style() // Adding Style For Admin
370
  {
371
  global $acx_si_fsmi_menu_highlight;
374
  echo '<link rel="stylesheet" type="text/css" href="' .plugins_url('dynamic_admin_style.css', __FILE__). '">';
375
  } // updated
376
  } add_action('admin_head', 'acx_si_admin_style'); // ADMIN
 
377
  $acx_si_display = get_option('acx_si_display');
378
  if ($acx_si_display == "auto" || $acx_si_display == "both")
379
  {
413
  }
414
  else echo "<!-- Select Display Mode as Manual To Show The Acurax Social Media Icons -->";
415
  } // DISPLAY_ACURAX_ICONS_SC
 
416
  function DISPLAY_ACURAX_ICONS()
417
  {
418
  global $acx_si_display, $acx_si_icon_size;;
431
  }
432
  else echo "<!-- Select Display Mode as Manual To Show The Acurax Social Media Icons -->";
433
  } // DISPLAY_ACURAX_ICONS
 
434
 
435
  function acx_not_auto()
436
  {
444
  {
445
  add_shortcode( 'DISPLAY_ACURAX_ICONS', 'acx_not_auto' ); // Defining Shortcode to show Select Manual
446
  }
 
 
447
  function acx_si_custom_admin_js()
448
  {
449
  wp_enqueue_script('jquery');
450
  wp_enqueue_script('jquery-ui-core');
451
  wp_enqueue_script('jquery-ui-sortable');
452
  } add_action( 'admin_enqueue_scripts', 'acx_si_custom_admin_js' );
 
 
 
453
  // wp-admin Notices >> Finish Upgrade
454
  function acx_si_pluign_upgrade_not_finished()
455
  {
465
  {
466
  add_action('admin_notices', 'acx_si_pluign_upgrade_not_finished',1);
467
  }
 
 
468
  function acx_fsmi_si_pluign_finish_version_update()
469
  {
470
  echo '<div id="message" class="updated">
472
  </div>';
473
  }
474
  $acx_fsmi_si_current_version = get_option('acx_fsmi_si_current_version');
475
+ if($acx_fsmi_si_current_version != '1.3.3') // Current Version
476
  {
477
  if (get_option('social_icon_array_order') != "")
478
  {
479
  add_action('admin_notices', 'acx_fsmi_si_pluign_finish_version_update',1);
480
  }
481
  }
 
 
 
 
482
  // wp-admin Notices >> Plugin not configured
483
  function acx_si_pluign_not_configured()
484
  {
495
  add_action('admin_notices', 'acx_si_pluign_not_configured',1);
496
  } // Chking If Plugin Not Configured
497
  } // Chking $social_icon_array_count == $total_arrays
 
498
  // wp-admin Notices >> Plugin not configured
499
  function acx_si_pluign_promotion()
500
  {
540
  add_action('admin_notices', 'acx_si_pluign_promotion',1);
541
  }
542
  }
 
 
543
  // Starting Widget Code
544
  class Acx_Social_Icons_Widget extends WP_Widget
545
  {
554
  // Actually create the widget (widget id, widget name, options...)
555
  $this->WP_Widget( 'acx-social-icons-widget', 'Acx Social Icons', $widget_options, $control_options );
556
  }
 
557
  // Output the content of the widget
558
  function widget($args, $instance)
559
  {
560
  extract( $args ); // Don't worry about this
 
561
  // Get our variables
562
  $title = apply_filters( 'widget_title', $instance['title'] );
563
  $icon_size = $instance['icon_size'];
564
  $icon_theme = $instance['icon_theme'];
565
  $icon_align = $instance['icon_align'];
 
566
  // This is defined when you register a sidebar
567
  echo $before_widget;
 
568
  // If our title isn't empty then show it
569
  if ( $title )
570
  {
581
  // This is defined when you register a sidebar
582
  echo $after_widget;
583
  }
 
584
  // Output the admin options form
585
  function form($instance)
586
  {
631
  </p>
632
  <?php
633
  }
 
634
  // Processes the admin options form when saved
635
  function update($new_instance, $old_instance)
636
  {
637
  // Get the old values
638
  $instance = $old_instance;
 
639
  // Update with any new values (and sanitise input)
640
  $instance['title'] = strip_tags( $new_instance['title'] );
641
  $instance['icon_size'] = strip_tags( $new_instance['icon_size'] );
645
  }
646
  } add_action('widgets_init', create_function('', 'return register_widget("Acx_Social_Icons_Widget");'));
647
  // Ending Widget Codes
 
648
  function acurax_optin()
649
  {
650
  echo "";
655
  </hr>
656
  <a name="compare"></a>
657
  <div id="fsmi_landing_holder">
 
658
  <div id="fsmi_lp_compare">
659
  <div class="row_1">
660
  <div class="fsmi_lp_compare_row_1_1"></div> <!-- fsmi_lp_compare_row_1_1 -->
 
 
 
661
  <div id="fsmi_lp_f_group">
662
  <div class="left" style="padding-top: 173px;padding-bottom: 172px;">
663
  Display
676
  <div class="fsmi_lp_compare_row_1_features highlighted">Add Custom Icons</div> <!-- fsmi_lp_compare_row_1_features -->
677
  </div> <!-- right -->
678
  </div> <!-- fsmi_lp_f_group -->
 
 
679
  <div id="fsmi_lp_f_group">
680
  <div class="left" style="padding-top: 74px;padding-bottom: 74px;">
681
  Icon Function
688
  <div class="fsmi_lp_compare_row_1_features highlighted">Define Social Media Meta for Each Page/Post</div> <!-- fsmi_lp_compare_row_1_features -->
689
  </div> <!-- right -->
690
  </div> <!-- fsmi_lp_f_group -->
 
691
  <div id="fsmi_lp_f_group">
692
  <div class="left" style="padding-top: 23px;padding-bottom: 25px;">
693
  Animation
697
  <div class="fsmi_lp_compare_row_1_features highlighted">Mouse Over Effects</div> <!-- fsmi_lp_compare_row_1_features -->
698
  </div> <!-- right -->
699
  </div> <!-- fsmi_lp_f_group -->
 
700
  <div id="fsmi_lp_f_group">
701
  <div class="left" style="padding-top: 65px;padding-bottom: 65px;">
702
  Fly Animation Repeat Interval
709
  <div class="fsmi_lp_compare_row_1_features">Based On Page Views and Time</div> <!-- fsmi_lp_compare_row_1_features -->
710
  </div> <!-- right -->
711
  </div> <!-- fsmi_lp_f_group -->
 
 
 
712
  <div id="fsmi_lp_f_group">
713
  <div class="left highlighted" style="padding-top: 24px;padding-bottom: 24px;">
714
  Multiple Fly Animation
718
  <div class="fsmi_lp_compare_row_1_features">Can Choose Fly End Position</div> <!-- fsmi_lp_compare_row_1_features -->
719
  </div> <!-- right -->
720
  </div> <!-- fsmi_lp_f_group -->
 
721
  <div id="fsmi_lp_f_group">
722
  <div class="left" style="padding-top: 40px;padding-bottom: 41px;">
723
  Easy to Configure
728
  <div class="fsmi_lp_compare_row_1_features">Easy to Configure</div> <!-- fsmi_lp_compare_row_1_features -->
729
  </div> <!-- right -->
730
  </div> <!-- fsmi_lp_f_group -->
 
731
  <div id="fsmi_lp_f_group">
732
  <div class="left" style="padding-top: 90px;padding-bottom: 90px;">
733
  Widget Support
741
  <div class="fsmi_lp_compare_row_1_features">Seperate Default Opacity for Each</div> <!-- fsmi_lp_compare_row_1_features -->
742
  </div> <!-- right -->
743
  </div> <!-- fsmi_lp_f_group -->
 
744
  <div id="fsmi_lp_f_group">
745
  <div class="left" style="padding-top: 90px;padding-bottom: 90px;">
746
  Shortcode Support
754
  <div class="fsmi_lp_compare_row_1_features">Seperate Default Opacity for Each</div> <!-- fsmi_lp_compare_row_1_features -->
755
  </div> <!-- right -->
756
  </div> <!-- fsmi_lp_f_group -->
 
 
 
757
  <div id="fsmi_lp_f_group">
758
  <div class="left" style="padding-top: 106px;padding-bottom: 107px;border-bottom:0px;">
759
  PHP Code Support
879
  <div id="fsmi_lp_shadow"></div> <!-- fsmi_lp_shadow -->
880
  <!-- div style="font-family: arial; font-size: 11px; color: darkgreen; float: left; margin-left: 39px; margin-bottom: 5px;">* Special Offer Price on Premium Version for Free Plugin Users Valid Only Until Next Free Version Upgrade - Click Order Now to Get Premium Version for $19.50</div -->
881
  </div> <!-- fsmi_landing_holder -->
 
 
882
  <div id="ad_fsmi_2_button_order" style="float:left;margin-left: 445px;">
883
  <a href="http://clients.acurax.com/floating-socialmedia.php?utm_source=plugin_fsmi_settings&utm_medium=banner&utm_campaign=plugin_yellow_order" target="_blank"><div id="ad_fsmi_2_button_order_link"></div></a></div> <!-- ad_fsmi_2_button_order -->
884
  ';
premium.php CHANGED
@@ -10,7 +10,7 @@ display:none;
10
  }
11
  </style>
12
  <div class="error" style="background: none repeat scroll 0pt 0pt infobackground; border: 1px solid inactivecaption; padding: 5px;line-height:16px;">
13
- Thanks again for using the plugin. we will never show the mesage again.
14
  </div>
15
  <?php
16
  }
10
  }
11
  </style>
12
  <div class="error" style="background: none repeat scroll 0pt 0pt infobackground; border: 1px solid inactivecaption; padding: 5px;line-height:16px;">
13
+ Thanks again for using the plugin. we will never show the message again.
14
  </div>
15
  <?php
16
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:http://www.acurax.com/products/floating-social-media-icon-plugin-wor
4
 
5
  Tags: social media,social,social media widget,social media icon,socialmedia,pinterest,social icon,social floating icon,social profiles,floating social media button,twitter facebook,social media button,google plus,google+
6
  Requires at least: 2.8
7
- Tested up to: 3.6.1
8
  Stable tag: trunk
9
 
10
  Easy 2 Use Plugin 2 Show SocialMedia Icons That Floats,Can Configure Social Icon Design,Order & Size at Plugin Settings, Suport Widget & Shortcode
@@ -36,7 +36,7 @@ A Quicklook
36
  ★ Featured Plugin On Many Plugin Review Sites
37
 
38
  You can make the icons to appear automatically or you can use social media widgets,
39
- shortcode or php code to display icons where ever you like to show.
40
  If you use the option to show it automatically.
41
 
42
  [Floating Social Media Icon Premium Version is available with more features and performance improvements](http://clients.acurax.com/link.php?id=11/ "Floating Social Media Icon Premium")
@@ -155,7 +155,7 @@ Yes, You can have as many shortcode or php code to display the social media icon
155
  = Can i override the css styles of each social media icon set? =
156
  Yes, each of the shortcode or php generated social media icon set is having unique css class and it help you to define specific style for each social media icon set.
157
 
158
- = Can i customize the shortcode to show social media icons with differant icon design and size? =
159
 
160
  Yes, You can use shortcode to display icon and set social media icon size,what ever you want which is supported by the plugin. You can override the global icon theme and size configuration using some attributes on shortcode.
161
 
@@ -170,6 +170,14 @@ Here we using the attribute **"size"** to define the icon size (Make Sure you sp
170
  So if you use a shortcode **[DISPLAY_ACURAX_ICONS theme="10" size="45"]**
171
  It will show the Social Media Icon with Icon Theme 10 and Icon size will be 45px width and height.
172
 
 
 
 
 
 
 
 
 
173
 
174
  = How can i use the plugin widgets? =
175
 
@@ -212,6 +220,18 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
212
 
213
  == Upgrade Notice ==
214
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  = 1.3.1 =
216
  * August 28, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
217
  * Stable Release
@@ -306,6 +326,18 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
306
 
307
  == Changelog ==
308
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  = 1.3.1 =
310
  * August 28, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
311
  * Stable Release
4
 
5
  Tags: social media,social,social media widget,social media icon,socialmedia,pinterest,social icon,social floating icon,social profiles,floating social media button,twitter facebook,social media button,google plus,google+
6
  Requires at least: 2.8
7
+ Tested up to: 3.8.1
8
  Stable tag: trunk
9
 
10
  Easy 2 Use Plugin 2 Show SocialMedia Icons That Floats,Can Configure Social Icon Design,Order & Size at Plugin Settings, Suport Widget & Shortcode
36
  ★ Featured Plugin On Many Plugin Review Sites
37
 
38
  You can make the icons to appear automatically or you can use social media widgets,
39
+ short-code or PHP code to display icons where ever you like to show.
40
  If you use the option to show it automatically.
41
 
42
  [Floating Social Media Icon Premium Version is available with more features and performance improvements](http://clients.acurax.com/link.php?id=11/ "Floating Social Media Icon Premium")
155
  = Can i override the css styles of each social media icon set? =
156
  Yes, each of the shortcode or php generated social media icon set is having unique css class and it help you to define specific style for each social media icon set.
157
 
158
+ = Can i customize the shortcode to show social media icons with different icon design and size? =
159
 
160
  Yes, You can use shortcode to display icon and set social media icon size,what ever you want which is supported by the plugin. You can override the global icon theme and size configuration using some attributes on shortcode.
161
 
170
  So if you use a shortcode **[DISPLAY_ACURAX_ICONS theme="10" size="45"]**
171
  It will show the Social Media Icon with Icon Theme 10 and Icon size will be 45px width and height.
172
 
173
+ = Why are my social media icons show vertically? =
174
+ Floating Social Media Icon displays social media icons with its own style, but in some cases, some theme css styles can override the styles of the social media icons generated by floating social media icon and thats what causing the issue.
175
+
176
+ = Can i fix the social media vertical align issue? =
177
+ Depending on the theme, the issue can happen, for this case, we have added a theme conflict fix in misc page, please enable it and take a look.
178
+
179
+ = Can i have my own social icons instead of the default one? =
180
+ Possible, Its an advanced option, you just needs to upload your social icons to wp-contents/plugins/floating-social-media-icon/images/themes/ANY THEME NUMBER, replace the current icons with your icons in same name, and then pick that theme number as the theme for the icons and it will load that new social icons.Keep in mind that, when you update the plugin, the custom icon uploaded will go, so always do this same process after you update the plugin.
181
 
182
  = How can i use the plugin widgets? =
183
 
220
 
221
  == Upgrade Notice ==
222
 
223
+ = 1.3.3 =
224
+ * January 05, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
225
+ * Minor Bug Fixes
226
+ * Optimized Codes
227
+ * Spelling Corrections
228
+
229
+ = 1.3.2 =
230
+ * October 10, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
231
+ * Stable Release
232
+ * Minor Bug Fixes
233
+ * Optimized Codes
234
+
235
  = 1.3.1 =
236
  * August 28, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
237
  * Stable Release
326
 
327
  == Changelog ==
328
 
329
+ = 1.3.3 =
330
+ * January 05, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
331
+ * Minor Bug Fixes
332
+ * Optimized Codes
333
+ * Spelling Corrections
334
+
335
+ = 1.3.2 =
336
+ * October 10, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
337
+ * Stable Release
338
+ * Minor Bug Fixes
339
+ * Optimized Codes
340
+
341
  = 1.3.1 =
342
  * August 28, 2013 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
343
  * Stable Release
screenshot-1.jpg DELETED
Binary file
screenshot-2.jpg DELETED
Binary file
screenshot-3.jpg DELETED
Binary file
screenshot-4.jpg DELETED
Binary file
social-help.php CHANGED
@@ -9,11 +9,8 @@ if($acx_si_fsmi_hide_advert == "no")
9
  </div> <!-- acx_fsmi_premium -->
10
  <?php } ?>
11
  <h2>Floating Social Media Icon - Wordpress Plugin - Help/Support</h2>
12
-
13
  <p>Thank you for using Floating Social Media Icon Plugin For Your Wordpress Social Media Profile Linking Need.</p>
14
-
15
  <h3><a href="http://clients.acurax.com/link.php?id=8" target="_blank">Click here to open the FAQ and Help Page</a></h3>
16
-
17
  <?php
18
  if($acx_si_fsmi_hide_advert == "no")
19
  {
9
  </div> <!-- acx_fsmi_premium -->
10
  <?php } ?>
11
  <h2>Floating Social Media Icon - Wordpress Plugin - Help/Support</h2>
 
12
  <p>Thank you for using Floating Social Media Icon Plugin For Your Wordpress Social Media Profile Linking Need.</p>
 
13
  <h3><a href="http://clients.acurax.com/link.php?id=8" target="_blank">Click here to open the FAQ and Help Page</a></h3>
 
14
  <?php
15
  if($acx_si_fsmi_hide_advert == "no")
16
  {
social-icon.php CHANGED
@@ -3,7 +3,6 @@
3
  $total_themes = ACX_SOCIALMEDIA_TOTAL_THEMES; // DEFINE NUMBER OF THEMES HERE
4
  $total_themes = ($total_themes+1); // DO NOT EDIT THIS
5
  /**********************************************/
6
-
7
  if($_GET["backlink"] == "enable") {
8
  $acx_si_credit = "yes"; // Current Version
9
  update_option('acx_si_credit', $acx_si_credit);
@@ -15,45 +14,33 @@ display:none;
15
  }
16
  </style>
17
  <?php }
18
-
19
  if($_POST['acurax_social_icon_hidden'] == 'Y')
20
  { //Form data sent
21
  $acx_si_theme = $_POST['acx_si_theme'];
22
  update_option('acx_si_theme', $acx_si_theme);
23
-
24
  $acx_si_twitter = $_POST['acx_si_twitter'];
25
  update_option('acx_si_twitter', $acx_si_twitter);
26
-
27
  $acx_si_facebook = $_POST['acx_si_facebook'];
28
  update_option('acx_si_facebook', $acx_si_facebook);
29
-
30
  $acx_si_youtube = $_POST['acx_si_youtube'];
31
  update_option('acx_si_youtube', $acx_si_youtube);
32
-
33
  $acx_si_linkedin = $_POST['acx_si_linkedin'];
34
  update_option('acx_si_linkedin', $acx_si_linkedin);
35
-
36
  $acx_si_gplus = $_POST['acx_si_gplus'];
37
  update_option('acx_si_gplus', $acx_si_gplus);
38
-
39
  $acx_si_credit = $_POST['acx_si_credit'];
40
  update_option('acx_si_credit', $acx_si_credit);
41
-
42
  $acx_si_icon_size = $_POST['acx_si_icon_size'];
43
  update_option('acx_si_icon_size', $acx_si_icon_size);
44
-
45
  $acx_si_display = $_POST['acx_si_display'];
46
  update_option('acx_si_display', $acx_si_display);
47
-
48
  $acx_si_pinterest = $_POST['acx_si_pinterest'];
49
  update_option('acx_si_pinterest', $acx_si_pinterest);
50
 
51
  $acx_si_feed = $_POST['acx_si_feed'];
52
  update_option('acx_si_feed', $acx_si_feed);
53
-
54
  $social_icon_array_order = get_option('social_icon_array_order');
55
  $acx_si_fsmi_hide_advert = get_option('acx_si_fsmi_hide_advert');
56
-
57
  ?>
58
  <div class="updated"><p><strong><?php _e('Acurax Floating Social Icons Settings Saved!.' ); ?></strong></p></div>
59
  <?php
@@ -83,14 +70,12 @@ update_option('acx_si_installed_date', $acx_si_installed_date);
83
  if ($acx_si_display == "") { $acx_si_display = "auto"; }
84
  if ($acx_si_theme == "") { $acx_si_theme = "1"; }
85
  if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
86
-
87
-
88
  if ($social_icon_array_order == "")
89
  {
90
  $social_icon_array_order = array(0,1,2,3,4,5,6);
91
  $social_icon_array_order = serialize($social_icon_array_order);
92
  update_option('social_icon_array_order', $social_icon_array_order);
93
- $acx_fsmi_si_current_version = "1.3.1"; // Current Version
94
  update_option('acx_fsmi_si_current_version', $acx_fsmi_si_current_version);
95
  } else
96
  {
@@ -114,7 +99,6 @@ update_option('acx_si_installed_date', $acx_si_installed_date);
114
  } //Normal page display else
115
  } //Main else
116
  ?>
117
-
118
  <!-- To Update Drag and Drop -->
119
  <script type="text/javascript">
120
  jQuery(document).ready(function()
@@ -174,12 +158,11 @@ if($acx_si_fsmi_hide_advert == "no")
174
  if($acx_si_credit != "yes")
175
  { ?>
176
  <div id='acx_backlink' align='center'>
177
- Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acurax-Social-Icons-Settings&backlink=enable">Okay, Enable.</a>
178
  </div>
179
  <?php
180
  } ?>
181
  <?php echo "<h2 style='clear: both;'>" . __( 'Acurax Social Icons Options', 'acx_si_config' ) . "</h2>"; ?>
182
-
183
  <?php echo "<h4>" . __( 'Select an icon style', 'acx_si_config' ) . "</h4>"; ?>
184
 
185
  <p class="widefat" style="padding:8px;width:99%;">
@@ -217,12 +200,10 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
217
  {
218
  echo "<img src=" . plugins_url('images/themes/'. $i .'/twitter.png', __FILE__) . ">";
219
  } else
220
-
221
  if ($value == 1)
222
  {
223
  echo "<img src=" . plugins_url('images/themes/'. $i .'/facebook.png', __FILE__) . ">";
224
  } else
225
-
226
  if ($value == 2)
227
  {
228
  echo "<img src=" . plugins_url('images/themes/'. $i .'/googleplus.png', __FILE__) . ">";
@@ -232,12 +213,10 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
232
  {
233
  echo "<img src=" . plugins_url('images/themes/'. $i .'/pinterest.png', __FILE__) . ">";
234
  } else
235
-
236
  if ($value == 4)
237
  {
238
  echo "<img src=" . plugins_url('images/themes/'. $i .'/youtube.png', __FILE__) . ">";
239
  } else
240
-
241
  if ($value == 5)
242
  {
243
  echo "<img src=" . plugins_url('images/themes/'. $i .'/linkedin.png', __FILE__) . ">";
@@ -247,7 +226,6 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
247
  {
248
  echo "<img src=" . plugins_url('images/themes/'. $i .'/feed.png', __FILE__) . ">";
249
  }
250
-
251
  }
252
  ?>
253
  </div>
@@ -257,7 +235,6 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
257
  echo "</div> <!-- acx_si_theme_display -->";
258
  // Ending The Theme List
259
  ?>
260
-
261
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Social Icon Size: " ); ?>
262
  <select name="acx_si_icon_size">
263
  <option value="16"<?php if ($acx_si_icon_size == "16") { echo 'selected="selected"'; } ?>>16px X 16px </option>
@@ -269,59 +246,42 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
269
  </select>
270
  <?php _e("Select a social icon size" ); ?>
271
  </p>
272
-
273
  <?php echo "<h4>" . __( 'Social Media Icon Display Order - Drag and Drop to Reorder', 'acx_si_config' ) . "</h4>"; ?>
274
  <div class="widefat" style="padding:8px;width:99%;margin-top:8px;">
275
  <div id="contentLeft">
276
  <ul>
277
  <?php
278
-
279
  foreach ($social_icon_array_order as $key => $value)
280
  {
281
  ?>
282
  <li id="recordsArray_<?php echo $value; ?>">
283
  <?php
284
-
285
  if ($value == 0)
286
  {
287
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/twitter.png', __FILE__) . "
288
  border='0'><br> Twitter";
289
  } else
290
-
291
-
292
-
293
  if ($value == 1)
294
  {
295
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/facebook.png', __FILE__) . "
296
  border='0'><br> Facebook";
297
  } else
298
-
299
-
300
-
301
  if ($value == 2)
302
  {
303
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/googleplus.png', __FILE__) . "
304
  border='0'><br> Google Plus";
305
  } else
306
-
307
-
308
 
309
  if ($value == 3)
310
  {
311
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/pinterest.png', __FILE__) . "
312
  border='0'><br> Pinterest";
313
  } else
314
-
315
-
316
-
317
  if ($value == 4)
318
  {
319
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/youtube.png', __FILE__) . "
320
  border='0'><br> Youtube";
321
  } else
322
-
323
-
324
-
325
  if ($value == 5)
326
  {
327
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/linkedin.png', __FILE__) . "
@@ -333,17 +293,14 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
333
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/feed.png', __FILE__) . "
334
  border='0'><br> Rss Feed";
335
  }
336
-
337
  ?>
338
  </li> <?php
339
  } ?>
340
-
341
  </ul>
342
  </div>
343
  <div id="contentRight"></div> <!-- contentRight -->
344
  <?php _e("Drag and Reorder Icons (It will automatically save on reorder)" ); ?>
345
  </div>
346
-
347
  <hr />
348
 
349
  <?php echo "<h4>" . __( 'Social Media Settings', 'acx_si_config' ) . "</h4>"; ?>
@@ -353,31 +310,26 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
353
  <input type="text" name="acx_si_twitter" value="<?php echo $acx_si_twitter; ?>" size="50">
354
  <?php _e("<b>Eg:</b> acuraxdotcom" ); ?>
355
  </p>
356
-
357
  <p class="widefat" style="padding:8px;width:99%;">
358
  <?php _e("Facebook Page/Profile URL: " ); ?>
359
  <input type="text" name="acx_si_facebook" value="<?php echo $acx_si_facebook; ?>" size="50">
360
  <?php _e("<b>Eg:</b> http://www.facebook.com/AcuraxInternational" ); ?>
361
  </p>
362
-
363
  <p class="widefat" style="padding:8px;width:99%;">
364
  <?php _e("Google Plus URL: " ); ?>
365
  <input type="text" name="acx_si_gplus" value="<?php echo $acx_si_gplus; ?>" size="50">
366
  <?php _e("Enter Your Complete Google Plus Url Starting With http://" ); ?>
367
  </p>
368
-
369
  <p class="widefat" style="padding:8px;width:99%;">
370
  <?php _e("Pinterest URL: " ); ?>
371
  <input type="text" name="acx_si_pinterest" value="<?php echo $acx_si_pinterest; ?>" size="50">
372
  <?php _e("Enter Your Complete Pinterest Url Starting With http://" ); ?>
373
  </p>
374
-
375
  <p class="widefat" style="padding:8px;width:99%;">
376
  <?php _e("Youtube URL: " ); ?>
377
  <input type="text" name="acx_si_youtube" value="<?php echo $acx_si_youtube; ?>" size="50">
378
  <?php _e("<b>Eg:</b> http://www.youtube.com/user/acuraxdotcom" ); ?>
379
  </p>
380
-
381
  <p class="widefat" style="padding:8px;width:99%;">
382
  <?php _e("Linkedin URL: " ); ?>
383
  <input type="text" name="acx_si_linkedin" value="<?php echo $acx_si_linkedin; ?>" size="50">
@@ -389,12 +341,8 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
389
  <input type="text" name="acx_si_feed" value="<?php echo $acx_si_feed; ?>" size="50">
390
  <?php _e("<b>Eg:</b> http://www.yourwebsite.com/feed" ); ?>
391
  </p>
392
-
393
  <hr />
394
-
395
-
396
  <?php echo "<h4>" . __( 'Other Settings', 'acx_si_config' ) . "</h4>"; ?>
397
-
398
  <p class="widefat" style="padding:8px;width:99%;">
399
  <?php _e("Display Mode: " ); ?>
400
 
@@ -414,7 +362,6 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
414
  <br>
415
  If you select display mode as "Automatic Only" , it will show automatically but will not show anything for shortcode or php code, If you select as "Manual Only", It will not automatically show floating icons but you can place <?php highlight_string($code); ?> in your theme file or use the shortcode <?php highlight_string($code_2); ?>, to display the Social Icons where ever you want, If you select "Automatic and Manual", It will automatically show floating icons and will also show icons for shortcode and php code.
416
  </p>
417
-
418
  <?php if($acx_si_credit == "yes")
419
  { ?>
420
  <p class="widefat" style="padding:8px;width:99%;">
@@ -427,18 +374,15 @@ Please do a favour by enabling backlink to our site. <a href="admin.php?page=Acu
427
  </p>
428
  <?php
429
  } ?>
430
-
431
  <p class="submit">
432
  <input type="submit" name="Submit" value="<?php _e('Save Configuration', 'acx_si_config' ) ?>" />
433
  <a name="updated">.</a>
434
  </p>
435
-
436
  </form>
437
-
438
  <?php if($_GET["status"] == "updated") { ?>
439
  <div style="display: block; background-color: rgb(255, 255, 224); padding: 10px; border: 1px solid rgb(230, 219, 85); font-family: arial; font-size: 13px; font-weight: bold; text-align: center; border-radius: 10px 10px 10px 10px;">Acurax Floating Social Media Icon Update Successfully Completed - Thank You</div>
440
  <?php
441
- $acx_fsmi_si_current_version = "1.3.1"; // Current Version
442
  update_option('acx_fsmi_si_current_version', $acx_fsmi_si_current_version);
443
  } ?>
444
  <hr/>
3
  $total_themes = ACX_SOCIALMEDIA_TOTAL_THEMES; // DEFINE NUMBER OF THEMES HERE
4
  $total_themes = ($total_themes+1); // DO NOT EDIT THIS
5
  /**********************************************/
 
6
  if($_GET["backlink"] == "enable") {
7
  $acx_si_credit = "yes"; // Current Version
8
  update_option('acx_si_credit', $acx_si_credit);
14
  }
15
  </style>
16
  <?php }
 
17
  if($_POST['acurax_social_icon_hidden'] == 'Y')
18
  { //Form data sent
19
  $acx_si_theme = $_POST['acx_si_theme'];
20
  update_option('acx_si_theme', $acx_si_theme);
 
21
  $acx_si_twitter = $_POST['acx_si_twitter'];
22
  update_option('acx_si_twitter', $acx_si_twitter);
 
23
  $acx_si_facebook = $_POST['acx_si_facebook'];
24
  update_option('acx_si_facebook', $acx_si_facebook);
 
25
  $acx_si_youtube = $_POST['acx_si_youtube'];
26
  update_option('acx_si_youtube', $acx_si_youtube);
 
27
  $acx_si_linkedin = $_POST['acx_si_linkedin'];
28
  update_option('acx_si_linkedin', $acx_si_linkedin);
 
29
  $acx_si_gplus = $_POST['acx_si_gplus'];
30
  update_option('acx_si_gplus', $acx_si_gplus);
 
31
  $acx_si_credit = $_POST['acx_si_credit'];
32
  update_option('acx_si_credit', $acx_si_credit);
 
33
  $acx_si_icon_size = $_POST['acx_si_icon_size'];
34
  update_option('acx_si_icon_size', $acx_si_icon_size);
 
35
  $acx_si_display = $_POST['acx_si_display'];
36
  update_option('acx_si_display', $acx_si_display);
 
37
  $acx_si_pinterest = $_POST['acx_si_pinterest'];
38
  update_option('acx_si_pinterest', $acx_si_pinterest);
39
 
40
  $acx_si_feed = $_POST['acx_si_feed'];
41
  update_option('acx_si_feed', $acx_si_feed);
 
42
  $social_icon_array_order = get_option('social_icon_array_order');
43
  $acx_si_fsmi_hide_advert = get_option('acx_si_fsmi_hide_advert');
 
44
  ?>
45
  <div class="updated"><p><strong><?php _e('Acurax Floating Social Icons Settings Saved!.' ); ?></strong></p></div>
46
  <?php
70
  if ($acx_si_display == "") { $acx_si_display = "auto"; }
71
  if ($acx_si_theme == "") { $acx_si_theme = "1"; }
72
  if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
 
 
73
  if ($social_icon_array_order == "")
74
  {
75
  $social_icon_array_order = array(0,1,2,3,4,5,6);
76
  $social_icon_array_order = serialize($social_icon_array_order);
77
  update_option('social_icon_array_order', $social_icon_array_order);
78
+ $acx_fsmi_si_current_version = "1.3.3"; // Current Version
79
  update_option('acx_fsmi_si_current_version', $acx_fsmi_si_current_version);
80
  } else
81
  {
99
  } //Normal page display else
100
  } //Main else
101
  ?>
 
102
  <!-- To Update Drag and Drop -->
103
  <script type="text/javascript">
104
  jQuery(document).ready(function()
158
  if($acx_si_credit != "yes")
159
  { ?>
160
  <div id='acx_backlink' align='center'>
161
+ Please do a favour by enabling back-link to our site. <a href="admin.php?page=Acurax-Social-Icons-Settings&backlink=enable">Okay, Enable.</a>
162
  </div>
163
  <?php
164
  } ?>
165
  <?php echo "<h2 style='clear: both;'>" . __( 'Acurax Social Icons Options', 'acx_si_config' ) . "</h2>"; ?>
 
166
  <?php echo "<h4>" . __( 'Select an icon style', 'acx_si_config' ) . "</h4>"; ?>
167
 
168
  <p class="widefat" style="padding:8px;width:99%;">
200
  {
201
  echo "<img src=" . plugins_url('images/themes/'. $i .'/twitter.png', __FILE__) . ">";
202
  } else
 
203
  if ($value == 1)
204
  {
205
  echo "<img src=" . plugins_url('images/themes/'. $i .'/facebook.png', __FILE__) . ">";
206
  } else
 
207
  if ($value == 2)
208
  {
209
  echo "<img src=" . plugins_url('images/themes/'. $i .'/googleplus.png', __FILE__) . ">";
213
  {
214
  echo "<img src=" . plugins_url('images/themes/'. $i .'/pinterest.png', __FILE__) . ">";
215
  } else
 
216
  if ($value == 4)
217
  {
218
  echo "<img src=" . plugins_url('images/themes/'. $i .'/youtube.png', __FILE__) . ">";
219
  } else
 
220
  if ($value == 5)
221
  {
222
  echo "<img src=" . plugins_url('images/themes/'. $i .'/linkedin.png', __FILE__) . ">";
226
  {
227
  echo "<img src=" . plugins_url('images/themes/'. $i .'/feed.png', __FILE__) . ">";
228
  }
 
229
  }
230
  ?>
231
  </div>
235
  echo "</div> <!-- acx_si_theme_display -->";
236
  // Ending The Theme List
237
  ?>
 
238
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Social Icon Size: " ); ?>
239
  <select name="acx_si_icon_size">
240
  <option value="16"<?php if ($acx_si_icon_size == "16") { echo 'selected="selected"'; } ?>>16px X 16px </option>
246
  </select>
247
  <?php _e("Select a social icon size" ); ?>
248
  </p>
 
249
  <?php echo "<h4>" . __( 'Social Media Icon Display Order - Drag and Drop to Reorder', 'acx_si_config' ) . "</h4>"; ?>
250
  <div class="widefat" style="padding:8px;width:99%;margin-top:8px;">
251
  <div id="contentLeft">
252
  <ul>
253
  <?php
 
254
  foreach ($social_icon_array_order as $key => $value)
255
  {
256
  ?>
257
  <li id="recordsArray_<?php echo $value; ?>">
258
  <?php
 
259
  if ($value == 0)
260
  {
261
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/twitter.png', __FILE__) . "
262
  border='0'><br> Twitter";
263
  } else
 
 
 
264
  if ($value == 1)
265
  {
266
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/facebook.png', __FILE__) . "
267
  border='0'><br> Facebook";
268
  } else
 
 
 
269
  if ($value == 2)
270
  {
271
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/googleplus.png', __FILE__) . "
272
  border='0'><br> Google Plus";
273
  } else
 
 
274
 
275
  if ($value == 3)
276
  {
277
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/pinterest.png', __FILE__) . "
278
  border='0'><br> Pinterest";
279
  } else
 
 
 
280
  if ($value == 4)
281
  {
282
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/youtube.png', __FILE__) . "
283
  border='0'><br> Youtube";
284
  } else
 
 
 
285
  if ($value == 5)
286
  {
287
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/linkedin.png', __FILE__) . "
293
  echo "<img src=" . plugins_url('images/themes/'. $acx_si_theme .'/feed.png', __FILE__) . "
294
  border='0'><br> Rss Feed";
295
  }
 
296
  ?>
297
  </li> <?php
298
  } ?>
 
299
  </ul>
300
  </div>
301
  <div id="contentRight"></div> <!-- contentRight -->
302
  <?php _e("Drag and Reorder Icons (It will automatically save on reorder)" ); ?>
303
  </div>
 
304
  <hr />
305
 
306
  <?php echo "<h4>" . __( 'Social Media Settings', 'acx_si_config' ) . "</h4>"; ?>
310
  <input type="text" name="acx_si_twitter" value="<?php echo $acx_si_twitter; ?>" size="50">
311
  <?php _e("<b>Eg:</b> acuraxdotcom" ); ?>
312
  </p>
 
313
  <p class="widefat" style="padding:8px;width:99%;">
314
  <?php _e("Facebook Page/Profile URL: " ); ?>
315
  <input type="text" name="acx_si_facebook" value="<?php echo $acx_si_facebook; ?>" size="50">
316
  <?php _e("<b>Eg:</b> http://www.facebook.com/AcuraxInternational" ); ?>
317
  </p>
 
318
  <p class="widefat" style="padding:8px;width:99%;">
319
  <?php _e("Google Plus URL: " ); ?>
320
  <input type="text" name="acx_si_gplus" value="<?php echo $acx_si_gplus; ?>" size="50">
321
  <?php _e("Enter Your Complete Google Plus Url Starting With http://" ); ?>
322
  </p>
 
323
  <p class="widefat" style="padding:8px;width:99%;">
324
  <?php _e("Pinterest URL: " ); ?>
325
  <input type="text" name="acx_si_pinterest" value="<?php echo $acx_si_pinterest; ?>" size="50">
326
  <?php _e("Enter Your Complete Pinterest Url Starting With http://" ); ?>
327
  </p>
 
328
  <p class="widefat" style="padding:8px;width:99%;">
329
  <?php _e("Youtube URL: " ); ?>
330
  <input type="text" name="acx_si_youtube" value="<?php echo $acx_si_youtube; ?>" size="50">
331
  <?php _e("<b>Eg:</b> http://www.youtube.com/user/acuraxdotcom" ); ?>
332
  </p>
 
333
  <p class="widefat" style="padding:8px;width:99%;">
334
  <?php _e("Linkedin URL: " ); ?>
335
  <input type="text" name="acx_si_linkedin" value="<?php echo $acx_si_linkedin; ?>" size="50">
341
  <input type="text" name="acx_si_feed" value="<?php echo $acx_si_feed; ?>" size="50">
342
  <?php _e("<b>Eg:</b> http://www.yourwebsite.com/feed" ); ?>
343
  </p>
 
344
  <hr />
 
 
345
  <?php echo "<h4>" . __( 'Other Settings', 'acx_si_config' ) . "</h4>"; ?>
 
346
  <p class="widefat" style="padding:8px;width:99%;">
347
  <?php _e("Display Mode: " ); ?>
348
 
362
  <br>
363
  If you select display mode as "Automatic Only" , it will show automatically but will not show anything for shortcode or php code, If you select as "Manual Only", It will not automatically show floating icons but you can place <?php highlight_string($code); ?> in your theme file or use the shortcode <?php highlight_string($code_2); ?>, to display the Social Icons where ever you want, If you select "Automatic and Manual", It will automatically show floating icons and will also show icons for shortcode and php code.
364
  </p>
 
365
  <?php if($acx_si_credit == "yes")
366
  { ?>
367
  <p class="widefat" style="padding:8px;width:99%;">
374
  </p>
375
  <?php
376
  } ?>
 
377
  <p class="submit">
378
  <input type="submit" name="Submit" value="<?php _e('Save Configuration', 'acx_si_config' ) ?>" />
379
  <a name="updated">.</a>
380
  </p>
 
381
  </form>
 
382
  <?php if($_GET["status"] == "updated") { ?>
383
  <div style="display: block; background-color: rgb(255, 255, 224); padding: 10px; border: 1px solid rgb(230, 219, 85); font-family: arial; font-size: 13px; font-weight: bold; text-align: center; border-radius: 10px 10px 10px 10px;">Acurax Floating Social Media Icon Update Successfully Completed - Thank You</div>
384
  <?php
385
+ $acx_fsmi_si_current_version = "1.3.3"; // Current Version
386
  update_option('acx_fsmi_si_current_version', $acx_fsmi_si_current_version);
387
  } ?>
388
  <hr/>