-
-
Recent Posts
Categories
Archives
-
Meta
Category Archives: Blog
Working around the maximum execution time in WordPress
Today I found a problem: time ends… Well, for a WordPress plugin only, the KC s2M+MC one. I mean I got “Maximum execution time of 60 seconds exceeded” error, when I run a long operation (synchronizing members in MailChimp list … Continue reading
Posted in Blog, Hacks
Tagged maximum execution time, s2m, s2member, timeout, WordPress
Leave a comment
New features in the “KC Taxonomy List” plugin
Thank you for your interest in the KC TaxList plugin. I created this voting system to better understand which features users need most. A small donation is requested for each vote. Why is this survey paid? For other questions, visit … Continue reading
Posted in Blog, News and Updates
Leave a comment
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
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
Chinese characters from Excel to HTML, handled with VBA
This macros turns Chinese letters in “MS Excel 2007” spreadsheet to HTML codes. It will works with all Unicode chars, so can be used with Cyrilic, Hebrew, Arab, Japan an all others languages. In my case it prepares XML form … Continue reading
Posted in Blog, Hacks
Tagged arab, chinese, chinese letters, cyrilic, entities, Excel, Excel macros, Excel spreadsheet, hebrew, HTML, HTML codes, HTML entities, japan, language, languages, letters, macros, spreadsheet, Unicode, Unicode chars, Unicode entities, XML, XML document, XML form, XML format, Zoho, Zoho application
Leave a comment
Loger
Loger is a small shell script for Unix sh and compatible shells. It converts CENTERICQ history files into human-readable logs. It is useful – at least for me – when I want to reread an old conversation. The script writes … Continue reading
Posted in Blog, Hacks
Leave a comment
Special effects
The fairy’s toy Virtual reality – Explore interactive virtual worlds. Click and drag to change the point of view.
Posted in Blog, News and Updates
Leave a comment
