Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Delete Post by It’s Owner


_ck_
Participant

@_ck_

In theory it should be also possible to allow users to move their own topics if placed in the wrong category:

(untested, should allow a user to move only their own topics within the same time period they can typically edit a topic, ie. 1 hour default)

function move_own_topic($retvalue, $capability, $args) {
if ($capability=="move_topic") {return bb_current_user_can( 'edit_topic', $args[1]);}
return $retvalue;
}
add_filter('bb_current_user_can', 'move_own_topic',10,3);

Skip to toolbar