I modify it as below or attached.
Welcome anyone give me your comments, thanks!
+------------------------------------------------------------------------------------------------+
| MyBB image_verification for any version. 2008-06-13 |
| It's a easy reading code for new registration, no difficult, no confuse, |
| and anti-SPAM. It will show you as 1 2 3 4 5 6 7 |
| Please follow the instructions documented to manually patch your board. |
+------------------------------------------------------------------------------------------------+
===============
1. captcha.php
===============
Find:
--
$img_width = 200;
$img_height = 60;
// The following settings are only used for TTF fonts
$min_size = 20;
$max_size = 32;
$min_angle = -30;
$max_angle = 30;
--
Replace With:
--
$img_width = 250;
$img_height = 70;
// The following settings are only used for TTF fonts
$min_size = 30;
$max_size = 35;
$min_angle = -5;
$max_angle = 5;
--
Find:
--
$to_draw = rand(0, 2);
--
Replace:
--
$to_draw = rand(3, 3);
--
Find:
--
imagerectangle($im, 0, 0, $img_width-1, $img_height-1, $border_color);
--
Replace:
--
imagerectangle($im, 0, 0, $img_width+3, $img_height+3, $border_color);
--
Find:
--
$spacing = $img_width/ my_strlen($string);
--
Replace:
--
$spacing = 35;
--
===============
2. inc/function.php
===============
Find:
--
$set = array("a","A","b","B","c","C","d","D","e","E","f","F","g","G","h","H","i","I","j","J","k","K","l","L","m","M","n","N","o","O","p","P","q","Q","r","R","s","S","t","T","u","U","v","V","w","W","x","X","y","Y","z","Z","1","2","3","4","5","6","7","8","9");
--
Replace With:
--
$set = array("A","B","C","D","E","F","G","H","J","K","M","N","P","Q","R","S","T","U","V","W","X","Y","2","3","4","5","6","7","8","9");
--
Find:
--
$str;
for($i = 1; $i <= $length ; $i++)
--
Replace With:
--
$str;
for($i = 1; $i <= 7 ; $i++)
--