Hello,
What configuration is needed to get my bbPress visitors or myself unlimited minutes or time to edit their/my postings?
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = unlimited;
Thanks for all replies.
Hello,
What configuration is needed to get my bbPress visitors or myself unlimited minutes or time to edit their/my postings?
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = unlimited;
Thanks for all replies.
well 10 years is enough time? Yes? Just give this parameter a value of 5.256.000 minutes...
The following plugin should work, but I have not tested it.
<?php
/*
Plugin Name: Ignore Edit Lock
Plugin URI: http://bbpress.org/forums/topic/263
*/
function members_ignore_edit_lock() {
global $bb_roles;
$bb_roles->role_objects['member']->add_cap( 'ignore_edit_lock', true );
}
add_action( 'bb_got_roles', 'members_ignore_edit_lock' );
?>
Save that bit of code as members-ignore-edit-lock and put it in bbPress' my-plugins/ directory.
This worked like a charm for me, and was requested by many of my members. Thanks!
You must log in to post.