[Plugin: Simple CAPTCHA] Some help for you, the newbies simplecaptcha guide
-
If you want to display all number in a specific color: change all colors code in gdimg.php (your simplecaptcha plugin folder)
replace all this
$switch = rand(1, 4); if($switch==1) { // Blue color $r = rand(000, 000); $g = rand(000, 000); $b = rand(000, 000); } if($switch==2) { // Blue color $r = rand(000, 000); $g = rand(000, 000); $b = rand(000, 000); } if($switch==3) { // Green color $r = rand(000, 000); $g = rand(000, 000); $b = rand(000, 000); } if($switch==4) { // Yellow color $r = rand(000, 000); $g = rand(000, 000); $b = rand(000, 000); }
with this and it will show only black numbers
$switch = rand(1, 1); if($switch==1) { // Black color is 000,000 find color coder at internet $r = rand(000, 000); $g = rand(000, 000); $b = rand(000, 000); }
Removing numbers distortion or wave:
just find this
# Testing adding sinwave to image
below that line of text you will find something like:$offset = rand(1, 10); $graph = true; for($i = 1; $i <= 96; $i++) {
Solution: OFFSET should be put on (0, 0).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Simple CAPTCHA] Some help for you, the newbies simplecaptcha guide’ is closed to new replies.