Hi Lynne, the post/thread will be un answerable the thread is created by a form, users do not have permission to reply or post, so in effect im deleting the thread, im using this in the plugin
PHP Code:
if (in_array($foruminfo['forumid'], array('52'))) {
$db->query_write("UPDATE vb_user SET ctoptip = ctoptip -1 WHERE userid=" . $vbulletin->userinfo['userid'] . " and ctoptip > 0");