For spam prevention, this script utilises a Captcha class to generate a random image on the create ticket and live support pages.
For most people the default options will be fine. however if you wish, you can adjust the captcha settings. To alter the captcha settings, please open the following file
in your text editor:
- classes/php-captcha.inc.php |
Descriptions of each option are shown. Once you have made any changes, save and re-upload this file. Here are a couple of examples:
Changing how many coloured lines are displayed:
Open the captcha class in a text editor. Find the following line in the config options:
define('CAPTCHA_NUM_LINES', 40);
Increase the 40 for more lines, decrease for less. 0 would be a blank background. Save and re-upload captcha class.
|
Adding new fonts
Fonts MUST be True-Type Fonts (.ttf). Upload new fonts into the 'classes/fonts/' directory.
Open the captcha class and find the following:
$aFonts = array('classes/fonts/arial.ttf','classes/fonts/verdana.ttf'),
Add new fonts to array:
$aFonts = array('classes/fonts/helvetica.ttf','classes/fonts/arial.ttf','classes/fonts/verdana.ttf'),
Save and re-upload captcha class.
|
|
|