Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-28-2012, 12:40 PM   #1
beks001
Confirmed User
 
Join Date: Oct 2006
Posts: 1,837
Deleting pending comments on wp blog

Is there an easier way to delete all my pending comments besides in the wp admin area? I have like 2k comments pending. Need to wipe em out faster than 20 at a time.
beks001 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-28-2012, 12:42 PM   #2
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,932
Code:
DELETE FROM wp_comments WHERE comment_approved=0
via mysql command
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


High Traffic Dating/Cam Tab and Banner for sale. (chris at jaded.net)
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-28-2012, 02:23 PM   #3
SuziQT
Confirmed User
 
Join Date: Nov 2003
Location: here
Posts: 167
Also, if you are not comfortable with fris's solution, you can change the amount of comments that appear under "Screen Options". The default is 20 but I have mine set to 100.
SuziQT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-28-2012, 02:27 PM   #4
papill0n
Unregistered Abuser
 
Industry Role:
Join Date: Oct 2007
Posts: 15,547
or you can just use the 'delete pending comments' plugin
http://wordpress.org/extend/plugins/...ding-comments/
papill0n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-28-2012, 02:27 PM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,932
also a plugin exists do delete them all

http://wordpress.org/extend/plugins/...omment-remove/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


High Traffic Dating/Cam Tab and Banner for sale. (chris at jaded.net)
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-28-2012, 02:28 PM   #6
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Either use Akismet's 'delete all' button if you use that, setting the max in screen options or this in phpMyAdmin but always back up your database before doing it:

DELETE FROM wp_comments WHERE comment_approved = 0

Note: If your comments table is prefixed with wp_something will need to use the correct table name.
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-28-2012, 02:28 PM   #7
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by fris View Post
also a plugin exists do delete them all

http://wordpress.org/extend/plugins/...omment-remove/
That too
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-29-2012, 08:20 AM   #8
beks001
Confirmed User
 
Join Date: Oct 2006
Posts: 1,837
Quote:
Originally Posted by fris View Post
Code:
delete from wp_comments where comment_approved=0
via mysql command
Quote:
Originally Posted by suziqt View Post
also, if you are not comfortable with fris's solution, you can change the amount of comments that appear under "screen options". The default is 20 but i have mine set to 100.
Quote:
Originally Posted by papill0n View Post
or you can just use the 'delete pending comments' plugin
http://wordpress.org/extend/plugins/...ding-comments/
Quote:
Originally Posted by colmike7 View Post
either use akismet's 'delete all' button if you use that, setting the max in screen options or this in phpmyadmin but always back up your database before doing it:

Delete from wp_comments where comment_approved = 0

note: If your comments table is prefixed with wp_something will need to use the correct table name.

thank you all!
beks001 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.