kruvas
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [Count per Day] Count per Day 2.17maybe you forget add square brackets?
origif (is_admin()) add_action('manage_pages_custom_column', array(&$this, 'cpdColumnContent'), 10, 2); add_filter('manage_pages_columns', array(&$this, 'cpdColumn')); // column post list if (is_admin()) add_action('manage_posts_custom_column', array(&$this, 'cpdColumnContent'), 10, 2); add_filter('manage_posts_columns', array(&$this, 'cpdColumn'));
mod
// column page list if (is_admin()) { add_action('manage_pages_custom_column', array(&$this, 'cpdColumnContent'), 10, 2); add_filter('manage_pages_columns', array(&$this, 'cpdColumn')); } // column post list if (is_admin()) { add_action('manage_posts_custom_column', array(&$this, 'cpdColumnContent'), 10, 2); add_filter('manage_posts_columns', array(&$this, 'cpdColumn')); }
Forum: Plugins
In reply to: [Pierre's Wordspew] [Plugin: Pierre's Wordspew] fixes to archive pageok, I’ll try to update the translation.
also i fix some problem with init (maybe old wp config load style? – i think not need support very old, buggy versions)
also i fixed very specific hosting “bug” related to chat.
it add \r\n symbol to reply when ajax message send to server (maybe free hosting ads adder script do this)
i fix it by edit js script function handlehHttpReceiveChat
orig:function handlehHttpReceiveChat() { if (httpReceiveChat.readyState == 4) { firstarray = httpReceiveChat.responseText.split('\n'); if (firstarray.length == 2) { // if != 2, it failed, we should skip the processing part
my:
function handlehHttpReceiveChat() { if (httpReceiveChat.readyState == 4) { firstarray = httpReceiveChat.responseText.split('\n'); if (firstarray.length == 3 && firstarray[2]=='') { // if == 3, check for extra \n added to end of string and remove it firstarray.splice (2,1); } if (firstarray.length == 2) { // if != 2, it failed, we should skip the processing part
maybe switch to more bulletproof format? like json-style or direct use json
here my hosting to check my words )
https://f12010news.mine.nu/
Viewing 2 replies - 1 through 2 (of 2 total)