Home : Products : Gossamer Forum : Discussion :

Products: Gossamer Forum: Discussion: Re: [Franco] Can not delete post: Permission Denied: Edit Log

Here is the list of edits for this post
Re: [Franco] Can not delete post: Permission Denied
 
In GForum/Post/Write.pm replace lines 370-379 (at least with EditPlus) with:

Code:
unless ($USER->{user_forum_permission} >= FORUM_PERM_MODERATOR
or ($USER->{user_id} == $post->{user_id_fk}
and
$post->{forum_allow_user_edit} % 2 # 1 is edit, 3 is edit & delete, but 0 and 2 do not allow editing
and
(!$post->{forum_edit_timeout} or ($post->{post_time} + $post->{forum_edit_timeout} * 60) > time)
)
) {
return GForum::do_func('permission_denied');
}

Last edited by:

RedRum: Dec 31, 2001, 9:54 AM

Edit Log: