From f74ec6b74c3fd7a31eb7fe7d0d13777e15a9979f Mon Sep 17 00:00:00 2001 From: TheYurry Date: Mon, 9 May 2016 16:04:56 +0200 Subject: [PATCH 1/5] incompatible notice --- controller/backend.php | 43 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/controller/backend.php b/controller/backend.php index ff2b18a42..3c8026a7a 100644 --- a/controller/backend.php +++ b/controller/backend.php @@ -256,11 +256,52 @@ function fv_wp_flowplayer_admin_notice() { if( $FV_Player_Pro && version_compare($FV_Player_Pro->version,'0.5') == -1 ) : ?>
-

+

$aPluginData) { + if (is_plugin_active($sPluginPath)) { + if (in_array($aPluginData['Name'], $aIncompatibilePlugins)): + ?> +
+

here. + () +

+
+ +
+

here + () +

+
+ Date: Mon, 9 May 2016 16:06:50 +0200 Subject: [PATCH 2/5] one if less --- controller/backend.php | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/controller/backend.php b/controller/backend.php index 3c8026a7a..d667eeb0f 100644 --- a/controller/backend.php +++ b/controller/backend.php @@ -280,17 +280,15 @@ function fv_wp_flowplayer_admin_notice() { $aIncompatibilePlugins = array_diff($aIncompatibilePlugins,$aDismissedNotices); foreach (get_plugins() as $sPluginPath => $aPluginData) { - if (is_plugin_active($sPluginPath)) { - if (in_array($aPluginData['Name'], $aIncompatibilePlugins)): - ?> -
-

here. - () -

-
- +
+

here. + () +

+
+ Date: Mon, 9 May 2016 16:46:00 +0200 Subject: [PATCH 3/5] Id on fv plugin settings page - non dismissable tested sitelock, --- controller/backend.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/controller/backend.php b/controller/backend.php index d667eeb0f..d3f5ccb62 100644 --- a/controller/backend.php +++ b/controller/backend.php @@ -277,14 +277,17 @@ function fv_wp_flowplayer_admin_notice() { 'Incapsula', 'SiteLock', ); - - $aIncompatibilePlugins = array_diff($aIncompatibilePlugins,$aDismissedNotices); + if(!(isset($_GET['page']) && $_GET['page'] == 'fvplayer' )){ + $aIncompatibilePlugins = array_diff($aIncompatibilePlugins,$aDismissedNotices); + } foreach (get_plugins() as $sPluginPath => $aPluginData) { - if (is_plugin_active($sPluginPath) && in_array($aPluginData['Name'], $aIncompatibilePlugins)): + if (is_plugin_active($sPluginPath) && in_array($aPluginData['Name'], $aIncompatibilePlugins ) ): ?>

here. + () +

-

here - () +

here + + () +

Date: Mon, 9 May 2016 17:05:10 +0200 Subject: [PATCH 4/5] Update backend.php --- controller/backend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/backend.php b/controller/backend.php index d3f5ccb62..ce2381009 100644 --- a/controller/backend.php +++ b/controller/backend.php @@ -284,7 +284,7 @@ function fv_wp_flowplayer_admin_notice() { if (is_plugin_active($sPluginPath) && in_array($aPluginData['Name'], $aIncompatibilePlugins ) ): ?>
-

here. +

Incompatible Plugins and Scripts. () @@ -297,7 +297,7 @@ function fv_wp_flowplayer_admin_notice() { if (in_array($sTheme, $aIncompatibilePlugins)): ?>

-

here +

Incompatible Plugins and Scripts () From 5c9417982dd0ab716b0a9b2d45c536818eabd9ea Mon Sep 17 00:00:00 2001 From: TheYurry Date: Mon, 9 May 2016 17:42:05 +0200 Subject: [PATCH 5/5] wpmls -> vibe course module --- controller/backend.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controller/backend.php b/controller/backend.php index ce2381009..05027ce1b 100644 --- a/controller/backend.php +++ b/controller/backend.php @@ -269,7 +269,8 @@ function fv_wp_flowplayer_admin_notice() { $aIncompatibilePlugins = array( 'Hide My Wp',//? http://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158 'HideMyWp', - 'WPLMS', + 'Vibe Course Module', + 'VibeCourseModule', 'Widgetkit',//? http://yootheme.com/widgetkit 'RokSprocket', //'Photo Gallery', //?? version 1.1.8