Lightquick Web Design - High Quality, Low Cost

LightQuick Web Design - Latest News

HTML clipboardLightQuick has created a US version of the Goodwood Antiques targetted directly to US customers that want to buy in US dollars. The US market is potentially the largest market in the world for any product so it makes sense to focus upon this sector with a unique and targetted site. The US site can be found at HTML clipboard goodwoodantiques.com
You are here:
  • Decrease font size
  • Default font size
  • Increase font size
Walter Cedric's Security Images 4.3 for Joomla 1.0 on Jdownloads. PDF Print
Friday, 11 February 2011

Some of you who have been using the download section of the site may have
noticed some changes on the category and main download pages. The changes
have come about due to the sheer number of downloads that are daily using up
my bandwidth. Some of the downloads could be caused by bots/spiders that
regularly crawl my site and it would be nice to find a way of preventing
these from adding to the download bandwidth.

So, it has meant that I have had to consider implementing a captcha to prevent
these bots using bandwidth but allowing humans to easily download. The changes on
the category page have meant that you can't download directly from the category
list any more. You now need to click through to the actual download page where
you can download as before.

On the download page there is a 'captcha' which you will need to enter to activate
the download button. I have to admit that although it appears in the right place it
doesn't actually work yet. You can enter anything you like and it still lets you in.

So, that brings me to the problem I am encountering.

I am having some problems implementing Walter Cedric's Security Images
4.3 for Joomla 1.0 on Jdownloads. First of all security images is
working perfectly for both the standard Joomla contact form and for
registration.

However, I am trying to modify Jdownloads to use security images, to
prevent bots from performing downloads and stealing bandwidth, so far
the change has been partially successful. I have managed to make the
captcha appear on the download page. However, it always refuses a
captcha check by saying "Login has been refused by anti spamming system
(securityimages)". It does this consistently.

To keep the changes easy to understand I simply worked from the Security
images patches folder, copying the two existing php files that implement
the captcha for the contact form and renaming them to:

joomla.jdownloads.checker.php
joomla.jdownloads.html.php

I then changed the unique package name in both to $packageName =
'security_joomlaJdownloadspage';
I have inserted the relevant calls to both files in the correct place
exactly as shown in the original contact form:

In jdownloads.html.php -
if
(file_exists($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/joomla.jdownloads.html.php'))
{
require_once
($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/joomla.jdownloads.html.php');
}

In jdownloads.php -
if
(file_exists($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/joomla.jdownloads.checker.php'))
{
require_once
($mosConfig_absolute_path.'/administrator/components/com_securityimages/patches/joomla.jdownloads.checker.php');
}

Both these changes are partially successful in that they cause the
captcha to appear and the check to take place at the correct time just
prior to download. However, the verification still does not work. I have
even swapped the code to call the fully working contact versions
(joomla.contact.checker.php
and joomla.contact.html.php) and it still fails.

This points to a problem outside security images bearing in mind it is
working perfectly for both the contact form and for registration. It
just does not quite work for Jdownloads, almost but not quite.

Perhaps JDownloads is making changes to the session variables that is
disturbing Security Images from verifying the captcha input?

Anyhow, I am stumped and have spent a long time trying to get this to work.

It is a security images 4.3.3 installation on a Joomla 1.0.15 site. If I
manage to fix it then I will post the resulting fix here.

Below is an image of the captcha in place and working.

mmsblog_00082_01.jpg
Comments (0)Add comments

Write comment

busy
Last Updated ( Monday, 12 September 2011 )
 
< Prev   Next >

Steampunk Yahoo Widget

How about something special for the weekend sir?

Steampunk Yahoo clock/calendar widget download

Lightquick have a nice little Yahoo widget for you to download. Steampunk Stamp WidgetClick on the image above.

Do you need a stamp with that madam?

Yahoo Widget Downloads

Download the Joomla Multi-Sit... here

Joomla Multi-Sit...

Downloads: 32
Avg. Rating:
StarStarStarStarStar(5)

Download the Steampunk Orrery... here

Steampunk Orrery...

Downloads: 1160
Avg. Rating:
StarStarStarStarStar(2)

Download the Steampunk Weathe... here

Steampunk Weathe...

Downloads: 48182
Avg. Rating:
StarStarStarStarStar(38)

Download the Cyberpunk Yahoo ... here

Cyberpunk Yahoo ...

Downloads: 3301
Avg. Rating:
StarStarStarStarStar(15)

Download the Steampunk CPU / ... here

Steampunk CPU / ...

Downloads: 7906
Avg. Rating:
StarStarStarStarStar(26)

Virtuemart Assistance

If you require assistance regarding VM or Joomla then please contact lightquick here...

Contact me here

Site Total Page Views

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday536
mod_vvisit_counterYesterday756
mod_vvisit_counterThis week536
mod_vvisit_counterThis month19188
mod_vvisit_counterAll Visitors484138

Site Last Modified

Site Last Modified:Monday 21 May 2012, 11:30

Secure Login Form

Log In / Sign Up

Find us on the FreeIndex directory under Web Designers