Page 1 of 1

Completel Disable Pingbacks

Posted: Wed Feb 19, 2014 6:12 pm
by nealk
I just updated my old s9y installation to 1.7.8. Suddenly my comments to moderate are flooded with pingbacks. I'm sure I have a few real comments buried in there, but I cannot find them due to the flood of pingbacks.

How do I completely disable pingbacks?

And what is the SQL query that I should use to DELETE the over 2000 pingbacks that are pending moderator approval?

Re: Completel Disable Pingbacks

Posted: Wed Feb 19, 2014 6:35 pm
by Timbalu
You mean trackbacks, don't you.
Did you play around with the trackback section options of the spamblock plugin config?
Else you also might disable comments (which would include trackbacks I assume) in total for a while with the killswitch option.

A simple sql command could be like this

Code: Select all

DELETE FROM `s_spamblocklog` WHERE reason LIKE 'BEE Honeypot%'
Certainly you will need to find something matching for your case like WHERE type = 'moderate' AND ..., since I don't have an exmple by hand how moderate set trackbacks are stored.

Re: Completel Disable Pingbacks

Posted: Wed Feb 19, 2014 7:41 pm
by onli
The emergency blockade could really be an option in this case.

You could also deactivate pingbacks by setting the option "Behandlung von per API übermittelten Kommentaren" (Treatments of comments made by the API) to block, in the trackback-section of the spamblock-plugin. Some of the other options there should help as well.

To disable pingbacks by code, edit the comment.php and insert an

Code: Select all

exit;
in line 139, before the if (untested).

Re: Completel Disable Pingbacks

Posted: Mon Feb 24, 2014 6:47 pm
by nealk
Timbalu wrote:You mean trackbacks, don't you.
Did you play around with the trackback section options of the spamblock plugin config?
Else you also might disable comments (which would include trackbacks I assume) in total for a while with the killswitch option.

A simple sql command could be like this

Code: Select all

DELETE FROM `s_spamblocklog` WHERE reason LIKE 'BEE Honeypot%'
Certainly you will need to find something matching for your case like WHERE type = 'moderate' AND ..., since I don't have an exmple by hand how moderate set trackbacks are stored.
Well, the comments say 'Pingback' and not 'Trackback'. With a little tweaking, I got the SQL to work. I also removed the 'pingback' header from index.tpl and that pretty much shut it down.

Re: Completel Disable Pingbacks

Posted: Tue Feb 25, 2014 10:11 am
by Timbalu
Could you document your query and "fixes" here for others, please?
Maybe there also might be enhancements to do better, if we can see what you did.