feed_id)); update_option('sfsi_plus_redirect_url' , sanitize_text_field($sfsiId->redirect_url)); } } //Install version update_option("sfsi_plus_pluginVersion", "2.61"); /* show notification on about mobile setting */ if(!get_option('sfsi_plus_show_Setting_mobile_notification')) { add_option("sfsi_plus_show_Setting_mobile_notification", "yes"); } /* show premium notification */ if(!get_option('sfsi_plus_show_premium_notification')) { add_option("sfsi_plus_show_premium_notification", "yes"); } /*show notification*/ if(!get_option('sfsi_plus_show_notification')) { add_option("sfsi_plus_show_notification", "yes"); } /* show new notification*/ if(!get_option('sfsi_plus_new_show_notification')) { add_option("sfsi_plus_new_show_notification", "no"); } add_option('sfsi_plus_footer_sec','no'); /* subscription form */ $options9 = array('sfsi_plus_form_adjustment'=>'yes', 'sfsi_plus_form_height'=>'180', 'sfsi_plus_form_width' =>'230', 'sfsi_plus_form_border'=>'yes', 'sfsi_plus_form_border_thickness'=>'1', 'sfsi_plus_form_border_color'=>'#b5b5b5', 'sfsi_plus_form_background'=>'#ffffff', 'sfsi_plus_form_heading_text'=>'Get new posts by email:', 'sfsi_plus_form_heading_font'=>'Helvetica,Arial,sans-serif', 'sfsi_plus_form_heading_fontstyle'=>'bold', 'sfsi_plus_form_heading_fontcolor'=>'#000000', 'sfsi_plus_form_heading_fontsize'=>'16', 'sfsi_plus_form_heading_fontalign'=>'center', 'sfsi_plus_form_field_text'=>'Enter your email', 'sfsi_plus_form_field_font'=>'Helvetica,Arial,sans-serif', 'sfsi_plus_form_field_fontstyle'=>'normal', 'sfsi_plus_form_field_fontcolor'=>'#000000', 'sfsi_plus_form_field_fontsize'=>'14', 'sfsi_plus_form_field_fontalign'=>'center', 'sfsi_plus_form_button_text'=>'Subscribe', 'sfsi_plus_form_button_font'=>'Helvetica,Arial,sans-serif', 'sfsi_plus_form_button_fontstyle'=>'bold', 'sfsi_plus_form_button_fontcolor'=>'#000000', 'sfsi_plus_form_button_fontsize'=>'16', 'sfsi_plus_form_button_fontalign'=>'center', 'sfsi_plus_form_button_background'=>'#dedede', ); add_option('sfsi_plus_section9_options', serialize($options9)); /*Extra important options*/ $sfsi_plus_instagram_sf_count = array( "date" => strtotime(date("Y-m-d")), "sfsi_plus_sf_count" => "", "sfsi_plus_instagram_count" => "" ); add_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count)); /*Float Icon setting*/ $option8 = unserialize(get_option('sfsi_plus_section8_options',false)); if(isset($option8) && !empty($option8) && !isset($option8['sfsi_plus_icons_floatMargin_top'])) { $option8['sfsi_plus_icons_floatMargin_top'] = ''; $option8['sfsi_plus_icons_floatMargin_bottom'] = ''; $option8['sfsi_plus_icons_floatMargin_left'] = ''; $option8['sfsi_plus_icons_floatMargin_right'] = ''; update_option('sfsi_plus_section8_options', serialize($option8)); } if(isset($option8) && !empty($option8)) { if(!isset($option8['sfsi_plus_rectpinit'])) { $option8['sfsi_plus_rectpinit'] = 'no'; } if(!isset($option8['sfsi_plus_rectfbshare'])) { $option8['sfsi_plus_rectfbshare'] = 'no'; } update_option('sfsi_plus_section8_options', serialize($option8)); } /*Language icons*/ $option5 = unserialize(get_option('sfsi_plus_section5_options',false)); if(isset($option5) && !empty($option5)) { $option5['sfsi_plus_follow_icons_language'] = 'Follow_en_US'; $option5['sfsi_plus_facebook_icons_language'] = 'Visit_us_en_US'; $option5['sfsi_plus_twitter_icons_language'] = 'Visit_us_en_US'; $option5['sfsi_plus_google_icons_language'] = 'Visit_us_en_US'; $option5['sfsi_plus_icons_language'] = 'en_US'; update_option('sfsi_plus_section5_options', serialize($option5)); } /*Youtube Channelid settings*/ $option4 = unserialize(get_option('sfsi_plus_section4_options',false)); if(isset($option4) && !empty($option4) && !isset($option4['sfsi_plus_youtube_channelId'])) { $option4['sfsi_plus_youtube_channelId'] = ''; update_option('sfsi_plus_section4_options', serialize($option4)); } /* section1 */ $option1 = unserialize(get_option('sfsi_plus_section1_options',false)); if(isset($option1) && !empty($option1) && !isset($option1['sfsi_plus_premium_icons_box'])) { $option1['sfsi_plus_premium_icons_box'] = 'no'; update_option('sfsi_plus_section1_options', serialize($option1)); } /* section2 */ $option2 = unserialize(get_option('sfsi_plus_section2_options',false)); if(isset($option2) && !empty($option2) && !isset($option2['sfsi_plus_premium_email_box'])) { $option2['sfsi_plus_premium_email_box'] = 'no'; $option2['sfsi_plus_premium_facebook_box'] = 'no'; $option2['sfsi_plus_premium_twitter_box'] = 'no'; $option2['sfsi_plus_premium_google_box'] = 'no'; update_option('sfsi_plus_section2_options', serialize($option2)); } /* section3 */ $option3 = unserialize(get_option('sfsi_plus_section3_options',false)); if(isset($option3) && !empty($option3) && !isset($option3['sfsi_plus_premium_icons_design_box'])) { $option3['sfsi_plus_premium_icons_design_box'] = 'no'; update_option('sfsi_plus_section3_options', serialize($option3)); } /* section4 */ $option4 = unserialize(get_option('sfsi_plus_section4_options',false)); if(isset($option4) && !empty($option4) && !isset($option4['sfsi_plus_premium_count_box'])) { $option4['sfsi_plus_premium_count_box'] = 'no'; update_option('sfsi_plus_section4_options', serialize($option4)); } /* section5 */ $option5 = unserialize(get_option('sfsi_plus_section5_options',false)); if(isset($option5) && !empty($option5) && !isset($option5['sfsi_plus_premium_size_box'])) { $option5['sfsi_plus_premium_size_box'] = 'no'; update_option('sfsi_plus_section5_options', serialize($option5)); } /* section7 */ $option7 = unserialize(get_option('sfsi_plus_section7_options',false)); if(isset($option7) && !empty($option7) && !isset($option7['sfsi_plus_premium_popup_box'])) { $option7['sfsi_plus_premium_popup_box'] = 'no'; update_option('sfsi_plus_section7_options', serialize($option7)); } /* section8 */ $option8 = unserialize(get_option('sfsi_plus_section8_options',false)); if(isset($option8) && !empty($option8) && !isset($option8['sfsi_plus_show_premium_placement_box'])) { $option8['sfsi_plus_show_premium_placement_box'] = 'no'; update_option('sfsi_plus_section8_options', serialize($option8)); } $option4 = unserialize(get_option('sfsi_plus_section4_options',false)); if(isset($option4) && !empty($option4) && !isset($option4['sfsi_plus_instagram_clientid'])) { $option4['sfsi_plus_instagram_clientid'] = ''; $option4['sfsi_plus_instagram_appurl'] = ''; $option4['sfsi_plus_instagram_token'] = ''; update_option('sfsi_plus_section4_options', serialize($option4)); } } function sfsi_plus_activate_plugin() { /* check for CURL enable at server */ sfsi_plus_curl_enable_notice(); if(!get_option('sfsi_plus_new_show_notification')) { add_option("sfsi_plus_new_show_notification", "yes"); } $options1=array('sfsi_plus_rss_display'=>'yes', 'sfsi_plus_email_display'=>'yes', 'sfsi_plus_facebook_display'=>'yes', 'sfsi_plus_twitter_display'=>'yes', 'sfsi_plus_google_display'=>'yes', 'sfsi_plus_share_display'=>'no', 'sfsi_plus_pinterest_display'=>'no', 'sfsi_plus_instagram_display'=>'no', 'sfsi_plus_linkedin_display'=>'no', 'sfsi_plus_youtube_display'=>'no', 'sfsi_plus_houzz_display'=>'no', 'sfsi_custom_display'=>'', 'sfsi_custom_files'=>'', 'sfsi_plus_premium_icons_box' =>'yes', ); add_option('sfsi_plus_section1_options', serialize($options1)); if(get_option('sfsi_plus_feed_id') && get_option('sfsi_plus_redirect_url')) { $sffeeds["feed_id"] = sanitize_text_field(get_option('sfsi_plus_feed_id')); $sffeeds["redirect_url"] = sanitize_text_field(get_option('sfsi_plus_redirect_url')); $sffeeds = (object)$sffeeds; } else { $sffeeds = SFSI_PLUS_getFeedUrl(); } /* Links and icons options */ $options2=array('sfsi_plus_rss_url'=>sfsi_plus_get_bloginfo('rss2_url'), 'sfsi_plus_rss_icons'=>'subscribe', 'sfsi_plus_email_url'=>$sffeeds->redirect_url, 'sfsi_plus_facebookPage_option'=>'no', 'sfsi_plus_facebookPage_url'=>'', 'sfsi_plus_facebookLike_option'=>'yes', 'sfsi_plus_facebookShare_option'=>'yes', 'sfsi_plus_twitter_followme'=>'no', 'sfsi_plus_twitter_followUserName'=>'', 'sfsi_plus_twitter_aboutPage'=>'yes', 'sfsi_plus_twitter_page'=>'no', 'sfsi_plus_twitter_pageURL'=>'', 'sfsi_plus_twitter_aboutPageText'=>'Hey, check out this cool site I found: www.yourname.com #Topic via@my_twitter_name', 'sfsi_plus_google_page'=>'no', 'sfsi_plus_google_pageURL'=>'', 'sfsi_plus_googleLike_option'=>'yes', 'sfsi_plus_googleShare_option'=>'yes', 'sfsi_plus_youtube_pageUrl'=>'', 'sfsi_plus_youtube_page'=>'no', 'sfsi_plus_youtube_follow'=>'no', 'sfsi_plus_youtubeusernameorid'=>'name', 'sfsi_plus_ytube_chnlid'=>'', 'sfsi_plus_ytube_user'=>'', 'sfsi_plus_pinterest_page'=>'no', 'sfsi_plus_pinterest_pageUrl'=>'', 'sfsi_plus_pinterest_pingBlog'=>'', 'sfsi_plus_instagram_page'=>'no', 'sfsi_plus_instagram_pageUrl'=>'', 'sfsi_plus_houzz_pageUrl'=>'', 'sfsi_plus_linkedin_page'=>'no', 'sfsi_plus_linkedin_pageURL'=>'', 'sfsi_plus_linkedin_follow'=>'no', 'sfsi_plus_linkedin_followCompany'=>'', 'sfsi_plus_linkedin_SharePage'=>'yes', 'sfsi_plus_linkedin_recommendBusines'=>'no', 'sfsi_plus_linkedin_recommendCompany'=>'', 'sfsi_plus_linkedin_recommendProductId'=>'', 'sfsi_plus_CustomIcon_links'=>'', 'sfsi_plus_premium_email_box'=>'yes', 'sfsi_plus_premium_facebook_box'=>'yes', 'sfsi_plus_premium_twitter_box'=>'yes', 'sfsi_plus_premium_google_box'=>'yes', ); add_option('sfsi_plus_section2_options', serialize($options2)); /* Design and animation option */ $options3=array('sfsi_plus_mouseOver'=>'no', 'sfsi_plus_mouseOver_effect'=>'fade_in', 'sfsi_plus_shuffle_icons'=>'no', 'sfsi_plus_shuffle_Firstload'=>'no', 'sfsi_plus_shuffle_interval'=>'no', 'sfsi_plus_shuffle_intervalTime'=>'', 'sfsi_plus_actvite_theme'=>'default', 'sfsi_plus_premium_icons_design_box'=>'yes', ); add_option('sfsi_plus_section3_options', serialize($options3)); /* display counts options */ $options4=array('sfsi_plus_display_counts'=>'no', 'sfsi_plus_email_countsDisplay'=>'no', 'sfsi_plus_email_countsFrom'=>'source', 'sfsi_plus_email_manualCounts'=>'20', 'sfsi_plus_rss_countsDisplay'=>'no', 'sfsi_plus_rss_manualCounts'=>'20', 'sfsi_plus_facebook_PageLink'=>'', 'sfsi_plus_facebook_countsDisplay'=>'no', 'sfsi_plus_facebook_countsFrom'=>'manual', 'sfsi_plus_facebook_manualCounts'=>'20', 'sfsi_plus_twitter_countsDisplay'=>'no', 'sfsi_plus_twitter_countsFrom'=>'manual', 'sfsi_plus_twitter_manualCounts'=>'20', 'sfsi_plus_google_api_key'=>'', 'sfsi_plus_google_countsDisplay'=>'no', 'sfsi_plus_google_countsFrom'=>'manual', 'sfsi_plus_google_manualCounts'=>'20', 'sfsi_plus_linkedIn_countsDisplay'=>'no', 'sfsi_plus_linkedIn_countsFrom'=>'manual', 'sfsi_plus_linkedIn_manualCounts'=>'20', 'sfsi_plus_ln_api_key'=>'', 'sfsi_plus_ln_secret_key'=>'', 'sfsi_plus_ln_oAuth_user_token'=>'', 'sfsi_plus_ln_company'=>'', 'sfsi_plus_youtube_user'=>'', 'sfsi_plus_youtube_channelId'=>'', 'sfsi_plus_youtube_countsDisplay'=>'no', 'sfsi_plus_youtube_countsFrom'=>'manual', 'sfsi_plus_youtube_manualCounts'=>'20', 'sfsi_plus_pinterest_countsDisplay'=>'no', 'sfsi_plus_pinterest_countsFrom'=>'manual', 'sfsi_plus_pinterest_manualCounts'=>'20', 'sfsi_plus_pinterest_user'=>'', 'sfsi_plus_pinterest_board'=>'', 'sfsi_plus_instagram_countsFrom'=>'manual', 'sfsi_plus_instagram_countsDisplay'=>'no', 'sfsi_plus_instagram_manualCounts'=>'20', 'sfsi_plus_instagram_User'=>'', 'sfsi_plus_instagram_clientid'=>'', 'sfsi_plus_instagram_appurl' =>'', 'sfsi_plus_instagram_token' =>'', 'sfsi_plus_shares_countsDisplay'=>'no', 'sfsi_plus_shares_countsFrom'=>'manual', 'sfsi_plus_shares_manualCounts'=>'20', 'sfsi_plus_houzz_countsDisplay'=>'no', 'sfsi_plus_houzz_countsFrom'=>'manual', 'sfsi_plus_houzz_manualCounts'=>'20', 'sfsi_plus_premium_count_box'=>'yes', ); add_option('sfsi_plus_section4_options', serialize($options4)); $options5=array('sfsi_plus_icons_size'=>'40', 'sfsi_plus_icons_spacing'=>'5', 'sfsi_plus_icons_Alignment'=>'left', 'sfsi_plus_icons_perRow'=>'5', 'sfsi_plus_follow_icons_language'=>'Follow_en_US', 'sfsi_plus_facebook_icons_language'=>'Visit_us_en_US', 'sfsi_plus_twitter_icons_language'=>'Visit_us_en_US', 'sfsi_plus_google_icons_language'=>'Visit_us_en_US', 'sfsi_plus_icons_language'=>'en_US', 'sfsi_plus_icons_ClickPageOpen'=>'yes', 'sfsi_plus_icons_float'=>'no', 'sfsi_plus_disable_floaticons'=>'no', 'sfsi_plus_disable_viewport'=>'no', 'sfsi_plus_icons_floatPosition'=>'center-right', 'sfsi_plus_icons_stick'=>'no', 'sfsi_plus_rssIcon_order'=>'1', 'sfsi_plus_emailIcon_order'=>'2', 'sfsi_plus_facebookIcon_order'=>'3', 'sfsi_plus_googleIcon_order'=>'4', 'sfsi_plus_twitterIcon_order'=>'5', 'sfsi_plus_shareIcon_order'=>'6', 'sfsi_plus_youtubeIcon_order'=>'7', 'sfsi_plus_pinterestIcon_order'=>'8', 'sfsi_plus_linkedinIcon_order'=>'9', 'sfsi_plus_instagramIcon_order'=>'10', 'sfsi_plus_houzzIcon_order'=>'11', 'sfsi_plus_CustomIcons_order'=>'', 'sfsi_plus_rss_MouseOverText'=>'RSS', 'sfsi_plus_email_MouseOverText'=>'Follow by Email', 'sfsi_plus_twitter_MouseOverText'=>'Twitter', 'sfsi_plus_facebook_MouseOverText'=>'Facebook', 'sfsi_plus_google_MouseOverText'=>'Google+', 'sfsi_plus_linkedIn_MouseOverText'=>'LinkedIn', 'sfsi_plus_pinterest_MouseOverText'=>'Pinterest', 'sfsi_plus_instagram_MouseOverText'=>'Instagram', 'sfsi_plus_houzz_MouseOverText'=>'Houzz', 'sfsi_plus_youtube_MouseOverText'=>'YouTube', 'sfsi_plus_share_MouseOverText'=>'Share', 'sfsi_plus_custom_MouseOverTexts'=>'', 'sfsi_plus_premium_size_box'=>'yes', ); add_option('sfsi_plus_section5_options', serialize($options5)); /* post options */ $options6=array('sfsi_plus_show_Onposts'=>'no', 'sfsi_plus_show_Onbottom'=>'no', 'sfsi_plus_icons_postPositon'=>'source', 'sfsi_plus_icons_alignment'=>'center-right', 'sfsi_plus_rss_countsDisplay'=>'no', 'sfsi_plus_textBefor_icons'=>'Please follow and like us:', 'sfsi_plus_icons_DisplayCounts'=>'no'); add_option('sfsi_plus_section6_options', serialize($options6)); /* icons pop options */ $options7=array('sfsi_plus_show_popup'=>'no', 'sfsi_plus_popup_text'=>'Enjoy this blog? Please spread the word :)', 'sfsi_plus_popup_background_color'=>'#eff7f7', 'sfsi_plus_popup_border_color'=>'#f3faf2', 'sfsi_plus_popup_border_thickness'=>'1', 'sfsi_plus_popup_border_shadow'=>'yes', 'sfsi_plus_popup_font'=>'Helvetica,Arial,sans-serif', 'sfsi_plus_popup_fontSize'=>'30', 'sfsi_plus_popup_fontStyle'=>'normal', 'sfsi_plus_popup_fontColor'=>'#000000', 'sfsi_plus_Show_popupOn'=>'none', 'sfsi_plus_Show_popupOn_PageIDs'=>'', 'sfsi_plus_Shown_pop'=>'ETscroll', 'sfsi_plus_Shown_popupOnceTime'=>'', 'sfsi_plus_Shown_popuplimitPerUserTime'=>'', 'sfsi_plus_premium_popup_box' =>'yes', ); add_option('sfsi_plus_section7_options', serialize($options7)); /*options that are added in the third question*/ if(get_option('sfsi_plus_section4_options',false)) $option4= unserialize(get_option('sfsi_plus_section4_options',false)); if(get_option('sfsi_plus_section5_options',false)) $option5= unserialize(get_option('sfsi_plus_section5_options',false)); if(get_option('sfsi_plus_section6_options',false)) $option6= unserialize(get_option('sfsi_plus_section6_options',false)); /*if($option6['sfsi_plus_show_Onposts'] == 'yes') { $sfsi_plus_display_button_type = 'standard_buttons'; } else { $sfsi_plus_display_button_type = ''; }*/ $options8 = array( 'sfsi_plus_show_via_widget'=>'no', 'sfsi_plus_float_on_page'=> $option5['sfsi_plus_icons_float'], 'sfsi_plus_float_page_position'=>$option5['sfsi_plus_icons_floatPosition'], 'sfsi_plus_icons_floatMargin_top'=>'', 'sfsi_plus_icons_floatMargin_bottom'=>'', 'sfsi_plus_icons_floatMargin_left'=>'', 'sfsi_plus_icons_floatMargin_right'=>'', 'sfsi_plus_post_icons_size'=>$option5['sfsi_plus_icons_size'], 'sfsi_plus_post_icons_spacing'=>$option5['sfsi_plus_icons_spacing'], 'sfsi_plus_show_Onposts'=>$option6['sfsi_plus_show_Onposts'], 'sfsi_plus_textBefor_icons'=>$option6['sfsi_plus_textBefor_icons'], 'sfsi_plus_icons_alignment'=>$option6['sfsi_plus_icons_alignment'], 'sfsi_plus_icons_DisplayCounts'=>$option6['sfsi_plus_icons_DisplayCounts'], 'sfsi_plus_place_item_manually'=>'no', /*'sfsi_plus_show_item_onposts'=>'no',*/ 'sfsi_plus_show_item_onposts'=> $option6['sfsi_plus_show_Onposts'], 'sfsi_plus_display_button_type'=> 'standard_buttons', 'sfsi_plus_display_before_posts'=>'no', 'sfsi_plus_display_after_posts'=>$option6['sfsi_plus_show_Onposts'], 'sfsi_plus_display_on_postspage'=>'no', 'sfsi_plus_display_on_homepage'=>'no', 'sfsi_plus_display_before_blogposts'=>'no', 'sfsi_plus_display_after_blogposts'=>'no', 'sfsi_plus_rectsub'=>'yes', 'sfsi_plus_rectfb'=>'yes', 'sfsi_plus_rectgp'=>'yes', 'sfsi_plus_rectshr'=>'no', 'sfsi_plus_recttwtr'=>'yes', 'sfsi_plus_rectpinit'=>'yes', 'sfsi_plus_rectfbshare'=>'yes', 'sfsi_plus_show_premium_placement_box'=>'yes'); add_option('sfsi_plus_section8_options', serialize($options8)); /*Some additional option added*/ update_option('sfsi_plus_feed_id' , sanitize_text_field($sffeeds->feed_id)); update_option('sfsi_plus_redirect_url' , sanitize_text_field($sffeeds->redirect_url)); add_option('sfsi_plus_installDate',date('Y-m-d h:i:s')); add_option('sfsi_plus_RatingDiv','no'); update_option('sfsi_plus_activate', 1); /*Changes in option 2*/ $get_option2 = unserialize(get_option('sfsi_plus_section2_options',false)); $get_option2['sfsi_plus_email_url'] = $sffeeds->redirect_url; update_option('sfsi_plus_section2_options', serialize($get_option2)); /*Activation Setup for (specificfeed)*/ sfsi_plus_setUpfeeds($sffeeds->feed_id); sfsi_plus_updateFeedPing('N',$sffeeds->feed_id); /*Extra important options*/ $sfsi_plus_instagram_sf_count = array( "date" => strtotime(date("Y-m-d")), "sfsi_plus_sf_count" => "", "sfsi_plus_instagram_count" => "" ); add_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count)); } /* end function */ /* deactivate plugin */ function sfsi_plus_deactivate_plugin() { global $wpdb; sfsi_plus_updateFeedPing('Y',sanitize_text_field(get_option('sfsi_plus_feed_id'))); } /* end function */ function sfsi_plus_updateFeedPing($status,$feed_id) { $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_URL => 'http://www.specificfeeds.com/wordpress/pingfeed', CURLOPT_USERAGENT => 'sf rss request', CURLOPT_POST => 1, CURLOPT_POSTFIELDS => array( 'feed_id' => $feed_id, 'status' => $status ) )); // Send the request & save response to $resp $resp = curl_exec($curl); $resp=json_decode($resp); curl_close($curl); } /* unistall plugin function */ function sfsi_plus_Unistall_plugin() { global $wpdb; /* Delete option for which icons to display */ delete_option('sfsi_plus_section1_options'); delete_option('sfsi_plus_section2_options'); delete_option('sfsi_plus_section3_options'); delete_option('sfsi_plus_section4_options'); delete_option('sfsi_plus_section5_options'); delete_option('sfsi_plus_section6_options'); delete_option('sfsi_plus_section7_options'); delete_option('sfsi_plus_section8_options'); delete_option('sfsi_plus_section9_options'); delete_option('sfsi_plus_feed_id'); delete_option('sfsi_plus_redirect_url'); delete_option('sfsi_plus_footer_sec'); delete_option('sfsi_plus_activate'); delete_option("sfsi_plus_pluginVersion"); delete_option("sfsi_plus_verificatiom_code"); delete_option("sfsi_plus_curlErrorNotices"); delete_option("sfsi_plus_curlErrorMessage"); delete_option("adding_plustags"); delete_option("sfsi_plus_installDate"); delete_option("sfsi_plus_RatingDiv"); delete_option("sfsi_plus_instagram_sf_count"); delete_option("sfsi_plus_new_show_notification"); delete_option("sfsi_plus_show_Setting_mobile_notification"); delete_option("sfsi_plus_show_premium_notification"); delete_option("sfsi_plus_show_notification"); } /* end function */ /* check CUrl */ function sfsi_plus_curl_enable_notice(){ if(!function_exists('curl_init')) { echo '
'.__('Error: It seems that CURL is disabled on your server. Please contact your server administrator to install / enable CURL.',SFSI_PLUS_DOMAIN).'
". __( 'Error : Please fix your theme to make plugins work correctly. Go to the Theme Editor and insert the following string:', SFSI_PLUS_DOMAIN )." <?php wp_head(); ?> ".__('Please enter it just before the following line of your header.php file:',SFSI_PLUS_DOMAIN)." </head> ".__('Go to your theme editor: ',SFSI_PLUS_DOMAIN)."".__('click here', SFSI_PLUS_DOMAIN ).".
". __("Error: Please fix your theme to make plugins work correctly. Go to the Theme Editor and insert the following string as the first line of your theme's footer.php file: ", SFSI_PLUS_DOMAIN)." <?php wp_footer(); ?> ".__("Go to your theme editor: ", SFSI_PLUS_DOMAIN)."".__('click here', SFSI_PLUS_DOMAIN ).".
".__("Thank you for installing the Ultimate Social Media PLUS plugin. Please go to the plugin's settings page to configure it: ",SFSI_PLUS_DOMAIN)."".__("Click here",SFSI_PLUS_DOMAIN)."
".__('You`re using an old Wordpress version, which may cause several of your plugins to not work correctly. Please upgrade', SFSI_PLUS_DOMAIN)."
'.__('We noticed you\'ve been using the Ultimate Social Media PLUS Plugin for more than 30 days. If you\'re happy with it, could you please do us a BIG favor and give it a 5-star rating on Wordpress?', SFSI_PLUS_DOMAIN).'