Username Password

Lost Password
Navigation
Home
Articles
Forum
Web Links
Photo Gallery
Videos
MP3 Album
Free eBook
Software
FAQ
Search
Contact Us
Last Seen Users
kambing hitam 1 day
UnknownCrue 2 days
rockin82 3 days
stasemasl2 3 weeks
mumuyrjani 6 weeks
enterdie 7 weeks
55178 7 weeks
sagas 9 weeks
arifgitu10 weeks
ayam-kalkun11 weeks
Users Online
Guests Online: 2

Members Online: 0

Total Members: 21,129
Newest Member: oqujemy
Popular Downloads
1000 Hacker Tutorial... 34244
Radmin 3.1 10920
SQL Injection Expose... 10190
Free eBook Cara muda... 9533
1000 Photoshop Brushes 9248
Cara Mudah Membuat W... 9010
The Art of Manipulat... 8799
Ubuntu Is My Favouri... 8524
Blink 182-Neighborho... 8501
Avenged Sevenfold-Ni... 8422
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.

08/11/2019 21:39
sepi sekali Frown

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

Twitter Timeline
Copyright © 2007-2016