1
Mods & Plugins (Releases & Support) / Different download options / Verschiedene Download Möglichke
« on: March 12, 2003, 07:48:14 PM »
Thanks Jan, this works great.
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Try this in download.php (not tested):
AddCode: [Select]ereg("(.+)\.(.+)", $file['file_path'], $regs);
$file['file_path'] = $regs[1].'.pdf';
belowCode: [Select]if (!empty($file['file_path'])) {
Jan
Why not just set the download URL to the location of your pdf file? No mod is needed.QuoteDownload URLtaken from the upload image page.
If you fill out this field, the download button will point to the URL you entered, otherwise it will point directly to the image file.
Why not just set the download URL to the location of your pdf file? No mod is needed.QuoteDownload URL
If you fill out this field, the download button will point to the URL you entered, otherwise it will point directly to the image file.
taken from the upload image page.