Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 06:21:21 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 ... 3 4 [5] 6 7 ... 10   Go Down
Print
Author Topic: Downloads Module: Download Gallery v1.0 Final released  (Read 64190 times)
BillyBoy5

Offline Offline

Posts: 2


« Reply #100 on: March 28, 2006, 01:31:41 AM »

Thanks for this module... It's working very good... I was just how to upload files with FTP and mofiy some file and create the download actually offline...

Does someone know if this is possible and how to do it???

Thanks in advance.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #101 on: March 29, 2006, 08:09:03 PM »

Hello Argos,

please use the version from here

http://forum.websitebaker.org/index.php/topic,1849.msg17380.html#msg17380

Matthias
Logged
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #102 on: March 29, 2006, 08:13:53 PM »

Hello Argos,

please use the version from here

http://forum.websitebaker.org/index.php/topic,1849.msg17380.html#msg17380

Matthias

I DID use that one Matthias!
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #103 on: March 29, 2006, 08:29:01 PM »

Crazy,

this version works on a lot of installation, we use it at the addons.websitebaker .org and a lot of more pages and there all works fine. Editing descreption works also the save buttom. Please use only the modify.php from this version. All other modify.php's have issues.

Wich WYSIWYG Editor did you use?

Matthias
Logged
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #104 on: March 29, 2006, 08:51:55 PM »

OOOOPS!! I am very sorry, but closer inspection revealed I was using version 1.1  embarassed

I swear I believed I was using the latest version, but I guess I had just installed the older one again (I had not removed the zip from the directory). I do use 1.3 now and it works fine. Thanks for your help.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #105 on: April 06, 2006, 10:19:20 PM »

Is it possible to mod the download gallery to have groups, just like the news module?
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #106 on: April 06, 2006, 10:44:00 PM »

In the files save_extsettings.ph p and modify_extensions.p hp there is a call to a stylesheet on the domain of the creator:

Code:
<link href="http://127.0.0.1/cdahuizen/admin/interface/stylesheet.css" rel="stylesheet" type="text/css" />

Can or should it be removed?
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Woudloper
Guest
« Reply #107 on: April 07, 2006, 09:08:37 AM »

In the files save_extsettings.ph p and modify_extensions.p hp there is a call to a stylesheet on the domain of the creator:

Code:
<link href="http://127.0.0.1/cdahuizen/admin/interface/stylesheet.css" rel="stylesheet" type="text/css" />

Can or should it be removed?

Hmm, need to investigate this. I thought this was removed in teh latest version of the donwload gallery (as someone reported this earlier to me)!? Are you using the latest version?
Logged
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #108 on: April 07, 2006, 10:11:05 AM »

Damn, my fault. I had to reinstall the module and have installed version 1. I must be getting mad, as this is the second time I installed an older version, thinking it was the latest. Aaaarghh!!! smiley
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
valerie

Offline Offline

Posts: 156


WWW
« Reply #109 on: April 12, 2006, 05:18:12 AM »

This is a long thread, so sorry if this has been mentioned, but it would be great if this displayed the number of times a file has been downloaded.

Thanks for a great module.
Logged

http://www.robcomm.net
--editing and proofreading for American English
--print and web publication management
--graphic and web design, including original photography
orbiteleven

Offline Offline

Posts: 27


WWW
« Reply #110 on: April 26, 2006, 05:17:28 PM »

Okay, so the concept of this module rocks, but I'm concerned about its implementation.  Check these scenarios:
1.
 a) Admin uploads a file joe.jpg called "Joe and his Dog"
 b) Admin uploads a file joe.jpg called "Joe and his Girl"
 c) Admin deletes a file called "Joe and his Girl"
 joe.jpg is now gone for both entries

2.
 a) Admin uploads a file called joe.jpg
 b) Admin is cleaning up the folder called "/download_gallery/" and in a lapse of reason deletes joe.jpg
 The file is now missing

Here's my solution: a) store all "Download Module" files in /.download_gallery/ as opposed to /download_gallery/ to hide it from the media browser and b) use the file id as the storage name so that each entry in the table has only one file and it can't be overwritten by other entries.  I've included quick and dirty version of this.

A better solution (but more time): store the files in binary in the table.  Create a "download" page that checks for permissions.
Logged
centran

Offline Offline

Posts: 76


« Reply #111 on: April 27, 2006, 01:17:46 AM »

Here's my solution: a) store all "Download Module" files in /.download_gallery/ as opposed to /download_gallery/ to hide it from the media browser and b) use the file id as the storage name so that each entry in the table has only one file and it can't be overwritten by other entries.  I've included quick and dirty version of this.

A better solution (but more time): store the files in binary in the table.  Create a "download" page that checks for permissions.
Have not tried it out yet.

Good ideas. except hiding the gallery like that will not work in windows.(right?)
There is no need to have the correct file name becuase the module can handle that. only problem is what file name does someone get when they save as? If it is the id named file then it should be easy to modify the module to give them a properly named file.(i think)

I really like the idea of saving the file in the DB, but this would be a huge strain on the sql server as well as making DB backups very large.
Logged
rsmith

Offline Offline

Posts: 194


« Reply #112 on: May 11, 2006, 11:47:20 PM »

New Version 1.4rc1

Built From v1.3 in the Repository (May 8th 2006)

Fixes
+multiple deleting issues corrected
    +will not delete file if it still exists in another download gallery section
        +only deletes the current section record
    +when deleting sections, again only deletes the file if they are not in another  section
    +autodelete of empty/canceled  records

New Features:
+sort list ascending / descending
+sort by title / position (position over rides the extension sort)
+sort by extension type ascending or descending or not (groups by file type if title is selected)
+admin controled user upload abilitiy so users can upload files, will not overwrite
+overwrite file checkbox for admin
+PSP - Paint Shop Pro File type added

ToDo
-  Download Counter
-  Dropdown/Listing of  files in media_directory folder and below to link to
-  Update links from modify.php only displayed if the updates need to be run
-  Update german DE.php

To Install
new install- addons, modules, browse and install.
update from v1.3 - run the update_gallery_from 13_to14.php  (hope to make this automatic before the final release)

I've tested and corrected on windows and linux with no issues.
So please test and post possible issues. Please also test the upgrade script. But do it not on production sites as this includes alot of updates and is a RC


Have fun

Rob



EDIT: RC2 released below
« Last Edit: May 13, 2006, 01:42:54 AM by rsmith » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #113 on: May 12, 2006, 07:25:19 AM »

Yeah Rob i love your sleepless nights  wink

the upload ability is a great addition, i have one page where i exactly need what you have implemented. Thanks.

The new ordering are also great but at the moment a little bit confusing for the user. So here my thoughts for to make it more userfriendly.

We should have a main option where the user can decide between the "manual ordering" and "automatic ordering".

"manual ordering" means the way of ordering it was before with arrows up and down in admin interface. This should be the standard and all other options for ordering should be not shown in admin interface.

If "automatic ordering" is choosen, you got two new options in the admin interface where you can choose the Orderingtyp (by title, by upload date, by extension) and the way (ascending, descending). In the list of files in admin interface the up and down arrows are deactivated and the sort is the same as in option choosed.

Hope you understand what i mean and it is not to difficult to programm.

One question i have is what does the option overwrite affect?

Thanks for your great work

Matthias
Logged
Woudloper
Guest
« Reply #114 on: May 12, 2006, 08:15:56 AM »

Need to look into your version of the download gallery, but I am very busy lately with non WB things. When I have time this weekend or somewhere in the following week I will download the module and see how it works and how it performs...
Logged
rsmith

Offline Offline

Posts: 194


« Reply #115 on: May 12, 2006, 11:52:47 AM »

Hi

Quote
The new ordering are also great but at the moment a little bit confusing for the user. So here my thoughts for to make it more userfriendly.

We should have a main option where the user can decide between the "manual ordering" and "automatic ordering".
Good Ideas, I wasn't sure the term to use manual/auto is better.. ill tweak that later today. and should be able to hide the other options based on the manual/auto setting

Quote
One question i have is what does the option overwrite affect?
by default (unchecked), if the file exists on the server it will not overwrite it, only the database entry is created, if checked it will overwrite the exsiting file and create teh db entry

let's see if i can explain my reason for this (its still early not awake yet)  grin
like previous versions, when you deleted a file, it would delete the file and break the link if it was used in another section. uploading has the same problem, if the same filename is uploaded to mutliple sections the last file uploaded is the one to be downloaded, breaking the first sections file.

example... setup.exe is a common name, if you have 2 different setup.exe the first one is the one that will stay unless you checked overwrite
with all sections using the same folder, accidental overwrites could mess up other sections with the wrong files etc.. so this overwrite option should help cut back on the accidental changing of the file for other sections,

make sense?....  smiley

I should have these adjustments ready to be posted tonight Smiley lol too bad work gets in the way grin


Thanks
Rob


Logged
rsmith

Offline Offline

Posts: 194


« Reply #116 on: May 13, 2006, 01:42:14 AM »

Here's the next RC version smiley

Version 1.4 RC2

Change Log
+adjusted language files to fix wording, more understandable (per comment above)
+adjusted layout of admin settings
+when "Manual" Sort Order is selected the ability to change the additional sort options disapears, (per comment above)

- I have left the ascending/descending option availabe, makes it easy to reverse the sort order in manual mode, new ones at the top vs the bottom

Install
+ update the language files, info.php, modify_settings.php

ToDo's
-  Download Counter
-  Dropdown/Listing of  files in media_directory folder and below to link to
-  Update links from modify.php only displayed if the updates need to be run
-  Update DE.php NL.php


and its only 8:40pm... still have hours and hours  wink
Have fun and keep the comments coming  grin

Rob



New version below
« Last Edit: May 14, 2006, 05:47:23 AM by rsmith » Logged
rsmith

Offline Offline

Posts: 194


« Reply #117 on: May 14, 2006, 05:53:42 AM »

Download Gallery v 1.4 rc 3

Change Log from 1.4rc2

+download counter - counts the number of times the file has been downloaded

Install
-from v1.4rc2 - copy files, dlc.php, add.php, info.php, view.php & language files
          add "downloads:[DL]" to the loop setting in the admin
-from other versions - follow their instructions plus one above

Please test and help Identify any problems  smiley

Thanks
Rob

EDIT
New Version Below
« Last Edit: May 15, 2006, 09:31:09 AM by rsmith » Logged
Woudloper
Guest
« Reply #118 on: May 15, 2006, 06:37:24 AM »

It is really looking great! Also the fact that you can use the count of downloads in the display section! Would it also be possible that you update the 'help.php' file with the additional fields that can be used and update the changelog overthere?
Logged
rsmith

Offline Offline

Posts: 194


« Reply #119 on: May 15, 2006, 09:35:43 AM »

Download Gallery v1.4 rc 4

Change Log From v1.4 rc 3

+added additional help information and change log as suggested by Woudloper
+adjusted dlc.php (Download counter file) for those not running javascript

Install
-from rc3, overwrite the dlc.php info.php and help.php

Have fun  smiley
Rob


Edit: New Version Below
« Last Edit: May 15, 2006, 10:23:04 PM by rsmith » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #120 on: May 15, 2006, 08:53:07 PM »

Hello Rob,

found two things wich should be solved:

1.) When choosen the old way of ordering with move up and move down arrows and the ordering is changed from ASC to DESC the arrows are showing wrong (you solved this in image gallery, should be the same fix for download gallery.)

2.) in modify_settings.php from line 203 to line 229 the whole "tr" should be hidden. At the moment only the content of "tr" is hidden.

The rest works very fine and and all additions are very usefull. Keep on theat good work you do Rob.

Matthias
Logged
rsmith

Offline Offline

Posts: 194


« Reply #121 on: May 15, 2006, 09:11:17 PM »

I'll take care of the arrows asap...

as far as the <TR content... i'll look at this.. not sure how to make it go away..  the visibilty of the TR I can change.... but if I put the TR within a div or span, it doesnt work... suspect because its part of the table?.... So i'll have to experiment with this... unless someone else knows?...  grin

Thanks for the comments and testing... ill get a new update out asap.

Rob
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #122 on: May 15, 2006, 10:14:11 PM »

Hello Rob,

don't wast too much time with this, this are only a stylish thing. Thought we had some similar at the extended form modul but as i looked there it's done with a similar javascript then yours, and only a additional option field get displayed within the tr/td.

So forget this wish, but the sort thing with the arrows should be solved.

Have not much time the last and the next days, too much work  evil  evil So couldn't help in development next few days. Sorry.

Matthias
Logged
rsmith

Offline Offline

Posts: 194


« Reply #123 on: May 15, 2006, 10:22:34 PM »

Too Late  grin
fixed both issues...

Gallery v1.4 rc 5

Change Log

+Corrected issue with up/down arrows in modify.php
+hides the the setting row for extension sort when order by is manual

Install
-update modify.php, and modify_settings.php


Rob

EDIT
Update Below
« Last Edit: May 15, 2006, 11:57:36 PM by rsmith » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #124 on: May 15, 2006, 10:31:20 PM »

WOOOOOOOOW that was fast  grin  grin  grin

Matthias
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 10   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!