July 31 2010 17:06:39
Navigation
Users Online
· Guests Online: 14

· Members Online: 0

· Total Members: 35,722
· Newest Member: siliesse
IRC Channel
Got an IRC Client?
Join our new IRC channel at

irc.freenode.com/phpfusion

Free IRC Clients: Wikipedia
Support Sites
Last Seen Users
· Falcon< 5 mins
· johnmonroe00:16:17
· kamfengeren00:20:05
· siliesse00:21:10
· bartek12400:33:46
· Fangree_Craig00:42:17
· Joci196800:45:23
· gittedl00:47:36
· Barspin01:00:10
· MerlinSt01:11:48
Donate
View Thread
PHP-Fusion :: PHP-Fusion 7 Support :: System Administration
 Print Thread
Where is captcha code for comments?
matr1x
#1 Print Post
Posted on 20-10-2009 18:33
Newbie


Posts: 7
Joined: 18.02.09

Just a question where to find (which file) the code for captcha (to replace with re-captcha) concerning site comments (custom pages, articles, news etc.)?
For contact and register was easy, just replace code in contact.php and register.php.
 
PolarFox
#2 Print Post
Posted on 20-10-2009 20:24
User Avatar

Senior Member


Posts: 302
Joined: 26.08.08

/includes/comments_include.php
is that what you want?
The BS-Fusion Security System - protect yourself.
 
matr1x
#3 Print Post
Posted on 21-10-2009 12:07
Newbie


Posts: 7
Joined: 18.02.09

I think this might be it. I will try to work on this file later. Thanks PolarFox Cool
 
slaughter
#4 Print Post
Posted on 12-11-2009 12:45
Admin


Posts: 1361
Joined: 09.04.07

Download source  Code
         } elseif ($settings['guestposts'] == "1") {
            $comment_name = trim(stripinput($_POST['comment_name']));
            $comment_name = preg_replace("(^[0-9]*)", "", $comment_name);
            if (isnum($comment_name)) { $comment_name = ""; }
            include_once INCLUDES."securimage/securimage.php";
            $securimage = new Securimage();
            if (!isset($_POST['com_captcha_code']) || $securimage->check($_POST['com_captcha_code']) == false) { redirect($link); }
         }



Line 41-48.
Links:
Support Site for my infusions
Pimped-Fusion: A highly modified version of PHP-Fusion 7.01
 
www.pimped-fusion.net
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Which PHP version are you using?











You must login to vote.
RSS Feeds
- PHP-Fusion News
- SF File Releases
- SF News Releases
Shoutbox
You must login to post a message.

31 Jul 2010 15:47:15
Hey Polarfox, look here. http://www.fangre.
../index.php

31 Jul 2010 15:34:55
Where I can find the list of differences of 7.00 and 7.01?

31 Jul 2010 15:18:16
What's the news? Is 7.01 getting released tomorrow?

31 Jul 2010 11:53:26
heelo everyone

31 Jul 2010 05:04:21
I agree

30 Jul 2010 19:08:21
It's better to just stay .co.uk all the time now, it looks great. Wink

30 Jul 2010 19:04:27
Because we do not know when we can fix the problems with phpfusion-mods.com
.

30 Jul 2010 18:48:40
Hello! Pfft

30 Jul 2010 16:14:37
Really why's that? It's better to be on the .co.uk domain anyway. Shock

30 Jul 2010 16:09:48
No, the news has been edited, mods is up and running as a subdomain of php-fusion.co.uk

Render time: 0.12 seconds 70,451,932 unique visits