My blog gets a lot of spam comments, luckily 95% gets moderated, but it still clogs up my comments section making it difficult for me to see the "real" comments I receive from readers.
Right now I have to select each spam comment one by one and then delete.
So I was thinking, what if there was a way to "SELECT ALL" comments on a page (in the admin interface)? That way I could sort by Show > Pending Approval, then display Comments > All and delete spam a LOT faster. And I have a lot, we're talking dozens at a time.
Would this functionality be useful for others?
How to select more than one comment at a time?
-
- Regular
- Posts: 13
- Joined: Sun Mar 01, 2009 2:57 am
- Location: New England
- Contact:
Re: How to select more than one comment at a time?
Erm. There is a way to do that. At the bottom of each comments page in the admin backend, you should find a button labelled "Invert selections". If you click said button with no comments selected, it will select all comments on said page.budgetbabe wrote:So I was thinking, what if there was a way to "SELECT ALL" comments on a page (in the admin interface)?
YL
Re: How to select more than one comment at a time?
btw, what is the exact difference between
in filters??
Does that come from bayes?
Code: Select all
<option value="pending">Zu bewilligende/pending</option>
<option value="confirm">Zu bestätigende/confirm</option>
Does that come from bayes?
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Regular
- Posts: 13
- Joined: Sun Mar 01, 2009 2:57 am
- Location: New England
- Contact:
Re: How to select more than one comment at a time?
yellowled wrote:Erm. There is a way to do that. At the bottom of each comments page in the admin backend, you should find a button labelled "Invert selections". If you click said button with no comments selected, it will select all comments on said page.budgetbabe wrote:So I was thinking, what if there was a way to "SELECT ALL" comments on a page (in the admin interface)?
YL
*slaps forehead* not sure how I missed that - THANK YOU so much! This is a lifesaver
Re: How to select more than one comment at a time?
No, it resides in comments.inc.php and lang constants COMMENTS_FILTER_NEED_APPROVAL and COMMENTS_FILTER_NEED_CONFIRM.Timbalu wrote:btw, what is the exact difference betweenin filters??Code: Select all
<option value="pending">Zu bewilligende/pending</option> <option value="confirm">Zu bestätigende/confirm</option>
Does that come from bayes?
This questions somehow is still active, as I can't really see what is meant.
For me it looks like, as if it is some old Serendipity code change from 'confirm' to 'pending' or vice versa and the code still is there to support users having both status entries in their comments table. (Is this possible?)
Code: Select all
...
} elseif ($serendipity['GET']['filter']['show'] == 'pending') {
$and .= "AND status = 'pending'";
$searchString .= "&serendipity[filter][show]=pending";
} elseif ($serendipity['GET']['filter']['show'] == 'confirm') {
$and .= "AND status LIKE 'confirm%'";
$searchString .= "&serendipity[filter][show]=confirm";
...
Code: Select all
WHERE c.id = " . (int)$serendipity['GET']['id'] ." AND (status = 'pending' OR status LIKE 'confirm%')";
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: How to select more than one comment at a time?
Hi!
One option is for comments that need confirmation from the ADMIN (=Moderation), the other is used for users to approve their own comments (=Confirmation).
HTH,
Garvin
One option is for comments that need confirmation from the ADMIN (=Moderation), the other is used for users to approve their own comments (=Confirmation).
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: How to select more than one comment at a time?
I see, thanks for declining, Garvin!
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian