Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=544)
Akismet Spam Protection for SMF
Mod Author: Runic (http://www.simplemachines.org/community/index.php?action=profile;u=23577)
Original Author: daniel15 (http://www.simplemachines.org/community/index.php?action=profile;u=9547)
Previous Authors: live627 (http://www.simplemachines.org/community/index.php?action=profile;u=154736)
SMF Version: 3.0.X
Mod Version: 1.2
Description:
This is a SMF modification implementing the Akismet (http://www.akismet.com/) spam protection service. The mod uses purely hooks and no file edits so it requires SMF 2.0. It only checks topics since there is no hook for posting replies.
How do I use it?
Firstly, you'll need to sign up for a free API key at http://wordpress.com/api-keys/ (http://wordpress.com/api-keys/). Then, install this mod via the SMF Package Manager. Once it's installed, there will be a new 'Akismet Configuration' option in the admin panel, under the 'Forum' section. Enter your API key in, and you're all set!
Make sure message moderation in the basic settings in SMF is enabled!!!
How do I know it's working?
You test it, of course! Simply write a new topic with the subject of 'akismet-test-123', and it will be classified as spam by the mod. This tests that the mod is installed correctly. An additional test is writing a guest post with a name of 'viagra-test-123'. Any message with this name will be marked as spam by the Akismet service. If this message is also detected as spam, then everything is working perfectly.
Why Not Visit:
https://www.smfhacks.com (https://www.smfhacks.com)
Very cool, every little bit helps. 8)
Installation went well my my 1.1.1 forums.
Just got this error after deleting a test post that was marked not as spam:
Error connecting to host: rest.akismet.com Error number: 0 Error message: Undefined error: 0
Edit - I had to un-install cause it was clause slowness when hit and getting to the forum page.
I like it very much. Has already catched many spam on my blog, so I hope it will do a good job on SMF as well.
Just not sure about editing my DilbertMC theme. I've screwed up the theme several times already :(
how to install this mod ?
i just login as admin - click to admin - package manager - download package , then upload it - browse package , then click to apply mod , then i have message :
Installations actions for "Akismet Spam Blocking":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
what i should do ?
Are you sure you are using SMF 1.1 Final (or 1.1.1). I've got it working on two forums without a problem.
Quote from: EdwinK on December 30, 2006, 06:19:17 AM
Are you sure you are using SMF 1.1 Final (or 1.1.1). I've got it working on two forums without a problem.
i have SMF 1.1.1. may be something wrong with board configuration , i just load smf_settings table and the find variable :
('package_path', 'httpdocs/forum') - is this correct ? or it should be
('package_path', '/usr/local/psa/home/vhosts/mydomain.tld/httpdocs/forum') - or it's wrong too ?
i just try to install mods on my home pc and it's installed perfectly , but i still have this error on linux server ... may be something wrong with permissions or other settings ? how to find errors ?
also php in safe mode , is this a problem for mods installation ?
Anyone who could give me a hand?
The mod installed fine on SMF 1.1.1 but it won't show up in the admin panel under "forum".
This error keeps popping up in the error log:
Quote
8: Undefined index: akismet_conf
File: /var/www/localhost/htdocs/forum/Sources/Subs.php
Line: 2767
it works fine for me, but the boardindex page of my forum has been slowed down. I know it is this mod as it sped back up when i uninstalled it.
7 seconds to load a page is too long.
This damned thing crashed my forum, not once, but twice, as I was stupid enough to try a reinstall
Everything installed without error but when making posts, recieved fatal errors.
Uninstalled package without incident, but was unable to use board, until all source files which were modified were replaced with virgin ones from the SMF 1.1.1 package.
And it is a shame too, becaise I use AKISMET on my blogs without problems and with great success.
Perhaps that is where it needs to stay. With WORDPRESS.
Sorry guys, but I reported this as an unsafe mod.
I don't think so. I installed it and everything has worked fine for me. I love this mod, thank you Daniel once again!! Your shop mod was amazing and so is this!
QuoteJust not sure about editing my DilbertMC theme. I've screwed up the theme several times already
Do you still require help with this?
Quote('package_path', 'httpdocs/forum') - is this correct ? or it should be
('package_path', '/usr/local/psa/home/vhosts/mydomain.tld/httpdocs/forum') - or it's wrong too ?
I believe that the second one is correct
Quotealso php in safe mode , is this a problem for mods installation ?
As far as I know, it should work in safe mode, but I have no idea (as I haven't tested it)
Quoteit works fine for me, but the boardindex page of my forum has been slowed down. I know it is this mod as it sped back up when i uninstalled it.
7 seconds to load a page is too long.
Try this:
Install it, and open Sources/BoardIndex.php. Find:
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_BOARD = b.ID_BOARD AND m.spam = 0)
Replce with:
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = b.ID_LAST_MSG)
I didn't think that this would make a performance difference, but apparently it does. If changing this speeds up your forum, I'll change this behavior in the next release.
QuoteThis damned thing crashed my forum, not once, but twice, as I was stupid enough to try a reinstall
Everything installed without error but when making posts, recieved fatal errors.
What error were you getting?
Quote
This error keeps popping up in the error log:
Quote
8: Undefined index: akismet_conf
File: /var/www/localhost/htdocs/forum/Sources/Subs.php
Line: 2767
Could you please check that $txt['akismet_conf'] is in your Themes/default/languages/Modifications.english.php file? Can you access the Akismet Configuration by going directly to index.php?action=akismet ?
that code does speed it up, but caused a minor bug. i pmed you the details.
I wanted the extra protection, but not at the cost of a slower forum too. Looking forward to the next release that will address this performance issue 8)
OK, version 1.1.1 is out, and it should fix the speed issues.
does it have differences in the template changes?
I'm wondering if i have to remove from all the templates before uninstalling and reinstalling.
No, no differences. The only changes are in Sources/ManageBoards.php and Sources/Subs-Post.php
thank you!!
This new version has a bug too
"Column count doesn't match value count at row 1
File: /home/totaltwa/public_html/board/Sources/Subs-Post.php
Line: 1619" when anyone starts a new topic.
Hmhmmh
Database Error
Column count doesn't match value count at row 1
File: /home/www/*****.********.com/forum/Sources/Subs-Post.php
Line: 1604
Help pl0px
Could you please attach your Subs-Post.php file here?
I've uninstalled it, so do you still want my subs-post.php
i can't leave it installed as it will stop people posting
A small issue crept into the install.xml file for version 1.1.1 of this mod, which was what was causing the error. Upgrades from 1.1 to 1.1.1 are not affected by this issue.
To fix this issue, open Subs-Post.php, and find the code around the line that's causing the error. It will look a bit like:
// Insert a new topic (if the topicID was left empty.
if ($new_topic)
{
db_query("
INSERT INTO {$db_prefix}topics
(ID_BOARD, ID_MEMBER_STARTED, ID_MEMBER_UPDATED, ID_FIRST_MSG, ID_LAST_MSG, spam, locked, isSticky, numViews, ID_POLL)
VALUES ($topicOptions[board], $posterOptions[id], $posterOptions[id], " . ($spam == true ? '1' : '0') . ",
" . ($topicOptions['lock_mode'] === null ? '0' : $topicOptions['lock_mode']) . ', ' .
($topicOptions['sticky_mode'] === null ? '0' : $topicOptions['sticky_mode']) . ", 0, " . ($topicOptions['poll'] === null ? '0' : $topicOptions['poll']) . ')', __FILE__, __LINE__);
$topicOptions['id'] = db_insert_id();
Replace that code with:
// Insert a new topic (if the topicID was left empty.
if ($new_topic)
{
db_query("
INSERT INTO {$db_prefix}topics
(ID_BOARD, ID_MEMBER_STARTED, ID_MEMBER_UPDATED, ID_FIRST_MSG, ID_LAST_MSG, spam, locked, isSticky, numViews, ID_POLL)
VALUES ($topicOptions[board], $posterOptions[id], $posterOptions[id], $msgOptions[id], $msgOptions[id], " . ($spam == true ? '1' : '0') . ",
" . ($topicOptions['lock_mode'] === null ? '0' : $topicOptions['lock_mode']) . ', ' .
($topicOptions['sticky_mode'] === null ? '0' : $topicOptions['sticky_mode']) . ", 0, " . ($topicOptions['poll'] === null ? '0' : $topicOptions['poll']) . ')', __FILE__, __LINE__);
$topicOptions['id'] = db_insert_id();
I'll be uploading a fixed package as soon as possible (the mods site isn't working correctly at present), but for now a fixed package is attached to this post
OK, the new archive has been uploaded.
when i do the test with the subject of "akismet-test-123" it does not clasify that as spam
Quote from: DaBoROE09 on January 07, 2007, 12:43:53 PM
when i do the test with the subject of "akismet-test-123" it does not clasify that as spam
Have you made the changes on all templates? Here worked.
what changes should i have made to the template. umm i uninstalled it and reinstalled it.
thanks
Quotewhen i do the test with the subject of "akismet-test-123" it does not clasify that as spam
Please check that your Sources/Post.php and Sources/Subs-Post.php files were edited correctly. If you search in the file, there should be an Akismet section.
If you attach your Post.php and Subs-Post.php files here, I'll have a look and see if I can find what's wrong.
I've upgraded to 1.1.1 last night, and all was working fine and dandy today up until about two hours ago - suddenly everything is getting flagged as spam. Before, only a post or two a day would be flagged, but now all posts are. Is there any particular reason for this, or is it something on Akismet's part? :/
Quotesuddenly everything is getting flagged as spam. Before, only a post or two a day would be flagged, but now all posts are. Is there any particular reason for this, or is it something on Akismet's part?
It's most likely a glitch with Akismet (these things happen very rarely, but they do occasionally happen).
Are the posts regular posts, or are they spam-like posts (very short, lots of links, etc.)?
They're all regular posts, no links, 2-3 sentences. These posts used to get by Akismet fine but now everything is going up as spam :/
Quote from: thelastkiss on January 08, 2007, 10:17:50 PMI've upgraded to 1.1.1 last night, and all was working fine and dandy today up until about two hours ago - suddenly everything is getting flagged as spam. Before, only a post or two a day would be flagged, but now all posts are. Is there any particular reason for this, or is it something on Akismet's part? :/
I've uninstalled this extension because that. I quit.
I removed it because of the problems today, but I will put it back, when the problem is fixed. It would be nice to have an alert feature added, so I don't have to keep going into admin to see if there are any trapped posts.
Also I note that when releasing non spam, the index page is not updated. Only when you view the thread does it show as a new post
Sorry about the problems guys, I've contacted the creators of Akismet so I can see if there's any known problems at the moment.
Thanks, Daniel :)
I use Akismet on my blog though, and nothing unusual has happened (just a tidbit, don't know if that will help).
I'm having the same problem now. Going to un-install this mod till problems are fixed :(
After uninstalling this, I'm getting problems :(
Quote
Database Error
Unknown column 't.spam' in 'where clause'
File: /home/dungeons/public_html/CR/Sources/MessageIndex.php
Line: 490
and this one:
Quote
Fatal error: Cannot redeclare class akismet in /home/dungeons/public_html/CR/Sources/Akismet.class.php on line 55
Hmmm akismet-test-123 didn't work for me either. Also, the Akismet configuration link doesn't appear in my admin....
I really hate that if you don't use the Default theme, you have to code everything by hand.. there really be a way to fix that.
i agree nolageek. it is easy for the creators to do it just for one theme but it would be awesome if they could do it for all.
QuoteI'm having the same problem now. Going to un-install this mod till problems are fixed
After uninstalling this, I'm getting problems
Delete all related code from MessageIndex.php, Post.php and Subs-Post.php ;)
Quoteit is easy for the creators to do it just for one theme but it would be awesome if they could do it for all.
It's impossible to do, as I'd need to include code for every single theme available (the code of most themes is slightly different). There's no easy way for a package to know what theme a user has installed.
ok daniel15...you are saying the code related to the mod in those 3 files.
Quoteyou are saying the code related to the mod in those 3 files.
Yeah, any Akismet-related code.
If you upload the package to http://server.daniel15.com/smf/package.php and choose the 'Uninstall' option, it will tell you exactly what you need to do ;)
so i will uninstall it and then reinstall it? or wat
when i do the test it doesnt pick up the test post as spam. i need that to be picked up as spam. do i still remove the code from these 3 files or what do I do?
Quote from: Daniel15 on January 11, 2007, 10:16:44 PM
Quoteyou are saying the code related to the mod in those 3 files.
Yeah, any Akismet-related code.
If you upload the package to http://server.daniel15.com/smf/package.php and choose the 'Uninstall' option, it will tell you exactly what you need to do ;)
Nice. *tries to remember this site :)*
QuoteIt's impossible to do, as I'd need to include code for every single theme available (the code of most themes is slightly different). There's no easy way for a package to know what theme a user has installed.
I agree it's impossible to do, but there really should be a way to have it so that altering a theme doesn't require manual installation of mods. I've been using web apps for years and have never had to do that before (I agree, some other forums I've tried require it..)
Maybe if more themes were css based instead of template based this wouldn't be a problem.
What I did was take my favorite theme's style.css and graphics and overwrote the default theme's. I was pleasantly surprised to see how much of a difference it made without changing ANY of the default theme's files. You may have to tweek some things, since other themes use different class names, but it's worth a try.
Daniel, thanks for making such a valuable mod! So far it's working great on my boards.
When a post is flagged as spam, though, it's showing up in the new post list. Of course you click it, and there's nothing there. So I've got members looking for "Ogg?" and other wacky posts. Is there any workaround for that?
Also, is there a way to have it send you an email that it's flagged something as spam? That way I can check it out quickly in case it's not spam and approve the post. (That hasn't yet happened, but I'm sure it will eventually...the nature of spam catchers)
Thanks again for this....such a USEFUL mod!
Juli
Thanks for the mod. Though I had to customize it a bit for my forum. Since my members undergo peer screening, I trust them, so I modified the spam catcher to check posts only if the user is a guest.
I think this would work correctly, but I wouldn't know entirely.
Only thing modified is in Subs-Post.php.
Line 1530: This-
if (isset($modSettings['akismetAPIKey']) && $modSettings['akismetAPIKey'] != "")
becomes this-
if (isset($modSettings['akismetAPIKey']) && $modSettings['akismetAPIKey'] != "" && $user_info['is_guest'])
And that's it. Is this kosher?
QuoteWhen a post is flagged as spam, though, it's showing up in the new post list. Of course you click it, and there's nothing there.
Which new post list? I think I got most of them, although I may have missed one.
QuoteAlso, is there a way to have it send you an email that it's flagged something as spam? That way I can check it out quickly in case it's not spam and approve the post. (That hasn't yet happened, but I'm sure it will eventually...the nature of spam catchers)
I'll try implement that in a future version
LiGy, that's a great idea, I'll implement guest-only spam catching in a future version (have an option in the admin section for it)
QuoteAnd that's it. Is this kosher?
That looks fine :)
I'd prefer a minimum posts option. Some bots register before spamming..
Quote from: Daniel15 on January 22, 2007, 11:29:22 PM
QuoteWhen a post is flagged as spam, though, it's showing up in the new post list. Of course you click it, and there's nothing there.
Which new post list? I think I got most of them, although I may have missed one.
This would be the link, up at the top where it says Show Unread posts since last visit:
http://www.simplemachines.org/community/index.php?action=unread
I'm going to try LIGuy's code... I agree that I trust my members. (I carefully approve all new regs because of a stalker guy) So I like just checking guest posts...I've had a number of member posts get flagged as spam, including my own. LOL.
But I do love this mod!
Juli
ack, messed up the code on that...sorry.
LIGy, I don't think that code worked. I did the test using "akismet-test-123" and it stopped it as spam. I did this under my own name, as administrator.
QuoteError connecting to host: ********.rest.akismet.com Error number: 110 Error message: Connection timed out
It would be good if messages would be marked non spam on these errors, as well as the "Could not connect to Akismet server! Post will be assumed to be non-spam." errors.
QuoteThis would be the link, up at the top where it says Show Unread posts since last visit:
Oh, I knew I forgot something! I'll take a look at this later
Quote from: juli on January 23, 2007, 05:18:06 PM
LIGy, I don't think that code worked. I did the test using "akismet-test-123" and it stopped it as spam. I did this under my own name, as administrator.
Yeah, akismet-test-123 is still blocked, but that's the only thing that is. If you post as a guest, posting with the name 'viagra-test-123' should be marked as spam, which shows that it's working. If you post a spam message as an admin, it will not be marked as spam.
Eldacar, I edited your post, the bit at the start of the server name contains your WordPress API key :P
QuoteIt would be good if messages would be marked non spam on these errors, as well as the "Could not connect to Akismet server! Post will be assumed to be non-spam." errors.
So you mean, have one error rather than both that one and the "Post will be assumed to be non-spam" one? The error you mentioned is thrown in the Akismet.class.php file, whereas the "Post will be assumed to be non-spam" one is thrown in Subs-Post.php (or Post.php, can't remember which).
QuoteYeah, akismet-test-123 is still blocked, but that's the only thing that is. If you post as a guest, posting with the name 'viagra-test-123' should not be marked as spam.
Ohhh, perfect. Just tested it and it works perfectly. Thank you, thank you!!!
QuoteSo you mean, have one error rather than both that one and the "Post will be assumed to be non-spam" one? The error you mentioned is thrown in the Akismet.class.php file, whereas the "Post will be assumed to be non-spam" one is thrown in Subs-Post.php (or Post.php, can't remember which).
Both are thrown for the one error? Well, whatever is making errors, if it can't connect it would be good if it was assumed non-spam, rather than kept as spam.
Whoops, I guess I forgot to mention that tidbit. When I was testing, I was using spam that the forum had caught, and not the automatic flag as spam subject lines.
Glad to be of some help, at least.
I installed this as well, and it seems to be flagging everything as spam. I tried to uninstall it, but I get a warning, the basic warning with the following problem:
Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
Any suggestions?
It worked but it defines any post as SPAM, even perfectly written posts. So I uninstall it and it crashed my forums. But then again I fixed it by replacing the modified files. Sorry but:
-Reported as unsafe-
I hope the issues will be repaired. It seems to be a good mod thus far.
I have too many false positives. I need either a immunity permission, or at least a setting based on post count. Can you put this in soon please Daniel?
I'm really busy due to school at the moment, but I'll try to remember to do this soon.
Anyone know what could cause - Fatal error: Cannot redeclare class akismet in /home/fragforg/public_html/forum/Sources/Akismet.class.php on line 55 ?
Take a look in your Sources/Post.php and Sources/Subs-Post.php files. If the Akismet section is listed more than once, remove the duplicate.
You have got me a ton closer Daniel, THANKS! I did not install this modification, I paid to have it done, is why I didnt see that before...
After removing all duplicate's - I get this error:
Column 'spam' specified twice
File: /home/****/public_html/forum/Sources/Subs-Post.php
Line: 1581
This is the section of code around 1581
INSERT INTO {$db_prefix}messages
(ID_BOARD, ID_TOPIC, ID_MEMBER, subject, body, posterName, posterEmail, posterTime,
posterIP, smileysEnabled, modifiedName, spam, spam, spam, icon)
VALUES ($topicOptions[board], $topicOptions[id], $posterOptions[id], SUBSTRING('$msgOptions[subject]', 1, 255), SUBSTRING('$msgOptions[body]', 1, 65534), SUBSTRING('$posterOptions[name]', 1, 255), SUBSTRING('$posterOptions[email]', 1, 255), " . time() . ",
SUBSTRING('$posterOptions[ip]', 1, 255), " . ($msgOptions['smileys_enabled'] ? '1' : '0') . ", '', " . ($spam == true ? '1' : '0') . ", " . ($spam == true ? '1' : '0') . ", " . ($spam == true ? '1' : '0') . ", SUBSTRING('$msgOptions[icon]', 1, 16))", __FILE__, __LINE__);
$msgOptions['id'] = db_insert_id();
Any help much appreciated.
modifiedName, spam, spam, spam, icon
Spam, spam, spam! :P
Seriously though, the problem is because 'spam' is listed three times. Edit it so it's only listed once:
modifiedName, spam, icon
Also, you'll need to edit:
, " . ($spam == true ? '1' : '0') . ", " . ($spam == true ? '1' : '0') . ", " . ($spam == true ? '1' : '0') . ",
And make it:
, " . ($spam == true ? '1' : '0') . ",
THANKS SO MUCH DANIEL! Mod is working to perfection.
@Daniel15 - just as a reference note this works excellent with the mods you've produced on SMF 1.1.1 with the Juno theme. Took no time to set up and test, and it captured both spam tests. Thanks for a brilliant product!!!
EDIT - I lied! It didn't work like advertised on this theme, but it sure fooled me. It turned every reply to a post into spam! No one could reply, even the moderators. So it's deinstalled, and I don't have the time to mod it to work for a theme.
I agree. I can't rave enough about this mod. Without it, I'd be a mess because I'm getting about 20 spams a day in the one section I've opened up to guest posters. I added the code listed previously in this thread to allow registered members to bypass the spam trap, and it's caught 100 percent of spam so far and no legit posts. Amazing!
Glad you like it, guys :)
My work is only a small part of this, the creators of Akismet have done an awesome job with it... If you like it, thank the creators of Akismet :D
Quoteallow registered members to bypass the spam trap
I may have that as an option in a future version :)
I got one weird behavior and I am not sure it's language file problem or not.
I installed this component and test with those two spring mention, the first one works fine, and I tried to let a member post viagra...123, however it can't catch it. I didn't allow guest to post so I didn't use guest mode to test this one.
Anyway, this is not my main concern, my main concern is the option disapear from admin page if I changed my language to utf8 tradition chinese (language package), which I overwrite to the theme.
I tried to access the admin page by direct link. I can access the page but all text disapear and just input box and couple blank button left.
Do anyone know how to solve this?
QuoteI installed this component and test with those two spring mention, the first one works fine, and I tried to let a member post viagra...123, however it can't catch it. I didn't allow guest to post so I didn't use guest mode to test this one.
To test this one, a guest with the name of viagra-test-123 must make a post.
QuoteAnyway, this is not my main concern, my main concern is the option disapear from admin page if I changed my language to utf8 tradition chinese (language package), which I overwrite to the theme.
I tried to access the admin page by direct link. I can access the page but all text disapear and just input box and couple blank button left.
Open Themes/default/languages/Modifications.english.php, and find the Akismet section. Copy this, and paste it into Themes/default/languages/Modifications.[your language].php (if you like, you may translate the texts)
thanks for the plugin, works fine...
but...
when i post a spam-messag, no error appears. only a white page appears, the message ist filtered.
i use smf 1.1.2 with tiny-portal,
german language
TP AERO Theme from Bloc
Quote from: taucher on February 14, 2007, 04:36:03 AM
thanks for the plugin, works fine...
but...
when i post a spam-messag, no error appears. only a white page appears, the message ist filtered.
Thanks Daniel15, it works greate.
Did you add your own language yet? You can copy "Themes/default/languages/Modifications.english.php" to your own language modifications file, and it should works fine.
Did you modify the theme as author mentioned?
I am not sure will this help since I am using 1.1.1
Yes, i did this.
Problem occurs only when using ie6, with firefox it works how it should.
I installed Akismet 1.1.1 using the package manager yesterday just after upgrading to smf 1.1.2. I'm using the default templet, and Akismet mostly works. I've identified one problem and one "feature".
The problem: When on the "view most recent" display page, the spam content shows. http://theknittingfiend.com/forum/index.php?action=recent (http://theknittingfiend.com/forum/index.php?action=recent)
(You'll see my test spam there. I'm not deleting it.)
The feature: On the index page, the spam entry is listed as a new entry if it's the most recent one.Like this:
Last post on Yesterday at 04:32:07 PM
in akismet-test-123 by Lucia Liljegren
( If you click the post title, you can't see the spam contents. However, it's still a bit of a problem because people could put something icky in the subject)
QuoteThe problem: When on the "view most recent" display page, the spam content shows. http://theknittingfiend.com/forum/index.php?action=recent
(You'll see my test spam there. I'm not deleting it.)
The feature: On the index page, the spam entry is listed as a new entry if it's the most recent one.Like this:
Last post on Yesterday at 04:32:07 PM
in akismet-test-123 by Lucia Liljegren
( If you click the post title, you can't see the spam contents. However, it's still a bit of a problem because people could put something icky in the subject)
I knew I forgot something... I'll try and fix this as soon as possible.
I consider both as bugs ;)
I figured you'd consider at least the one I called "problem" a bug. Thanks for the plugin.
Thanx Daniel foor the nice package, really catches spam which I would also define as spam.
The 'problem' of not showing any akismet related messages in other languages (in my case Dutch), was easily by copying the tags into my .dutch.php files, and translating them myself. Only took a few minutes.
However, when my forum users (at least a global administrator) posts a spam-marked message, they don't see any warning or akismet message informing them that their message was marked as spam. If I post spam as an administrator, the messages do show up.
I havent found any related problems in other posts, am I the first one or just the only one?
Thanx for any help,
Gerben
ps: Forum 1.1.2 with packages:
Spam Me Not Mod 1.02 (cloacks email adresses)
Akismet Spam Blocking 1.1.1
No Spam by Guests! 0.1
Pretty URLs - Base
Guests may not post links (the no spam by guests mod), but can freely register, and post links afterwards. Therefore the akismet spam catcher :).
Akismet blocked all my spam messages, but also blocked all other messages. I'm using SMF 1.1.2 with Akismet 1.1.1 Fixed. My friends got pissed that none of their messages went through, so I had to remove it.
Still cant get this to work in 1.1.2 :(
Daniel, or anyone, is there a fix to get rid of subject listings in unread posts? I'm getting about 6 - 10 spams a day and most are porn related. It's upsetting the members to constantly read, in their unread post listing, "Free teen porn" and so on.
Getting lots of complaints, and I can't keep up with deleting them fast enough.
Thanks,
Juli
Am I maybe missing something here?... or am I maybe one of the lucky ones who had a trouble-free install.
I've got it working flawlessly, at least it appears that way. It seems to catch spam and allow other posts through. I can post as admin. I can also post under a regular user profile that I created specifically to test it. Haven't had many other users post since I set up the mod, but my community is very small, and just starting out.
I'll be keeping a careful eye on it. So far so good, though. Thanks Daniel for what appears to be a great mod! I apologize if I come off odd, but seeing a lot of issues on installing a mod tends to make one a bit cautious. ;)
Running SMF 1.1.2
A modified version of Bloc's Mesh theme
Mods:
Custom Profile Field 3.16
Invite 1.13
Akismet Spam Blocking 1.1.1 Fixed
@yell0wdart: If you take a look at your unread posts page before deleting spam that has been caught by Askimat, you'll see what juli is referring to.
Yep, I know what she's referring to. I'm just not experiencing it. /shrug
I did, however get an odd MySQL error just before I was headed home from work. Didn't take the time to copy it or post it to my board, but I didn't like it. Think I may err on the side of caution and take it down for now. Made me a little paranoid not seeing anybody from my boards post all day long... not even some of the chattier members...
Personally, it's tested ok for me under my admin acct and under a test member acct I set up. I just don't want to take any chances... especially since my community is just in its infancy. I don't want to deter people from registering.
help please i just installed this and noew it cant post in my forum i get this any help
Fatal error: Cannot redeclare class akismet in /www/110mb.com/j/o/y/r/i/d/e/r/joyrider/htdocs/Sources/Akismet.class.php on line 55
Will it work on smf v1.1.3 ... ???
Thanks in advance ;)
i have same question =)
waiting for this one
I tried to install this on SMF 1.2 and after the install...its not appearing in the admin panel under Forums. So I never get a chance to add in the Key because the feature nevers shows up for me to click it. Any suggestions? By the way...i tried this on default and on a custom template.....same result for both.
Quote from: riderraghav on June 29, 2007, 11:41:11 PM
Will it work on smf v1.1.3 ... ???
Appears to be working on 1.1.3, at least the akismet-test-123 was flagged.
Will this also pick up spam from registered users on my site?
So, i found out that if you try the viagra-test-123 when logged in as admin or as a registered forum user, it is not detected as spam. As stated earlier, this test only works when a guest posts a message.
So, while logged in as admin i created a message with the following:
Subject: hi there
Body:
cialis
viagra
enlargement
porn
This was flagged as spam, which i think confirms that the mod is working in 1.1.3.
Odly, the following message was not flagged.
Subject: hi there
Body: cialis, viagra, enlargement, porn
But i think that is a limitation of akismet.
As a follow, i can confirm that this is working very well with 1.1.3.
Just installed it on smf 1.1.3 v ....it works like a charm :) .....
Thanks for the mod ;)
Thanks so much for this mod! I am a regular wordpress user so I know the value of akismet.
I am using SMF1.1.3 and Akismet Spam 1.1.1 fixed.
The only issue of installation was that the language definitions did not get written to the file. I easily added them myself - but it created a little bit of a scare as I could not see the configuration link!
I posted a test message from an actually piece of spam that my blog caught. Your mod caught it as well. 8)
Thanks again. A+++
Just noticed a bug with smf and akismet installed.
If your most recent post gets flagged as spam, the title still shows up as the most recent post in that board. If you click that url (the most recent post url), you go to the message but only the title is displayed.
If you then search for the message title, you can get a search result, but following the result again displays only the title.
Finally, once you delete all the spam messages from the akismet configuration and go back to the board overview, there is nothing listed as the most recent post (see attached).
I also noticed this at my forum..Can we get it fixed please? And is there any way to disable akismet spam protection for admins?
Hello help me please..whenever i post anything in my forum it classifies it as spam even when it is not! Then i have to go to approve it! But it doesn't happen with other members!
so anyone??
@ulgaming:
The developer ported it to SMF as a 'gift'. I wouldn't expect speedy support. You might want to contact him directly.
Help me please :)
When I install 'aksimet spam protection' mode successfully (smf 1.1.3. is my smf version) I don't see entry 'Aksimet Configuration' under the forum admin menu when I logg in as admin. I use theme 'Black Ted' as a default theme for users and me, admin. But although i have no 'Aksimet Configuration' under the forum admin menu, I note that there, in the admin menu under the forum section (left side-menu) where 'Aksimet Configuration' should be placed, there is a larger space...like some missing text, but of course there is no text- just blank white space.
In attachment is 'Blact Thed's' theme Display.template.php file, original one.
Please see what you can do.
Recently, someone hacked/spamed my forum and I don't want to that happen again.
Tnx a lot :) :) :) :)
Works OK for me so far.
One thing, can i use the same API key for more than one forum ive installed this too?
Great stuff. I am using it on version 1.1.3 with success. One comment though, I am using a different language. So when I went to the "Askimet Configuration" link, the page had no text. I fixed it by copying the part between the "---- Begin Akismet Mod ----" tags in Modifications.english.php to my language file. Perhaps, for future users, you can also mention this in your description of the files to change for a theme.
Thanks again! Great stuff.
nvm problem solved, thanks
this is almost working for me.
no problem with speed but the topics which are deleted as spam still counts as post.
Anybody got this working with 1.1.4?
Also, Akismet was totally slowing down posting on my site. The solution seems to be simply uninstalling akismet and the re-applying the mod.
I reinstalled being certain to use the fixed package. Posting is still very slow.
I've installed the fixed Akismed mod and can not post any message:
Fatal error: Cannot redeclare class Akismet in /home/myenchan/public_html/forum/Sources/Akismet.class.php on line 55
uninstalling corrupts the database due to this error
Unknown column 't.spam' in 'where clause'
File: /home/myenchan/public_html/forum/Sources/MessageIndex.php
Line: 461
how can I fix that?
Found the Akismet function twice in Subs-Post - deleted one!
A new error pops up:
Column 'spam' specified twice
File: /home/myenchan/public_html/forum/Sources/Subs-Post.php
Line: 1599
..and here is line 1599:
SUBSTRING('$posterOptions[ip]', 1, 255), " . ($msgOptions['smileys_enabled'] ? '1' : '0') . ", '', " . ($spam == true ? '1' : '0') . ", " . ($spam == true ? '1' : '0') . ", SUBSTRING('$msgOptions[icon]', 1, 16))", __FILE__, __LINE__);
looks like there is something double as well - I can't sort that coz the syntax is too cryptic for me!
Help!
If the mod is doubled in one of your files that it edits the probability is that it is doubled in all of them...check each of the edited files and remove the duplications.
I am genuinely finished with that mess! :)
No more Akismet for me.
I'm not getting the Configuration link.
SMF 1.1.4
Standard theme
Akismet Spam Blocking verision 1.1.1
It installs OK. It's listed under installed packages. But no configuration link.
Thanks for your help.
Just so you guys know. I was installing some mods and Akismet Spam Filtering and vReportBoard mods conflict with each other. No amount of special editing will work around it. I had done some reversions to get it to try to go but the issue is with the sql query in one of the files. Specifically ./Sources/Display.php fails the test.
This is due to this edit:
<operation>
<search position="before">smileysEnabled, posterName, posterEmail,</search>
<add> spam,</add>
</operation>
<operation>
<search position="before"><![CDATA[
FROM {$db_prefix}messages
WHERE ID_MSG IN (" . implode(',', $messages) . ")
]]></search>
<add><![CDATA[{$spamclause}]]></add>
</operation>
I'll try to get it to work again sometime but it isn't a priority.
Quote from: Ol' Wombat on November 12, 2007, 03:24:38 PM
I've installed the fixed Akismed mod and can not post any message:
Fatal error: Cannot redeclare class Akismet in /home/myenchan/public_html/forum/Sources/Akismet.class.php on line 55
HI!
I have the same problem.
If you want you can test here (guest can write to this board):
http://darkwolf.altervista.org/forum/index.php?topic=5.0
How i can fix?
Thanks in advance, DarkWolf :)
-
Edit!
I have actually uninstalled ::)
-
Riedit: i have full uninstalled and reinstalled, now is ok (mark spam etc) but:
1) if i delete a spam post my database is corrupt
2) guest or "standard user" post is really slow (10 minute and+)
I love akismet with wordpress but... sorry IMHO this smf mod is unsafe and really bugged :(
Hi, great idea for a plugin you have here.
Do you have any plans to upgrade this for SMF2? I'm using the new version to moderate guest posts on my new forum (http://pixopoint.com/forum/), but would love to implement Akismet to avoid having to pour through hordes of spam just to find the real posts.
Hi,
As "Daniel15" wrote :
QuoteNote that this may differ depending on your theme. If in doubt, write a comment, and I'll see how to modify your theme.
I can confirm ;) on the theme I use Akismet don't run as I expected!
firstly I have to tell you :
I am a real news forum admin, I have no knowedge on PHP as development.
The only thing I do is copy and paste ;) And I think I do that well O:)
... if I know wahat and where to copy.
So.
I install SMF 1.1.4 then french patch.
Everything was OK.
"SMF" code check for an upgrade and propose to install the 1.1.5 patch.
Done.
No problem.
I set and use
Classic YaBB SE theme.
My forum is french reader/writer only.
I download Akismet, got a API key then install the Akismet MOD through the SMF // Admin // packet manager //Download // then Install - activate -or ssomething like that.
Install result wrote .. OK install successfully!
But, after that, I was not able to write new post.
I got error :
QuoteErreur de base de données: MySQL server has gone away
Fichier: /homepages/6/d179291000/htdocs/services/test/Sources/Subs-Post.php
Ligne: 1602
and the link to
Subs-Post.php (http://dnl.eisfi.net/outils/Subs-Post.php)
This file is the original one modified by the Akisment installation.
I check on this topic and can't found which file and what to edit ...
Please help.
So, ???
no more comment?
Is someboby still here ;)
Quote from: Frederic on May 17, 2008, 05:28:17 AM
So, ???
no more comment?
Is someboby still here ;)
Oh no!
This thread has not been updated since May 17!
Where is this mod admin?
Will this work on 1.1.5?
Quote from: Achillea on July 16, 2008, 11:53:16 AM
Will this work on 1.1.5?
Don't use it in 1.1.5
I've tried it before
Disastrous!
I have to uninstall them manually tracking back one by one...
Thanks for the warning, ssufian. Sounds like it's more trouble than the spammers themselves.
Quote from: Achillea on August 01, 2008, 04:55:16 PM
Thanks for the warning, ssufian. Sounds like it's more trouble than the spammers themselves.
Welcome...
I still hope the owner will come back or some other mod for Akismet created
Cannot use Akismet anymore.
Board version: 1.1.5
Akismet slows down posting so badly that we have had to remove it entirely. Tried uninstalling and reinstalling, with no luck.
Is there any other type of spam blocker that can be used for SMF?
I just installed this on 1.1.6 and it's working wonderfully, nothing's slowed down thus far, thanks for the mod!
Hi,
I am a little confused over something,
How does it know what is spam ??? , i mean is there a file with a bunch of words in and it checks those words to see if they exist and if so reports it as spam?
I dont understand that,
Mathew
Apparently it does it through Akismet, which is why you need a key to connect to their database, basically something like that, I am not sure how to explain.
Quote from: Kalina on October 28, 2008, 06:04:47 PM
Apparently it does it through Akismet, which is why you need a key to connect to their database, basically something like that, I am not sure how to explain.
mmmm, would be interesting to here from the author of this mod about this, i would like to see what words it refers as spam as it may mislead genuine posts sometimes, i wonder if i can view a list of words that it classes as spam
Mathew
Quote from: genieuk on October 28, 2008, 06:19:50 PM
mmmm, would be interesting to here from the author of this mod about this, i would like to see what words it refers as spam as it may mislead genuine posts sometimes, i wonder if i can view a list of words that it classes as spam
Mathew
Ok, well in the meantime here's some more information about how Akismet works. http://akismet.com/faq/
This mod has been great for stopping spam. I use the RSS feed and spam still shows in the feed. To fix this in 1.1.7 I edited /Sources/News.php, around line 186
Find
AND b.ID_BOARD != $modSettings[recycle_board]" : ''). '
AND m.ID_MSG >= ' . max(0, $modSettings['maxMsgID'] - 100 - $_GET['limit'] * 5);
and add
AND m.spam = 0
so that it looks like...
AND b.ID_BOARD != $modSettings[recycle_board]" : ''). '
AND m.spam = 0
AND m.ID_MSG >= ' . max(0, $modSettings['maxMsgID'] - 100 - $_GET['limit'] * 5);
'Recent Posts' also shows items that Akismet caught.
\Sources\Recent.php around line 282
Find
WHERE b.ID_BOARD = m.ID_BOARD
AND $query_this_board
ORDER BY m.ID_MSG DESC
LIMIT $_REQUEST[start], 10", __FILE__, __LINE__);
add
AND m.spam = 0
so it now looks like
WHERE b.ID_BOARD = m.ID_BOARD
AND $query_this_board
AND m.spam = 0
ORDER BY m.ID_MSG DESC
LIMIT $_REQUEST[start], 10", __FILE__, __LINE__);
Quote from: genieuk on October 28, 2008, 06:19:50 PMmmmm, would be interesting to here from the author of this mod about this, i would like to see what words it refers as spam as it may mislead genuine posts sometimes, i wonder if i can view a list of words that it classes as spam
The author of the mod wouldn't know. This mod is just an implementation of the Akismet spam service which was created my Matt Mullenweg. The mod does not actually check anything, it just acts as a bridge between Akismet and SMF. Matt has a blog at ma.tt (http://ma.tt/) (yes, that is indeed the URL!). There is no way he is going to tell you how it works though as that would allow the spammers a way to circumvent it. This is by far the most effective anti-spam service available and he won't want to risk damaging that reputation by releasing details of how it works.
Hey everybody. This Mod works great for me, catches everything. But... the forum still sends out notification emails, such as "new topic posted in...". Those go out to all the users that have notification turned on. Of course if they click the link it goes nowhere since this mod blocked the post from going up, but sometimes the subject lines of those emails contain some rather dirty language which has been a bit embarrassing for me to explain.
Is there a way to also block the instant email notifications if the post is marked as spam?
Also I am using 1.1.7, and the posting for legit items is a bit slow, about 30 seconds. Still better than having tons of spam tho
Thanks again for the great mod
Another suggestion for this mod... there is a bit of a delay after the user hits "post," but thats fine with me, but a new user might get impatient. how about a window that pops up saying something like "please wait while your post is verified" or something like that. just something so that they know it is thinking and not to hit the back button or anything
I installed this one manually on 1.1.7 It works in the way that it catches spam (that's what the control panel tells me) but while posting I receive a time out (as admin, user and guest) stating:
QuoteThe file http://gamequestions.efzeven.nl/index.php?action=post2;start=0;board=1 cannot be found. Please check the location and try again.
When I browse back and refresh, the post is written so it's mainly the redirect after the posting that causes the problem. Is this something familiar to anyone and better still, can this be easilly resolved?
Thanks for your time.
I'm on SMF 1.1.5 and Akismet_1-1-1_Fixed1 and I get a pretty long delay when posting. Any suggestions?
Ok, so I installed the mod and it seems to work but that "check" time delay is realllly annoying... any way around that ?
ie: Speed it up...
Edit: Also, any chance of adding a PM feature to this so whenever a post / reply is marked as SPAM it notifies the Admin(s) about it. I only ask this because I dont check my Admin section alot and if I get posts marked as SPAM by mistake I dont wana piss my users off by taking a while to get around to it.
The next two edits are the main biggies the other stuff could be ignored if one so wished... but I feel the below two "edits" should be looked at especially the first one "edit 2".
Edit 2: I just noticed something that kinda defeats the purpose of having this mod... it may hide / mark posts as SPAM but they still show up when you click the view un-read posts link. Anything that can be done about that ?
Edit 3: Something else just hit me as well as I just found soemthing...
1. Is there a way to condense how much of the post is shown in the Akismet admin panel. Reason I ask is usually within the first 10 lines of a post you can read it to see if its SPAM or not and with these really lengthy SPAM posts I've been getting it makes things bit of a ****** to read to see whats what.
2. I have guest posting enabled on a help board for my site and well thats where SPAM's showing up but that aside I'm getting the following errors in my sites error log that seem to show up whenever one of the guest SPAM posts are caught.
8: Undefined index: HTTP_REFERER
File: /home/eojmarke/public_html/Sources/Akismet.class.php
Line: 100
Might have to try and get this up in my RC1
I followed all the instructions and made all the page changes but it still isn't working. I am running SMF 1.1.5 and the Alien Nation theme. I have attached the files. I would appreciate any help on this.
Hello
This mod work in the curret stable version? And will work when 2.0 finally comes out?
There's a way to enable it only for unregistered (guest) users?
Thanks
guests are banned from posting on my forum.
How can I get this mod to work for registered users?
Does anybody know how to get this working?
Modification in
./Themes/default/Display.template.php
fails when try to apply mod in the latest stable release SMF 1.1.9
Can someone please help me with this? See reply #135
tried to install, i just get told :
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
on SMF 1.1.10 (upgrade install, then installed youtube bbcode, Create Topic on Report to Moderator, Seo 4 SMF)
The ad mod is failing on a test on display.template.php. I had it in there and had to rip it for the akismet/stop spammer problem. This is the same file so it should go in. What can I do?
I can't get Akismet to go back in. I reinstalled the same files and it doesn't work MessageIndex.php and Display.php are still acting like I got the stop spammer in there. Where does file SSI.php go?
My forum has one particular member (http://www.jmonkeyengine.com/forum/index.php?action=profile;u=5492) that seems to be recognized as a spammer every time he posts, even though I have repeatedly whitelisted his posts. Is there any way to whitelist his account? Every account that's ever had a post whitelisted, or even have more than say 50 posts, should be automatically whitelisted really.
will this mod get upgrade for smf 2.0??
Quote from: erlend_sh on November 12, 2009, 05:21:16 PM
My forum has one particular member (http://www.jmonkeyengine.com/forum/index.php?action=profile;u=5492) that seems to be recognized as a spammer every time he posts, even though I have repeatedly whitelisted his posts. Is there any way to whitelist his account?
Not within Akismet itself. You can report errors, but if someone is being blacklisted then it is probably for a reason so reporting it isn't going to work.
Quote from: erlend_sh on November 12, 2009, 05:21:16 PMEvery account that's ever had a post whitelisted, or even have more than say 50 posts, should be automatically whitelisted really.
Yeah, that would be a nice feature for the MOD to have.
It doesn't look like this thing is every going to be updated though unfortunately :(
Okay I have finally updated this mod. SMF 1.1 users need not upgrade, nothing changed for them.
It's SMF 2 support that's new, and is why this mod has entered beta status. I need some people to test this mod by making a spam post and then look for it wherever you see posts. Recent posts, unread replies, message index, etc. and report back where you found the spam post. This will really help in improvements, there are so many places to cover that I may have missed some of them.
Thanks guys
Will be installing the mod on my test forum which is on 2.0rc2.
However those with the user cp mod installed may find the following on install:
Add After ./Sources/Profile-View.php Test failed
I will be looking at this soon.
(is 5:40am)
EDIT: The aquired key needs to be placed in the akismet box under features & options > forum.
I used this as a plugin on my MyBB forum once. But, realizing the SMF just tops all other forum software right off, I decided to convert and lost that plugin! Thank monkeys for you! :] You rock!
does not work on 1.1.11
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/xxxxx/public_html/forum/Sources/Subs-Post.php on line 1833
// Increase spam count
$smcFunc['db_query']('', '
UPDATE {db_prefix}settings
SET value = value + 1
WHERE variable = {string:akismetCaughtSpam''}
array(
'akismetCaughtSpam' => 'akismetCaughtSpam', (line 1833)
Any ideas Live?
Hello stranger hows you?
Will have a look and let ya know.
Yeah good mate, nah nah, I just had a quick look through the package and will leave it for live to reply, so removed my post.
I might install it another time and go through it, but not right now. Im in the middle of building a new site, so busy busy busy lol
What you suggested didn't work.
:(
Read above post ~~
Quote from: Sabre™ on February 28, 2010, 06:55:55 PM
Read above post ~~
Already did bud.
Anyways I have a private test forum now so it doesn't matter if the bugs get it lol
Quote from: Brack1 on February 28, 2010, 06:01:13 PM
Quote from: giveaway365.com on February 28, 2010, 04:30:00 AM
does not work on 1.1.11
Can you please explain more.
The admin panel only showed me the version all other push buttons were blank.
Hi there! I'm having an issue with installation on 2.0 RC2. The issue is with the second step of the view-profile.php file.
FIND
FROM {db_prefix}draft_messages AS m' . ($user_info['query_see_board'] == '1=1' ? '' : ' INNER JOIN {db_prefix}boards AS b ON (b.id_board = m.id_board AND {query_see_board})') . ' WHERE m.id_member = {int:current_member}
ADD AFTER
AND m.spam = 0
Attached are my mods.
Quote from: Brack1 on February 28, 2010, 06:00:13 PM
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/xxxxx/public_html/forum/Sources/Subs-Post.php on line 1833
// Increase spam count
$smcFunc['db_query']('', '
UPDATE {db_prefix}settings
SET value = value + 1
WHERE variable = {string:akismetCaughtSpam''}
array(
'akismetCaughtSpam' => 'akismetCaughtSpam',
Any ideas Live?
WHERE variable = {string:akismetCaughtSpam''}
needs replaced with
WHERE variable = {string:akismetCaughtSpam}
(The quotes need removed)
So, this mod is completely broken against 1.1.11 (1.2-beta of course, 1.1-fixed is flagged as incompatible):
It installs fine, but I get the empty link, and going to the page directly, there's no text. So I went looking for the text, and ... it doesn't exist. The installer has no idea what any of the admin text is supposed to be. I think I can make it work as the 1.1-Fixed has all the text keys appropriately, but this is a pretty huge oversight packaging 1.2-beta.
Please fix this asap.
This mod is now dangereous
1.2 beta 2 has been released!
Fixed missing language strings for SMF 1.1.11
Fixed parse errors (one detected, bad query)
More areas where spam posts are hidden
Refined spam alert on topic view; looks nicer
added a show me this post link on said alert
Quote from: tanshin on March 01, 2010, 07:35:59 AM
Hi there! I'm having an issue with installation on 2.0 RC2. The issue is with the second step of the view-profile.php file.
FIND
FROM {db_prefix}draft_messages AS m' . ($user_info['query_see_board'] == '1=1' ? '' : ' INNER JOIN {db_prefix}boards AS b ON (b.id_board = m.id_board AND {query_see_board})') . ' WHERE m.id_member = {int:current_member}
ADD AFTER
AND m.spam = 0
Attached are my mods.
I'm still having this issue with b2
Oh thanks for pointing that out! I've changed that and re-uploaded the package
Looks like we're good and running!
I guess the only improvement that I can see would be some form of notification to admins that there are spam posts (perhaps an ! after the admin link)
That's a great idea! I'll include it in the next release
is this mod stable for smf 1.1.11?
last time it did not work a bit...
hi,
it seems like every reply from any ip gets this messeage -
Warning: Your post has been classified as spam, and will not be visible to the public until an administrator or moderator approves it.
and the weird thing is, that the post IS visible to the public, and all can see this msg...
i use smf2 rc2
Please add russian translation
in the displaytemplate.php of my default theme as well as the Underground theme i use I cannot find this line you mentioned:"<a href="', $message['href'], '">', $message['subject'], '</a>
</div>';"
There is no such line: Two lines close to this line are:
1"<td width="10%" valign="middle" align="right">
<span class="smalltext"><a href="', $message['href'], '">#', $message['counter'], '</a></span>';"
2.<div style="font-weight: bold;" id="subject_', $message['id'], '">
', $message['subject'], '
</div>
Please tell me what to do. Will be really grateful for the great help
Hmm... I was trying to use this mod, but the "Akismet Configuration" text doesn't appear in the Admin-zone... no matter what language I choose... english, english british, spanish... whatever... tried the 1.2b2 or so... (not the 1.11fixed which doesn't install)
Quote from: giveaway365.com on March 07, 2010, 12:15:24 PM
is this mod stable for smf 1.1.11?
last time it did not work a bit...
Yeah I tried just now and it doesn't work. Any updates on this?
Hello!
I get this error:
Undefined index: akismetCaughtSpam
Datei: /xxx/Themes/default/Akismet.template.php (main sub template - eval?)
Zeile: 67
Line: 67
global $txt, $modSettings, $scripturl, $context;
Any who knows how to solve it?
Nice Greetings
How is this mod with SMF2 RC3?
Quote from: aliweb on May 03, 2010, 11:47:28 AM
Quote from: giveaway365.com on March 07, 2010, 12:15:24 PM
is this mod stable for smf 1.1.11?
last time it did not work a bit...
Yeah I tried just now and it doesn't work. Any updates on this?
No go for me and 1.1.11 either ......
Would really love to get this mod working :(
Hello.
First of all, thank you for this very needed mod.
I have successfully installed it on SMF v1.1.111, but with some manual modifications.
The install11.php uses updateSettings() function, which doesn't work in SMF 1.1.111, that's why some people see warning messages at Akismet configuration page.
I had to add this:
db_query("
REPLACE INTO {$db_prefix}settings
(variable, value)
VALUES (SUBSTRING('akismetCaughtSpam', 1, 255), SUBSTRING('0', 1, 65534)), (SUBSTRING('akismetAPIKey', 1, 255), SUBSTRING('', 1, 65534))", __FILE__, __LINE__);
Then, these two lines work only on MySQL5 and newer:
$request = db_query("SHOW COLUMNS FROM {$db_prefix}messages WHERE Field = 'spam'", __FILE__, __LINE__);
$request = db_query("SHOW COLUMNS FROM {$db_prefix}topics WHERE Field = 'spam'", __FILE__, __LINE__);
I had to replace them with these, they work with any mysql version:
$request = db_query("SHOW COLUMNS FROM {$db_prefix}messages LIKE 'spam'", __FILE__, __LINE__);
$request = db_query("SHOW COLUMNS FROM {$db_prefix}topics LIKE 'spam'", __FILE__, __LINE__);
Just in case I've attached fixed install11.php
Now, how is the new version coming? any updates on when we will see it? Will it include moderators support?
Thank you.
Thanks for the code! I hope it will help people who r on 1.1.11
I have shifted to RC3 from April 2010.
Thanks for the info V@no
Sorry to be such a dimwit, but would it be possible for you to clarify where you added the lines:
db_query("
REPLACE INTO {$db_prefix}settings
(variable, value)
VALUES (SUBSTRING('akismetCaughtSpam', 1, 255), SUBSTRING('0', 1, 65534)), (SUBSTRING('akismetAPIKey', 1, 255), SUBSTRING('', 1, 65534))", __FILE__, __LINE__);
Did you just put that in the install11.php file ? Did you have to remove anything else, re the updateSetting()function?
Thanks for the help!
I've attached modified instal11.php to my original reply (http://www.simplemachines.org/community/index.php?topic=138076.msg2653601#msg2653601).
Perfect! Thanks V@ano ... I now have Akismet working on our forum :)
Appreciate the help ...
And much thanks to the creators of the mod!!!
Quote from: Spuds on August 02, 2010, 09:07:25 AM
I don't know if this mod is still being worked on or not ....
Downloaded the 1.2b2 version and installed it on RC3, it installed fine so that's the good news. The issues I noticed are all around the admin functions, and specifically caused by the Admin-Akismet.template which appears to be either the wrong file or just half baked.
For example the template_info function has vars such as $txt['DreamShop_latest_news'] etc not that its matters since that template is never called, the admin function tries to call show_settings instead which shows but there are problems with saving or getting help on that screen. Also the viewSpam template has the title of $txt['showAttachments'] which is not correct ... etc So to me it looks like the wrong file got included into the zip distribution
I'm having trouble installing Akismet on RC3 too. It installed but when I click Akismet sub menu (API key can be entered but the other link does not work), an error is shown instead. Are there any quick fixes for it or do I have to wait till final SMF 2 release for Akismet?
I completely forgot the template was half wrong lol
But to answer your question, afraid you'll have to wait
Waiting is not a problem, after all this is free mod so you are not really under any obligation. Just an assurance that you're working on it is enough :=)
Thanks.
Is it possible for flagged spam to not show up in RSS? I have other sites that get feeds from my SMF forum, and I have to manually delete the spam feeds.
(I like Askimet and appreciate your making it possible to incorporate it into SMF.)
it says if you have 25,000 pages views you need to get a paid version?
What will happened if i use the free one on a site that has more than 50k pageviews.
Without making a backup immediately before I did so (foolish, I know), I installed Akismket 111-FIXED1 on SMF 1.1.12 with the Flagrant theme (by Crip) and Pretty URLs. No other packages. I do have a day-old back up of the forum which I would rather not go back to.
I got no errors during the install of Akismet. I got a success message.
Right after that, users reported this error:
Fatal error: Cannot redeclare class Akismet
in /home/gatordav/public_html/forum_sm/Sources/Akismet.class.php on line 55
I unstalled Akismet. After that, when I attempted to access any forum, I got a generic message saying that there was a database problem (not just the PHP problem reported above).
I ran the standard MYSQL checks and fixes against the database tables. No errors were reported.
I thought that I might be able to help things (famous last words) by unstalling SMF 1.1.12, then reinstalling it. I did so. That did not help, but now I have what seems like a better error message:
Unknown column 't.spam' in 'where clause'
File: /home/gatordav/public_html/forum_sm/Sources/MessageIndex.php
Line: 473
Note: It appears that your database may require an upgrade. Your forum's files are currently at version
SMF 1.1.12, while your database is at version 1.1.11. The above error might possibly go away if you
execute the latest version of upgrade.php.
Unfortunately I do not see upgrade.php anywhere on my forum -- which for all I know is a good thing since I don't want someone else running this file. But I am stuck at this point.
Suggestions?
Thanks, Spud. I uninstalled my one remaining mod (Pretty URLs), then I replaced the three PHP files that were identified in the forum error messages (Display.php, MessageIndex.php, Subs-Post.php) with SMF 1.1.12 originals. Then I reinstalled Pretty URLs. I see that I still have some Akismet files, which I will go bakc and delete at some point.
I might wait a while before I try the Akismet mod for SMF 1.x. I might wait for SMF 2.x
Thanks, again.
Using SMF 1.1.12. I downloaded this mod from the Package Manager "Browse" list and it shows on the downloaded list like this:
Modification Packages
Mod Name Version
1. Akismet Spam Blocking 1.2 Beta 2
Clicking on the "Apply Mod" I get this:
Install Actions
Installations actions for "Akismet Spam Blocking":
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/Subs-Post.php Test successful
3. Execute Modification ./Sources/Post.php Test successful
4. Execute Modification ./Sources/Subs.php Test successful
5. Execute Modification ./Sources/Display.php Test successful
6. Execute Modification ./Sources/Recent.php Test successful
7. Execute Modification ./SSI.php Test successful
8. Execute Modification ./Sources/MessageIndex.php Test successful
9. Execute Modification ./Sources/Profile.php Test successful
10. Execute Modification ./Themes/default/index.template.php Test successful
11. Execute Modification ./Themes/default/Display.template.php Test successful
12. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
13. Execute Code install11.php
14. Extract File ./Sources/Akismet.php
15. Extract File ./Sources/Akismet.class.php
16. Extract File ./Themes/default/Akismet.template.php
Clicking on "Install Now" I get this:
Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE Field = 'spam'' at line 1
File: D:\inetpub\trainnet\forum\Packages\temp\install11.php
Line: 12
Not being a programmer, I have no idea what this means or how to fix it. Help!!!
Dorr
Mod looks interesting
Well you didn't say that we had to pay for the API key. and can't you do some thing good that doesn't cost us money.
See I just installed it to find out I had to uninstall it.
I am getting this issue once its activated:
8: Undefined index: akismetCaughtSpam
File: /home/snforums/public_html/Themes/default/Akismet.template.php (main sub template - eval?)
Line: 67
This is on the Akismet Configuration below the "Save API Key" button.
Any ideas?! It appears to be working but I cant see which posts its flagged.
No one? I really need to be able to view the posts that got flagged.
Thanks
I installed this and everything seemed to go fine. But it isn't showing up in my Admin area. Not in the current theme, or the default theme.
Well, this mod looked promising but is blocking too many legimate posts so I have to uninstall it.
- It's blocking posts where people hotlink to a few images.
- It's blocking posts when people link to news websites such as dailyrecord.co.uk
So what I strongly suggest is for you to allow the admin to choose what member groups have this check so it only applies to guests and new users.
Quote from: Spuds on December 10, 2010, 11:04:41 AM
Basically the mod did NOT uninstall properly or completely so you will need to go in to each file and manually remove it, yes a pain but that is what you need to do (unless of course this was the only mod you had). You can go to the mod page and select your forum version and parse .. use that as a guide for all the changes you will need to back out.
QuoteFatal error: Cannot redeclare class Akismet
in /home/gatordav/public_html/forum_sm/Sources/Akismet.class.php on line 55
This means the same block of code is in there twice, generally caused by an incomplete uninstall followed by a reinstall
QuoteUnknown column 't.spam' in 'where clause'
File: /home/gatordav/public_html/forum_sm/Sources/MessageIndex.php
Line: 473
The main SMF database is fine, this error is because the MessageIndex.php still has some Akismet code in it but the database entries for the mod are no longer there.
I have a similar issue but i got loads of mods installed
Please can you help me resolve this issue
Thanks
anyone ?
Sorry if someone already mentioned it, I may have missed it, but is this mod SMF 2.0 Gold compatible?
Beta three released. Only topics get checked since there's no hook available for replies. No edits made, hooks only.
installed but cant find admin panel
Ditto.
SMF 2.0 with default or 'essence' theme.
Akismet Spam Blocking 1.2 beta 3
Pretty URL's 1.0 RC5.1
Youtube BBCode 2.6
I've tried removing the other packages, the akismet configuration options don't appear to show up anywhere, I've searched and searched, they aren't under the forum configuration, or in any of the drop down menu's as described, or anywhere else.
Same here. Not finding the admin configuration
SMF 2
Akismet Spam Protection 1.2 Beta 3
he wrong file was being called, one that never existed in fact. I fixed that. That silly error caused the mod to not do a thing.
Many thanks for the update, just one small problem still -
Parse error: syntax error, unexpected '!', expecting T_STRING or T_VARIABLE or '$' in *************/htdocs/forum/Sources/Subs-Akismet.php on line 12
this new build hosed my entire forum.
if (empty($_REQUEST['action']) && !empty($board) && empty(!$topic))
should be
if (empty($_REQUEST['action']) && !empty($board) && !empty($topic))
I assume. seems to return the forum to life, and add the menu options anyway.
The config options are under
Configuration --> Modification Settings ->Akismet Spam Blocking.
And not under the forum section where the current download page for the mod states.
I've added an API key, but now posting the test 'akismet-test-123' topic it hasn't been removed as spam
QuoteI've added an API key, but now posting the test 'akismet-test-123' topic it hasn't been removed as spam
The mod relies on post modeeration to be enabled. It should mark spam unapproved. I'll update the mod page with this info in a bit.
I tried installing 1.2 b3 on SMF 2.0 and after the install completed the forum didn't load any more. I had to delete the setting entries it added to the db for the site to load again.
Any clue what could be wrong?
yes, read my previous post in this thread, 2 above you, I'm guessing you had the same error?
I added an akismet wordpress api key to the settings.
I enabled post moderation under core features and saved the settings.
I posted the akismet test from a regular user test account.
I still can't find any sign of the akismet mod doing anything :/
thanks Yakumo that stupid ! was the problem. I didn't get any error at all so I skipped your post since you at least got an error.
I fixed that. Some calls were not done correctly.
did you happen to fix this error just now?
Field 'spam' doesn't have a default value
File: C:\vhosts\forum\Sources\Subs-Post.php
Line: 1859
I got that when i tried posting a new thread
Do you have beta 2? Because b3 does not edit any file.
i just downloaded the b3 that was updated a few hours or so ago.
Can you execute the following query in phpMyAdmin?
ALTER TABLE `smf_dev_topics` CHANGE `spam` `spam` TINYINT( 1 ) NOT NULL DEFAULT '0'
Well there is one problem for me for a start.
There is no smf_dev_topics table at all :/
Try smf_topics
in smf_topics it already was tinyint(1) but I ran the query anyway.
ALTER TABLE `smf_topics` CHANGE `spam` `spam` TINYINT( 1 ) NOT NULL DEFAULT '0'
performed with no errors.
the akismit test still has no effect, nothing is triggered in the moderation log, everyone can see the post.
Using 1.2 b2 on SMF 2.0. From what I can tell this mod is doing nothing. Moderation is enabled.
It installed OK on the default theme and under configuration/modification settings there is a link with no name that leads to a settings panel that has no text or descriptions (but does have Akismet mentioned in the url). And only a field where you can enter your Akismet number.
When I first installed the mod I though I actually had a config page with more info, but even then the mod never seemed to stop the test posts. Would be nice to get this working.
An update to my issue. I re-uploaded the full install of SMF2, overwriting the core files (leaving the DB alone of course). Then I re-activated all plugins one by one. The Akismet config settings returned under Configuration/Modification Settings/Askimet Spam Blocking.
I can the the test post and have it goes to moderation. The "viagra-test-123" post does not get stopped however. Though I was not logged in as a guest so maybe that one is not supposed to work.
Anyone's I'm not sure why it stopped working before, but presumably it's working now. If it does this is a great asset to the SMF mods.
Is there any way to check stats?
Quote from: Babadinho on July 18, 2011, 08:26:27 PM
installed but cant find admin panel
Likewise. Just installed on 2.0.1 and there's no sign of the Admin panel... not even a blank one!!! :(
EDIT: Found it. The Key is entered under "Modification Settings"
im getting abut 50 errors from few hours usage from 1 or 2 users on my forum, i think they are related to akismet
QuoteApply Filter: Only show the error messages of this URL
http://www.domain.net/index.php?pretty;board=chit-chat.0&action=post2;start=0
Apply Filter: Only show the errors with the same message
8: Undefined variable: topicOptions
Apply Filter: Only show the errors from this file
File: /home/domain/public_html/Sources/Subs-Akismet.php
Line: 67
can anyone help?
Sorry if it's repost... but I didn't find nothing about...
I've installed and tested Askimet, and it's blocking correctly...
The issue is when one of the admins tries to Approve the blocked post by clicking in the Approve button on de first post of the topic... the system goes to Moderation Panel... and nothing happens...
I've tried to change in the flag directly on data-base too... but the post don't want to be approved! lol....
somebody to help me?
Fernando
When trying to apply mod I just get a blank page.
SMF 1.1.15 and 1.2 Beta 3
I'm trying to help a friend with the constant spam on his forum so I don't know anything about the overall setup of the forum but it looks to be completely stock so there should be no theme changes.
Everyone, please read!I got interested in the mod (it was either find a mod or write it myself), and I noticed the exact same issue as described below. To fix this issue, it's a rather simple fix:
Open the file
/Sources/Subs-Akismet.phpGo to rule 65 (Control + F to search, then search for "topicOptions")
Replace
"topicOptions" with
"topic_options". I don't know why the author used "topicOptions", as this variable doesn't exist anywhere, the variable "topic_options" however does exist inside that function. Guess it's a typo.
Quote from: snadge on November 25, 2011, 04:45:32 PM
im getting abut 50 errors from few hours usage from 1 or 2 users on my forum, i think they are related to akismet
QuoteApply Filter: Only show the error messages of this URL
/index.php?pretty;board=chit-chat.0&action=post2;start=0
Apply Filter: Only show the errors with the same message
8: Undefined variable: topicOptions
Apply Filter: Only show the errors from this file
File: /home/domain/public_html/Sources/Subs-Akismet.php
Line: 67
can anyone help?
Hmm I don't know if this mod is still being worked on or not ....
Hi all,
Mods installed on a fresh 2.0.2 SMF --> rss feeder and Akismet spam protection
This mod doesn't work with rss feeder mod.
--> Fatal error: Cannot redeclare class Akismet in ../Sources/Akismet.class.php on line 54 --> Flood protection?
Is there any way I can white list a user or IP number so that rss feeder is not checked by akismet?
Thanks for any help! :)
Having a problem, i cant seem to get this working :\ i enter my API key which i bought and all i get nothing. When i click save, the page basicly refreshes.
Can anyone help?
Thanks
Marc
Two issues I have with this mod: [note I'm running SMF 2.0.2 which is the most recent version]
1) I can't approve messages at all. Someone posted a message that was wrongfully flagged as spam. I click approve and I land in the admin area but nothing happens and the post remains flagged.
2) Non-admins/mods shouldn't see messages flagged as spam. These should only be visible to people who can approve them [and possibly the original poster but that's optional] until they get deleted or approved
Admin > Core Features > make sure Post Moderation is turned on, sounds like it isn't.
Quote from: Arantor on May 08, 2012, 09:06:22 AM
Admin > Core Features > make sure Post Moderation is turned on, sounds like it isn't.
Fantastic, that actually seems to have solved both of my complaints. It must be off by default -- I'd
HIGHLY recommend you put this note somewhere in the docs or on the mod's page.
Thanks for the help
I have no power to change that ;)
Greetings all, has anyone installed this on 2.0.2 successfull and it runs stable no log errors or general errors? If so, please share how you did so?
William
William,
Have you got error logging turned on?
Quote from: Armada on December 23, 2012, 03:58:46 PM
William,
Have you got error logging turned on?
Hello Armada, Yes I have error logging turned on. Is this a bad thing? Sorry I am learning SMF slowly--but surely. I have a silly question, isn't the error a real error though it seems to work but logs that one?
Thanks and Happy Holidays!
William
Have you enabled the mod then?
Quote from: Armada on December 24, 2012, 10:14:53 AM
Have you enabled the mod then?
Oh Yes, when it was installed Yes went to the settings and made usre all was set up with the codes and all from akisimet and was enabled.
William
William,
It sound like you've done it all correct.
What errors are you seeing then?
Hi, I've just bought an API key,and installed the MOD "Akismet Spam Protection 1.2 Beta 3"
As I install it I've got a panel in wich I can insert the key, but nothing seems to happen.
Then I try to write a new topic with the subject of 'akismet-test-123', and it is classified as spam. Same thing if I open a topic with a user named viagra-test-123.
But that's all... if I open, for example, a topic with a user named Drizchooc that has a mail like
[email protected], and with object "How to gain more" it goes in the forum like a normal post. Same thing with every spam-like post from improbable users.
I ask to Akismet support, but tehy answer me that probably my forum is not able to talk to the Akismet servers (but the tests seems to tell the opposite) and, as they do not write that plugin I have to contact the author of that mod and request his help.
This is the only MOD I've installed. Forum has SMF 2.0.3 Update. Layout "Core Theme"
Can you help me?
Thanks.
for some reason I can't find the askimet config menu.
SMF 2.0.3
Askimet 1.2 Beta 3
It's under:
Admin > Modification Settings > Akismet Spam Blocking (the only 'option' is the API key for Akismet).
Same here, SMF 2.0.4 and Akismet Spam Blocking 1.2 Beta 3
'akismet-test-123', it is NOT classified as spam.
Can sombody helps me please?
We've been using Akismet successfully for a few months now, all of a sudden we are getting error messages in the logs of:
Quote
8: Undefined index: akismet_cant_connect File: forum/Sources/Akismet.class.php
Line: 371
And
8: Undefined index: akismet_cant_connect
8: Undefined variable: topic
Line 80
Any ideas at all please? Could it be a firewall issue as we've also had issues with our emails today (which appears to be firwall related)
Thanks in advance,
Armada
I installed
http://mods.simplemachines.org/index.php?mod=544
akismet_1_2.zip
into my SMF 2.0.5 forum. It installed with no errors, but there were no additions to the Adminsitration center, in particular, nothing under "Forum" which is where the instructions said it would be.
Is this a known issue? Is this something I can correct on my own?
Quote from: BFS010 on September 29, 2013, 10:52:14 PM
I installed
http://mods.simplemachines.org/index.php?mod=544
akismet_1_2.zip
into my SMF 2.0.5 forum. It installed with no errors, but there were no additions to the Adminsitration center, in particular, nothing under "Forum" which is where the instructions said it would be.
Is this a known issue? Is this something I can correct on my own?
I solved it by typing "Akismet" in the search bar of the admin panel and it sent me to where you can add the API key. It's not a solution to to the issue but it's a workaround.
I'm using SMF 2.0.6 and there is no "'Akismet Configuration'" or similar under "forum" in the admin panel.
I think this mod is causing this annoying bug...
http://www.simplemachines.org/community/index.php?topic=514593.0
I would like to echo last reply... As admin my posts are often not displayed - need to approve my own posts.
i hsve install this Plugin (ksimet) no sucsess,
http://Forumgosip.com/
QuoteI think this mod is causing this annoying bug...
http://www.simplemachines.org/community/index.php?topic=514593.0
Since uninstalling this mod I do not have any problems with my own posts (by Admin) set to unapproved anymore.
Hi,
I was using Askimet (last version) and suddenly my foruns (there's 2) became almost impossible to create topics...
By clicking in "Send" button to create the topic, the browser can't get the response from server until the default browser timeout... the toppic is created, not showing the next step to user, making the user go back and try to create it again clicking in "Send" button again...
Disabling Akismet MOD (removing the API key) the problem was solve...
There's anyone with this problem too? Or is an know error?
Please help-me! Akismet was blocking almost spams in my foruns...
Thanks!!
Yes - We've had the same problem.
You post a new topic, and it hangs there for 2 minutes 30 seconds before you see your own post. It's taken me a few days to narrow down the problem to the Akismet mod. :-\
It only started happening since last week.
I have the Akismet Spam Blocking 1.2 Beta 3
You can temporarily stop the problem with the Akismet mod just by removing the Akismet key (of course this means that the Antispam mo doesn't work either).
I wonder if Akismet have changed something?
fernandozap,
What version are/were you running of the mod?
1.2 Beta 3 too... it seems to be the last one...
fernandozap
Thanks for the reply :) Lets hope we may be get some help on this one or perhaps figure it out ourselves if we have to.
Do have the exact date that you noticed a problem with this?
I'm guessing that there has been a change in the way that the akismet service/site communicates with APIs. If we can figure out the date then we may be able to go to them and ask them what changes they have made (if they have), and then it might give us some clues to be able to fix it.
The other possibility is that a package update on one of our own servers was updated which has in some way broken this. There were a load of updates around about Sept 25th on our server
/var/log/yum.log
Sep 25 Updated:
bash-3.2-33.el5.1.x86_64
php-common
mysql-libs
mysql
php-cli
php-pdo
php-mysql
php-devel
php
mysql-server
php-pspell
php-gd
php-dba
php-bcmath
php-mbstring
php-soap
php-xml
mysql-libs
mysql-devel
php-common
mysql-devel
Hello
Sorry for digging up this but the issue is still going on.
Mod version 1.2 (supposedly the version updated on September 19, 2015)
SMF v2.0.11
Posting new topics works but takes 2m30s.
You can interrupt the page after clicking the submit button before the 2m30s and the topic will still be posted.
The test topic (with akismet-test-123 as subject) is immediately caught.
Posting new replies works fine.
Hope this is fixed one day, Akismet is a good anti-spam...
Florent
It doesn't look like it was really updated.
If you look at the zip file, the most recent file in there is the package-info.xml file dated 15 June 2013.
It doesn't look good that the mod author username of "Runic" no longer exists here on the Simple Machines Forum http://www.simplemachines.org/community/index.php?action=profile;u=23577
Also, Daniel is no longer working on it either (form an email I got from him in 2014).
It looks like it's been abandoned.
If we can figure out *when* it broke for people (or even determine has it broken for *everybody*) then perhaps betwen us we can piece together what might be wrong with it.
My initial thinking is it's something to do with the 'strictness' of php after an update, or a difference in how akismet handles requests. Heck it cold be someting to do with SSL certificates or something like that. I don't know :P If we could find a date for when it seemed to break then we could:
a) Look to see if there was a new php update around that time
b) Look to see if akismet changed it's api around that time
It's probably the Akismet.class.php that need a good looking at, and compare it to the 'comment check' method in Akismet: http://akismet.com/development/api/#comment-check
Runic is still around -- he just left for a bit and came back with a different account.
From the first post, you can tell that the current "owner" of the mod is vbgamer.
Cool, what's Runic's new username on here?
Vbgamer doesn't seem to be responding to *any* of these posts? Not even once.
Is there any chance you could ask them nicely to look into this please?
It does seem to be an abandoned mod at the moment.
I am sorry I have very limited time at the moment.
I have mix feelings supporting it since it seems to be paid service with a free tier.
Thanks for replying - it's your very first reply to this mod topic :) :) Yeah! .
(As far as the Akismet service they have to pay for the servers somehow, ans they do offer a free tier anyhow).
If you could have a little look then that would be great. Please. (be our hero).
I know that Akismet moved over to SSL/HTTPS with their API at some point - I'm wondering if it could just be that.
http://wptavern.com/akismet-improves-user-privacy-by-encrypting-api-calls
Try this updated file. Updated the class used untested
Thank you for taking the time to try that.
I just tried it, but just got a white screen when posting a new topic.
hey all...I'm having trouble with akismet....here is the error I'm getting
PHP Fatal error: Call to undefined method Akismet::setAuthor() in /home/chrisbar/public_html/forums/Sources/Subs-Akismet.php on line 62
and this is line 62...
$akismet->setAuthor($poster_options['name']);
I don't see the error...I hope someone can help
Thanks
Chris
What PHP version are you running?
php version is 5.6...can change to lower or higher
Chris
Is this mod ok and up to date?
Thanks.
Not sure I haven't tested it.
It seems marked compatible? not true so?
What's the result in antispam protection with smf? (registration?)
How so? I haven't tested.
QuoteCompatible with:2.0.5, 2.0.6, 2.0.7, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15QuoteWhy indicated on the mod page if not tested? (because the install can at less pass?)
Yes
Installed. It provides no configuration option in Admin to enter the Akismet key.
Update. The location is:
Administration Center »
Modification Settings »
Akismet Spam Blocking
and not "Forums" as described in the description.
I installed this at the end of Feb 2020 and it seemed to work well and was able to enter the key.
However I can also echo that I'm getting an error on creating a new topic in new board: "Call to undefined method Akismet::setAuthor()"
I can create new topics in boards that existed prior the installation of Akismet.
PHP version is 7.3.11
Update:
3.0 Fixed new class names in Akismet.
Give it a try now.
That worked like a dream. Thank you for such quick action!
Hi,
Just installed version 3.0. My akismet-test-123 message is marked spam, however if I try to approve it by clicking the approve link, it only takes me to the moderation center where I don't see anything related to akismet. The message is not approved.
Do others see this as well?
Thanks
Björn
Nevermind. Seems the message moderation in the basic settings needs to be turned on :)
Thanks will add that note!
Just an FYI... all posts started requiring moderation at some point yesterday, including Admin posts. When I removed the API code, posts started working correctly.
SMF 2.0.17, with only Akismet and Ad management mods installed.
I'm having the account owner check to see if the Akismet account got rati'd.
Are there any plans to support this in SMF 2.1?
Maybe for final.