Anti-Bot Registration Puzzles v1.2.0.1b ป้องกันbot สมัครสมาชิกSMF

Anti-Bot Registration Puzzles v1.2.0.1b ป้องกันbot สมัครสมาชิกSMF

Anti-Bot Registration Puzzles v1.2.0.1b

./Sources/Register.php

หา
// Are they under age, and under age users are banned?

ใส่เพิ่มด้านบน
// Start of Anti-bot Registration Puzzles Mod
// Checks whether field was completed, if not it goes to an error screen
if(empty($_SESSION<'puzzle_dynamic_input'>) || empty($_POST<$_SESSION<'puzzle_dynamic_input'>>))
fatal_lang_error('puzzle_incomplete', false);
// If puzzle was answered incorrectly
elseif (md5(strtolower($_POST<$_SESSION<'puzzle_dynamic_input'>>)) != $_SESSION<'puzzle_code'>)
fatal_lang_error('puzzle_incorrect', false);
// End of Anti-bot Registration Puzzles Mod


หา

// Under age restrictions?
if (!empty($modSettings<'coppaAge'>))
{
$context<'show_coppa'> = true;
$context<'coppa_desc'> = sprintf($txt<'register_age_confirmation'>, $modSettings<'coppaAge'>);
}


เพิ่มด้านล่าง

// Start of Anti-bot Registration Puzzles Mod
$puzzles = array(
'shapes' => create_function('', '
$a = array(0 => "sides", 1 => "corners");
$b = rand(0,1);
$c = array(\'square\' => 4, \'rectangle\' => 4, \'pentagon\' => 5,
\'hexagon\' => 6, \'heptagon\' => 7, \'octagon\' => 8);

$d = array_rand($c); // randomly select a shape
$e = $c<$d>; // the answer
global $txt;
$txt<\'puzzle_shapes\'> = sprintf(($d == \'octagon\' ? $txt<\'puzzle_shapes2\'> : $txt<\'puzzle_shapes\'>), $txt<\'puzzle_\'.$a<$b>>, $txt<\'puzzle_\'.$d>);
return array(\'shapes\', \'\', md5($e));
'),
'math' => create_function('', '
$a = array();
$a<0> = rand(5,19);
$a<1> = rand(1,$a<0>-2);
$a<2> = rand(1,($a<0>-$a<1>-2));
$a<3> = array("+","-");
$a<4> = $a<3>)>;
$a<5> = $a<3>)>;
$d = "$a<0>$a<4> $a<1> $a<5> $a<2>";
eval("\$d=" . $d . ";");
return array(\'math\', "<span style=\"font-weight:bold;\">$a<0> $a<4> $a<1> $a<5> $a<2> =</span>", md5($d));
'),
'math2' => create_function('', '
$a = array();
$a<0> = rand(5,19);
$a<1> = rand(1,$a<0>-2);
$a<2> = rand(1,($a<0>-$a<1>-2));
$a<3> = array("+","-");
$a<4> = $a<3>)>;
$a<5> = $a<3>)>;
$c = array(rand(0,1),rand(0,1),rand(0,1));
$d = "$a<0>$a<4> $a<1> $a<5> $a<2>";
// Whats the sum/answer
eval("\$d=" . $d . ";");
// Access txt strings
global $txt;
return array(\'math\', \'<span style="font-weight:bold;">\'.($c<0> ? $a<0> : $txt<\'puzzle_\'.$a<0>>).\' \'.$a<4>.\' \'.($c<1> ? $a<1> : $txt<\'puzzle_\'.$a<1>>).\' \'.$a<5>.\' \'.($c<2> ? $a<2> : $txt<\'puzzle_\'.$a<2>>).\' = </span>\', md5($d));
'),
'colors' => create_function('', '
$a = array(\'red\' => \'#FF0033\', \'orange\' => \'#FF6600\', \'yellow\' => \'#FFFF33\', \'green\' => \'#006600\', \'blue\' => \'#0033FF\', \'purple\' => \'#663366\', \'pink\' => \'#FF9999\', \'black\' => \'#000000\', \'grey\' => \'#999999\');

// Select them randomly
$b = array_rand($a,8);
$c = $b; // the answer
$d = \'\';
// Access txt strings
global $txt;
for($i=0;$i<=7;$i++)
{
// Color or hex? randomly change
$e = rand(0,1);
$j = $i+1;
if($c == $b<$i> || $c == $b<$j>)
$d .= \'<span style="font-weight:bold;color:\'. ($e ? $a<$c> : $c ) .\'">\'. $txt<\'puzzle_\'.$c> .\'</span> \';
else
$d .= \'<span style="font-weight:bold;color:\'. ($e ? $a<$b<$i>> : $b<$i> ) .\'">\'. $txt<\'puzzle_\'.$b<$j>> .\'</span> \';
$i++;
}
unset($a,$b,$e,$i,$j);
return array(\'colors\', $d, md5(strtolower($txt<\'puzzle_\'.$c>)));
'),
);
// Generate a new puzzle code every time
$_SESSION<'puzzle_dynamic_input'> = $_SESSION<'puzzle_code'> = '';

// Generate Random field name
$range1 = range('a', 'z');
$range2 = range(0, 9);
// Must start with a letter not a digit
$_SESSION<'puzzle_dynamic_input'> = $range1;
// Length over 8
$rand = rand(8,12);
for($i=0;$i<=$rand;$i++)
$_SESSION<'puzzle_dynamic_input'> .= (rand(0, 1) == 0) ? $range1 : $range2;

unset($range1, $range2, $rand);

// Choose a puzzle
$context<'puzzle'> = $puzzles();
$_SESSION<'puzzle_code'> = $context<'puzzle'><2>;
$context<'puzzle'><2> = $_SESSION<'puzzle_dynamic_input'>;
unset($puzzles);
// End of Anti-bot Registration Puzzles Mod


./Themes/default/Register.template.php

หา

// Are there age restrictions in place?
if (!empty($modSettings<'coppaAge'>))


เพิ่มด้านบน
// Start of Anti-bot Registration Puzzles Mod
echo '<tr valign="top">
<td width="40%" valign="top">
<b>'.$txt<'puzzle_'.$context<'puzzle'><0>>.'</b><br />
'.$txt<'puzzle_antibot'>.'
</td>
<td>
'. ( empty($context<'puzzle'><1>) ? '' : $context<'puzzle'><1>.'<br />' ) .'
<input type="text" name="'.$context<'puzzle'><2>.'" size="30" value="" tabindex="', $context<'tabindex'>++, '" />
</td>
</tr>';
// End of Anti-bot Registration Puzzles Mod


./Themes/default/languages/Modifications.english.php

หา
?>

ใส่เพิ่มด้านบน

$txt<'puzzle_colors'> = 'Which word is the same as its color';
$txt<'puzzle_math'> = 'What is the sum of (as a number)';
$txt<'puzzle_shapes'> = 'How many %s does a %s have?';
$txt<'puzzle_shapes2'> = 'How many %s does an %s have?';
$txt<'puzzle_sides'> = 'sides';
$txt<'puzzle_corners'> = 'corners';
$txt<'puzzle_incomplete'> = 'You did not complete the anti-bot puzzle. Please try again.';
$txt<'puzzle_incorrect'> = 'You incorrectly answered the anti-bot puzzle. Please try again.';
$txt<'puzzle_antibot'> = 'Anti-bot measure';
$txt<'puzzle_red'> = 'Red';
$txt<'puzzle_orange'> = 'Orange';
$txt<'puzzle_yellow'> = 'Yellow';
$txt<'puzzle_green'> = 'Green';
$txt<'puzzle_blue'> = 'Blue';
$txt<'puzzle_purple'> = 'Purple';
$txt<'puzzle_pink'> = 'Pink';
$txt<'puzzle_black'> = 'Black';
$txt<'puzzle_grey'> = 'Grey';
$txt<'puzzle_triange'> = 'Triangle';
$txt<'puzzle_square'> = 'Square';
$txt<'puzzle_rectangle'> = 'Rectangle';
$txt<'puzzle_pentagon'> = 'Pentagon';
$txt<'puzzle_hexagon'> = 'Hexagon';
$txt<'puzzle_heptagon'> = 'Heptagon';
$txt<'puzzle_octagon'> = 'Octagon';
$txt<'puzzle_1'> = 'ONE';
$txt<'puzzle_2'> = 'TWO';
$txt<'puzzle_3'> = 'THREE';
$txt<'puzzle_4'> = 'FOUR';
$txt<'puzzle_5'> = 'FIVE';
$txt<'puzzle_6'> = 'SIX';
$txt<'puzzle_7'> = 'SEVEN';
$txt<'puzzle_8'> = 'EIGHT';
$txt<'puzzle_9'> = 'NINE';
$txt<'puzzle_10'> = 'TEN';
$txt<'puzzle_11'> = 'ELEVEN';
$txt<'puzzle_12'> = 'TWELVE';
$txt<'puzzle_13'> = 'THIRTEEN';
$txt<'puzzle_14'> = 'FOURTEEN';
$txt<'puzzle_15'> = 'FIFTEEN';
$txt<'puzzle_16'> = 'SIXTEEN';
$txt<'puzzle_17'> = 'SEVENTEEN';
$txt<'puzzle_18'> = 'EIGHTEEN';
$txt<'puzzle_19'> = 'NINETEEN';


./Themes/default/languages/Modifications.english_british.php

หา
?>

ใส่เพิ่มด้านบน

$txt<'puzzle_colors'> = 'Which word is the same as its color';
$txt<'puzzle_math'> = 'What is the sum of (as a number)';
$txt<'puzzle_shapes'> = 'How many %s does a %s have?';
$txt<'puzzle_shapes2'> = 'How many %s does an %s have?';
$txt<'puzzle_sides'> = 'sides';
$txt<'puzzle_corners'> = 'corners';
$txt<'puzzle_incomplete'> = 'You did not complete the anti-bot puzzle. Please try again.';
$txt<'puzzle_incorrect'> = 'You incorrectly answered the anti-bot puzzle. Please try again.';
$txt<'puzzle_antibot'> = 'Anti-bot measure';
$txt<'puzzle_red'> = 'Red';
$txt<'puzzle_orange'> = 'Orange';
$txt<'puzzle_yellow'> = 'Yellow';
$txt<'puzzle_green'> = 'Green';
$txt<'puzzle_blue'> = 'Blue';
$txt<'puzzle_purple'> = 'Purple';
$txt<'puzzle_pink'> = 'Pink';
$txt<'puzzle_black'> = 'Black';
$txt<'puzzle_grey'> = 'Grey';
$txt<'puzzle_triange'> = 'Triangle';
$txt<'puzzle_square'> = 'Square';
$txt<'puzzle_rectangle'> = 'Rectangle';
$txt<'puzzle_pentagon'> = 'Pentagon';
$txt<'puzzle_hexagon'> = 'Hexagon';
$txt<'puzzle_heptagon'> = 'Heptagon';
$txt<'puzzle_octagon'> = 'Octagon';
$txt<'puzzle_1'> = 'ONE';
$txt<'puzzle_2'> = 'TWO';
$txt<'puzzle_3'> = 'THREE';
$txt<'puzzle_4'> = 'FOUR';
$txt<'puzzle_5'> = 'FIVE';
$txt<'puzzle_6'> = 'SIX';
$txt<'puzzle_7'> = 'SEVEN';
$txt<'puzzle_8'> = 'EIGHT';
$txt<'puzzle_9'> = 'NINE';
$txt<'puzzle_10'> = 'TEN';
$txt<'puzzle_11'> = 'ELEVEN';
$txt<'puzzle_12'> = 'TWELVE';
$txt<'puzzle_13'> = 'THIRTEEN';
$txt<'puzzle_14'> = 'FOURTEEN';
$txt<'puzzle_15'> = 'FIFTEEN';
$txt<'puzzle_16'> = 'SIXTEEN';
$txt<'puzzle_17'> = 'SEVENTEEN';
$txt<'puzzle_18'> = 'EIGHTEEN';
$txt<'puzzle_19'> = 'NINETEEN';


./Themes/default/languages/Modifications.english_british-utf8.php

หา
?>

ใส่เพิ่มด้านบน

$txt<'puzzle_colors'> = 'Which word is the same as its color';
$txt<'puzzle_math'> = 'What is the sum of (as a number)';
$txt<'puzzle_shapes'> = 'How many %s does a %s have?';
$txt<'puzzle_shapes2'> = 'How many %s does an %s have?';
$txt<'puzzle_sides'> = 'sides';
$txt<'puzzle_corners'> = 'corners';
$txt<'puzzle_incomplete'> = 'You did not complete the anti-bot puzzle. Please try again.';
$txt<'puzzle_incorrect'> = 'You incorrectly answered the anti-bot puzzle. Please try again.';
$txt<'puzzle_antibot'> = 'Anti-bot measure';
$txt<'puzzle_red'> = 'Red';
$txt<'puzzle_orange'> = 'Orange';
$txt<'puzzle_yellow'> = 'Yellow';
$txt<'puzzle_green'> = 'Green';
$txt<'puzzle_blue'> = 'Blue';
$txt<'puzzle_purple'> = 'Purple';
$txt<'puzzle_pink'> = 'Pink';
$txt<'puzzle_black'> = 'Black';
$txt<'puzzle_grey'> = 'Grey';
$txt<'puzzle_triange'> = 'Triangle';
$txt<'puzzle_square'> = 'Square';
$txt<'puzzle_rectangle'> = 'Rectangle';
$txt<'puzzle_pentagon'> = 'Pentagon';
$txt<'puzzle_hexagon'> = 'Hexagon';
$txt<'puzzle_heptagon'> = 'Heptagon';
$txt<'puzzle_octagon'> = 'Octagon';
$txt<'puzzle_1'> = 'ONE';
$txt<'puzzle_2'> = 'TWO';
$txt<'puzzle_3'> = 'THREE';
$txt<'puzzle_4'> = 'FOUR';
$txt<'puzzle_5'> = 'FIVE';
$txt<'puzzle_6'> = 'SIX';
$txt<'puzzle_7'> = 'SEVEN';
$txt<'puzzle_8'> = 'EIGHT';
$txt<'puzzle_9'> = 'NINE';
$txt<'puzzle_10'> = 'TEN';
$txt<'puzzle_11'> = 'ELEVEN';
$txt<'puzzle_12'> = 'TWELVE';
$txt<'puzzle_13'> = 'THIRTEEN';
$txt<'puzzle_14'> = 'FOURTEEN';
$txt<'puzzle_15'> = 'FIFTEEN';
$txt<'puzzle_16'> = 'SIXTEEN';
$txt<'puzzle_17'> = 'SEVENTEEN';
$txt<'puzzle_18'> = 'EIGHTEEN';
$txt<'puzzle_19'> = 'NINETEEN';


./Themes/default/languages/Modifications.thai.php

วางข้อความข้างล่างนี้ทั้งหมดก่อนเครื่องหมดบรรทัดสุดท้าย  ?>

/*Thai Language By ZELDA (pubmed.in.th)*/
$txt<'puzzle_colors'> = 'เลือกคำที่ตรงกับสีที่แสดง';
$txt<'puzzle_math'> = 'ผลรวมทั้งหมดเป็นเท่าไหร่ (ใส่เป็นตัวเลข)';
$txt<'puzzle_shapes'> = 'รูป %s มี %s ทั้งหมดเท่าไหร่';
$txt<'puzzle_shapes2'> = 'รูป %s มี %s ทั้งหมดเท่าไหร่';
$txt<'puzzle_sides'> = 'ด้าน';
$txt<'puzzle_corners'> = 'มุม';
$txt<'puzzle_incomplete'> = 'คุณตอบคำถามไม่สมบูรณ์ กรุณาลองใหม่อีกครั้ง';
$txt<'puzzle_incorrect'> = 'คุณตอบคำถามผิด กรุณาลองใหม่อีกครั้ง';
$txt<'puzzle_antibot'> = 'ตอบคำถามเพื่อยืนยันว่าคุณไม่ใช่โปรแกรมอัตโนมัติ หากคำถามไม่ชัดเจน กรุณากดปุ่ม เอฟ5 เพื่อรับคำถามใหม่และกรอกรายละเอียดต่างๆอีกครั้ง';
$txt<'puzzle_red'> = 'แดง';
$txt<'puzzle_orange'> = 'ส้ม';
$txt<'puzzle_yellow'> = 'เหลือง';
$txt<'puzzle_green'> = 'เขียว';
$txt<'puzzle_blue'> = 'ฟ้า';
$txt<'puzzle_purple'> = 'ม่วง';
$txt<'puzzle_pink'> = 'ชมพู';
$txt<'puzzle_black'> = 'ดำ';
$txt<'puzzle_grey'> = 'เทา';
$txt<'puzzle_triange'> = 'สามเหลี่ยม';
$txt<'puzzle_square'> = 'สี่เหลี่ยมจัตุรัส';
$txt<'puzzle_rectangle'> = 'สี่เหลี่ยมผืนผ้า';
$txt<'puzzle_pentagon'> = 'ห้าเหลี่ยม';
$txt<'puzzle_hexagon'> = 'หกเหลี่ยม';
$txt<'puzzle_heptagon'> = 'เจ็ดเหลี่ยม';
$txt<'puzzle_octagon'> = 'แปดเหลี่ยม';
$txt<'puzzle_1'> = 'หนึ่ง';
$txt<'puzzle_2'> = 'สอง';
$txt<'puzzle_3'> = 'สาม';
$txt<'puzzle_4'> = 'สี่';
$txt<'puzzle_5'> = 'ห้า';
$txt<'puzzle_6'> = 'หก';
$txt<'puzzle_7'> = 'เจ็ด';
$txt<'puzzle_8'> = 'แปด';
$txt<'puzzle_9'> = 'เก้า';
$txt<'puzzle_10'> = 'สิบ';
$txt<'puzzle_11'> = 'สิบเอ็ด';
$txt<'puzzle_12'> = 'สิบสอง';
$txt<'puzzle_13'> = 'สิบสาม';
$txt<'puzzle_14'> = 'สิบสี่';
$txt<'puzzle_15'> = 'สิบห้า';
$txt<'puzzle_16'> = 'สิบหก';
$txt<'puzzle_17'> = 'สิบเจ็ด';
$txt<'puzzle_18'> = 'สิบแปด';
$txt<'puzzle_19'> = 'สิบเก้า';


ID=827,MSG=930
ลูกค้าเราโทรได้ 24hr


⭐️ เราให้คำแนะนำปรึกษา รักษาผลประโยชน์ให้ลูกค้า ของเรา
⭐️ เราอยู่เคียงข้างลูกค้าของเรา ช่วยเหลือ ดูแลบริการ
⭐️ เรารองรับช่องทางติดต่อมากมาย สะดวก เข้าถึงง่าย
⭐️ เราดำเนินธุรกิจยาวนานกว่า20 ปี คุณจึงมั่นใจได้
⭐️ คุณมีสามารถรับบริการทั้งจากบริษัทประกันเจ้าของสินค้า และ เรา (ตัวกลาง)

ไทย มีราว 80 บริษัทประกันภัย สินค้าที่แตกต่าง ทั้ง เงื่อนไข ราคา เคลม ความมั่นคง นโยบาย ฯลฯ
ขายผ่านตัวกลาง กว่า 500,000 ราย : ตัวแทน นายหน้า ธนาคาร บิ๊กซี โลตัส ค่ายรถยนต์ เฮ้าส์แบรนด์ ของประกันภัย หรือ ซื้อตรงกับบริษัทเจ้าของสินค้า
⭐️ ตัวอย่าง การบริการ กดดูที่ลิงค์นี้

"สิ่งที่ต้องคำนึงอันดับแรกในการซื้อประกัน คือ ตัวกลางประกันภัย ซึ่งจะเป็นที่ปรึกษา ช่วยเหลือ ดูแลเรา ตลอดอายุกรมธรรม์"

โปรดรอ

display:inline-block; position:relative;
ลูกค้าเราโทรได้ 24hr



โทร.(จ-ศ : 9-16) เว้นวันหยุดฯ , ลูกค้าเรา บริการ 24/7/365 , Sunday เวลา 11:45:17am... กรุณาติดต่อ ช่องทางข้อความ
Copyright © 2018 Cymiz.com., All rights reserved.นโยบาย,ข้อตกลงcymiz.com