Welcome, Guest. Please login or register.
July 29, 2010, 07:04:18 PM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es hier .
119280 Posts in 17081 Topics by 9086 Members
Latest Member: Emiliano
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Downloads Module: Download Gallery v1.0 Final released
Pages: 1 ... 8 9 [10] Go Down Print
Author Topic: Downloads Module: Download Gallery v1.0 Final released  (Read 54062 times)
cnwb

Offline Offline

Posts: 234



WWW
« Reply #225 on: August 26, 2008, 05:51:44 AM »

Updated the following

Cleaned and added to the following files:
info.php-updated information
install.php- add new data tables
help.php- added information fixed spelling
modify_file.php- added new tab's started the image insert process
modify_group.php- added hook to languages file in download gallery. started the image insert process
modify_settings.php- added image control feature(borrowed from VideoPlayer module)

Thing's that still need work on:

Database hook for image files frontend and client side.

modify_file.php-configure thumbnail to show in modify/edit after file is saved so you can see the image you uploaded.
modify_group.php--configure thumbnail to show in modify/add group after file is saved so you can see the image you uploaded.
save_file.php- hook to new database fields and or table
save_group.php- need to hook images to database
view.php- add hook to database to show thumbnail

A complete look over of this demo version of download_gallery for any ideas 

Implement this from doc..
Quote
@johnp
Maybe we can integrate the PEAR HTTP Download class to allow for "true hidden" downloads.
This would allow to hide the download URL from the users. Can share the code with you if you like.

Regards Christian
This is still a demo version and should not be mistaken
for a replacement of the current 1.9 version thats in the add-ons
area that is a good working version


« Last Edit: August 28, 2008, 10:30:20 PM by johnp » Logged

doc
Guest
« Reply #226 on: August 26, 2008, 07:20:02 AM »

Hello John,

pleasee find attached a standalone demo for the usage of the PEAR HTTP Download package.
Simply copy the files to a directory in the webroot of your test server and give it try.

The package reads a file with a prefix (salt_xxx.zip) in the folder /downloads and sends it to the browser as xxx.zip. Idea is to create a unique id during file upload which is stored in the database and added to the physical filename itself. This makes it possible to identify the true file path via a unique file id and offer whatever file name you want.

The download directory is protected via .htaccess to prevent direct downloads in the unlikely case the true file name is guessed. However, a index.php should be added to the download folder to prevent directory listing at any case (redirect to view script).

Another improvement would be to make use of the template system shipping with Website Baker (/includes/phplib). This allows to seperate PHP code and HTML statements and to keep readability and maintaining of code more easy. If you need some help on that, please let me know.

Regards Christian
Logged
cnwb

Offline Offline

Posts: 234



WWW
« Reply #227 on: August 27, 2008, 06:07:47 PM »

New Version 08-27-2008

Added the following input fields
WB Fourm User
Contact Email
Development State
WB Thread
WB Link
Also See
description - (WYSIWYG Editor) updated
special instructions - (WYSIWYG Editor) new
Previous Release Information - (WYSIWYG Editor) New
« Last Edit: August 28, 2008, 10:29:58 PM by johnp » Logged

cnwb

Offline Offline

Posts: 234



WWW
« Reply #228 on: August 28, 2008, 01:58:27 AM »

OK! After spending many hours beating my head against the wall I came up with a simple solution.


I needed a way to upload an image to show a sample snap shoot of what ever the download files is
but I also wanted a way to insert images from media folder also so I just created another WYSIWYG box
and by doing this is gives more more flexibility to add to that section.

Although I sure their is a better and much cleaner way of doing this.
If some one else could figure a better solution just use one of the downloads above

thanks

JP
« Last Edit: August 28, 2008, 07:54:33 PM by johnp » Logged

freckles

Offline Offline

Posts: 19


« Reply #229 on: January 22, 2009, 12:00:09 PM »

Hi

I've been asked to add 'client areas' which are private - this part is easy to set using the User/groups.

They also want to have private downloads on these pages. I've protected the 'download_gallery' folder with .htaccess and all works fine if I'm logged in as a admin, but logging in as a client (rights to all pages and only their own preferences) seems to prevent the download working.

Is there a way to mark a file as only downloadable by a certain User/Group?

kind regards
Freckles



Hello John,

pleasee find attached a standalone demo for the usage of the PEAR HTTP Download package.
Simply copy the files to a directory in the webroot of your test server and give it try.

The package reads a file with a prefix (salt_xxx.zip) in the folder /downloads and sends it to the browser as xxx.zip. Idea is to create a unique id during file upload which is stored in the database and added to the physical filename itself. This makes it possible to identify the true file path via a unique file id and offer whatever file name you want.

The download directory is protected via .htaccess to prevent direct downloads in the unlikely case the true file name is guessed. However, a index.php should be added to the download folder to prevent directory listing at any case (redirect to view script).

Another improvement would be to make use of the template system shipping with Website Baker (/includes/phplib). This allows to seperate PHP code and HTML statements and to keep readability and maintaining of code more easy. If you need some help on that, please let me know.

Regards Christian
Logged
ffenton

Offline Offline

Posts: 11


« Reply #230 on: January 27, 2009, 05:09:10 PM »

I know I must be missing something really obvious here but I can't find the answer in this thread or the module help file.

On my site I have a private area restricted via log in to a group called Customers. In this area I have a page using Download Gallery v1.9. Customers can see the list of pdfs that are available for download but are unable to download any of them. If I log in as administrator I am able to download them. So how do you amend the permissions so that the group Customers can download the files?
Logged
freckles

Offline Offline

Posts: 19


« Reply #231 on: January 28, 2009, 10:43:48 AM »

Hi ffenton

Yep, same problem. The only way I could find to get around this was to :
- .htaccess protect the folder that the downloads were to come from (to prevent direct URL access)
- then don't use the module but make a list with normal links in a WYSIWYG panel

This means that the client is then required to log in to see their page of downloads (links to the file), when they click, they need to enter another username & password (could be set the same) to get past the .htaccess protection.

Without  the .htaccess its not secure, with it - I wonder if the download_gallery would be able to work anyway??

--

Also had a similar problem with the 'newsletter' snippet. Here, the client was unable to edit/delete email addresses until I changed the user account so that they had access to the settings panel and a few others -- which I would rather not have done. Don't know why it worked, but must have something to do with how the permissions are functioning.

Hope this helps.

regards
freckles
Logged
michap

Offline Offline

Posts: 2


« Reply #232 on: March 24, 2009, 12:12:41 PM »

Hallo,

I would like to add a time code to every event. is it possible to include this feature into the great event calendar?!

regards
Micha
Logged
JasonB

Offline Offline

Posts: 2


« Reply #233 on: May 13, 2009, 08:09:21 PM »

Quote
This is still a demo version and should not be mistaken for a replacement of the current 1.9 version thats in the add-ons area that is a good working version

I see you've been making some nice improvements to this module. Any idea when you plan to release it? I'm really looking forward to the thumbnail image enhancement.
Logged
FrankH

Online Online

Posts: 574


WWW
« Reply #234 on: May 13, 2009, 09:05:54 PM »

I know I must be missing something really obvious here but I can't find the answer in this thread or the module help file.

On my site I have a private area restricted via log in to a group called Customers. In this area I have a page using Download Gallery v1.9. Customers can see the list of pdfs that are available for download but are unable to download any of them. If I log in as administrator I am able to download them. So how do you amend the permissions so that the group Customers can download the files?

This has been corrected in the current version 2.05 of Download Gallery 2
http://www.websitebakers.com/pages/modules/listings/various/download-gallery-2.php
Logged
Gerard

Offline Offline

Posts: 69


WWW
« Reply #235 on: June 20, 2009, 01:15:27 AM »

I use Firefox most of the time. When I download a .jpg file out of my downloadgallery, it is shown in the browser. Nice, but not neccesary; I just want to download it. When I rightclick on the shown image and click "Save as", the browser shows the name: "dl.php" instead of the name of the file. Is there a solution for both things?
Logged
zarathustra.at

Offline Offline

Posts: 55


« Reply #236 on: March 08, 2010, 01:09:58 AM »

I know I must be missing something really obvious here but I can't find the answer in this thread or the module help file.

On my site I have a private area restricted via log in to a group called Customers. In this area I have a page using Download Gallery v1.9. Customers can see the list of pdfs that are available for download but are unable to download any of them. If I log in as administrator I am able to download them. So how do you amend the permissions so that the group Customers can download the files?

This has been corrected in the current version 2.05 of Download Gallery 2
http://www.websitebakers.com/pages/modules/listings/various/download-gallery-2.php

Because of this I think it would make sense to take out DG v.1.91 of the official add-on repository and replace it with DG 2.xx, as it's a major flaw of the 1.9x version.
Logged
Pages: 1 ... 8 9 [10] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
-->