dwgebler
02-21-2011, 01:29 PM
Hi,
This might be a little bit of a lofty request, but i've just taken over the programming maintenance of a vb4 installation and was hoping someone could save me hours of sifting through code and documentation.
Basically, I want to create a plugin that will check if a user who is logged in and posting a thread has a post count of zero (i.e. they're making their first post) and display a CAPTCHA image as part of the new post form if so. The CAPTCHA code then needs to be validated when the new post form is submitted/processed.
Firstly - there are reasons I need to do the CAPTCHA at this point under these conditions, so please don't suggest I just use the CAPTCHA at registration....there are good reasons, I assure you!
Second, the PHP code that generates a CAPTCHA and validates it at the point of processing the form are not an issue - I don't need help with that. All I need is more information on what hooks I need to attach my plugin(s) to and how I add the relevant HTML to the new post form template.
If anyone is willing to help and needs more information to be able to do so, please ask. Thanks in advance to anyone who can help!
This might be a little bit of a lofty request, but i've just taken over the programming maintenance of a vb4 installation and was hoping someone could save me hours of sifting through code and documentation.
Basically, I want to create a plugin that will check if a user who is logged in and posting a thread has a post count of zero (i.e. they're making their first post) and display a CAPTCHA image as part of the new post form if so. The CAPTCHA code then needs to be validated when the new post form is submitted/processed.
Firstly - there are reasons I need to do the CAPTCHA at this point under these conditions, so please don't suggest I just use the CAPTCHA at registration....there are good reasons, I assure you!
Second, the PHP code that generates a CAPTCHA and validates it at the point of processing the form are not an issue - I don't need help with that. All I need is more information on what hooks I need to attach my plugin(s) to and how I add the relevant HTML to the new post form template.
If anyone is willing to help and needs more information to be able to do so, please ask. Thanks in advance to anyone who can help!