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

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 03-21-2008, 06:45 PM
VLJ VLJ is offline
Pligg Donor
Pligg Version: beta 9.8.2
Pligg Template: modified yget
 
Join Date: Feb 2007
Posts: 60
Quote:
Originally Posted by fhelik View Post
changing this does not affect the way Akismet works?

because on line 192 it says "var $akismetVersion = '1.1';" I don't know if this interferes with the change you made
Not sure if it has some low level effect on checking submissions with Akismet... But I made the change and it still picked up a potential spam after the change.

I'd love to hear from anyone who can confirm if there is some egative side effect of this change...
Reply With Quote
  #12 (permalink)  
Old 03-24-2008, 06:21 AM
New Pligger
 
Join Date: Mar 2008
Posts: 1
People ... do you even think what you are doing with this change. That efectively disables akismet checks in reality
Reply With Quote
  #13 (permalink)  
Old 04-24-2008, 02:16 AM
Casual Pligger
Pligg Version: 9.9
 
Join Date: Apr 2008
Posts: 39
Thank you! The page would time out on my shared hosting, couldn't even post a story with Akismet on.

What does this change actually do though?
Reply With Quote
  #14 (permalink)  
Old 04-30-2008, 11:44 AM
dojo's Avatar
New Pligger
 
Join Date: Mar 2008
Posts: 2
Was getting a parse error .. something like missing '-' in one line.

I'll try this in some hours again at home and report the entire error, maybe I'm doing something wrong
Reply With Quote
  #15 (permalink)  
Old 05-06-2008, 05:37 AM
New Pligger
Pligg Version: .99
 
Join Date: Apr 2008
Posts: 3
Quote:
Originally Posted by davy68 View Post
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.
Something to clarify. Is the . missing at the end?

replace with
Code:
strToUpper($type)." /{$this-  >akismetVersion}/$path HTTP/1.0\r\n"
or
Code:
strToUpper($type)." /{$this-  >akismetVersion}/$path HTTP/1.0\r\n" .
Reply With Quote
  #16 (permalink)  
Old 07-07-2008, 01:52 AM
davemackey's Avatar
Pligg Donor
Pligg Version: 9.9.
Pligg Template: siChunkBlue
 
Join Date: Aug 2007
Location: Langhorne, PA
Posts: 226
I did some research based on zeridon's feedback. I don't think changing to 1.0 causes a problem - look at:
PHP5 Akismet | Aching Brain
#{DefV}'s rant - Akismet Problems?
I've added the code change to my module. Eventually it'd be nice to see the library that is utilized by this module updated as well. There is now a PEAR module that is quite stable:
PEAR :: Package :: Services_Akismet
David.
Reply With Quote
  #17 (permalink)  
Old 08-11-2008, 05:10 AM
New Pligger
 
Join Date: Aug 2008
Posts: 1
It's not working on Pligg Beta 9.9.5.

Once I clicked on submit story, the page become empty and under News Management, the status show as "Discard".

Pls help. Thanks.


Regards,
Welcome to Haapii | / Published News
Reply With Quote
  #18 (permalink)  
Old 08-16-2008, 07:52 PM
New Pligger
Pligg Version: 9.8.2
Pligg Template: Blue-Eye
 
Join Date: Dec 2007
Posts: 2
Woking very fast ... from 20-30s to <1s ... INSTANT CLICK !!!
10x !
Reply With Quote
  #19 (permalink)  
Old 09-29-2008, 11:30 AM
New Pligger
 
Join Date: Aug 2007
Posts: 3
A great Tip, when will it get into the released source? It did work for my pligg too.
Reply With Quote
  #20 (permalink)  
Old 10-04-2008, 01:37 PM
ArturOzimek's Avatar
Casual Pligger/Coder
 
Join Date: Jul 2008
Posts: 38
great job! pligg add new stories at once.
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