I'm currently using submit_post() on my site to automatically create topics when called upon. I'd also like to automatically delete these topics the same way, without having to go into the control panel. The phpbb wiki says you can change the submit mode to 'delete'.. but I haven't been able to figure it out.
Any help would be appreciated. Thanks
EDIT: submit_post() apparently doesn't allow deleting but I was able to get it to work using the delete_post() function. However for some reason after the topic has been deleted, the quantity of posts still shows the same even though they have all been removed from the database. There is also a warning next to the post count: "At least one topic in this forum has not been approved.".