How to setup AntiBot links on FaucetBox script


SUBMITTED BY: Aarchie

DATE: June 22, 2017, 4:49 a.m.

FORMAT: Text only

SIZE: 2.0 kB

HITS: 562

  1. For install AntiBot links you need to create some heard code . No problem I will show you everything . To do it be careful . Please get a backup your site then start . CodeBlock is not work so I give some code raw link .
  2. First open Notepad++ or download it from Here .
  3. Now download Antibotlinks.zip
  4. Now extract the downloaded antibotlinks.zip. Upload the antibotlinks.php to /libs.
  5. Now open index.php with Notepad++ from your website root
  6. Press CTRL+F and find $data['captcha_info'] = $captcha;
  7. Add the following lines of code after:
  8. # AntiBotLinks
  9. require_once('libs/antibotlinks.php');
  10. $antibotlinks = new antibotlinks(true);// true if GD is on on the server, false is less secure
  11. if (array_key_exists('address', $_POST)) {
  12. if (!$antibotlinks->check()) {
  13. $antibotlinks->generate(5, true);// number of links once they fail to solve min 3 - max 5, the second param MUST BE true
  14. }
  15. } else {
  16. $antibotlinks->generate(3);// initial number of links min 3 - max 5
  17. }
  18. Then find $data['captcha_valid'] &&
  19. And add the following lines of code after it:
  20. # AntiBotLinks
  21. $antibotlinks->is_valid() &&
  22. Now open yoursite.com/templates/YOURTHEME/index.php
  23. Add the following lines of code before </head>:
  24. Code is here : http://pastebin.com/raw/CUWQgKYh
  25. Look for:
  26. <?php if(!$data[“captcha_valid”]): ?>
  27. <p class=”alert alert-danger”>Invalid captcha code!</p>
  28. <?php endif; ?>
  29. And add the following lines after it:
  30. Code is here: http://pastebin.com/raw/qdWRRZ4i
  31. Then after the next </div> add:
  32. Code is here: http://pastebin.com/raw/XPbgifYr
  33. Between <form> and </form>, insert these lines of code five times:
  34. Code is here: http://pastebin.com/raw/jtiC01vA
  35. This is where the links will appear.
  36. Finally find and delete these lines of code:
  37. <div class="col-sm-offset-4 col-sm-4">
  38. <input type="submit" class="btn btn-primary btn-lg" value="Get reward!">
  39. </div>
  40. Good job you finished the hole process . Now it will work .

comments powered by Disqus