It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
Files to add:
/libs/antibotlinks.php
Files to edit:
/index.php
/templates/*theme-name*/index.php
Ok, let's start.
First make a backup of your faucet (everything could go wrong, better safe than sorry).
Then
Copy:
antibotlinks.php
To:
/libs/antibotlinks.php
Now you will need to edit 2 files. I suggest using Notepad++ https://notepad-plus-plus.org/ to edit files but any good editor will do the job.
This is based on FB R60 but should work with newer/older versions.
Open:
/index.php
Find:
$data['captcha_info'] = $captcha;
add after:
# AntiBotLinks
require_once('libs/antibotlinks.php');
$antibotlinks = new antibotlinks(true);// true if GD is on on the server, false is less secure
if (array_key_exists('address', $_POST)) {
if (!$antibotlinks->check()) {
$antibotlinks->generate(5, true);// number of links once they fail to solve min 3 - max 5, the second param MUST BE true
}
} else {
$antibotlinks->generate(3);// initial number of links min 3 - max 5
}
Find:
$data['captcha_valid'] &&
add after:
# AntiBotLinks
$antibotlinks->is_valid() &&
Open:
/templates/*theme-name*/index.php
Find:
Add before:
# AntiBotLinks START
?>
# AntiBotLinks END
?>
Find:
if(!$data["captcha_valid"]): ?>
Invalid captcha code!
endif; ?>
Add after (the input field must be between ):
# AntiBotLinks START
?>
if(!$antibotlinks->is_valid()): ?>
Invalid AntiBot verification!
endif; ?>
# AntiBotLinks END
?>
Somewhere between add (you need to do it 5 times, this is where the links will appear):
# AntiBotLinks START
?>
echo $antibotlinks->show_link(); ?>
# AntiBotLinks END
?>
And finally remove the default CLAIM button :)