Author Topic: security images  (Read 3999 times)


  • Guest
security images
« on: June 23, 2008, 12:32:44 pm »

I'm getting a lot of spam through the "ask a question" form of VM 1.1. I installed Security imgages 4.3.3. Somehow this doesn't work with VM 1.1 stable on Joomla 1.0.15.
Somewhere I have read, that it should. (It is also not working on my test environment where I'm using Joomla 1.5.3, Security Images 5 RC1 and VM rev 1433)

So, my two questions:

1. Is Security Images working in general with VM 1.1?
2. If it is, is it also possible to use it with the "ask a question" form?



  • Guest
Re: security images
« Reply #1 on: June 23, 2008, 14:10:12 pm »
So, I got Security Images to work with VM after reading in the VM manual.
I have tried now to modify the shop.ask.tpl.php by inserting the following code:

Code: [Select]
if (
file_exists($mosConfig_absolute_path.'/administrator/components/com_securityimages/client.php')) {
include ($mosConfig_absolute_path.'/administrator/components/com_securityimages/client.php');
// Note that this package name must be used on the validation site too! If both are not equal, validation will fail
$packageName 'securityVMAskCheck';
echo insertSecurityImage($packageName);
echo getSecurityImageText($packageName);

Somehow this doesn't work: It doesn't matter wether I don't fill in the code or fill in a wrong code. The form will be sent anyway.

Does someone have an idea?



  • Guest
Re: security images
« Reply #2 on: June 26, 2008, 17:58:49 pm »
As long as there is

Code: [Select]
if (file_exists($mosConfig_absolute_path.'/administrator/components/com_securityimages/client.php')) {
I think Security Image can't work with VM 1.1 in Joomla 1.5 ,because there is no client.php file in Security Image for Joomla 1.5. Shouldn't there be a code change, or an if-else code to make it working with both, Joomla 1.0.15 and 1.5? It works for me in Joomla 1.0.15 in the registration form but not in J! 1.5.3.

(see ps_userfield.php, line 430)


  • Beginner
  • *
  • Posts: 39
Re: security images
« Reply #3 on: June 26, 2008, 18:32:18 pm »
If do not like Security Image, you may have a look at my tinCatpcha (in hack thread)
You can have more information to modify "Ask Question" module.
My site gets a lot of spam too, so I just enable this feature only for logged-in users