• [TUT] Change of the CAPTCHA-Design 5 0 5 1
Currently:  

Author Topic: [TUT] Change of the CAPTCHA-Design  (Read 73317 times)

0 Members and 1 Guest are viewing this topic.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
[TUT] Change of the CAPTCHA-Design
« on: March 31, 2008, 11:17:10 PM »
- zunächst einmal nur in deutsch ...
- a englisch version is coming soon ... or later ...  ;) ... meanwhile use this  English-Google-Translation ...
     - but don't use the php-/html-code from this translation, use the php-/html-code from the original topic ...

Vorbemerkung :

Gibt es eigentlich ein Captcha, wo man wirklich auch mit 50 Jahren :roll: noch erkennen kann, was man eingeben soll?

... gibt es ...  :mrgreen:
... mir gefallen die 4images Standard Captcha-Bilder auch nicht ... und ich finde sie auch höchst unleserlich ...
... und somit sind sie User-unfreundlich und schrecken User vor Kommentaren u.d.gl. ab ...
... denn auch mir ist es in diversen Galerien passiert, dass ich den Code wiederholt eingeben musste ...
... zumal sich viele Fehler bei der Groß- und Kleinschreibung einschleichen ...
... bei Captcha Einführung ab Version 1.7.3 hatte ich (erfolglos) ein anderes, dezenteres Design angeregt ...
... aber man kann ja nun jede Menge konfigurieren ...
... und so habe ich hier mal eine, so denke ich zumindest, User-freundliche Captcha Variante für euch zusammengestellt ...
... die etwas kleiner ist, nur Zahlen und keine überbunten Hintergründe verwendet und den Code nicht total verfremdet ...
... also dann versucht mal meine Variante ( ich denke auch Senioren geeignet ...  :mrgreen: ) ...



Die neue CAPTCHA Konfiguration :

... finde in config.php ...
Code: [Select]
define("4IMAGES_ACTIVE", 1);

... und füge danach folgende Codezeilen ein ...
Code: [Select]
//--- Start Settings for CAPTCHA --- http://www.4homepages.de/forum/index.php?topic=21028.0 ---
//--- config by mawenzi 31.03.2008 ---
$captcha_enable = 1;  // or 0 disables it.
$captcha_enable_comments = 1; // or 0 disables it.
$captcha_enable_upload = 1;  // or 0 disables it.
$captcha_enable_registration = 1; // or 0 disables it.
$captcha_enable_postcards = 1; // or 0 disables it.
$captcha_path = './captcha';  // Path to the folder which contains the CAPTCHA files (backgrounds, fonts).
//$captcha_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";  // default
//$captcha_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; // also possible
$captcha_chars = "123456789";
$captcha_length = 5; // Number of letters of the CAPTCHA strings. Default value is 5.
$captcha_wordfile = 0;  // If this option is set to 1, a word from "captcha/words.txt" is used. Default value is 0.
$captcha_width = 135;  // Width of the CAPTCHA image in pixel. Default value is 200.
$captcha_height = 35;  // Height of the CAPTCHA image in pixel. Default value is 70.
$captcha_text_color = "#000000";  // Color (Hex) of the CAPTCHA text. Default value is "#000000" (black).
$captcha_text_size = 12; // Size of the CAPTCHA text. Default value is 25.
$captcha_text_transparency = 75; // Transparency of the CAPTCHA text. Default value is 60.
$captcha_filter_text = 0;  // If this option is set to 1, the CAPTCHA fonts will be filtered ("obscured"). Default value is 1.
$captcha_filter_bg = 1;  // If this option is set to 1, the CAPTCHA background image will be filtered ("obscured"). Default value is 1.
//--- End Settings for CAPTCHA ---

... mehr Infos zum CAPTCHA ( "Completely Automated Public Turing test to tell Computers and Humans Apart") findet ihr auch hier ...
... http://www.4homepages.de/forum/index.php?topic=14690.0 ...



Das original CAPTCHA Design :

... die original / default Captcha-Bilder sehen etwa so aus ...




Das neue CAPTCHA Design :

... die neuen Captcha-Bilder sehen dann etwa so aus ...

... ich denke dezenter, gut lesbar, besser in diverse Templates passend und trotzdem eine Hürde für Robots und Spamer ...
... darüber hinaus könnt ihr ja natürlich noch weiter konfigurieren ... der Code dürfte ja nun selbsterklärend sein ...



Die neuen CAPTCHA Hintergrundbilder / Fonts :

... zu verwenden sind dann noch die folgenden Hintergrundbilder aus dem Anhang ...
... die Bilder sind zu kopieren nach /captcha/backgrounds ... ( ... die alten Bilder aus dem Ordnen sichern und entfernen ... )
... als Font verwende ich nur /captcha/fonts/verdanab.ttf ... ( d.h. ... die anderen Fonts sichern und entfernen ... )
« Last Edit: April 02, 2008, 03:26:38 PM by mawenzi »
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.297
    • View Profile
    • Discover the New World of Kindersurprise
Re: [TUT] Change of the CAPTCHA-Design
« Reply #1 on: April 01, 2008, 07:42:52 PM »
Danke, hatte es ja schon im ersten Posting gesagt, klappt jetzt auch für uns Senioren  :lol:
Danke Harald




Offline nfdieter

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • Unser kleiner Zoo
Re: [TUT] Change of the CAPTCHA-Design
« Reply #2 on: April 01, 2008, 07:44:25 PM »
Jo, Seniorenfreundlich, brauche meine Brille nicht mehr so oft putzen 8O

Danke sehr dafür

Dieter

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [TUT] Change of the CAPTCHA-Design
« Reply #3 on: April 01, 2008, 07:48:47 PM »
... seniorenfreundlich ... ich will garnicht erst fragen ab wann das gelten soll ...  :mrgreen:
... habe mich oben ja auch schon geoutet ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.297
    • View Profile
    • Discover the New World of Kindersurprise
Re: [TUT] Change of the CAPTCHA-Design
« Reply #4 on: April 01, 2008, 07:51:26 PM »
ich will garnicht erst fragen ab wann das gelten soll ...  :mrgreen:


hau mal dein Alter ins Profil, dann werden wir Dir das schon sagen  :lol:
Danke Harald




Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: [TUT] Change of the CAPTCHA-Design
« Reply #5 on: April 01, 2008, 09:36:58 PM »
Thanks mawenzi! :)
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [TUT] Change of the CAPTCHA-Design
« Reply #6 on: May 04, 2008, 09:25:38 PM »
Thanks mawenzi, nice change in design  :!:

Rembrandt

  • Guest
Re: [TUT] Change of the CAPTCHA-Design
« Reply #7 on: May 05, 2008, 07:19:15 AM »
Hi!
Quote
... denn auch mir ist es in diversen Galerien passiert, dass ich den Code wiederholt eingeben musste ...
... zumal sich viele Fehler bei der Groß- und Kleinschreibung einschleichen ...
ich selber habe auch schon foren verlassen weil es mir unmöglich war deren suche system zu benutzen, jedesmal kam die meldung "sie müssen erst den KOT eingeben" :evil:

mfg Andi


Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [TUT] Change of the CAPTCHA-Design
« Reply #8 on: May 06, 2008, 02:54:26 PM »
@om6acw
... it is precisely for your new web design ... ;)

@Rembrandt
...  :mrgreen: ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [TUT] Change of the CAPTCHA-Design
« Reply #9 on: May 16, 2008, 03:20:28 PM »
Thanks Mawenzi,
but now I have problem, from that time when I make this changes spammers are back in my guestbook, so where is the problem???

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [TUT] Change of the CAPTCHA-Design
« Reply #10 on: May 16, 2008, 03:33:10 PM »
... if they are human spammers ... so they can read all captcha codes, old and new ...  :evil:
... and if they are robot spammers ... so I have no clue ... only try it with the old captcha ...  :?
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [TUT] Change of the CAPTCHA-Design
« Reply #11 on: May 16, 2008, 03:50:20 PM »
... if they are human spammers ... so they can read all captcha codes, old and new ...  :evil:
... and if they are robot spammers ... so I have no clue ... only try it with the old captcha ...  :?

yes, thats exactly what I was thinking , Im going to try put back old captcha for little bit and we will see. But I have to wait because once again I cant get to my website because my ISP have bad routing......

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [TUT] Change of the CAPTCHA-Design
« Reply #12 on: September 25, 2008, 10:58:23 AM »
hi mawenzi,

nice to have, thank you for samples :)
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Cocker

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: [TUT] Change of the CAPTCHA-Design
« Reply #13 on: December 26, 2008, 04:10:34 PM »
Besten Dank, klappt Prima!

lg Cocker

Offline piyo003

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • MATERIAL LOVE
Re: [TUT] Change of the CAPTCHA-Design
« Reply #14 on: February 05, 2009, 11:07:44 PM »
It liked it.
Thank you.  :D :D :D