Posted by Dzejkob |
|
Hi.
Is there any possibility to delete a forum post? I know that it can be hidden with admin annotation, but I sometimes (rarely) would prefer to completely delete it instead. I've tried deleting post by admin panel, but it often (not always) causes error, that occures when I'm viewing a thread, where post was deleted: Exception Type: DoesNotExist at /board/thread/8/ala-ma-kota/ Exception Value: ThreadInformation matching query does not exist. So, is there any way to delete a post safely? |
|
Posted by Herbert Poul |
|
i fear there currently is no way .. but.. you could try setting the is_hidden column to 1 in sphboard_post for the post (or the root post of the thread) - this should completely hide it from the end user.. Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by Dzejkob |
|
Thanks. This meets my expectations.
|
|
Posted by pigletto |
|
I've created a patch to SCT that adds whole 'Delete post' functionality.
See http://code.google.com/p/sct-project/issues/detail?id=182 Hope this will be merged into the trunk :) |
|
Posted by Herbert Poul |
|
thanks for the patch. i just committed it into svn trunk. (hmm.. i should finally make the 0.6 release ready .. damn.. ) Hey, we have Signatures !!! Great, isn't it ? ;) |
Please login to post a reply.