With this patch I do clear the flooded logbook of messages like "Configuration successfully*". It's dedicated to the english version but is easy to mod it for all of them. Here's the mod in "admin/logbook.php" after line 52 (v2, for v3 after line 69):
| Code: |
//
// Delete unwanted messages
// ========================
if (isset($_POST['submit-delete-logs'])) {
$strSQL = "DELETE FROM tbl_logbook WHERE `entry` LIKE 'Configuration successfully%'";
$booReturn = $myDBClass->insertData($strSQL);
if ($booReturn == false) {
$strMessage .= $LANG['db']['dberror']."<br>".$myDBClass->strDBError."<br>";
} else {
$strMessage .= $LANG['db']['success_del'];
}
}
|
In "templates/admin/admin_master.tpl", after line 528 (v2, for v3 is after 630 we change:
| Code: |
<!-- BEGIN Log entries like "Configuration saved..." to be deleted -->
<tr>
<td colspan="8" class="loglegend"><strong>Delete flooding "writes":</strong>
<input name="submit-delete-logs" type="submit" value="submit"><br> </td>
</tr>
<!-- END Log entries like "Configuration saved..." to be deleted -->
|
Hope this helps you.