xoops forums

anestism

Just popping in
Posted on: 2008/12/29 22:48
anestism
anestism (Show more)
Just popping in
Posts: 18
Since: 2006/7/4 1
#1

help with installing securityimage module v1.0

Hi there! I want to install the module called securityimage but I do not know how. Are there any directions in English (I found something in French but...) so I can install it?
Thank you in advance...

ghia

Community Support Member
Posted on: 2008/12/30 0:15
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#2

Re: help with installing securityimage module v1.0

Translated Quote:
Installation

Unpack the archive to the root of xoops.

Edit the file /class/xoopsformloader.php and add following line :
include_once XOOPS_ROOT_PATH."/class/xoopsform/securityimage.php";

Edit file /language/english/global.php and add following lines :
define("_SECURITYIMAGE_CODE","Security Code");
define("_SECURITYIMAGE_GETCODE","Enter the security code");
define("_SECURITYIMAGE_ERROR","Invalid security code");
define("_SECURITYIMAGE_GDERROR","The GD extension of PHP has to be installed : See PHP Manual");
define("_SECURITYIMAGE_FONTERROR","No font files found,
verify your installation"
);
Do the same for other languages used (with translated texts).
Quote:


Edit the file /class/mimetypes.inc.php and add the following line in the table :
"ttf" => "image/ttf",


Set write permissions (chmod 777) for all directories of directory /uploads/securityimages/
Probably for directory /uploads/securityimages/ also.

There are instructions for integration in some 40 modules (French).

anestism

Just popping in
Posted on: 2009/1/2 20:51
anestism
anestism (Show more)
Just popping in
Posts: 18
Since: 2006/7/4 1
#3

Re: help with installing securityimage module v1.0

thank you very much.