Hi
Added italic, added elastic facebooklike-commentarea (
http://plugins.jquery.com/project/elastic, default is off), fixed a severe bug with the markup-buttons (the path to the images was wrong).
Changing the jQuery-priority don't seem to work. First I tried to take the code from the entryproperties-plugin and add it to the livecomment-plugin, but jQuery remained behind it.
Then I took the code into the jQuery-plugin and reversed it:
Code: Select all
case 'backend_plugins_new_instance':
// Fetch minimum sort_order value. This will be the new value of our current plugin.
$q = "SELECT MIN(sort_order) as sort_order_min FROM {$serendipity['dbPrefix']}plugins WHERE placement = '" . $addData['default_placement'] . "'";
$rs = serendipity_db_query($q, true, 'num');
// Fetch current sort_order of current plugin.
$q = "SELECT sort_order FROM {$serendipity['dbPrefix']}plugins WHERE name = '" . $this->instance . "'";
$cur = serendipity_db_query($q, true, 'num');
// Increase sort_order of all plugins before current plugin by one.
$q = "UPDATE {$serendipity['dbPrefix']}plugins SET sort_order = sort_order + 1 WHERE placement = '" . $addData['default_placement'] . "' AND sort_order < " . intval($cur[0]);
serendipity_db_query($q);
// Set current plugin as first plugin in queue.
$q = "UPDATE {$serendipity['dbPrefix']}plugins SET sort_order = " . intval($rs[0]) . " WHERE name = '" . $this->instance . "'";
serendipity_db_query($q);
return true;
break;
Shows no effect. Did I oversee anything?