X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Image Verification in v4.1.5 (https://forum.x-cart.com/showthread.php?t=27720)

chamberinternet 01-01-2007 11:33 AM

Image Verification in v4.1.5
 
Hello ...

Does anyone know how to change the colour of the foreground text within image verification block? ...

I found a file called font.png within /modules/Image_Verification/img_generators/default and changed the colour of the text there, but that didnt make any difference...

Does anyone have any other ideas?

Thanks & Regards

Shafiq :sK

chamberinternet 01-01-2007 12:05 PM

Re: Image Verification in v4.1.5
 
Cool .. i've figured it...

- Open /modules/Image_Verification/img_generators/default/default.php

- At about line 192, you will see the following array for the variable text_color

$text_color = array (
'red' => 0,
'green' => 0,
'blue' => 0,
0 => 175,
1 => 17,
2 => 92
);

- Change the RGB values for 0, 1 & 2 (in my example above, it's set to display in pink 175, 17 & 92)

Hope this helps everyone else :)

Regards

Shafiq :sK

carpeperdiem 01-01-2007 01:00 PM

Re: Image Verification in v4.1.5
 
Very cool. Nice find!

RichieRich 01-02-2007 03:16 AM

Re: Image Verification in v4.1.5
 
can this be somehow configured to be a skin config variable in future updates, so it matches the websites colours then?

Bling 01-09-2007 07:18 PM

Re: Image Verification in v4.1.5
 
Sweet, if I could only figure out how to get it activated I would change teh colour. I have selected where I want the verification to occur..ie reg page. But for some reason its not showing up. Do ya have to turn it on somewhere else?

chamberinternet 01-10-2007 02:12 AM

Re: Image Verification in v4.1.5
 
Quote:

Originally Posted by Bling
Sweet, if I could only figure out how to get it activated I would change teh colour. I have selected where I want the verification to occur..ie reg page. But for some reason its not showing up. Do ya have to turn it on somewhere else?


Ummm .. not really ... have you made sure you have the correct smarty code to include the image verification module within the relevant pages?

Regards

Shafiq :sK

Bling 01-10-2007 01:06 PM

Re: Image Verification in v4.1.5
 
hmmm...smarty code? I cant just turn that option on somewhere in admin? How and where do I turn it on, I couldnt find anything in the manual.

Thanks!

chamberinternet 01-11-2007 12:41 AM

Re: Image Verification in v4.1.5
 
It's within the Modules section of the Administration Area ...

Bling 01-12-2007 05:41 PM

Re: Image Verification in v4.1.5
 
Ive gone in a checked them all...the only thing Im not sure about is the cell for Image Generator..what do I put in that box?


All times are GMT -8. The time now is 03:24 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.