I get an annoying warning message from the update status module, saying that the version of this module I'm using is 'Not supported'

I'm not having any problems with the version of the module I'm using, in fact its extremely useful

Just wondering if there's a particular reason you discontinued support for Drupal 5

Comments

Garrett Albright’s picture

Because I don't use Drupal 5 anymore myself, so it's bothersome to try to troubleshoot peoples' problems with it and keep it and the D6 versions in synch.

Maybe try editing out the version info from the .info file. Update Status (at least the D6 version) ignores modules which don't have version info.

patchak’s picture

The only thing I wish could be backported is the path needed to download a file. Since with imagecache, the file path is actually embedded into a variable ('filepath') it's impossible to insert the string "download" in there.

This is for a site that the client does not wish to upgrade before a long time, do you think it would be possible to just change the d5 version so that it uses the same path as the d6 one so the I can create some links like : download/$node->fieldname['filepath'] ??

that would be awesome, even if you just tell me where to change it in the code!!

Thanks a lot,

Alexis

Garrett Albright’s picture

Try looking at line 20. That's where the path which activates File Force is set.

NaX’s picture

I did not know there where beta version available so I end up back porting v6.

In case anybody else interested here is what I did

file_force.info

; $Id: file_force.info,v 1.1.2.1 2008/08/10 06:25:33 garrettalbright Exp $
name = File Force
description = Force your visitors to download requested files.
package = "Other"
core = 5.x
php = 4.4
; Information added by drupal.org packaging script on 2008-11-11
version = "5.x-1.1"
core = "5.x"
project = "file_force"
datestamp = "1226374811"

file_force.module

function file_force_menu() {
  $items = array();
	$items[] = array(
    'path'        => 'download',
    'title'       => 'File Force',
    'description' => 'Force visitors to download requested files',
    'callback'    => 'file_force_go',
    'access'      => user_access('access content'),    
    'type'        => MENU_CALLBACK,
	);
  return $items;
}

The rest of the file stay the same.

arski’s picture

Status: Active » Closed (won't fix)

Hi. FYI - I will be taking over the maintenance of this module, however, just like Garrett I don't use D5 and I'm afraid I won't be developing that version any further. In case any of you wants to help out with that, like submit patches and backports, just let me know and I'm sure we'll be able to arrange something.

robin van emden’s picture

Thanks NaX, you saved me some time here!