Yep, that's the question! I don't have a good answer... I'm exploring this at the same time as you. I'd start by carefully looking at the code in editpost.php. Start at line #982.
Maybe threadid is all you need?
Looking at "class_dm_threadpost.php", there is a "delete" function for threads. You can see the signature for that function on line 1182 of that file. It looks like you can just set the $threadid variable for the thread you want to delete.
|