[mod] Captcha Fancy
 
Notifications
Clear all

[mod] Captcha Fancy

10 Posts
7 Users
0 Reactions
5,605 Views
(@eyedam)
Posts: 64
Trusted Member
Topic starter
 

Description

This modification replaces the current captcha code with one that uses true type fonts to display the code. Meaning you have much more possibilities of how to customize the looks of the code symbols.

You can select several fonts simultaniously, which will then be used randomly in the captcha code. You can select the minimum and maximum font size for each font separately.

Here is a demo image with a few captcha samples with the default configuration:

Requirements

GD2 library have to be enabled on the server your site is running on.

Mod History

3.1.1.1
- Initial version.

Download the mod

Downloading from CVS

This mod along with my other eFiction mods is available on the SourceForge CVS server. You can get any mod version from there as well as see script changes as (if) it is being developed. Here are the instructions on how to do it.

1) Download and install TortoiseCVS – it is a CVS client freeware.

2) Open up a folder where you want to download the mod, right-click and choose "CVS Checkout...".

3) Paste this in the "CVSROOT" field: ":pserver:anonymous@efiction.cvs.sourceforge.net:/cvsroot/efiction" (without the quotes) or you can manually choose "Password server" as protocol, "efiction.cvs.sourceforge.net" as server, "/cvsroot/efiction" as repository folder and "anonymous" as user name.

4) Paste this as the module: "modifications/captchaFancy/".

5) If you want you can choose a particular version of the mod by
5.1) clicking on "Revision" tab,
5.2) choosing "Choose branch or tag",
5.3) clicking on "Update" button (and waiting while the Tortoise connects to the CVS server on another window and checks for available versions),
5.4) and then choosing the desirable version from the "Branch or tag name" drop-down menu (for example "v3-1-1-1").

6) If you want to avoid downloading CVS's inner working files (which are grouped in folders named "CVS" in each folder of the modification but which have nothing to do with the modification itself), click on the "Options" tab and choose "Export" as the purpose of checkout.

7) Click "OK" and wait a bit as the files are being downloaded to your computer.

Compare mod's files as they're being updated

Go to CVS repository's web interface, click on the desired file and choose "Diff to previous xxx" or choose anything else there to click on. (Currently no differences for this mod.)


The wireless music box has no imaginable commercial value. Who would pay for a message sent to nobody in particular? (1920)

 
Posted : 23/02/2007 1:51 pm
(@eyedam)
Posts: 64
Trusted Member
Topic starter
 

All right, here is my first modification for eFiction version 3 (although I am still not using it on my site, so this mod is not tested live). I've changed the eFic's captcha script to make it more flexible and customizable, currently enabling to use fonts and have symbols bigger than the ones possible in the current script.

I've included five free fonts I found on the Internet, you can keep these or use your own. You can use as many fonts as you want (of course, at least one is necessary) – they all will be used randomly in the code. When you add to the list which fonts to use you also set the minimum and maximum size (in points) for each font.

The installation is pretty easy – you'll only need to replace one eFic file and upload the necessary fonts. Also, the font setting (adding) is simple – read more in the mod's instructions. By default, I've tried to choose such fonts and sizes that they are readable in the captcha image. "suckgolf.ttf" font has a bit clumpy zero symbol, and now and then some harder to understand image appear, but user can just refresh once and generally, I think, it's OK. You can see a few samples in the demo image in the first post.

Note that for this mod to work you have to have GD2 library for PHP installed on your server. To check if you have it, go to your eFic admin panel -> PHP Info. There scroll down and search for a table titled "gd". If you have such table and there are rows "GD Support enabled" and "FreeType Support enabled", then you can use this mod all right.


The wireless music box has no imaginable commercial value. Who would pay for a message sent to nobody in particular? (1920)

 
Posted : 23/02/2007 1:52 pm
(@aithine)
Posts: 10
Active Member
 

Hey, thanks, that's a nice mod to have. πŸ™‚


 
Posted : 05/05/2007 11:32 pm
(@becca)
Posts: 553
Honorable Member
 

Eyedam, the file is no longer available, could you please re-upload it, or if anyone has a copy, please do?


 
Posted : 18/10/2007 11:54 pm
(@eyedam)
Posts: 64
Trusted Member
Topic starter
 

Mod re-uploaded.


The wireless music box has no imaginable commercial value. Who would pay for a message sent to nobody in particular? (1920)

 
Posted : 21/10/2007 9:36 am
(@lyssa)
Posts: 34
Eminent Member
 

I would like this mod, but the file is unavailable. could someone please reupload it.


 
Posted : 26/11/2007 5:30 pm
(@eyedam)
Posts: 64
Trusted Member
Topic starter
 

Sorry for that, the download expires if nobody downloads it for some time. I've re-uploaded the file, please try now!

In addition, I've uploaded almost all of my eFiction modifications to SouorceForge where they'll not expire, so you can get them from there. Even each of the earlier versions, too, when I'll post newer ones.

I've posted instructions on how to get a modification out of the CVS repository in my first post of this thread.


The wireless music box has no imaginable commercial value. Who would pay for a message sent to nobody in particular? (1920)

 
Posted : 26/11/2007 7:43 pm
Nadia
(@nadia)
Posts: 255
Reputable Member
 

I would love to download that mod too, but the link is dead again. Can you please reupload or send it to me via mail? nadia@fandominated.de
Thanks! πŸ™‚


My Hub TrekNation | World of X | Arda Fanfiction

 
Posted : 03/06/2008 6:09 am
(@zxfactor)
Posts: 22
Eminent Member
 

Could I get a download for this mod I'm interested in using it.. Thanks


 
Posted : 20/03/2009 1:33 am
(@guest6340)
Posts: 0
 

Can you re-upload it again? I would like to use it.


 
Posted : 07/06/2009 12:27 pm
Share: