hmm, give em the ability to delete own posts and threads by deleting the first post of a thread.
then open editpost.php
find:
PHP Code:
if ($action=="deletepost") {
// is thread being deleted? if so check delete specific permissions
if (!ismoderator($threadinfo[forumid],"candeleteposts")) {
if (!$threadinfo[open]) {
eval("standardredirect(\"".gettemplate("redirect_threadclosed")."\",\"showthread.php?s=$session[sessionhash]&threadid=$postinfo[threadid]\");");
exit;
}
if (!$getperms[candeletepost]) {
show_nopermission();
} else {
if ($bbuserinfo[userid]!=$postinfo[userid]) {
// check user owns this post since they failed the Mod Delete permission check for this forum
show_nopermission();
}
}
}
and change it to:
PHP Code:
if ($action=="deletepost") {
// is thread being deleted? if so check delete specific permissions
if (!ismoderator($threadinfo[forumid],"candeleteposts")) {
if (!$threadinfo[open]) {
eval("standardredirect(\"".gettemplate("redirect_threadclosed")."\",\"showthread.php?s=$session[sessionhash]&threadid=$postinfo[threadid]\");");
exit;
}
if (!$getperms[candeletepost]) {
show_nopermission();
} else {
if ($bbuserinfo[userid]!=$postinfo[userid] or time()>$postinfo[dateline]+3600*2) {
// check user owns this post since they failed the Mod Delete permission check for this forum
show_nopermission();
}
}
}
normally this should work