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

Version Description

  • March 07, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
  • Added Theme Warning Ignore Option
  • Optimized Codes
  • Updated Option Description
Download this release

Release Info

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

Code changes from version 1.3.3 to 1.3.4

Files changed (5) hide show
  1. acurax-social-icon.php +1 -1
  2. fsmi-misc.php +14 -1
  3. function.php +10 -2
  4. readme.txt +13 -1
  5. social-icon.php +2 -2
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.3
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.4
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
fsmi-misc.php CHANGED
@@ -3,6 +3,8 @@ 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
  $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'];
@@ -16,11 +18,13 @@ update_option('acx_si_fsmi_hide_advert', $acx_si_fsmi_hide_advert);
16
  else
17
  { //Normal page display
18
  $acx_si_fsmi_menu_highlight = get_option('acx_si_fsmi_menu_highlight');
 
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"; }
@@ -60,7 +64,7 @@ if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
60
  <option value="yes"<?php if ($acx_si_fsmi_menu_highlight == "yes") { echo 'selected="selected"'; } ?>>Yes, Highlight Plugin Menu </option>
61
  <option value="no"<?php if ($acx_si_fsmi_menu_highlight == "no") { echo 'selected="selected"'; } ?>>No, Dont 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">
@@ -83,6 +87,15 @@ if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
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>
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_theme_warning_ignore = $_POST['acx_si_fsmi_theme_warning_ignore'];
7
+ update_option('acx_si_fsmi_theme_warning_ignore', $acx_si_fsmi_theme_warning_ignore);
8
  $acx_si_fsmi_acx_service_banners = $_POST['acx_si_fsmi_acx_service_banners'];
9
  update_option('acx_si_fsmi_acx_service_banners', $acx_si_fsmi_acx_service_banners);
10
  $acx_si_fsmi_float_fix = $_POST['acx_si_fsmi_float_fix'];
18
  else
19
  { //Normal page display
20
  $acx_si_fsmi_menu_highlight = get_option('acx_si_fsmi_menu_highlight');
21
+ $acx_si_fsmi_theme_warning_ignore = get_option('acx_si_fsmi_theme_warning_ignore');
22
  $acx_si_fsmi_acx_service_banners = get_option('acx_si_fsmi_acx_service_banners');
23
  $acx_si_fsmi_float_fix = get_option('acx_si_fsmi_float_fix');
24
  $acx_si_fsmi_hide_advert = get_option('acx_si_fsmi_hide_advert');
25
  // Setting Defaults
26
  if ($acx_si_fsmi_menu_highlight == "") { $acx_si_fsmi_menu_highlight = "yes"; }
27
+ if ($acx_si_fsmi_theme_warning_ignore == "") { $acx_si_fsmi_theme_warning_ignore = "no"; }
28
  if ($acx_si_fsmi_acx_service_banners == "") { $acx_si_fsmi_acx_service_banners = "yes"; }
29
  if ($acx_si_fsmi_float_fix == "") { $acx_si_fsmi_float_fix = "no"; }
30
  if ($acx_si_fsmi_hide_advert == "") { $acx_si_fsmi_hide_advert = "no"; }
64
  <option value="yes"<?php if ($acx_si_fsmi_menu_highlight == "yes") { echo 'selected="selected"'; } ?>>Yes, Highlight Plugin Menu </option>
65
  <option value="no"<?php if ($acx_si_fsmi_menu_highlight == "no") { echo 'selected="selected"'; } ?>>No, Dont Highlight Plugin Menu </option>
66
  </select>
67
+ <?php _e("If you don't like the plugin menu highlighting in green, you can set this to NO" ); ?>
68
  </p>
69
  <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Acurax Service Banners: " ); ?>
70
  <select name="acx_si_fsmi_acx_service_banners">
87
  </select>
88
  <?php _e("If your widget/shortcode icons are in Vertical, then enable this to make it Horizontal" ); ?>
89
  </p>
90
+
91
+ <p class="widefat" style="padding:8px;width:99%;margin-top:8px;"> <?php _e("Ignore Theme Warning?" ); ?>
92
+ <select name="acx_si_fsmi_theme_warning_ignore">
93
+ <option value="yes"<?php if ($acx_si_fsmi_theme_warning_ignore == "yes") { echo 'selected="selected"'; } ?>>Yes </option>
94
+ <option value="no"<?php if ($acx_si_fsmi_theme_warning_ignore == "no") { echo 'selected="selected"'; } ?>>No </option>
95
+ </select>
96
+ <?php _e("If everything is working properly and still the plugin shows theme warning, you can set this to Yes" ); ?>
97
+ </p>
98
+
99
  <p class="submit">
100
  <input type="submit" name="Submit" value="<?php _e('Save Settings', 'acx_si_config' ) ?>" />
101
  </p>
function.php CHANGED
@@ -15,6 +15,7 @@ $acx_si_feed = get_option('acx_si_feed');
15
  $acx_si_icon_size = get_option('acx_si_icon_size');
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()
@@ -99,7 +100,10 @@ function acx_theme_check_wp_head() {
99
  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_head(); ?&gt;</code> just before the <code>&lt;/head&gt;</code> line of your theme's <code>header.php</code> file." . "</div>";
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
 
@@ -119,7 +123,11 @@ function acx_theme_check_wp_footer() {
119
  // wp_footer() not found:
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,
@@ -472,7 +480,7 @@ function acx_fsmi_si_pluign_finish_version_update()
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
  {
15
  $acx_si_icon_size = get_option('acx_si_icon_size');
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
+ $acx_si_fsmi_theme_warning_ignore = get_option('acx_si_fsmi_theme_warning_ignore');
19
  // *****************************************************
20
  // Check Credit Link
21
  function enqueue_acx_si_style()
100
  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_head(); ?&gt;</code> just before the <code>&lt;/head&gt;</code> line of your theme's <code>header.php</code> file." . "</div>";
101
  }
102
  } // theme check
103
+ if($acx_si_fsmi_theme_warning_ignore != "yes")
104
+ {
105
  add_action('admin_notices', 'acx_theme_check_wp_head');
106
+ }
107
  function acx_theme_check_wp_footer() {
108
  $template_directory = get_template_directory();
109
 
123
  // wp_footer() not found:
124
  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>";
125
  }
126
+ }
127
+ if($acx_si_fsmi_theme_warning_ignore != "yes")
128
+ {
129
+ add_action('admin_notices', 'acx_theme_check_wp_footer');
130
+ }
131
  function acurax_icons()
132
  {
133
  global $acx_si_theme, $acx_si_credit, $acx_si_display , $acx_si_twitter, $acx_si_facebook, $acx_si_youtube,
480
  </div>';
481
  }
482
  $acx_fsmi_si_current_version = get_option('acx_fsmi_si_current_version');
483
+ if($acx_fsmi_si_current_version != '1.3.4') // Current Version
484
  {
485
  if (get_option('social_icon_array_order') != "")
486
  {
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.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
@@ -220,6 +220,12 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
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
@@ -326,6 +332,12 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
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
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.9.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
220
 
221
  == Upgrade Notice ==
222
 
223
+ = 1.3.4 =
224
+ * March 07, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
225
+ * Added Theme Warning Ignore Option
226
+ * Optimized Codes
227
+ * Updated Option Description
228
+
229
  = 1.3.3 =
230
  * January 05, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
231
  * Minor Bug Fixes
332
 
333
  == Changelog ==
334
 
335
+ = 1.3.4 =
336
+ * March 07, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
337
+ * Added Theme Warning Ignore Option
338
+ * Optimized Codes
339
+ * Updated Option Description
340
+
341
  = 1.3.3 =
342
  * January 05, 2014 | NOTE: UPGRADING PLUGIN WILL NOT CHANGE YOUR SETTINGS/CONFIGURATION.. UPGRADE WITH CONFIDENCE :)
343
  * Minor Bug Fixes
social-icon.php CHANGED
@@ -75,7 +75,7 @@ update_option('acx_si_installed_date', $acx_si_installed_date);
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
  {
@@ -382,7 +382,7 @@ Please do a favour by enabling back-link to our site. <a href="admin.php?page=Ac
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/>
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.4"; // Current Version
79
  update_option('acx_fsmi_si_current_version', $acx_fsmi_si_current_version);
80
  } else
81
  {
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.4"; // Current Version
386
  update_option('acx_fsmi_si_current_version', $acx_fsmi_si_current_version);
387
  } ?>
388
  <hr/>