|
Kaan
678 posts |
#918 2017-04-05 15:28 GMT | |
|
Bu eklenti ile ekleyebilirsin.
https://www.seditio.com.tr/eski2/.....=4&id=674 Features: - Replacement for standard php-captcha - Simple 2-digit integers in questions - Bruteforce, XSS and replay attack protection - Easy API to implement mcaptcha in other plugins Installation: 1. Unpack the plugin into your plugins folder. 2. Install in Administration => Plugins. 3. Configure the plugin. Do not limit attempts if you use mcaptcha in such plugins like comments and shoutbox. 4. Use same tags in users.register.tpl: {USERS_REGISTER_VERIFYIMG},{USERS_REGISTER_VERIFYINPUT} API: Use this code to add mcaptcha to your plugin: : hp]require_once('plugins/mcaptcha/inc/functions.php'); if(file_exists("plugins/mcaptcha/lang/mcaptcha.$lang.lang.php")) { include("plugins/mcaptcha/lang/mcaptcha.$lang.lang.php"); } else { include('plugins/mcaptcha/lang/mcaptcha.en.lang.php'); } Use this function to generate mcpatcha question: : hp]$t->assign(array( 'SOMETHING_MCAPTCHA' => mcaptcha_generate(), 'SOMETHING_VERIFY' => '<input type="text" name="rverify" size="4" />', )); Then check mcaptcha on form processing: : hp]$rverify = sed_import('rverify', 'P', 'INT'); if(!mcaptcha_validate($rverify)) { $error_string .= $L['mcaptcha_wrong'].'<br />'; } Limitations: - One mcaptcha per page. If it appears more than one times (like in header and main parts), the mcaptcha will reset itself and result into errors.
Kişiliğim, hayatım hakkında konuşabilirsiniz. Fikir yürüte bilirsiniz. Beni öyle böyle sanabilirsiniz. Ama emin olamazsınız. Sizin hakkımdaki yorumlarınız, sanmalarınız benim gerçek de ne olduğumu değiştirmez. Baktığım yeri söyleye bilirsiniz ama ne gördüğümü ASLA...
|