Hi Smoge,
How can i change Captcha Image. as my site is swedish i want to add some swedish letters to my capatcha images that will cut down all fake and nigeraians signups as they dont have swedish letters on her keyboards.
anyideas how to do this?
Hi Smoge,
How can i change Captcha Image. as my site is swedish i want to add some swedish letters to my capatcha images that will cut down all fake and nigeraians signups as they dont have swedish letters on her keyboards.
anyideas how to do this?
Regards Anders
I wish i could code
My specialities Copy Paste with instruction
swedish dating version dolphin 6.1.5
Edit the array in simg/simg.phpversion dolphin 5.6
Smoge
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
thx smoge,
I find it and as you know my coding is non. i added my swedish characters and tested join form, i could see my characters but not all the time.
is it possible to have one of the 3 characters being addade all the time?
Last edited by birkenstam; 07-17-2009 at 07:48 AM. Reason: cahnge
Regards Anders
I wish i could code
My specialities Copy Paste with instruction
swedish dating version dolphin 6.1.5
I am sure - but need to code for that.
Smoge
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
Hi Smoge,
i just added my characters like this
[CODE]$chars = array("a","b","c","d","e","f","h","i","k","m","n", "o","r","s","t","u","v","w","x","z","å","ä","ö","2","3","4","5","6","7","8","9");/CODE]
i can see the characters in join form but is not working to send form.
is it something easy tochange in code or should i just leave it?
Regards Anders
I wish i could code
My specialities Copy Paste with instruction
swedish dating version dolphin 6.1.5
My god, you really are not a coder... ha ha
Just take out the numbers and letters you dont want....
You can just have 5 or 6 foreign characters in there if you want.
Up to you.
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
Thx Smoge,
again for your help
yes i cant code that part of my brain is missing
i removed "w","x","z" and added "å","ä","ö" still not working i see the letters when i add them is not working to send the form the box gets red.
[CODE]$chars = array("a","b","c","d","e","f","h","i","k","m","n", "o","r","s","t","u","v","å","ä","ö","2","3","4","5","6","7","8","9");/CODE]
this is my code in simg.php what am i doing wrong?
Code:<?php /*************************************************************************** * Dolphin Smart Community Builder * ----------------- * begin : Mon Mar 23 2006 * copyright : (C) 2006 BoonEx Group * website : http://www.boonex.com/ * This file is part of Dolphin - Smart Community Builder * * Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License. * http://creativecommons.org/licenses/by/3.0/ * * Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the Creative Commons Attribution 3.0 License for more details. * You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin, * see license.txt file; if not, write to marketing@boonex.com ***************************************************************************/ require_once( '../inc/header.inc.php' ); require_once( BX_DIRECTORY_PATH_INC . 'images.inc.php' ); ob_start(); $chars = array("a","b","c","d","e","f","h","i","k","m","n","o","r","s","t","u","v","å","ä","ö","2","3","4","5","6","7","8","9"); /* $chars = array("a","A","b","B","c","C","d","D","e","E","f","F","g","G","h","H","i","I","j","J", "k","K","L","m","M","n","N","o","p","P","q","Q","r","R","s","S","t","T", "u","U","v","V","w","W","x","X","y","Y","z","Z","2","3","4","5","6","7","8","9"); */ $textstr = ''; for ($i = 0, $length = 6; $i < $length; $i++) $textstr .= $chars[rand(0, count($chars) - 1)]; $hashtext = md5($textstr); setcookie('strSec', $hashtext, 0, '/'); if ( produceSecurityImage( $textstr, $hashtext ) != IMAGE_ERROR_SUCCESS ) { // output header header( "Content-Type: image/gif" ); header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" ); header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" ); header( "Cache-Control: no-store, no-cache, must-revalidate" ); header( "Cache-Control: post-check=0, pre-check=0", false ); header( "Pragma: no-cache" ); // output error image @readfile( $dir['profileImage'] . 'simg_error.gif' ); } ob_end_flush(); ?>
Regards Anders
I wish i could code
My specialities Copy Paste with instruction
swedish dating version dolphin 6.1.5
Not sure if the code supports non latin characters... this maybe the heart of the problem.
I think you need to troubleshoot it further.. and maybe add some debug output.
Warm regards,
Smoge
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks