How to add captcha-support to a plugin?

Creating and modifying plugins.
Post Reply
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

How to add captcha-support to a plugin?

Post by dma147 »

Hello all...

I'm just writing this discussion forum plugin and I want to provide captcha-support for posting new threads or replying to threads.

I've searched the whole source of s9y but I can't find any examples on how to add the captcha-support of the spamblock plugin to my plugin.
I've also tried to find out how this is done with the comments in the entries of s9y, but I can't find anything about this.

Does anybody know how to do this?
So please tell me here.

Thanks.

Alex
Alexander Mieland, dma147
http://blog.linux-stats.org
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How to add captcha-support to a plugin?

Post by garvinhicking »

I suggest to look at the "serendipity_event_contactform" plugin. This hooks captchas. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
dma147
Regular
Posts: 132
Joined: Thu Sep 08, 2005 1:50 pm
Location: Berlin
Contact:

Post by dma147 »

thanks garvin...
okay, I've got it to work... ;)

Now the discussion forum also makes use of spamblock (captchas), which is surely configurable by the admin.
Alexander Mieland, dma147
http://blog.linux-stats.org
Post Reply