Quote:
Originally Posted by M.C.
nice one, just want little bit more - to have options:
- keep "soft" deleted
- cansel delete (recover post)
- permanent delete post
and all like in postings.php?do=managepost
even if i can edit post straight from AdminCP - it`ll be cool!
and why in deleted posts management links not to posts - just to threads...???
Anyway usefull hack! Thanks!
|
Consider adding a Manage thread/Post link into title (delete.php), so that you can go straight to the thread/post and do what you want:
around line 43
PHP Code:
$title = 'Thread: <a href="' . $vboptions['bburl'] .'/showthread.php?' . $session['sessionhash'] . 't=' . $posts['threadid'] . '" target="_blank">' . $posts['title'] . '</a> - <a href="' . $vboptions['bburl'] .'/postings.php?do=editthread&' . $session['sessionhash'] . 't=' . $posts['threadid'] . '" target="_blank">(Manage thread)</a>';
around line 81
PHP Code:
$title = 'Post: <a href="' . $vboptions['bburl'] .'/showthread.php?' . $session['sessionhash'] . 't=' . $posts['threadid'] . '" target="_blank">' . $posts['title'] . '</a> - <a href="' . $vboptions['bburl'] .'/postings.php?do=managepost&' . $session['sessionhash'] . 'p=' . $posts['postid'] . '" target="_blank">(Manage post)</a>';
I would suggest designing the template as
- Forum(board) name
- Thread title
- Post title (if delete post)
- Deleted by (name of the one who delete) on (deletion date <-- need addon)
- Reason:
- Message:
check Moderate post/thread for references.