Web Tool Bag  
Home · Articles · Downloads · Discussion Forum · Web Links · News Categories · Synonyms DatabaseMarch 19 2024 04:14:46
Navigation
Home
Articles
Downloads
Discussion Forum
Web Links
News Categories
Synonyms Database
Search
Users Online
Guests Online: 1
No Members Online

Registered Members: 856
Unactivated Members: 118
Newest Member: lakim
Forum Threads
Newest Threads
Error: Cannot find m...
Uncaught Error: _reg...
Module build failed:...
Installation
mochi script questions
Hottest Threads
Installation [12]
Any questions and... [5]
Captcha picture d... [4]
Integrate with Vi... [4]
Mods: Sucess/Than... [4]
 
Latest Articles
Ubuntu: the vpn conn...
Howto Install HP Pri...
ReactJS progress met...
react-show-more-text
react-collapsible-co...
View Thread
Web Tool Bag | ZDR Scripts- development and maintenance | Captcha ZDR - Questions and answers
Author Integrate with Vivvo...
jeffshead
Member

Posts: 2
Location:
Joined: 20.04.10
Posted on 23-04-2010 17:03
Great captcha script! Thanks for sharing.

I use Vivvo CMS but it lacks spam protection on the new member registration form as well as the newsletter sign-up form.

I tried adding Captcha ZDR to the forms but I can't find the submit page code.

Here is the form code for the member registration form:
<form id="register_form" name="register_form" action="{VIVVO_PROXY_URL}login.html" method="post" onsubmit="return vivvoRegistrationForm.validate();" >




There is no 'login.html' page in my site. This CMS uses a templating system which relies heavily on MySQL.

Can someone help me figure out how to add Captcha ZDR?smiley
Author RE: Integrate with Vivvo...
admin
Super Administrator



Posts: 33
Location:
Joined: 03.11.09
Posted on 24-05-2010 10:50
Hi jeffshead,
thank you for using Captcha ZDR. You should add

in the target page where the form is submited the following login:

include("class/captchaZDR.php");
$capt = new captchaZDR;

if($capt->check_result())
{
echo 'Your Input is true! :-)';
}
else
{
echo 'Your Input is wrong! :-(';
}
?>

In the first block, please add logic for success inserted captcha, in the second part of "if" block you have badcaptcha code. The captcha code in passed via parameter $_REQUEST['capt'].

In the both pages where the form is placed and the target where the form is submited you should have started session. (before any php code you should have function session_start();)

You should use PHP validation, I don't ttihik this will works fine with JS validation only.

I hope this will help you.
Regards
Zdravko
Author RE: Integrate with Vivvo...
jeffshead
Member

Posts: 2
Location:
Joined: 20.04.10
Posted on 27-05-2010 15:29
zdravko,

Thank you for your reply.

In the both pages where the form is placed and the target where the form is submited you should have started session. (before any php code you should have function session_start()smiley


My site uses Vivvo CMS so it is template driven. I don't think there is a way to add session_start(); before any PHP code. I tried to include a file that contained session_start() but it messed up my page and would not let me log back in until I removed the include.

Any ideas?
Author RE: Integrate with Vivvo...
admin
Super Administrator



Posts: 33
Location:
Joined: 03.11.09
Posted on 29-07-2010 15:58
May be somewhere in the PHP code the session is started, so you don't need to start it twice.
Author RE: Integrate with Vivvo...
admin
Super Administrator



Posts: 33
Location:
Joined: 03.11.09
Posted on 31-03-2012 03:49
ok
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Which PHP framework do you preffer?

Symfony

Zend

CodeIgniter

PHP on TRAX

eZ Components

Fusebox

PhpOpenbiz

Prado

QPHP

Seagull

You must login to vote.
Shoutbox
You must login to post a message.

Vince
03/10/2011 18:17
Hi, How to remove Register from Login screen? I don't want them to register and have full access! if you leave register then they should not have any rights until the admin assigns them

webtoolz
26/09/2011 08:28
Please describe your problem with more details. Thank you.

bimmer98
22/11/2010 18:31
Help. There was a problem with the request; error regarding feedbackzdr form program

Custom web software development by Devzone Tech
Copyright © 2024 - www.webtoolbag.com