SK2-WP2Compatibility
Well, it’s hardly a secret that Wordpress 2.0 is drawing ever closer to release … But because there are lots and lots (and I mean literally hundreds) of changes across the board, it’s hardly surprising that plugin compatibility is a big issue.
In the big list of compatible plugins, Spam Karma features as well. It stops spam, regardless of your version of Wordpress.
But there’s a problem. Because one of the internal changes to Wordpress’ database tables introduced the comment_count field. And Wordpress 2.0 displays the number of comments against a post based on the value in this field. And Spam Karma in its current incarnation doesn’t know about no steenkin’ comment_count field.
Enter SK2-WP2Compatibility.
SK2-WP2Compatibility (yes, I tried hard to think of a fun name, honest!) is a plugin for Spam Karma 2. Anyone may download and use it; however, it only has any effect if you run it in a Wordpress 2.0 installation. Beta-1 is fine. Beta-2 is fine. RC1 is good too. Even bleeding edge SVN updated Wordpress 2.0 is fine.
It doesn’t kill any spam. It doesn’t make Spam Karma any better than it already is at killing spam. It doesn’t make you breakfast in bed. It doesn’t drag your lazy ass to work. Nope. None of those. It just tries to make sure that the poor comment_count field in your shiny Wordpress installation gets an appropriate amount of lurve. And updating. Don’t forget the updating.
So, if you’ve been plagued by a swarm of incorrect comment counts and you’ve identified Spam Karma as the culprit, maybe you should give this plugin a shot.
Simply download and copy to your SK2/sk2_plugins directory. If the plugin (SK2 plugin, not Wordpress plugin) detects that you are running Wordpress 2.0; it will run an extra update each time someone posts a comment. If you’re still running Wordpress 1.5.2, nothing happens.
Requirements: You must have Spam Karma 2 installed. If you have Spam Karma 2.1 beta 4 or later, you do not need this plugin. Simply upgrade to the latest Spam Karma and you get comment counts updated for free. No plugin required.
Current version: 1.0. Just download, unzip, read the included readme file and move the .php file to the appropriate location and you’re done.
Problems ? comments ? suggestions ? *gasp* bug reports ? Please leave a comment here or mail me directly at lair AT fierydragon dot org. Please make sure, however, that the title of your email includes the phrase sk2_wp2compatibility lest my overzealous spam killing bin your mail. I’m also available in the #wordpress IRC channel on freenode; with the innocuous nickname of tinster.
Update 3rd Jan 2005: The most recent beta of Spam Karma 2.1 fixes the comment count problem without needing this plugin. Please download SK 2.1 beta from this location. Simply delete sk2_wp2compatibility.php from your sk2_plugins directory to uninstall.
.
Update 10th Jan 2005: Spam Karma 2.1 final is out. The latest release of SK is fully compatible with Wordpress 2.0. Basically, if you upgrade to SK 2.1 (and you should!) then you no longer need this plugin. Delete the php file to uninstall.
On 30-Nov-05 at 1:43 am,
kuechenserver.org » Spamkarma 2 und Wordpress 2.0 wrote:
[...] Falls Ihr das gleiche Problem habt: Hier gibt es eine Lösung für das Problem Tags: spamkarma, wordpress 2.0 Abgelegt unter: [...]
On 30-Nov-05 at 5:10 am,
T. Longren wrote:
More WordPress and some FireFox
UPDATE: Get SK2-WP2Compatibility, a plugin for Spam Karma 2. It fixes the comment count problem mentioned below when using Spam Karma 2 with WordPress 2.0.
Now that I’ve spent a little more time with WordPress 2.0 RC1, I’ve discovered a pl…
On 01-Dec-05 at 5:37 am,
The General wrote:
Thanks alot, this is exactly what I was looking for!
On 11-Dec-05 at 10:05 pm,
The Ratnest » Blog Archive » Spam Karma 2 Compatibility wrote:
[...] Karma 2 Compatibility [link] Relatedposts: [...]
On 23-Dec-05 at 1:05 am,
Viper007Bond wrote:
Yay, thanks!
On 23-Dec-05 at 2:24 am,
Upgrading blog to WP 2.0 RC3 at D’Arcy Norman Dot Net wrote:
[...] Also, the Rich Text Editor that ships with WP 2.0 RC3 is pretty good, but fails miserably when trying to enter <pre><code>… blocks.. Update 5: If you’re using Spam Karma 2, there is an incompatibility with WP 2.0 – nothing serious, just that the comment counts on the main page don’t get updated. There’s a fix that takes care of the problem until the next Spam Karma release (2.1). weblog wordpress // Used for showing and hiding user information in the comment form function ShowUtils() { document.getElementById(”authorinfo”).style.display = “”; document.getElementById(”showinfo”).style.display = “none”; document.getElementById(”hideinfo”).style.display = “”; } function HideUtils() { document.getElementById(”authorinfo”).style.display = “none”; document.getElementById(”showinfo”).style.display = “”; document.getElementById(”hideinfo”).style.display = “none”; } [...]
On 23-Dec-05 at 9:02 am,
Uffe wrote:
Excellent! Made my day
On 23-Dec-05 at 11:17 am,
The Inside Of My Head » God Rest Ye, Gerry Mental Men wrote:
[...] Since installing the new version of WordPress the number of comments on a post aren’t showing up. That’s my excuse for having ‘no comments’ on every post, anyway. Fixed, thanks to this plugin. I’m off to pick up a heavy bird at lunchtime, and on Sunday I look forward to getting my hand in her up to the elbow. Stuffing, pulling a cracker, nuts, etc. Christmas jokes never get boring. [...]
On 27-Dec-05 at 3:49 am,
Nat wrote:
I officially love you! This is exactly what i needed and what i was looking for. Plus if you run comments through this plugin (say comments that didnt get counted the first time) then everything is peachy. This plugin works with 2.1 sk2 and it works with the newest version of wordpress. thanks alot !
On 28-Dec-05 at 3:18 am,
Revolving Duck » Oooh, shiny wrote:
[...] Nevermind, here is the fantabulous fix for it. [...]
On 28-Dec-05 at 4:34 am,
i solemnly swear that i'm up to no good » comment counter bug in wordpress 2.0 wrote:
[...] a couple of days ago i upgraded my wordpress 1.5.2 installation to 2.0. everything seems fine, until i noticed that some of my entries reported wrong number of comments. idban pointed out that there is a similar bug report at wordpress forum, and the culprit was spam karma 2, which i have installed to fend off comments anda trackbacks spam. fortunately there is a spam karma compatibility plugin to fix this bug. [...]
On 28-Dec-05 at 5:21 am,
- priv - » Blog Archive » SpamKarma 2 with WordPress 2.0 bug wrote:
[...] 繼續找原因,原來在post裡的comment_count這欄是在WordPress 2.0新增的,無怪乎SpamKarma2沒有處理它了。 解決方法倒是容易,早就有人寫了一個sk2-wp2 compatiblity plug-in,下載後解開丟到SK2/sk2_plugins目錄裡就是了。 [...]
On 28-Dec-05 at 9:36 am,
8 Seconden » WordPress 2.0 wrote:
[...] Het aantal comments wordt niet correct weergegeven. Indien u de Spam Karma 2 plugin draait, kan dit de oorzaak zijn. Er is een plugin beschikbaar die dit probleem zou moeten oplossen, maar beter is misschien nog om Spam Karma 2 uit te schakelen, en de Akismet plugin te activeren. [...]
On 28-Dec-05 at 11:26 pm,
April wrote:
Thank you so very much. I was pulling hairs the other day, but when I found this today, I breathed a sigh of relief. It works! Yay!!
On 28-Dec-05 at 11:46 pm,
Netsensei » Blog Archive » Wordpress 2.0 bis wrote:
[...] Tenslotte wees Michael mij op de problemen met Spam Karma. Een anti-spam plugin waar ik zwaar op betrouw. Ook hier is er een oplossing in de vorm van additionele plugin. Geen ideale situatie. [...]
On 29-Dec-05 at 8:48 am,
國生三年才開始 wrote:
Spam Karma 2 在 WordPress 2.0 的修正
éè¦ !! ä¸ä¿®ç話 comment counter æåºé¯ !!
æ¨å¤©åç´äº WordPress 2.0 以å¾ï¼èèæª¢æ¥äºä¸ä¸ï¼å¥½åææå¨ç¨çå¤æç¨…
On 29-Dec-05 at 12:21 pm,
WordPress 2.0 (Update) ‹ bensite.net wrote:
[...] 29.12.2005 – Update: Es gibt einen Fix für das Spam-Karma-Problem. [...]
On 30-Dec-05 at 12:55 am,
heroindreams.net » Wassnu los? wrote:
[...] [update3]: So jetzt hab ich die Lösung gefunden, SpamKarma ist schuld, irgendwie hab ich mir das schon gedacht. Es scheint ein Problem mit der Datenbank von Wordpress2 zu geben. Ein kleines Plugin für SpamKarma2 gibt es hier, damit funktioniert dann wieder alles. *freu* [...]
On 30-Dec-05 at 2:22 am,
I-Ta Tsai’s Blog » SK2-WP2 Compatibility wrote:
[...] Three days ago, I upgraded WordPress to 2.0. It seemed that there’s nothing wrong at that time. But today, I saw a post (zh-TW) about the compatibility between WP2 and SK2. Maybe because there are few comments and trackbacks in the site, there are no problems even I don’t patch it. But it seems an indeed problem, so I still installed the SK2-WP2 Compatibility plugin. Hope it’ll be ok from now on. [...]
On 30-Dec-05 at 5:46 pm,
Schrödinger’s Cat is Dead » Blog Archive » comment_count wrote:
[...] It seems that that culprit behind my decent comment_count debacle is Spam Karma 2, which isn’t 100% compatible with Wordpress 2. Enter the compatibility plugin, which you drop in SK2’s plugin directory, and everything seems to be peachy. All of heliologue.com’s blogs have been updated. If you’ve been having problems, I suggest you give it a whirl. [...]
On 30-Dec-05 at 9:17 pm,
Scott-O-Rama » Comment Spam Sucks wrote:
[...] If you are using WordPress, go grab a copy of the Spam Karma plug-in. This is by far the best means of controlling blog spam I’ve found. It is extremely accurate in identifying comment spam with very few or no false positives. To increase it’s effectiveness even more, grab the Askimet plug-in for Spam Karma. Lastly, if you have upgraded to WordPress 2.0, you’ll need this compatibility plug-in as well. It may sound complicated, but it’s not. It’s a “set it and forget it” type of spam control. [...]
On 31-Dec-05 at 4:16 pm,
rene wrote:
thanks so much for this plugin, but when i want to unzip the file i get an error message, maybe you can put up some plain text-files (php) also? that’d be very cool!
thanks and have a brillant new years eve…
On 01-Jan-06 at 12:06 pm,
Sim Foo Ny » Blog Archive » Bug en Spam Karma y WordPress 2.0 wrote:
[...] La solución es instalar el plugin SK2-WP2compatibility, que se reduce a copiar un fichero a un directorio concreto y ya esta. Y a partir de ahi, en cuanto se añada/edite un comentario el campo se actualizará a su valor correcto. [...]
On 01-Jan-06 at 9:29 pm,
archenemy blog » Blog Archive » Shiny and new wrote:
[...] … on the backend, anyway. WP 2.0 has lots of very cool improvements. Hopefully everything will work as advertised (Spam Karma 2 will apparently continue to work, with the addition of a new plug-in). [...]
On 02-Jan-06 at 3:52 am,
Sulla’s Gedanken » Blog Archive » Neues theme, aber keine Probleme mehr wrote:
[...] Das nicht Anzeigen von Kommentaren wurde hier durch gelöst. Und die Permalinks sind auch wieder halbwegs richtig, wenn auch nichtmehr so wie ich sie mir vorstelle… es musste ein /index.php/ dazu… naja muss wohl… [...]
On 02-Jan-06 at 10:27 pm,
joshteeters.org » Comment Problem wrote:
[...] Installing the SK2-WP2compatability plugin. [...]
On 03-Jan-06 at 2:36 am,
cricket wrote:
you *rock*….thank you!!!!
On 03-Jan-06 at 3:03 am,
Ryan Prins wrote:
Greatly Appreciated! Thanks!
On 03-Jan-06 at 7:49 am,
sam wrote:
Dude, change the color of your hyperlinks. It’s too blended into the site, makes it hard to distinguish what is a link and what’s normal text.
On 03-Jan-06 at 9:00 pm,
Ichigo: Noterat » Blog Archive » Antal kommentarerbugg i WordPress2 wrote:
[...] Hämta SK2-WP2Compatibility [...]
On 04-Jan-06 at 12:01 am,
DrAmor’s Blog » Blog Archive » A ver si puedo decir que me quedo con Wordpress 2.0 wrote:
[...] Lo primero, bajarnos de aquí Spam Karma 2.1 beta y el plugin de compatibilidad con WP2.0 de aquí (en este último, rebuscad un poco hasta dar con el fichero). [...]
On 04-Jan-06 at 2:31 am,
The White Blog » Spam Karma 2.0 vs. WordPress 2.0 wrote:
[...] Then – completely by chance – I stumbled across Lake Neuron blog who had the same problem. Fortunately, the owner of Lake Neuron found the answer at The Lair blog, and is also linked to from Spam Karma’s own site. [...]
On 05-Jan-06 at 6:59 am,
I Made Yanuarta DPY » Blog Archive » Update ke Wordpress 2.0 wrote:
[...] Barusan selesai update ke wordpress 2.0 nggak perlu test-testan.. langsung tancap install aja. dan hasilnya adalah WYSIWYG editor SUX..!!! . dan untuk update yang laen hanya spam karma aja yg di upgrade ke 2.1. dan itupun dikarenakan isu yang tidak kompatibel dengan wp 2.0. Stepnya hanya tiga langkah saja kayak orang maen catur [...]
On 05-Jan-06 at 2:31 pm,
Ah Knight’s Blog » Fixed Wordpress 2 wrote:
[...] feed never redirect properly to feedburner’s feed due to the feedburner plugin fix by upgrade the plugin [...]
On 06-Jan-06 at 6:14 am,
Random Thoughts » Blog Archive » WordPress 2.0 Comment Count Bug - Spam Karma Users wrote:
[...] SK2-WP2Compatibility WordPress 2 [...]
On 09-Jan-06 at 1:37 am,
Athene Biz - The World according to Athene wrote:
[...] I downloaded the Beta version of Wordpress 2.0 and it’s awesome in many ways. As imagined, the plug-in compatibility will take some time to catch up. For those of you who use Spam Karma 2… you might have noticed that although comments are going through the LOOP, they aren’t appearing in the comment count in the entry meta. SK2 has come with a FIX it patch but it took me FOREVER to find a working url to download it from. So, if you’re looking for Spam Karma 2.1’s Reloaded WP2.0 Compatibilty Plug in, HERE it is. [...]
On 11-Jan-06 at 7:36 pm,
#!/Dudi/Gurnadi » Spam Karma 2.1 dan Statistik Bandwidth wrote:
[...] Tanggal 27 Desember 2005 ketika Saya mengupgrade engine blog ini menjadi Wordpress 2.0 ternyata jumlah komentar saya tidak bertambah dikarenakan plugin Spam Karma, untung saja sudah ada yang membuat plugin kompatibilitasnya. Dilanjutkan pada tanggal 8 Januari 2005 Oskar Syahbana menuliskan bahwa Akismet memiliki kelemahan, walaupun Matt sendiri mengatakan telah mengantisipasi hal tersebut dan pada tanggal 11 Januari 2005 Spam Karma akhirnya merilis versi 2.1 dan tentu saja Saya memutuskan untuk tetap menggunakan Spam Karma dan melakukan upgrade serta menghapus Akismet dari blog ini. So, bye.. bye.. Akismet [...]
On 12-Jan-06 at 7:16 pm,
Dan Diemer wrote:
Thanks so much!
On 20-Jan-06 at 6:26 pm,
Meng Yan ( 孟岩 ) @ Weblog » Blog Archive » 解决WordPress 2.0的comments始终为0的问题 wrote:
[...] 发现了一个SK2的插件,用于解决这个问题 – SK2-WP2Compatibility (注意,这是SK2的插件,而不是WordPress的插件,有时间我要研究一下SK2的插件机制)。这个插件很简单,看看代码就知道了。 $c = $wpdb->get_row( "SELECT count(*) as c FROM {$wpdb->comments} WHERE comment_post_ID = ‘$cmt_object->post_ID’ AND comment_approved = ‘1′" ); [...]
On 21-Jan-06 at 7:27 pm,
» Spam Karma 2 mit Wordpress 2.0 Blogspam Blog wrote:
[...] Abhilfe zu dem Problem gibt es hier [...]
On 21-Jan-06 at 9:44 pm,
Country Keepers by Gary Petersen » Blog Archive » WordPress v2.0 Comments Bug wrote:
[...] Download the very cleverly named SK2-WP2Compatibility plugin for Spam Karma 2. [...]
On 03-Feb-06 at 4:19 pm,
joshteeters.org wrote:
Comment Problem…
My friend Proth brought it to my attention that posts are showing ‘0 Comments’ at the bottom, even if the entry has comments.
After a bit of digging around, I found a forum thread at WordPress Support about the problem. Some folks were able…
On 12-Feb-06 at 2:22 pm,
Bajo sus alas... wrote:
Wordpress 2.0 y SpamKarma…
El otro día actualicé al Wordpress 2.0, y no tuve mayores problemas con el Spam Karma (el plugin que uso para mantener mi blog libre de spam), pero noté que en la página principal marcaba los posts como comentarios(0), siendo que adentro había com…
On 27-Feb-06 at 9:11 am,
Corcoran Brothers wrote:
Testing WP 2.0 rc…
……
On 03-Mar-06 at 10:14 pm,
RA-Blog » Blog Archiv » 0 Kommentare wrote:
[...] Wenn WordPress 2.0 die Kommentare nicht mehr richtig zählt, kann das daran liegen, dass Spamkarma das in WP 2.0 neue Datenbankfeld “comment_count” nicht kennt. Die Lösung: Das SK2-WP2Compatibility-Plugin (Download). [...]
On 06-Mar-06 at 1:04 pm,
JimmyC wrote:
Thank you – you are a blogsaver.
On 10-Mar-06 at 3:12 am,
ViciouslyDemonic[dot]Com » Blog Archive » Wordpress 2.0 and 2.01 Comment Fix wrote:
[...] The Solution 1. You must have Spam Karma 2 installed. If you have Spam Karma 2.1 beta 4 or later, you do not need this plugin. Simply upgrade to the latest Spam Karma and you get comment counts updated for free. No plugin required. 2. If you do not have Spam Karma 2.1 beta 4 or later and have installed Spam Karma 2, download SK2-WP2compatability Pluginin. 3. Go to Options » Spam Karma » Approved Comments and sort out your comments from the spam. 4. Select all of the posts and run them through the WP2Compatibility plugin. [...]
On 31-Mar-06 at 11:27 pm,
Weblog.Micha-Schmidt.net » Blog Archive » WordPress-Fehler nach Upgrade wrote:
[...] Schon gelöst: Es liegt am Plugin “Spam Karma 2″, das sich ohne weiteres nicht mit WP 2 verträgt. Ich habe die hier beschriebene und erhältliche Datei in das entsprechende Verzeichnis gepackt, that’s it! [...]
On 30-Apr-06 at 6:58 pm,
ThoSch:Blog » Blog Archiv » Neue Versionen von WordPress und fli4l wrote:
[...] Dann wird sich auch zeigen, ob alle Plugins kompatibel sind. Bei Spam Karma 2 scheint es ein kleineres, eher optisches Problem zu geben, für das es auch schon einen Fix gibt. [...]
On 17-May-06 at 9:17 pm,
Sean wrote:
I was getting some errors at the bottom of the page after installing the latest version on a new blog:
Warning: main(sk2_functions.php): failed to open stream: No such file or directory in /usr/home/accountname/domain.com/blog/wp-content/plugins/SK2/sk2_util_class.php on line 2
Warning: main(): Failed opening ’sk2_functions.php’ for inclusion (include_path=”) in /usr/home/accountname/domain.com/blog/wp-content/plugins/SK2/sk2_util_class.php on line 2
The simple fix that I found was just take an older version of SK2 that was working on another blog and upload it.
Seemed to do the trick.
:thumbsup
On 18-May-06 at 8:07 pm,
drac wrote:
Sean: you should no longer need this plugin. In fact, the only reason anyone should run this plugin is if they cannot upgrade past Spam Karma 2.1 for some reason. From SK 2.2 onwards, all the functionality contained within this plugin is built into SK2 itself; so you don’t need it any more.
If you have the latest SpamKarma (2.2), then please do continue to use it
This plugin is now obsolete.
On 30-Jul-06 at 10:07 am,
Wordpress Antispam Plugins wrote:
List of all Wordpress Antispam Plugins.
On 19-Mar-07 at 12:44 pm,
The Lair / the power of community wrote:
[...] to scratch my itches – so to speak. I write things that I need. Sometimes this includes writing plugins to spam fighting software, sometimes it involves various other things. But this time, I got this idea about doing an [...]
On 20-Oct-07 at 11:10 pm,
Levitra wrote:
It’s the best! Thank you!
On 30-Nov-07 at 1:22 am,
tapety wrote:
It is good that someone writes articles which really matters something. Thank you for this article, it’s full of knowledge which is hard to find in tons of rubbish in our famous world wide web. Regards and good luck!
On 03-Jan-08 at 6:24 pm,
Bodenmais wrote:
ist really the best
On 01-Dec-08 at 10:03 am,
Queensberry wrote:
thx you! super