Whatever Download

Basically, every link pointing to an image (in some browsers even PDF) open directly in the browser itself. If you want to download the image (or PDF) you can only do this by right clicking > Save file/target as ...
And this is where "Whatever Download" comes into play. With "Whatever Download" you can download any file with the default
browser download dialog without viewing them in the browser itself.
+++ UPDATE 28.12.2009 +++
Please update ALL older Versions as soon as possible!
There was a security Problem in older Versions which are fixed in Version 1.2.0!
+++ UPDATE 09.12.2009 +++
I've tested Whatever Download on a 1.5.15 Joomla. - Working fine.
One more comment to eaglegrafix's review:
- I haven't received an email from eaglegrafix... (I searched also in the Spam-Folder). Maybe it's a problem with his mail-cient? I've tried to send a mail to my mail-account myself and the mail arrived a few minutes later!
- "Seeking help on the forum resulted in suggestions that were exactly like the instructions." - Uhm...in which Forum?! I've searched at Joomlaportal and joomla.org... but no luck!
For Support Questions please use the Joomlaportal Thread!
I think the 1-Star-Rating is really unfair, cause i've tried it several times on diferent Joomla's and servers and the Plugins works fine everywhere! Surely the Problem is caused by eaglegrafix himself...
@eaglegrafix: Please use this mail adress to contact me again, so i can look into your problem: biendlp.htc[at]googlemail.com
+++ UPDATE +++
Changes and new Features in 1.1.0:
- New Design
- Hover-Field with Informations about the attached File (Filename, Filesize, Filetype)
- The Option "name" is no longer used for the Filename! Now its used to define the Text of the Download-Button
Installation instructions:
1. Install using the Joomla plugin installer
2. Activate plugin
3. Create a Folder called "wdownloads" in Joomla-Root and put the files to download there
4. Call the Plugin:
{wd file=pathtofile name='buttontext'}
Sample Call:
{wd file=images/save.png name='Download the file save.png'}
Notes:
- "file": no spaces and/or special characters! Underscores (_) and dots (.) are allowed
- For "file" no leading slash (/), see sample call above
- "name": Almost all (special) Characters are allowed - Quotes (') and double Quotes (") are NOT allowed!
- The value of "name" have to be between two single Quotes ('), no double Quotes (")!
Tested browsers:
- Firefox 3
- Internet Explorer 6
- Internet Explorer 7
- Internet Explorer 8
- Opera
- Safari for Windows
Language Support:
You can define your own Button Text, so the only Text to translate is the Description in the Hover-Field and the Error Message if the File is not found!
Hover-Field: It's just a simple image in /plugins/content/wd/
Error Message: Open wd.php in /plugins/cont
Please read the Joomlaportal Thread (The First Post),
there you'll see how the Download-Links have to look like.
In Default-Configuration, you have to put your downloadable Files into "www.domain.de/wdownloads/", if you're using a subdirectory, "http://localhost/jommlasite/" or "http://www.domain.de/joomlasite/" for example, you need to change the Code.
Look at line 19 in wddownload.php, you have to change the integer (3 by default) to something higher. For 1 Subfolder you need to replace it with 4, for 2 Subfolders you need to replace it with 5, and so on...
Try it, it's easy ;)
The Fact that it worked for you a few days ago says that its no bug of the plugin, i think its caused by you and/or your webserver. You're free to ask in the Joomlaportal Thread. Most common problem is inserting the plugin-code into your wysiwyg editor. Some of them are converting parts of the code to "html-friendly phrases" - but thats the problem, the plugin cant replace such phrases by the Download-Buttons.
You can check your original HTML-Code with an extension like Firebug or just viewing the Source Code of your page.
Whatever download wasnt developed "for the community", i developed it for my personal usage and then shared it with the community - so whatever download is provided as it is, you are free to change the code, css, images, and so on - but i'll not extend the plugin to work on every site - on every background-colors.
Rating an extension with 1/5 stars without asking the dev for help is unfair i think, but ok, its your opinion.
You can use every file whatever you want, just place the path to your file behind "file". On default state you have to put your downloadable files into the wddownloads folder in your joomla root, as descriped in install instruction, but you can change this behavior by changing the code a bit, just read through the Joomlaportal Thread to find how to do so.
If you have another question about the Plugin, just ask in the Joomlaportal Thread, if you dont know much about german, you can ask in english also!
There is simply one problem. The download start and there is no message while downloading.
Just after the file is on the local computer the pop up is comming (where to save the file).
It will be very confusing for costumer, because most will not understand that the download has already started.
Usualy when you start in the internet as first come the DOWNLOAD WINDOW.
This plugin works exactly as it states.
One thing i discovered is that if there are two instances of the downloads on the samepage, then the download does download does not work and all the links point to only one file.
Hi there, thx for your Review!
I've tried it myself and my Download-Buttons work fine, even if i add 10 on one page! Maybe you set the Download-Links wrong?
BUT! When i download files via the WD syntax, they dont work, their size are 1kb and within the file is some html code about:
URL file-access is disabled in the server configuration in wddownload.php on line 23..
So if fix to this isse would exist in the instruktions as well, it would be great.
Because the german support forum is hard for us english dudes...
Hi there!
Whatever Download uses readfile-PHP-function. If this function isn't allowed on your server, WD wont work... A lot of free Hosters like funpic are blocking such functions!
If you have questions about this Plugin, you can ask your question in the German Forum, i'll answer it as fast as i can in english ;)
Greetings
Hi there!
Sorry for the late Answer, but my Joomlaportal EMail-Adress is different to the EMail-Adress here in JED!
Due to private problems i didn't check this email-account a long time. Also i didn't read the new Joomlaportal Threads (or some of mine).
To your Problem:
I don't know why it isn't working for you, but maybe the Joomla Dev's have changed some code in 1.5.15 (Do you use 1.5.15?)... I'll look into it, if i have some time left!
I'll answer your email as fast as i can.
Greetz,
infernalshade
This extention is very easy to use, and have a great look. It's easy to style the download look by changing the css.
The only thing i can mention is that you cannot use the - in filenames. I had a lot of filenames or directories with - in, and had to rename them all. I could wish the extention supported the - the same way as it supports the _
Thank's a lot for great work!
Hi and thx for your Review! :-)
To allow "-" in the Filename you have to open plugins/content/wd.php and change line10 from this:
$regex = "(\\{)(wd)(\\s+)(file)(=)((?:[a-zA-Z0-9_.\/]*))(\\s+)(name)(=)('.*?')(\\})";
to this:
$regex = "(\\{)(wd)(\\s+)(file)(=)((?:[a-zA-Z0-9_-.\/]*))(\\s+)(name)(=)('.*?')(\\})";
This modification is UNTESTED, but i think it'' work :-)






