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

Version Description

  • Fixed Alignment Problem When Displaying All Icons With Bigger Sizes
Download this release

Release Info

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

Code changes from version 1.0.5 to 1.0.6

Files changed (3) hide show
  1. acurax-social-icon.php +1 -1
  2. js.php +79 -4
  3. readme.txt +7 -1
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 and size.
6
  Author: Acurax
7
- Version: 1.0.5
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 and size.
6
  Author: Acurax
7
+ Version: 1.0.6
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
js.php CHANGED
@@ -1,12 +1,87 @@
1
  <?php
2
  require( dirname( __FILE__ ) . '../../../../wp-config.php' );
3
  $acx_si_icon_size=get_option('acx_si_icon_size');
4
- if ($acx_si_icon_size == "55") {
5
- $y="-125"; } else
 
 
6
  {
7
- $y="-60";
8
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  ?>
 
10
  var ns = (navigator.appName.indexOf("Netscape") != -1);
11
  var d = document;
12
  var px = document.layers ? "" : "px";
1
  <?php
2
  require( dirname( __FILE__ ) . '../../../../wp-config.php' );
3
  $acx_si_icon_size=get_option('acx_si_icon_size');
4
+ $y = -60;
5
+ ////////////////////////////////////////////////////////////////////////////
6
+ //STARTING CROSS CHECK $count,$icon_size,$set_value
7
+ function acx_si_check_loaded_count($count,$icon_size,$set_value)
8
  {
9
+ // Defining Values To Use
10
+ $acx_si_icon_size=get_option('acx_si_icon_size'); // Getting Value From DB :)
11
+ $acx_si_twitter = get_option('acx_si_twitter');
12
+ $acx_si_facebook = get_option('acx_si_facebook');
13
+ $acx_si_youtube = get_option('acx_si_youtube');
14
+ $acx_si_linkedin = get_option('acx_si_linkedin');
15
+ $count_check = 0;
16
+ $l1 = 0;
17
+ $l2 = 0;
18
+ $l3 = 0;
19
+ $l4 = 0;
20
+ if ($acx_si_twitter != "") { $l1 = 1; }
21
+ if ($acx_si_facebook != "") { $l2 = 1; }
22
+ if ($acx_si_youtube != "") { $l3 = 1; }
23
+ if ($acx_si_linkedin != "") { $l4 = 1; }
24
+ $count_check = $l1 + $l2 + $l3 + $l4;
25
+
26
+ if ($acx_si_icon_size == $icon_size && $count_check == $count)
27
+ {
28
+ global $y;
29
+ $y = $set_value;
30
+ }
31
+ } // ENDING THE FUNCTION TO CROS CHECK
32
+ ////////////////////////////////////////////////////////////////////////////
33
+
34
+
35
+ /**************************************************************************
36
+ CONDITIONS STARTING HERE
37
+ ***************************************************************************/
38
+ // Icon Size 16 Starts Here
39
+ // acx_si_check_loaded_count($count,$icon_size,$set_value);
40
+ acx_si_check_loaded_count(1,16,-35);
41
+ acx_si_check_loaded_count(2,16,-35);
42
+ acx_si_check_loaded_count(3,16,-35);
43
+ acx_si_check_loaded_count(4,16,-35);
44
+ // *********************************
45
+ // Icon Size 25 Starts Here
46
+ // acx_si_check_loaded_count($count,$icon_size,$set_value);
47
+ acx_si_check_loaded_count(1,25,-50);
48
+ acx_si_check_loaded_count(2,25,-50);
49
+ acx_si_check_loaded_count(3,25,-50);
50
+ acx_si_check_loaded_count(4,25,-50);
51
+ // *********************************
52
+ // Icon Size 32 Starts Here
53
+ // acx_si_check_loaded_count($count,$icon_size,$set_value);
54
+ acx_si_check_loaded_count(1,32,-55);
55
+ acx_si_check_loaded_count(2,32,-55);
56
+ acx_si_check_loaded_count(3,32,-55);
57
+ acx_si_check_loaded_count(4,32,-55);
58
+ // *********************************
59
+ // Icon Size 40 Starts Here
60
+ // acx_si_check_loaded_count($count,$icon_size,$set_value);
61
+ acx_si_check_loaded_count(1,40,-65);
62
+ acx_si_check_loaded_count(2,40,-65);
63
+ acx_si_check_loaded_count(3,40,-65);
64
+ acx_si_check_loaded_count(4,40,-105);
65
+ // *********************************
66
+ // Icon Size 48 Starts Here
67
+ // acx_si_check_loaded_count($count,$icon_size,$set_value);
68
+ acx_si_check_loaded_count(1,48,-75);
69
+ acx_si_check_loaded_count(2,48,-75);
70
+ acx_si_check_loaded_count(3,48,-75);
71
+ acx_si_check_loaded_count(4,48,-120);
72
+ // *********************************
73
+ // Icon Size 55 Starts Here
74
+ // acx_si_check_loaded_count($count,$icon_size,$set_value);
75
+ acx_si_check_loaded_count(1,55,-80);
76
+ acx_si_check_loaded_count(2,55,-80);
77
+ acx_si_check_loaded_count(3,55,-135);
78
+ acx_si_check_loaded_count(4,55,-135);
79
+ // *********************************
80
+ /**************************************************************************
81
+ CONDITIONS ENDING HERE
82
+ ***************************************************************************/
83
  ?>
84
+
85
  var ns = (navigator.appName.indexOf("Netscape") != -1);
86
  var d = document;
87
  var px = document.layers ? "" : "px";
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: Acurax
3
  Donate link:http://www.acurax.com/
4
 
5
- Tags: social media,social media icons,social profile link,social floating icon,floating social media button,floating social media icon,social media button,facebook button,facebook icon,twitter button,youtube icon,youtube button
6
  Requires at least: 2.8
7
  Tested up to: 3.3.1
8
  Stable tag: trunk
@@ -56,6 +56,9 @@ Its because of your theme or any of the plugins installed.. which may make confl
56
 
57
  == Upgrade Notice ==
58
 
 
 
 
59
  = 1.0.5 =
60
  * Major Fix For More Theme Compatibility
61
 
@@ -70,6 +73,9 @@ Its because of your theme or any of the plugins installed.. which may make confl
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 1.0.5 =
74
  * Major Fix For More Theme Compatibility
75
 
2
  Contributors: Acurax
3
  Donate link:http://www.acurax.com/
4
 
5
+ Tags: social media,social media icon,social profile link,social floating icon,floating social media button,social media url,social media button,facebook button,facebook icon,twitter icon,twitter button,youtube icon,youtube button,facebook profile url,twitter url
6
  Requires at least: 2.8
7
  Tested up to: 3.3.1
8
  Stable tag: trunk
56
 
57
  == Upgrade Notice ==
58
 
59
+ = 1.0.6 =
60
+ * Fixed Alignment Problem When Displaying All Icons With Bigger Sizes
61
+
62
  = 1.0.5 =
63
  * Major Fix For More Theme Compatibility
64
 
73
 
74
  == Changelog ==
75
 
76
+ = 1.0.6 =
77
+ * Fixed Alignment Problem When Displaying All Icons With Bigger Sizes
78
+
79
  = 1.0.5 =
80
  * Major Fix For More Theme Compatibility
81