Page 1 of 2
Hello,Fo
Posted: 29 Dec 2007, 00:34
by dsimons
Hello,
For my users its really hard to see that characters are showing. Is it possible to only use number in the captcha script ?
That would help me alot !
Hope someone can help me.
Thanx Dave
Yes, it si possible,
Posted: 29 Dec 2007, 01:07
by Jan
Yes, it si possible, but you must edit source code of Captcha class. But I have created it to make possible do easy changes.
You can select:
- only numbers
- only lower case characters
- only upper case characters
- you can delete every character you want
Go to:
joomla/com_phocaguestbook/helpers/phocaguestbookcaptcha.php
Row: +- 45
Jan
Oke,than
Posted: 29 Dec 2007, 10:57
by dsimons
Oke,
thank you verry muts, now i deffenitly gona use it !!!!!
Thanx Dave
Great guestbook, it
Posted: 04 Jan 2008, 12:06
by roeiegans
Great guestbook, it works very good on my site. However regarding this topic, i tried to modify phocaguestbookcaptcha.php. My knowledge of PHP isn't that good, the gaol I want to achieve is that Captcha uses only numbers and lowercase characters and instead of 6 just 4 characters.
I started setting the generateRandomChar to 4 and removing $rand_char[4 and $rand_char[5] in the function createImageData.
In the function generateRandomChar I then set the length to 4 and removed the complete array upper and the link to it in the next ($char_group) line.
This all seemed to work, I got to see in my frontend what I wanted (4 characters, numbers and lower case characters) , however posting a new message didn't work. I always got the error that the entered captcha code was wrong (even when it generated 4 numbers). What am I doing wrong? What should and should not be modified?
many thanks for your help allready in advance.
Roel
You can download it
Posted: 04 Jan 2008, 13:56
by Jan
You can download it from:
https://www.phoca.cz/phocaguestbook/inde ... e=download
(It is the class zip file with only 4 characters function - lower case and numbers)
You can download
Posted: 27 Jan 2008, 20:10
by Terago
You can download it from:
https://www.phoca.cz/phocaguestbook/inde ... e=download
(It is the class zip file with only 4 characters function - lower case and numbers)
Hi i tryt to use the mod but its not working i have 6 digits with numbers and letters lower and upper case nothing changed.
what did i wrong?
Which mod? Do you th
Posted: 27 Jan 2008, 21:57
by Jan
Which mod? Do you think the phoca captcha class or Phoca Guestbook component... Please let me know the name of your site...
the phoca captcha cl
Posted: 28 Jan 2008, 13:31
by Terago
the phoca captcha class i use the book on URL
i put the phocaguestbookcaptcha.php in the right folder but theres no changes.
ahhh i got it, i uni
Posted: 28 Jan 2008, 14:00
by Terago
ahhh i got it, i uninstallt the book and modyfied the zip file that the phoca chapta clas was already includet now it works. how can i activate the german language pack for it and why i cant change the blue color of the table.
thx
You can change the b
Posted: 28 Jan 2008, 15:21
by Jan
You can change the blue color, but you must change it in menu link, in parameters component, because this menu link settings override default settings in component in Joomla framework ...
Deutsch - du musst die deutschen Sprachdateien ins Verzeichnis de_DE im Verzeichnis 'languages' kopieren und es soll arbeiten wenn du die deutsche Sprache fĂźr den 'front' definert hast...
Jan