Nice hack Lieva,
We could use this very well for WiKi forums.
The logs do not contain info about who edited (while the field is there).
I guess there should be a bit in plugin POST-HIST: record_edits
Code:
$query = "INSERT INTO `" . TABLE_PREFIX . "post_edits`
( postid, editnum, message )
VALUES
( " . $postinfo['postid'] . " , " .
($postinfo['numedits']) . " , '" .
addslashes($postinfo['pagetext']) . "' ) ";
to something like
Code:
$query = "INSERT INTO `" . TABLE_PREFIX . "post_edits`
( postid, editnum, message, editor )
VALUES
( " . $postinfo['postid'] . " , " .
($postinfo['numedits']) . " , '" .
addslashes($postinfo['pagetext']) . "' , " .
($postinfo['edit_username']) . " ) ";
I don't quite understand the ." part. And maybe I'm just all wrong. Am I missing something?