-
-
Recent Posts
Categories
Archives
-
Meta
Author Archives: krumch
Inspecting the WordPress AJAX procedure
Here I describe an unusual way to use AJAX inside WordPress, by usual “admin-ajax.php” URL. Usually we run AJAX in WordPress with following code: add_action(‘wp_ajax_mp_my_action’, ‘my_action’); add_action(‘wp_ajax_nopriv_my_action’, ‘my_action’); function my_action() { … } Then we fire it with GET query … Continue reading
Hack the KC Tools…
Sometimes you need to inspect the information a server receives from a complex form or POST request. The following method works with all versions of KC Tools. Set the form’s action attribute to: KC Tools WP and KC Tools WP … Continue reading
s2Member® hack – custom ccaps
WordPres’s plugin s2Member® have his own “scripting language” of several []-tags. One (and maybe most used) tag is [s2If …] [/s2If], where we can set conditionals to show or hide content, functions etc, depending of privileges of current viewer, like … Continue reading
Posted in Blog, Hacks
Tagged ccap, ccap drip, ccap timer, drip content, execute php, php, php conditions, php execute, php execution, run php, s2m, s2m conditions, s2member, s2Member ccap, s2member conditions, timer
Leave a comment
Why paid surveys?
There are several reasons for using a paid survey: to discourage people who are only clicking around; to reduce submissions from bots, spammers, and search engines; to obtain a more accurate picture of customers’ real needs; to help fund future … Continue reading
Posted in Votes
Tagged features, new feature, survey, surveys, update, updates, vote, votes
Leave a comment
Unexpected parseFloat behavior with this.innerHTML in Chrome
This was an unusual case. In one project, I used the JavaScript parseFloat() function to calculate a final total, but the value came from HTML previously generated by a jQuery AJAX request: $(‘#’+id).html(rezult+’ ‘+currency); … $(‘#total’).html(‘TOTAL: ‘+totalcalc()); The value therefore … Continue reading
Posted in Blog, Hacks
Tagged AJAX, calculate, Chrome, code, final sum, Google Chrome, HTML, HTML code, innerHTML, isNaN, JavaScript, JavaScript function, jQuery, js, js function, NaN, parseFloat, string, sum
Leave a comment
KC Tools License
Software License Please read the following lines carefully before using this software. If you disagree with any of the following, you are not allowed to use this program. You MUST then delete it immediately. KC Tools WP version License of … Continue reading
KC Tools WP
Brain surgery for WordPress sites (free): server info (phpinfo), wp-config tools, database browser & query runner, and server command execution – all from the admin panel. License: GPLv2 or later Requires WordPress: 4.5 Stable tag: 2026.2.1 Requires PHP: 7.0+ Latest … Continue reading
Posted in KC Tools, WordPress plugins
Tagged DB, DB access, developers tools, environment info, hardware info, KC Tools, kctools, PHP info, SSH, system info, tool
Leave a comment
