Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Advertise on this site

Joomlapolis Forums  


<< Start < Prev 11 12 13 14 15 16 17 18 19 20 Next > End >>
Re:CB goes Captcha!
Date: 2007/03/09 21:52 By: AtlasShrugging Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
Info, Required & This field is visible on Profile icons appear next to the entry field. Is there somewhere that we can remove/hide these icons? They really don't belong.

Thank you so much for moving CB in a more secure direction. Once audio/disability options are added to captcha, we will finally be able to jump from the SMF to CB Login.

Thank you thank you thank you.
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB goes Captcha!
Date: 2007/03/10 14:29 By: bugnotme Status: User  
Karma: 2  
Fresh Joomlapolitan

Posts: 7
graphgraph
so why anybody help us??what is gonna happen for those who have gd libraries ok, no extra characters and the template ok???
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB goes Captcha!
Date: 2007/03/10 15:31 By: bugnotme Status: User  
Karma: 2  
Fresh Joomlapolitan

Posts: 7
graphgraph
the funny thing is that i have other two component with captcha...they both work but this one doesnt...so it must be something specific having to do with this plugin...pls help!!!!!!!!!
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB goes Captcha!
Date: 2007/03/10 16:54 By: beat Status: Admin  
Karma: 231  
Admin

Posts: 3629
graphgraph
bugnotme wrote:
the funny thing is that i have other two component with captcha...they both work but this one doesnt...so it must be something specific having to do with this plugin...pls help!!!!!!!!!

There is one difference between this plugin and all others I know of....

This one uses a standard Joomla! entry point to generate and return the image.

This is so here in order to benefit from all security protections and checks done by Joomla!.

The downside is that if any of the files that are included by Joomla or CB are outputing any characters, this compromises the image, which can't be displayed.

So verifying the files that you changed or third-party files that get included for blank lines or spaces will help you to find the culprit.

Ususal suspects are:
- Those which you or other admins tend to edit.... :
- Joomla and CB language files
- index2.php (the genuine one works fine, so if you didn't change it's ok)
- 3pd mambots (core ones are fine if unchanged).

You need to use a very simple editor (simpler than wordpad) which displays also hidden chars. Typically a blank line or space before the opening "<?php" and after the closing "?>" in php files are deadly..

We will try to add some debugging / check tools in next CB release, E.g. sample captcha image view in backend which doesn't use some front-end files, to help in this respect. We will also see if we can address that problem a little differently without loosing the security offered by Joomla's entry points, and that's really important !

Hope this helps. Sorry it's impossible for us to provide free private support on those particular problems. We did a few to make sure there is no other problem left, but this is the only one.
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The administrator has disabled public write access.

OOPS!
Date: 2007/03/10 18:13 By: bugnotme Status: User  
Karma: 2  
Fresh Joomlapolitan

Posts: 7
graphgraph
excuse me but i forgot to tell you guys that i am on mambo

i know that now i will be forget and left alone because you are with joomla but...
is there any change that i am gonna get a reply?
may be my captcha doesnt work because i am on mambo...right or not???

Post edited by: bugnotme, at: 2007/03/10 18:15
Click here to see the profile of this user The administrator has disabled public write access.

Re:OOPS!
Date: 2007/03/12 11:50 By: bugnotme Status: User  
Karma: 2  
Fresh Joomlapolitan

Posts: 7
graphgraph
can i suggets something:
there is a code which could be used for those ( like me ) who can not use your system...maybe someone who knows php code could create a little plug in. Here is the code:

<?php
session_start();
if(
isset($_SESSION['hideciapcia'], $_SESSION['ciapcia']) &&
strlen(trim($_POST['hideciapcia'])) > 0 &&
$_SESSION['ciapcia'] === $_SESSION['hideciapcia']
) {
what you want to show...such a http address or even a simple word like " 123jerico54"
}
$_SESSION['hideciapcia']=$_POST['hideciapcia'];
$_SESSION['ciapcia']=$_POST['ciapcia'];
?>
<script type="text/javascript">
var ciapcialength = 20;
var ciapciaid = 'ciapcia';
function createCiapcia() {
if(!ciapciaid.innerHTML)
ciapciaid = document.getElementById(ciapciaid);
var chars = new Array();
for(var a = 0; a < 40; a++)
chars.push(String.fromCharCode(a+97));
for(var a = 0; a < 10; a++)
chars.push(String.fromCharCode(a+48));
var extract = parseInt(Math.random() * chars.length);
if(parseInt(Math.random() * 2) == 0)
chars[extract] = chars[extract].toUpperCase();
ciapciaid.innerHTML += chars[extract];
if(ciapcialength-- > 1)
setTimeout(createCiapcia, parseInt(Math.random() * 1000));
else {
document.getElementById('sendinfo').disabled = false;
document.getElementById('verify').value = ciapciaid.innerHTML;
}
}
</script>
<body onload="createCiapcia();">
<form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<span id="ciapcia"></span><br />
<input id="verify" type="hidden" name="hideciapcia" />
<input type="text" name="ciapcia" />
<input id="sendinfo" disabled="true" type="submit" value="enter" />
</form>
</body>

basically it is like captcha but without image...it create whatever you want....and as for as i know it is very secure because it is created by using javascript so spambot can not read it. It was created by an italian programmer and it is free to use.

any help???

Post edited by: bugnotme, at: 2007/03/12 11:53

Post edited by: bugnotme, at: 2007/03/12 12:07

Post edited by: bugnotme, at: 2007/03/12 12:17
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 11 12 13 14 15 16 17 18 19 20 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC2, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login