How to increase submit speed from 45s to a fraction while keeping Akismet anti-spam

Register an Account
Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 11-27-2008, 05:41 AM
New Pligger
 
Join Date: Nov 2008
Posts: 1
Quote:
Originally Posted by davy68 View Post
Using pligg (currently version 9.9.0) on Bligg - burgerjournalistiek - artikelen delen en beoordelen we suffered, like many of you, some severe spam attacks.
Luckily, Ashdigg came with the Akismet anti-spam module to the rescue.
Problem was, however, that submitting a story became very lengthy. We sometimes had to wait more than a minute after pushing the submit button. Disabling the module turned out to be one solution.

We found a better one:

On line 141 of modules/akismet/libs/akismet.class.php:
Code:
strToUpper($type)." /{$this-  >akismetVersion}/$path HTTP/1.1\r\n" .
replace this with
Code:
strToUpper($type)." /{$this-  >akismetVersion}/$path HTTP/1.0\r\n"
and that's it. How one character can make a world of difference.

It was tested on Bligg - burgerjournalistiek - artikelen delen en beoordelen and allowed us to keep the akismet module enabled.

In the hope that this can help others having similar problems. Our 2cents as thank you for developping pligg in the first place.
If found helpful, please include by default in the next version of pligg.
hey there

just checked your site.. its very good but just want to ask you about adsense. i saw that you have got adsense on a few pages on your site, i dont want the exact figures but roughly how much traffic do you get on your site monthly and do you get more then avg from adsense? will really appreciate your answer on this. thanks
Reply With Quote
  #22 (permalink)  
Old 11-27-2008, 07:20 AM
Pligg Donor
 
Join Date: Jul 2007
Posts: 286
Would it work with 9.6?
Reply With Quote
  #23 (permalink)  
Old 01-17-2009, 11:02 AM
Fuggled's Avatar
New Pligger
Pligg Version: 9.9.5
Pligg Template: Darkwater
 
Join Date: Jan 2009
Location: UK
Posts: 28
I just a get a parse error

Parse error: syntax error, unexpected '-', expecting '}' in /home/Pligg/modules/akismet/libs/akismet.class.php on line 141

Using Pligg 9.9.5

Help quick! no-one can submit anything!
Reply With Quote
  #24 (permalink)  
Old 01-22-2009, 06:57 PM
New Pligger
 
Join Date: Jan 2009
Posts: 7
Quote:
Originally Posted by Fuggled View Post
I just a get a parse error

Parse error: syntax error, unexpected '-', expecting '}' in /home/Pligg/modules/akismet/libs/akismet.class.php on line 141

Using Pligg 9.9.5

Help quick! no-one can submit anything!
same here. I get a parsing error
Reply With Quote
  #25 (permalink)  
Old 01-24-2009, 08:06 AM
wnw's Avatar
wnw wnw is offline
Casual Pligger
Pligg Version: 9.9.5
Pligg Template: Wnw
 
Join Date: Dec 2007
Posts: 55
Thanks.,....this is indeed a best solution any one can get..
Reply With Quote
  #26 (permalink)  
Old 01-30-2009, 12:13 PM
New Pligger
 
Join Date: Jan 2009
Posts: 3
Worked like a charm, thanks a million.
Reply With Quote
  #27 (permalink)  
Old 03-06-2009, 09:52 AM
New Pligger
Pligg Version: 9.9.0
Pligg Template: pliggedbluemod
 
Join Date: Feb 2009
Location: Germany
Posts: 1
Thanks a lot!
Reply With Quote
Reply

Thread Tools
Display Modes




Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development