GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Best way to delete 12,000 wordpress comments? (https://gfy.com/showthread.php?t=885995)

Kard63 02-05-2009 07:59 AM

Best way to delete 12,000 wordpress comments?
 
What is the best way to delete these fuckers?


I know some ignorant trolls will give me ways to prevent it from happening in the first place instead of answering my question but thanks in advance to anyone who actually helps.

Machete_ 02-05-2009 08:02 AM

get someone that know mysql to write you a dump to phpmyadmin.

Copy-Paste-Execute-Done

Sosa 02-05-2009 08:07 AM

I'd suggest phpmyadmin as well

Libertine 02-05-2009 08:09 AM

Quote:

Originally Posted by ebus_dk (Post 15441949)
get someone that know mysql to write you a dump to phpmyadmin.

Copy-Paste-Execute-Done

This. Shouldn't take more than 5 minutes, and that includes making a cup of coffee and drinking it.

Antonio 02-05-2009 08:15 AM

phpmyadmin - export your database as sql file to your HD, keep one back up copy
open the sql file in a text editor
find table wp_comments
delete all comments
import database back using phpmyadmin

Antonio 02-05-2009 08:16 AM

you can execute SQL quiery directly in phpmyadmin, but the chances of you fucking up are much hgher ;)

tranza 02-05-2009 08:17 AM

I'm bookmarking this thread for future reference.

:)

V_RocKs 02-05-2009 08:18 AM

Do they follow a pattern?

kowalsky 02-05-2009 08:18 AM

yeah, I had to deal with that shit a few weeks ago. Then I asked my server admin to do it on the DB.

GrouchyAdmin 02-10-2009 04:14 AM

delete from wp_comments where 1=1;

all done.

georgeyw 02-10-2009 04:51 AM

Quote:

Originally Posted by Kard63 (Post 15441936)
What is the best way to delete these fuckers?


I know some ignorant trolls will give me ways to prevent it from happening in the first place instead of answering my question but thanks in advance to anyone who actually helps.

I'm guessing you don't know anything about mysql - if you have phpmyadmin, login to the db, select the table and top right is an 'empty' link. Click that and your comments table will be free of spam (and ALL other comments).

darksoul 02-10-2009 05:05 AM

Quote:

Originally Posted by GrouchyAdmin (Post 15466110)
delete from wp_comments where 1=1;

Code:

delete from wp_comments where comment_approved=0;

CaptainWolfy 02-10-2009 05:22 AM

spam karma... plugin for wp

TheDoc 02-10-2009 05:25 AM

Upgrade your Wordpress to current, click the spam count # on the dashboard. Click the "Delete All Spam" button.

It's built straight into the new wp..


All times are GMT -7. The time now is 01:14 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123