Simple Trackback Validation with Topsy Blocker
Was?
Ich habe das bekannte Simple Trackback Validation Plugin von Michael mal erweitert und einen topsy.com Blocker eingebaut. Alle Trackbacks die die Teil-URL “topsy” enthalten, werden automatisch als Spam markiert.
Warum?
Weil viele Blogger davon genervt werden, Akismet diese nicht automatisch als Spam markiert und ich sie nicht haben will. Ich hatte mich schon mal auf eine interne topsy.com Blacklist setzen lassen. Dies half auch einige Zeit lang. Seit kurzem kommen jedoch wieder täglich Trackbacks durch die Twitter-Suchmaschine topsy.com. Ich möchte diese jedoch niemals haben und habe daher das oben benannte Plugin um eine Prüfung erweitert.
Download
Der Download ist direkt aus dem wordpress.org Verzeichnis möglich.
Installation
Ganz wichtig ist, dass meine Erweiterung als eigenes Plugin arbeitet und das Original ersetzt. Beide Plugins dürfen also nicht parallel laufen! Das heißt, es müssen folgende Schritte zur Nutzung meines Plugins ausgeführt werden:
- Das Originalplugin “Simple Trackback Validation” deaktivieren und löschen (falls vorher vorhanden)
- Mein Plugin hochladen
- Plugin aktivieren
- Einstellungen vornehmen
- Fertig :-)
Von jetzt an bleibt ihr vor topsy.com Spam-Trackbacks sicher verschont!




21 Comments
[...] Simple Trackback Validation with Topsy Blocker. Con ello podemos evitar los trackbacks de Topsy, entre otros backtracks spam. [...]
Hi. I like your plugin.
I noticed a bug on line 367,
<form name="form1" method="post" action="&updated=true”>
which in wordpress MS causes the form to submit to main blog admin options-general.php page instead of the subblog admin options-general.php.
The solution is to remove the $_SERVER['PHP_SELF'] from the form action.
Keep up the good work. :-)))
Lena
Thx, I´ll fix it!
Hi Tobias
i was about to install this plugin – but i see Lena’s comment and your reply that you will fix this bug – has it been fixed yet please as the WordPress plugins download page says it was last updated over 300 days ago.
This bug is fixed :)
Hi! If this plug in can solve my trackback spam problem then I will be eternally grateful! Will be back to shower some praise,installed it today :)
Does it work for you?
Moin,
leider erhalte ich nach Installation des Plugins folgende Meldung:
Notice: has_cap wurde mit einem Parameter oder Argument aufgerufen, der seit Version 2.0 veraltet ist! Die Benutzung von user_level in Plugins und Themes ist veraltet. Nutze stattdessen das Abfragen von roles oder capabilities. in /mnt/web1/52/98/5577898/htdocs/msb/wp-includes/functions.php on line 3466
Da ich nicht die Zeit habe, evtl. Korrekturen in der functions.php selbst zu machen, frage ich mal vorsichtig an, ob es hierfür schon eine Lösung gibt?
Wäre Klasse!
Bisher ist mir dieser Fehler nicht bekannt. Welche WP Version setzt du ein?
Woe, schnelle Reaktion. :-)
Das ist die aktuelle WP-Version : 3.2.1–de_DE
Das Theme ist:
Fresh Ink Magazine 1.03 installiert
Aktualisierung auf Version 1.06 noch nicht gemacht wegen komplizierter Anpassungen zur XHTML-Validität.
Aber am Theme kann es wohl kaum liegen, oder?
So bin ich ;)
Ich bin mir zZ nicht sicher ob diese Fehlermeldung wirklich aus meinem Plugin kommt oder wo anders her. Theme sollte eigtl. nicht sein, der Blocker macht da ja eigtl. nichts…
Ich muss mir heute Abend mal das Plugin genauer anschauen, jetzt gerade habe ich keine Zeit dazu. Werde dann evtl. ein Update rausbringen falls es ein Problem gibt :)
Evtl. kommen wir mit http://forum.wordpress-deutschland.org/allgemeines/75729-deprecated-notices-aufspueren-has_cap-bei-lightbox-plugin.html weiter, kannst du das mal bitte testen?
[...] Seems to be working very well. No trackbacks from anyone who does not come directly from the web. This means it validates whether the trackback is coming from a real person or not. I have had no spam at all since I installed it. The site is here -> Trackback Plugin [...]
When running behind a cache server, the IP address is wrong.
replaced:
$tmpSender_IP = preg_replace(‘/[^0-9.]/’, ”, $_SERVER['REMOTE_ADDR'] );
with
$temp_ip = explode(‘,’, isset($_SERVER['HTTP_X_FORWARDED_FOR']) ?
$_SERVER['HTTP_X_FORWARDED_FOR'] :
(isset($_SERVER['HTTP_CLIENT_IP']) ?
$_SERVER['HTTP_CLIENT_IP'] : $_SERVER['REMOTE_ADDR']));
$remote_addr = trim($temp_ip[0]);
$tmpSender_IP = preg_replace(‘/[^0-9.]/’, ”, $remote_addr );
Test Script:
telnet 66.55.44.33 80
GET /ip.php HTTP/1.0
Host: hostname.com
X_FORWARDED_FOR: 1.1.1.1
GET /ip.php HTTP/1.0
Host: hostname.com
X_FORWARDED_FOR: 1.1.1.1, 2.3.5.1
GET /ip.php HTTP/1.0
Host: hostname.com
CLIENT_IP: 1.1.1.1
GET /ip.php HTTP/1.0
Host: hostname.com
CLIENT_IP: 1.1.1.1, 2.3.5.1
GET /ip.php HTTP/1.0
Host: hostname.com
Thanks for that!
I´ve released a new version with your fix!
Just updated to the new version. Now bad trackbacks are not being automatically marked as spam. I keep getting millions of emails!
New version in progress!
Hi Tobias,
I was intending to write a post on my blog recommending the use of your trackback validation plugin in combination with the Spam Free WordPress plugin. Any news on a fix for Samuels issues?
Tschüs!
Not yet, sorry…
Not sure if it’s a coincidence but I actually receive more trackback spam since installing this plugin! Pretty wierd.
I don´t think that this has something to do with my plugin!