Plugin Contributor
Libin
(@libinvbabu)
That plugin’s Compatible was up to: 3.0.5. It was Last Updated on 2010-10-29. May be that will conflicting.
Try deactivating the WordPress Firewall 2 plugin and then activate Erident Custom Login and Dashboard.
After that, try activating WordPress Firewall 2
Thread Starter
tripro
(@tripro)
Thanks Libin, yes, tried both ways and get error on both, regardless of the order in which I activate them. You’re right, it’s most likely a version incompatibility since that’s been a while. May need to find another solution for the custom login. Thanks again!
Plugin Contributor
Libin
(@libinvbabu)
Hi tripro,
I found a solution for this. Login to the WordPress dashboard -> Plugins.
Now De-activate both WordPress Firewall 2 and Erident Custom Login and Dashboard.
Now click Edit button of “Erident Custom Login and Dashboard” on plugin page.
Now search for the below code.
/**
* Add Settings link to plugins
*/
function add_settings_link($links, $file) {
static $this_plugin;
if (!$this_plugin) $this_plugin = plugin_basename(__FILE__);
if ($file == $this_plugin){
$settings_link = '<a href="options-general.php?page=erident-custom-login-and-dashboard">'.__("Settings", "erident-custom-login-and-dashboard").'</a>';
array_unshift($links, $settings_link);
}
return $links;
}
add_filter('plugin_action_links', 'add_settings_link', 10, 2 );
and replace it with:
/**
* Add Settings link to plugins
*/
function er_add_settings_link($links, $file) {
static $this_plugin;
if (!$this_plugin) $this_plugin = plugin_basename(__FILE__);
if ($file == $this_plugin){
$settings_link = '<a href="options-general.php?page=erident-custom-login-and-dashboard">'.__("Settings", "erident-custom-login-and-dashboard").'</a>';
array_unshift($links, $settings_link);
}
return $links;
}
add_filter('plugin_action_links', 'er_add_settings_link', 10, 2 );
Now activate both plugins. Thats all
I will make this change in next version. So go and edit it.
Cheers!!!