Version Description
- Fix - Code Improvements
- Fix - URL Break Issues
- Fix - Perfomance Improvements
Download this release
Release Info
Developer | Acurax |
Plugin | Social Media Widget by Acurax |
Version | 3.2.6 |
Comparing to | |
See all releases |
Code changes from version 3.2.5 to 3.2.6
- acurax-social-icon.php +2 -2
- function.php +21 -19
- includes/acx-smw-licence-activation.php +3 -3
- includes/option_fields.php +2 -2
- readme.txt +10 -0
acurax-social-icon.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Social Media Widget by Acurax
|
|
4 |
Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
|
5 |
Description: A Simple Wordpress Plugin Which Allow You To Add Widget Which Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Pinterest,Youtube,Rss Feed,Linkedin,google plus. You can define icon style size for each widget.
|
6 |
Author: Acurax
|
7 |
-
Version: 3.2.
|
8 |
Author URI: http://www.acurax.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
@@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
24 |
*/
|
25 |
define('ACX_SOCIALMEDIA_WIDGET_TOTAL_THEMES', 30);
|
26 |
define('ACX_SMW_TOTAL_STATIC_SERVICES', 8);
|
27 |
-
define('ACX_SMW_VERSION', "3.2.
|
28 |
define("ACX_SMW_BASE_LOCATION",plugin_dir_url( __FILE__ ));
|
29 |
define("ACX_SMW_WP_SLUG","acurax-social-media-widget");
|
30 |
include_once(plugin_dir_path( __FILE__ ).'function.php');
|
4 |
Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
|
5 |
Description: A Simple Wordpress Plugin Which Allow You To Add Widget Which Links Social Media Icons to Your Social Media Profiles Twitter,Facebook,Pinterest,Youtube,Rss Feed,Linkedin,google plus. You can define icon style size for each widget.
|
6 |
Author: Acurax
|
7 |
+
Version: 3.2.6
|
8 |
Author URI: http://www.acurax.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
24 |
*/
|
25 |
define('ACX_SOCIALMEDIA_WIDGET_TOTAL_THEMES', 30);
|
26 |
define('ACX_SMW_TOTAL_STATIC_SERVICES', 8);
|
27 |
+
define('ACX_SMW_VERSION', "3.2.6");
|
28 |
define("ACX_SMW_BASE_LOCATION",plugin_dir_url( __FILE__ ));
|
29 |
define("ACX_SMW_WP_SLUG","acurax-social-media-widget");
|
30 |
include_once(plugin_dir_path( __FILE__ ).'function.php');
|
function.php
CHANGED
@@ -465,7 +465,7 @@ if ($social_widget_icon_array_count < $total_arrays)
|
|
465 |
function acx_widget_si_pluign_not_configured()
|
466 |
{
|
467 |
echo '<div class="updated">
|
468 |
-
<p><b>'. __('Congratulations!, You Have Successfully Installed Acurax Social Media Widget, The Plugin Is Not Configured - ','acurax-social-media-widget'). '<a href="admin.php?page=Acurax-Social-Widget-Settings">'. __('Click Here to Configure','acurax-social-media-widget').'</a></b></p></div>';
|
469 |
}
|
470 |
if ($social_widget_icon_array_count == $total_arrays)
|
471 |
{
|
@@ -493,7 +493,7 @@ if($acx_widget_si_current_user == "")
|
|
493 |
{
|
494 |
$acx_widget_si_current_user = "Webmaster";
|
495 |
}
|
496 |
-
echo '<div id="acx_td_asmw" class="notice">' . __('Hey','acurax-social-media-widget'). ' <b>'.$acx_widget_si_current_user.'</b>,'. __(' You were using Acurax Social Media Widget Wordpress Plugin for the last','acurax-social-media-widget').' <b>'.$acx_widget_si_days_till_today_from_install.'</b>,'. __(' and hope you are enjoying it.','acurax-social-media-widget').'<br>' . __(' From the bottom of our heart, we the team @ ','acurax-social-media-widget').'<a href="http://www.acurax.com/?utm_source=asmw&utm_campaign=days" style="font-weight: normal; margin-left: 0px; color: rgb(68, 68, 68);" target="_blank">'. __(' Acurax Technologies','acurax-social-media-widget').'</a>'. __(' thank you for being with us, and we appreciate your feedback,reviews and support.','acurax-social-media-widget').'<br><a href="https://wordpress.org/support/
|
497 |
}
|
498 |
$acx_widget_si_installed_date = get_option('acx_widget_si_installed_date');
|
499 |
if ($acx_widget_si_installed_date=="") { $acx_widget_si_installed_date = time();}
|
@@ -584,12 +584,12 @@ class acx_social_widget_icons_Widget extends WP_Widget
|
|
584 |
<label for="<?php echo $this->get_field_id('icon_size'); ?>"><?php _e('Icon Size:','acurax-social-media-widget'); ?></label>
|
585 |
<select class="widefat" name="<?php echo $this->get_field_name('icon_size'); ?>" id="<?php echo $this
|
586 |
->get_field_id('icon_size'); ?>">
|
587 |
-
<option value="16"<?php if ($instance['icon_size'] == "16") { echo 'selected="selected"'; } ?>>16<?php _e('px','
|
588 |
-
<option value="25"<?php if ($instance['icon_size'] == "25") { echo 'selected="selected"'; } ?>>25<?php _e('px','
|
589 |
-
<option value="32"<?php if ($instance['icon_size'] == "32") { echo 'selected="selected"'; } ?>>32<?php _e('px','
|
590 |
-
<option value="40"<?php if ($instance['icon_size'] == "40") { echo 'selected="selected"'; } ?>>40<?php _e('px','
|
591 |
-
<option value="48"<?php if ($instance['icon_size'] == "48") { echo 'selected="selected"'; } ?>>48<?php _e('px','
|
592 |
-
<option value="55"<?php if ($instance['icon_size'] == "55") { echo 'selected="selected"'; } ?>>55<?php _e('px','
|
593 |
</select>
|
594 |
</p>
|
595 |
<p>
|
@@ -597,13 +597,13 @@ class acx_social_widget_icons_Widget extends WP_Widget
|
|
597 |
<select class="widefat" name="<?php echo $this->get_field_name('icon_theme'); ?>" id="<?php echo $this
|
598 |
->get_field_id('icon_theme'); ?>">
|
599 |
<option value=""<?php if(!ISSET($instance['icon_theme'])) { echo
|
600 |
-
'selected="selected"'; } ?>><?php _e('Default Theme Design','
|
601 |
<?php
|
602 |
for ($i=1; $i < $total_themes; $i++)
|
603 |
{
|
604 |
?>
|
605 |
<option value="<?php echo $i; ?>"<?php if(ISSET($instance['icon_theme'])){if ($instance['icon_theme'] == $i) { echo
|
606 |
-
'selected="selected"'; }} ?>><?php _e('Theme Design','
|
607 |
<?php
|
608 |
} ?>
|
609 |
</select>
|
@@ -618,7 +618,7 @@ class acx_social_widget_icons_Widget extends WP_Widget
|
|
618 |
<option value="right"<?php if(ISSET($instance['icon_align'])){ if($instance['icon_align'] == "right") { echo 'selected="selected"'; } }?>><?php _e('Right','acurax-social-media-widget'); ?> </option>
|
619 |
</select>
|
620 |
</p>
|
621 |
-
<p><?php _e('You can configure your social media profiles ','acurax-social-media-widget'); ?><a href="admin.php?page=Acurax-Social-Widget-Settings" target="_blank"><?php _e('here','acurax-social-media-widget'); ?></a></p>
|
622 |
<?php
|
623 |
}
|
624 |
// Processes the admin options form when saved
|
@@ -980,14 +980,16 @@ add_action('acx_smw_comparison_premium','socialicons_widget_comparison',1);
|
|
980 |
function acx_asmw_saveorder_callback()
|
981 |
{
|
982 |
global $wpdb;
|
983 |
-
$
|
984 |
-
if (
|
985 |
-
$social_widget_icon_array_order =
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
|
|
|
|
991 |
die(); // this is required to return a proper result
|
992 |
} add_action('wp_ajax_acx_asmw_saveorder', 'acx_asmw_saveorder_callback');
|
993 |
|
465 |
function acx_widget_si_pluign_not_configured()
|
466 |
{
|
467 |
echo '<div class="updated">
|
468 |
+
<p><b>'. __('Congratulations!, You Have Successfully Installed Acurax Social Media Widget, The Plugin Is Not Configured - ','acurax-social-media-widget'). '<a href="'.wp_nonce_url(admin_url("admin.php?page=Acurax-Social-Widget-Settings")).'">'. __('Click Here to Configure','acurax-social-media-widget').'</a></b></p></div>';
|
469 |
}
|
470 |
if ($social_widget_icon_array_count == $total_arrays)
|
471 |
{
|
493 |
{
|
494 |
$acx_widget_si_current_user = "Webmaster";
|
495 |
}
|
496 |
+
echo '<div id="acx_td_asmw" class="notice">' . __('Hey','acurax-social-media-widget'). ' <b>'.$acx_widget_si_current_user.'</b>,'. __(' You were using Acurax Social Media Widget Wordpress Plugin for the last','acurax-social-media-widget').' <b>'.$acx_widget_si_days_till_today_from_install.'</b>,'. __(' and hope you are enjoying it.','acurax-social-media-widget').'<br>' . __(' From the bottom of our heart, we the team @ ','acurax-social-media-widget').'<a href="http://www.acurax.com/?utm_source=asmw&utm_campaign=days" style="font-weight: normal; margin-left: 0px; color: rgb(68, 68, 68);" target="_blank">'. __(' Acurax Technologies','acurax-social-media-widget').'</a>'. __(' thank you for being with us, and we appreciate your feedback,reviews and support.','acurax-social-media-widget').'<br><a href="https://wordpress.org/support/plugin/'.ACX_SMW_WP_SLUG.'/reviews/?filter=5&rate=5#new-post" target="_blank">'. __('Rate 5★\'s on wordpress','acurax-social-media-widget').'</a><a href="'.wp_nonce_url(admin_url("admin.php?page=Acurax-Social-Widget-Premium")).'">'. __('Premium Version Benefits','acurax-social-media-widget').'</a><a href="'.wp_nonce_url(admin_url('admin.php?page=Acurax-Social-Widget-Premium&td=hide')).'">'. __('Hide for Now','acurax-social-media-widget'). '</a></div>';
|
497 |
}
|
498 |
$acx_widget_si_installed_date = get_option('acx_widget_si_installed_date');
|
499 |
if ($acx_widget_si_installed_date=="") { $acx_widget_si_installed_date = time();}
|
584 |
<label for="<?php echo $this->get_field_id('icon_size'); ?>"><?php _e('Icon Size:','acurax-social-media-widget'); ?></label>
|
585 |
<select class="widefat" name="<?php echo $this->get_field_name('icon_size'); ?>" id="<?php echo $this
|
586 |
->get_field_id('icon_size'); ?>">
|
587 |
+
<option value="16"<?php if ($instance['icon_size'] == "16") { echo 'selected="selected"'; } ?>>16<?php _e('px','acurax-social-media-widget'); ?> X 16<?php _e('px','acurax-social-media-widget'); ?> </option>
|
588 |
+
<option value="25"<?php if ($instance['icon_size'] == "25") { echo 'selected="selected"'; } ?>>25<?php _e('px','acurax-social-media-widget'); ?> X 25<?php _e('px','acurax-social-media-widget'); ?> </option>
|
589 |
+
<option value="32"<?php if ($instance['icon_size'] == "32") { echo 'selected="selected"'; } ?>>32<?php _e('px','acurax-social-media-widget'); ?> X 32<?php _e('px','acurax-social-media-widget'); ?> </option>
|
590 |
+
<option value="40"<?php if ($instance['icon_size'] == "40") { echo 'selected="selected"'; } ?>>40<?php _e('px','acurax-social-media-widget'); ?> X 40<?php _e('px','acurax-social-media-widget'); ?> </option>
|
591 |
+
<option value="48"<?php if ($instance['icon_size'] == "48") { echo 'selected="selected"'; } ?>>48<?php _e('px','acurax-social-media-widget'); ?> X 48<?php _e('px','acurax-social-media-widget'); ?> </option>
|
592 |
+
<option value="55"<?php if ($instance['icon_size'] == "55") { echo 'selected="selected"'; } ?>>55<?php _e('px','acurax-social-media-widget'); ?> X 55<?php _e('px','acurax-social-media-widget'); ?> </option>
|
593 |
</select>
|
594 |
</p>
|
595 |
<p>
|
597 |
<select class="widefat" name="<?php echo $this->get_field_name('icon_theme'); ?>" id="<?php echo $this
|
598 |
->get_field_id('icon_theme'); ?>">
|
599 |
<option value=""<?php if(!ISSET($instance['icon_theme'])) { echo
|
600 |
+
'selected="selected"'; } ?>><?php _e('Default Theme Design','acurax-social-media-widget'); ?></option>
|
601 |
<?php
|
602 |
for ($i=1; $i < $total_themes; $i++)
|
603 |
{
|
604 |
?>
|
605 |
<option value="<?php echo $i; ?>"<?php if(ISSET($instance['icon_theme'])){if ($instance['icon_theme'] == $i) { echo
|
606 |
+
'selected="selected"'; }} ?>><?php _e('Theme Design','acurax-social-media-widget'); ?> <?php echo $i; ?> </option>
|
607 |
<?php
|
608 |
} ?>
|
609 |
</select>
|
618 |
<option value="right"<?php if(ISSET($instance['icon_align'])){ if($instance['icon_align'] == "right") { echo 'selected="selected"'; } }?>><?php _e('Right','acurax-social-media-widget'); ?> </option>
|
619 |
</select>
|
620 |
</p>
|
621 |
+
<p><?php _e('You can configure your social media profiles ','acurax-social-media-widget'); ?><a href="<?php echo wp_nonce_url(admin_url('admin.php?page=Acurax-Social-Widget-Settings'));?>" target="_blank"><?php _e('here','acurax-social-media-widget'); ?></a></p>
|
622 |
<?php
|
623 |
}
|
624 |
// Processes the admin options form when saved
|
980 |
function acx_asmw_saveorder_callback()
|
981 |
{
|
982 |
global $wpdb;
|
983 |
+
if(!isset($_POST['acx_asmw_saveorder_es'])) die("<br><br>".__('Unknown Error Occurred, Try Again... ','acurax-social-media-widget')."<a href=''>".__('Click Here','acurax-social-media-widget')."</a>");
|
984 |
+
if(!wp_verify_nonce($_POST['acx_asmw_saveorder_es'],'acx_asmw_saveorder_es')) die("<br><br>".__('Sorry, You have no permission to do this action...','acurax-social-media-widget')."<a href=''>".__('Click Here','acurax-social-media-widget')."</a>");
|
985 |
+
$social_widget_icon_array_order = $_POST['recordsArray'];
|
986 |
+
if (current_user_can('manage_options')) {
|
987 |
+
$social_widget_icon_array_order = serialize($social_widget_icon_array_order);
|
988 |
+
update_option('social_widget_icon_array_order', $social_widget_icon_array_order);
|
989 |
+
echo "<div id='acurax_notice' align='center' style='width: 420px; font-family: arial; font-weight: normal; font-size: 22px;'>";
|
990 |
+
echo __("Social Media Icon's Order Saved","acurax-social-media-widget");
|
991 |
+
echo "</div><br>";
|
992 |
+
}
|
993 |
die(); // this is required to return a proper result
|
994 |
} add_action('wp_ajax_acx_asmw_saveorder', 'acx_asmw_saveorder_callback');
|
995 |
|
includes/acx-smw-licence-activation.php
CHANGED
@@ -4018,7 +4018,7 @@ function acx_smw_licnece_install_required_plugins() {
|
|
4018 |
array(
|
4019 |
'name' => 'Social Media Flying Icons | Floating Social Media Icon',
|
4020 |
'slug' => 'floating-social-media-icon',
|
4021 |
-
'version' => '4.2.
|
4022 |
'required' => true,
|
4023 |
),
|
4024 |
|
@@ -4499,7 +4499,7 @@ function acx_smw_purchased_licence_add_callback()
|
|
4499 |
}
|
4500 |
else
|
4501 |
{
|
4502 |
-
echo __("Sorry, Your license
|
4503 |
}
|
4504 |
}
|
4505 |
}
|
@@ -4510,7 +4510,7 @@ function acx_smw_purchased_licence_add_callback()
|
|
4510 |
}
|
4511 |
else
|
4512 |
{
|
4513 |
-
echo __("
|
4514 |
}
|
4515 |
die();
|
4516 |
}
|
4018 |
array(
|
4019 |
'name' => 'Social Media Flying Icons | Floating Social Media Icon',
|
4020 |
'slug' => 'floating-social-media-icon',
|
4021 |
+
'version' => '4.2.8',
|
4022 |
'required' => true,
|
4023 |
),
|
4024 |
|
4499 |
}
|
4500 |
else
|
4501 |
{
|
4502 |
+
echo __("Sorry, Your license validation failed due to ".$response['response_status'].", Please contact support","acurax-social-media-widget");
|
4503 |
}
|
4504 |
}
|
4505 |
}
|
4510 |
}
|
4511 |
else
|
4512 |
{
|
4513 |
+
echo __("Your Licence Code is Empty","acurax-social-media-widget");
|
4514 |
}
|
4515 |
die();
|
4516 |
}
|
includes/option_fields.php
CHANGED
@@ -500,7 +500,7 @@ add_action('acx_smw_hook_option_postelse','acx_smw_instagram_post_else');
|
|
500 |
|
501 |
function acx_smw_custom_icon_btn_field()
|
502 |
{
|
503 |
-
?><span class='button smw_info_premium smw_info_lb' lb_title='<?php _e('Adding Extra Icons Feature','acurax-social-media-widget'); ?>' lb_content='<?php _e('Its possible to add any number of extra icons by uploading them and you can link them to anywhere you need.','acurax-social-media-widget'); ?><br><br><?php _e('Lets say, you needs to have an icon which links to your contact page or services page, you can do that.','acurax-social-media-widget'); ?><br><br><i><?php _e('This feature is only available in our premium version - ','acurax-social-media-widget'); ?><a href="admin.php?page=Acurax-Social-Icons-Premium" target="_blank"><?php _e('Compare Features','acurax-social-media-widget'); ?></a> / <a href="http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=smw&utm_campaign=premium-info" target="_blank"><?php _e('Order Now','acurax-social-media-widget'); ?></a>'><?php _e('Add Custom Icon','acurax-social-media-widget'); ?></span><?php
|
504 |
echo "<span class='acx_smw_q_sep'></span>";
|
505 |
}
|
506 |
add_action('acx_smw_icons_option_field','acx_smw_custom_icon_btn_field',800);
|
@@ -961,7 +961,7 @@ function acx_smw_expert_icon_select_html()
|
|
961 |
|
962 |
<p class="widefat" style="background: none repeat scroll 0% 0% menu; border-bottom: 2px dashed lavender; border-right: 2px dashed lavender; margin-bottom: 15px; margin-top: 8px; padding: 8px; width: 99%;"> <?php _e("1) Icon Selection Display Fix: ","acurax-social-media-widget" ); ?>
|
963 |
<?php _e("If you cant find any icons on the icon theme/style selection section, try this fix","acurax-social-media-widget" ); ?>
|
964 |
-
<a href="admin.php?page=Acurax-Social-Widget-Troubleshooter&quickfix=1&sid
|
965 |
</p>
|
966 |
<?php
|
967 |
echo "<span class='acx_smw_q_sep'></span>";
|
500 |
|
501 |
function acx_smw_custom_icon_btn_field()
|
502 |
{
|
503 |
+
?><span class='button smw_info_premium smw_info_lb' lb_title='<?php _e('Adding Extra Icons Feature','acurax-social-media-widget'); ?>' lb_content='<?php _e('Its possible to add any number of extra icons by uploading them and you can link them to anywhere you need.','acurax-social-media-widget'); ?><br><br><?php _e('Lets say, you needs to have an icon which links to your contact page or services page, you can do that.','acurax-social-media-widget'); ?><br><br><i><?php _e('This feature is only available in our premium version - ','acurax-social-media-widget'); ?><a href="<?php echo wp_nonce_url(admin_url('admin.php?page=Acurax-Social-Icons-Premium'));?>" target="_blank"><?php _e('Compare Features','acurax-social-media-widget'); ?></a> / <a href="http://clients.acurax.com/order.php?pid=fsmi_power&utm_source=smw&utm_campaign=premium-info" target="_blank"><?php _e('Order Now','acurax-social-media-widget'); ?></a>'><?php _e('Add Custom Icon','acurax-social-media-widget'); ?></span><?php
|
504 |
echo "<span class='acx_smw_q_sep'></span>";
|
505 |
}
|
506 |
add_action('acx_smw_icons_option_field','acx_smw_custom_icon_btn_field',800);
|
961 |
|
962 |
<p class="widefat" style="background: none repeat scroll 0% 0% menu; border-bottom: 2px dashed lavender; border-right: 2px dashed lavender; margin-bottom: 15px; margin-top: 8px; padding: 8px; width: 99%;"> <?php _e("1) Icon Selection Display Fix: ","acurax-social-media-widget" ); ?>
|
963 |
<?php _e("If you cant find any icons on the icon theme/style selection section, try this fix","acurax-social-media-widget" ); ?>
|
964 |
+
<a href="<?php echo wp_nonce_url(admin_url('admin.php?page=Acurax-Social-Widget-Troubleshooter&quickfix=1&sid='. wp_create_nonce('acx_smw_qfix')));?>" class="acx_trouble_fixit"><?php _e('Click here to try this fix!','acurax-social-media-widget') ;?></a>
|
965 |
</p>
|
966 |
<?php
|
967 |
echo "<span class='acx_smw_q_sep'></span>";
|
readme.txt
CHANGED
@@ -112,6 +112,11 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
|
|
112 |
|
113 |
== Upgrade Notice ==
|
114 |
|
|
|
|
|
|
|
|
|
|
|
115 |
= 3.2.5 =
|
116 |
* Fix - Code Improvements
|
117 |
* Fix - Perfomance Improvements
|
@@ -232,6 +237,11 @@ Have more questions ? [Drop a mail](http://www.acurax.com/contact.php/ "Drop an
|
|
232 |
|
233 |
== Changelog ==
|
234 |
|
|
|
|
|
|
|
|
|
|
|
235 |
= 3.2.5 =
|
236 |
* Fix - Code Improvements
|
237 |
* Fix - Perfomance Improvements
|
112 |
|
113 |
== Upgrade Notice ==
|
114 |
|
115 |
+
= 3.2.6 =
|
116 |
+
* Fix - Code Improvements
|
117 |
+
* Fix - URL Break Issues
|
118 |
+
* Fix - Perfomance Improvements
|
119 |
+
|
120 |
= 3.2.5 =
|
121 |
* Fix - Code Improvements
|
122 |
* Fix - Perfomance Improvements
|
237 |
|
238 |
== Changelog ==
|
239 |
|
240 |
+
= 3.2.6 =
|
241 |
+
* Fix - Code Improvements
|
242 |
+
* Fix - URL Break Issues
|
243 |
+
* Fix - Perfomance Improvements
|
244 |
+
|
245 |
= 3.2.5 =
|
246 |
* Fix - Code Improvements
|
247 |
* Fix - Perfomance Improvements
|