Username Password

Register Here || Lost Password
Navigation
Home
Articles
Forum
Web Links
Photo Gallery
Videos
MP3 Album
Free eBook
Software
FAQ
Search
Contact Us
Last Seen Users
uvilu06:53:24
Latiadok07:36:52
Florentr07:38:46
EVA-00 1 day
binnaBed 2 days
OlegSat 3 days
yung13 6 days
BalkonDobuxztqo 1 week
avidahys 1 week
Arxx 1 week
Users Online
Guests Online: 3

Members Online: 0

Total Members: 21,077
Newest Member: uvilu
Popular Downloads
1000 Hacker Tutorial... 33720
Radmin 3.1 10726
SQL Injection Expose... 9971
Free eBook Cara muda... 9262
1000 Photoshop Brushes 9016
Cara Mudah Membuat W... 8710
The Art of Manipulat... 8498
Blink 182-Neighborho... 8197
Ubuntu Is My Favouri... 8178
Avenged Sevenfold-Ni... 8043
Sponsor
Hosted By Dracoola
Tracklink
Locations of visitors to this page
RSS - Feeds
RSS - News
RSS - Articles
RSS - Forum
RSS - Downloads
RSS - Photo Gallery
RSS - Weblinks
Patch Re-captcha PHP-Fusion 7 For Defending Spambot Attack
PHP-Fusion

This is Step By Step to Patch Recaptcha into your PHP-Fusion 7 Comment Form.

1. Get Public & Private Key from http://www.google.com/recaptcha

2. Download the Recaptcha library from here extract recaptchalib.php & upload to directory www[dot]yoursite[dot]com/includes/

3. edit file "comments_include.php" from www[dot]yoursite[dot]com/includes/ directory

4. Find this line (line 39)

if (iMEMBER) {
$comment_name = $userdata['user_id'];


Add this code after it

//Update By EVA-00 For patch Recaptcha
//Start Here
require_once BASEDIR."includes/recaptchalib.php";
$privatekey = "inpur-your-private-key"; //you got this key from the signup page
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid) {
{redirect($link);}
}
//End Here


5. the last one, find this line ( line 165)

echo display_bbcodes("360px", "comment_message");

Add this code after it

//Update By EVA-00 For patch Recaptcha
//Start Here
echo "<br />".$locale['global_158']."<br /><br />";
require_once BASEDIR."includes/recaptchalib.php";
$publickey = "Input-Your-Public-key"; // you got this key from the signup page
echo recaptcha_get_html($publickey);
//End Here


Done, you can download full script here and modify it as you want.

Comments
No Comments have been Posted.
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.

Please login or register to vote.

Awesome! Awesome! 100% [2 Votes]
Very Good Very Good 0% [No Votes]
Good Good 0% [No Votes]
Average Average 0% [No Votes]
Poor Poor 0% [No Votes]
Follow Us
Try Our Web Mobile
Becoming a Fan
Follow Us @xybrain
Our Web Mail
Paper
Latest Articles
Membuat/ Mengubah So...
Meningkatkan Volume ...
Memaksimalkan Fungsi...
Multiple Booting Win...
Instal Metasploit 3 ...
Shoutbox
You must login to post a message.

19/08/2019 21:30
Alhamdulillah kabar sehat bro Victory

12/08/2019 19:07
hallo Eva-00 gmn kabarnya?lama tak besuo Smile

25/04/2019 21:44
hellow semua..

18/04/2019 21:47

05/04/2019 10:38
halo semua .udah pada jarang masuk sini yaa Huh

Twitter Timeline
Copyright © 2007-2016