However, here is the solution if you can edit code. Note that I just opted to hide the non-functional timer:
Here is the solution for breaking the edit timer from the delete.
In forum/inc/header.inc.php add a new variable:
$gConf['delete_timeout'] = 3600; // delete timeout in sec
Now in the forum.php, there is one in /forum/classes and one in /forum/classes/en
Clone the function: _isEditTimeout to _isDelTimeout and use your new variable delete_timeout
function _isDelTimeout ($post_id)
{
if ((time() - $this->fdb->getPostWhen($post_id) - 10) > $GLOBALS['gConf']['delete_timeout'])
return true;
return false;
}
Then you have to go through the forum.php and where the del function is used, you replace _isEditTimeout with _isDelTimeout. You will now be able to set a separate time for deleting forum posts from editing forum posts.
For example:
if (!$allow_edit && $r['user'] == $this->_getLoginUserName()) {
if ($this->_checkUserPerm ($r['user'], 'own', 'edit', $forum_id) && !$this->_isEditTimeout($r['post_id']) && !$t['topic_locked'])
$allow_edit = 1;
}
if (!$allow_del && $r['user'] == $this->_getLoginUserName()) {
if ($this->_checkUserPerm ($r['user'], 'own', 'del', $forum_id) && !$this->_isDelTimeout($r['post_id']) && !$t['topic_locked'])
$allow_del = 1;
}
Before, the second if was using the same function for checking if the time allowed had ended.
Final piece of the puzzle. To disable the edit timer completely; or at least the way I hack at it :
//$access = $timeout > 10 && !$t['topic_locked'] ? 'allow' : 'deny';
$access = !$t['topic_locked'] ? 'allow' : 'deny';
This keeps the locked forum topics from being edited
Then set the function _isEditTimeout to return false
function _isEditTimeout ($post_id)
{
return false;
}
Then you need to set the "allow edit" message to display none in the CSS otherwise it displays a negative time message.