TheMilkCarton
16 Mar 2007, 17:44
Hi,
I've had this hack (http://www.vbulletin.org/forum/showthread.php?t=126676) installed for awhile, but just recently started tackling a few of its shortcomings.
Namely, for Unregistered users to use the form, Guest Post Image Verification has to be disabled entirely.
So I started adding code to the plugin to get Image Verification, and I've been successful.. except for one thing: If the user enters the incorrect code and presses submit, it does NOT give this error like it should The string you entered for the image verification did not match what was displayed. The $vbphrase for it is "register_imagecheck" and I think there should be an "$errors[]=fetch_error" somewhere in there, but I just can't get it to work.
I'm really new to coding... so can anyone lend any hands? :)
I've added all the code in red.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I get the 'redirect_postthanks_moderate' redirect if I'm logged out (even if I enter the wrong image verification code), and the plugin takes me right to the thread it created if I'm logged in.
I've had this hack (http://www.vbulletin.org/forum/showthread.php?t=126676) installed for awhile, but just recently started tackling a few of its shortcomings.
Namely, for Unregistered users to use the form, Guest Post Image Verification has to be disabled entirely.
So I started adding code to the plugin to get Image Verification, and I've been successful.. except for one thing: If the user enters the incorrect code and presses submit, it does NOT give this error like it should The string you entered for the image verification did not match what was displayed. The $vbphrase for it is "register_imagecheck" and I think there should be an "$errors[]=fetch_error" somewhere in there, but I just can't get it to work.
I'm really new to coding... so can anyone lend any hands? :)
I've added all the code in red.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I get the 'redirect_postthanks_moderate' redirect if I'm logged out (even if I enter the wrong image verification code), and the plugin takes me right to the thread it created if I'm logged in.