PaNTerSan
Journeyman
   
Reged: 03/19/04
Posts: 127
Loc: EU, Slovenia
|
|
Mod Name / Version: Image Verification v1.0
Description: When user tries to register he has to identify random generated code from an image. This prevents any kind of spam
Working Under: UBB.Threads 6.4
Mod Status: Finished
Any pre-requisites: None.
Author(s): PaNTerSan
Date: 06/14/04
Credits: Planet-Source-Code for image verification class.
Files Altered: newuser.php, adduser.php, ubbt.inc.php
templates\default\newuser_signup.tmpl
New Files: imageverification/class.image.verify.php
imageverification/codetest.php
Database Altered: NO
Info/Instructions: See below.
Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
My notes:
When using my instructions, use some board that supports ubbCode and make copy&paste instructions to a post - then use magic: preview
Class class.image.verify.php was fully rewritten to meet programming coding practice
Feature suggestions & improvements:
None.
History
2004.06.14 PaNTerSan - 0.9.0b Original coding started
Edited by PaNTerSan (09/12/04 02:40 AM)
|
JoshPet
The artist formerly known as Mr. Bug
  
Reged: 11/29/01
Posts: 11414
Loc: Charlotte, NC
|
|
Nice.
--------------------
Josh - Joshua PettitWebsite - For Hire Coding work and Modifications
Feel Better, Look younger - www.BuyTransD.com
Use Coupon Code 1004 to Save $20 Off Your Initial Order of Trans-D Tropin
|
PaNTerSan
Journeyman
   
Reged: 03/19/04
Posts: 127
Loc: EU, Slovenia
|
|
I didn't upgrade attachment (still says beta) since only status has changed.
-------------------- Kind regards,
PaNTerSan
|
PaNTerSan
Journeyman
   
Reged: 03/19/04
Posts: 127
Loc: EU, Slovenia
|
|
Does anyknone know how to change the script for linux fonts?
In file class.image.verify.php there is a $this->SetAttr('FontPath', 'c:/windows/fonts/'); $this->SetAttr('FontName', 'cour.ttf');
I uploaded the cour.ttf to /usr/share/fonts/ttf, made the .dir, .scale and chkfs font but it still wont work.
It shows the image but not the font.
-------------------- Kind regards,
PaNTerSan
|