Home »
FUDforum »
How To »
Disabling Image Verification
Re: Disabling Image Verification [message #30085 is a reply to message #30080] |
Thu, 02 February 2006 21:54 |
topdogger
Messages: 2 Registered: February 2006 Location: Canada
Karma:
|
Junior Member |
|
|
What does this line do? Is this an if statement to decide whether or not to do a "turing" test?
I'm not familiar enough with FUDforums template system to know.
Quote: | {IF: !($FUD_OPT_3 & 128)}{TEMPLATE: register_turing_test}{ENDIFI}
|
If anyone else wants to remove the image verification on the register page this is what to do:
1. Go to your administrator panel.
- Click on "Template Editor" under "Template Management" on the sidebar
- Select the template you wish to remove the image verification from
- Go down the list until you reach "register.tmpl" Expand this file(using the "+")
- Near the top you should see a file entitled "New User", open that
- Remove the last line from that file ("{IF: !($FUD_OPT_3 & 128)}{TEMPLATE: register_turing_test}{ENDIFI}")
- Now the registration image will nolonger appear.
2. Now go to your "/forum/theme/(yourtemplate)" folder and open "register.php.t"
- Go down to line: 1676 (it might be a good idea to use dreamweaver or another program that numbers every line)
- Change it to something that looks like this:
/*if (!($GLOBALS['FUD_OPT_3'] & 128) && (empty($_POST['turing_test']) || empty($_POST['turing_res']) || md5(strtoupper(trim($_POST['turing_test']))) != $_POST['turing_res'])) {
set_err('reg_turing', 'Invalid validation code.');
}*/
- Save and close the file.
Once that's done the image verification will be disabled. I did this and the forum work fine.
[Updated on: Thu, 02 February 2006 22:15] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Nov 25 20:02:55 GMT 2024
Total time taken to generate the page: 0.03995 seconds