Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #11  
Old 01-24-2008, 05:25 PM
joerg Offline
forum loafer
 
Join Date: Jan 2008
Posts: 5
Smile

D'OH!!! Thanks a lot!

1) Yes I gave up.
2) I used only defensio.
3) That's it. I turned defensio off and captcha on again and it works now.

It even works without the modifications dwilkinsjr suggested, but thanks anyway.
__________________
my pp-blog
Reply With Quote
  #12  
Old 01-24-2008, 05:40 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
My modifications consisted of variable and code cleanup that produced header and sessions warnings. On my local instal, the CAPTCHA image would not display due to these warnings.

I'm glad it works on your blog unmodified but if you want clean code, you will apply my modifications anyway.

And it's funny, I too was going to suggest to turn off all other spam defenses but the CAPTCHA continued to work even with Akismet / Defensio turned on. Go figure
Reply With Quote
  #13  
Old 01-24-2008, 08:04 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Dave, I guess both Addons rely to the same workspace, don't they? (comment_accepted). So it depends on the order in which the Addons are called which is almost random.
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #14  
Old 01-24-2008, 10:25 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
True, I didn't think of that.
Reply With Quote
  #15  
Old 01-25-2008, 07:47 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
I had the same problem with my Reply-To-Comments Addon which was sometimes called before Akismet and so the replying comments were not checked.

To make it work together with Akismet, you can use the workspaces provided by Akismet Addon after checking:
Code:
$result_aks = mysql_query("SELECT * FROM {$pixelpost_db_prefix}addons WHERE addon_name='admin_akismet_comment' AND status='on'");
if (mysql_num_rows($result_aks) > 0) { 	 //It's on!!
	add_front_functions('update_thread_id','comment_passed_askimet');
	add_front_functions('update_thread_id','comment_blocked_askimet');
}
else add_front_functions('update_thread_id','comment_accepted');
As far as I have seen so far Defensio Addon doesn't provide a workspace after its check so it will be difficult (or impossible) to teach the Captcha Addon to hook in after Defensio check. But for Akismet it should work :-)
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #16  
Old 01-25-2008, 09:24 AM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
It is true Defensio doesn't provide a workspace after that. There won't be a need for these fixes when we get the addon order sorted out.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
  #17  
Old 12-15-2008, 07:37 AM
Gromitch Offline
forum loafer
 
Join Date: Nov 2007
Location: Russia
Posts: 19
Send a message via ICQ to Gromitch Send a message via Skype™ to Gromitch
Smile

Great addon, thanks Dennis!
__________________
onephoto.ru
Reply With Quote
  #18  
Old 01-21-2009, 08:21 AM
gheatza Offline
forum loafer
 
Join Date: Jun 2008
Posts: 9
Hey there,

And thanks for this great add-on , which does work, but it doesn't work, at least for me. Let me explain, I think the add-on works great, but I'm having a bit of a problem, and that is, the add-on only displays the CAPTCHA on the very first page of the blog (I think it's something to do with the last post, not sure though). If for example you go to http://www.stargazer.eu, on the very first page you get the captcha, you can comment, and everything is fine, but as soon as you do previous, or after you return to the first image, no more captcha, no more image, byebye comments as well (no errors returned etc, it just seems you ARE posting the comment, but nothing reaches the database).
Now, I know it's probably my fault, or it has to do something with the template ( simplicious, a bit modified), but I would really appreciate if someone could look a bit into it, whenever you guys have a bit of time and would like to laugh a bit at me


Thank you.

ps. sorry, I didn't open a new thread just in case someone does look and manages to help me fix it, so it might help others as well, let me know if I should thread-ify it.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 12:03 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs