| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Image Verification in v4.1.5 | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() 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
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#3
|
|||||||
|
|||||||
![]() Very cool. Nice find!
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() can this be somehow configured to be a skin config variable in future updates, so it matches the websites colours then?
__________________
Richard Ultimate 5.4 testing |
|||||||||
#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?
__________________
Thanks...Bling 4.4.2 |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Quote:
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
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() 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!
__________________
Thanks...Bling 4.4.2 |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() It's within the Modules section of the Administration Area ...
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#9
|
|||||||||
|
|||||||||
![]() 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?
__________________
Thanks...Bling 4.4.2 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|