We extended uploadpath to work together with the private download method and fixed some bugs. We also implemented the possibility to anonymize the filenames. Shall we provide a patch or is our code too far away from the original code?
We use uploadpath together with upload_media (http://drupal.org/node/360123#comment-1364112)
for Indymedia linksunten:
English: http://linksunten.indymedia.org/en/node/770
German: http://linksunten.indymedia.org/de/node/438
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | uploadpath.module.anon_.patch | 5.23 KB | linksunten |
| uploadpath.linksunten.09_03_17.tar_.gz | 9.19 KB | linksunten |
Comments
Comment #1
vm commentedThis should be submitted as a patch so that it can be looked over and applied to a sandbox and if ok, submitted to CVS
Comment #2
davidwhthomas commentedPlease supply this update as a patch against current 6.x-1.x-dev version of uploadpath for testing.
thanks,
DT
Comment #3
linksunten commentedA patch is attached.
I must admit, I don't remember why we deleted
- if(is_object($file)){
- $file = (array)$file; // if object then type cast as array
- }
But I know why we did
- if ($file['new'] && !$file['remove']){
+ if (!$file['remove']) {
We are using upload_media, so we want to convert all attachments to nodes and reattach them through a cck node reference field.
Comment #4
linksunten commentedSorry, we forgot to update the status.
Comment #5
bkosborneWas this ever applied?