The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Checking failed CAPTCHAs...?
Looking at the vB register template, there is a conditional <if> as the tempalte loads, that checks to see if any errors occured during a previous registration attempt...
PHP Code:
Specifically, I want to check whether the CAPTCHA was failed during registration. Thanks in advance, step |
#2
|
|||
|
|||
That is just a phrase that says the same string all the time nomatter if its shown/used or not. If I were you I would be looking through the files and NOT the templates for the code that checks whether CAPTCHA failed. I have never attempted whatever your doing or anything remotely close but if I were you I would start by looking through the files and see if I can figure out where $errorlist gets filled first, then trace back from there until I find what I'm looking for.
|
#3
|
|||
|
|||
Thanks!
--------------- Added [DATE]1216436104[/DATE] at [TIME]1216436104[/TIME] --------------- Quote:
All I can think to do is check the $errorlist array itself to see if the vbphrase for a failed CAPTCHA has been assigned to it, which is a bit slack, considering there must be a simpler value somewhere that tells something else that an error has occured. If I check the $errorlist for the CAPTCHA specific error, then when the CAPTCHA error vbprase is changed at a later date, then the conditional used to check the $errorlist will be buggered, and I'll have to re-do everything again. urg! Problems, problems.... I'm stuck! :erm: |
#4
|
|||
|
|||
You will have to find this code in register.php.
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|