View Full Version : Remove comments from deleted user
February 15th, 2006, 08:39 AM
I had to remove a user from my site. I removed all their photos and clicked the "Remove comments" option, but it failed to remove the comments. Can I just delete that users comments from the "comments" table without any troubles?
February 15th, 2006, 08:55 AM
Yes you can run the sql command in adm-cats.php to delete the comments
DELETE FROM pp_comments WHERE userid=SOMEUSERID
Now to fix the issue for future deletions in adm-cats.php add in bold
typecast($_POST, array('delcomments' => STRING,'catname' => STRING, 'catdesc' => STRING, 'myheader' => STRING,
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.