Author:
erics, September 7th, 2022
If you get the following error in WordPress when using the WPDataTables plugin, follow these steps to fix it: “You are trying to load a table of an unknown type. Probably you did not activate the addon which is required to use this table type.” SOLUTION SUMMARY: You must update the plugin files manually, deactivate […]
Categories: Technology Tags: Activate, Deactivaate, Error, Fix, howto, Plugin, Reactivate, tips, update, upgrade, WordPress, WPDataTables
|
No comments
Author:
erics, January 24th, 2020
If you are unable to update a plugin via the WP admin console, then you can do the update manually. Download the zip file to your local hard drive and extract it. Then, from the command line, do the test run first:
|
cd {extracted_plugin_directory} rsync -av --dry-run --delete ../{extracted_plugin_directory}/ theHost:/volumes/www/theSite/wordpress/wp-content/plugins/{extracted_plugin_directory}/ |
*Make sure to use the trailing slashes with rsync for proper operation […]
Categories: How-To's, Technology Tags: cli, Download, Error, Extract, Fail, howto, Manual, Plugin, rsync, Terminal, tips, update, WordPress, zip
|
No comments
Author:
erics, January 25th, 2016
This example shows how to look for infection patterns inside all .php files in a directory tree using find and grep called from a Nagios NRPE plugin written in PERL. You can adjust the behavior by modifying the script, described at the bottom of this post in the Advanced section. On the host to be […]
Categories: How-To's, Technology Tags: hack, howto, Infected, Infection, nagios, NRPE, Plugin, tips
|
No comments
Author:
erics, July 9th, 2013
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
/* Plugin Name: Your New Plugin Plugin URI: http://www.yoursite.com Version: 1.0 Description: Your new plugin's description... Author: Your Name Author URI: http://www.yoursite.com License: Copyright 2013 Your Name (email : you@yoursite.com) */ add_action('wp_ajax_nopriv_ajaxTest', 'ajaxTest'); add_action('wp_ajax_ajaxTest', 'ajaxTest'); function ajaxTest() { ob_clean(); // generate the response $response = json_encode( array( 'status' => 0, 'msg' => 'AJAX TEST SUCCESS!' ) ); // response output header( "Content-Type: application/json" ); echo $response; exit; } Call with: $ajaxurl = admin_url("admin-ajax.php") $ajaxurl?action=ajaxTest // |
Happy Coding!
Categories: How-To's, Technology Tags: ajax, howto, Plugin, tips, WordPress
|
No comments
Author:
erics, July 28th, 2011
In the past, I used clicktoflash.com to block Flash plugins. Safari was VERY stable. Then, Safari 5.1 REMOVED SUPPORT for webkit plugins and BROKE Click-To-Flash. Shame on you Apple. I did not know this, and have been experiencing Safari crashes every night. Then I installed Marc Hoyois’ ClickToPlugin Safari Extension found at http://hoyois.github.com/safariextensions/clicktoplugin/ All you […]
Categories: How-To's, Rants, Technology Tags: Adobe, Adobe Flash, apple, ClickToFlash, crash, Crashes, Crashing, Extension, Flash, Plugin, Webkit
|
No comments
Author:
erics, May 2nd, 2011
Show Password in Form Field Form Field Inner Labels UI Dialog Wrapper
Categories: How-To's, Technology Tags: Dialog, Form field, Form label, howto, JQuery, jQuery UI, Mask, Password, Password mask, Plugin, Plugins, Show password, tips
|
No comments
Author:
erics, February 25th, 2011
Prerequisite Plugin Get the plugin: http://plugins.jquery.com/project/cookie How-To Set a cookie: jQuery.cookie(“myCookie”, 1); Get a cookie: jQuery.cookie(“myCookie”); Delete a cookie: jQuery.cookie(“myCookie”, null); Set expiration in days: jQuery.cookie(“myCookie”, 1, { expires : 10 }); If the expires option is omitted, then the cookie becomes a session cookie, and is deleted when the browser exists. OPTIONS jQuery.cookie(“myCookie”, 1, […]
Categories: How-To's, Technology Tags: Cookie, Cookies, howto, JQuery, Plugin, tips
|
No comments
Author:
erics, August 30th, 2010
Install the plugin “Memory-Bump” before starting the install
Categories: How-To's, Technology Tags: howto, Memory, Plugin, tips, WordPress
|
No comments