Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 06:47:28 AM
1 Hour
1 Day
1 Week
1 Month
Forever
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
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Downloads Module: Download Gallery v1.0 Final released
Pages:
1
...
7
8
[
9
]
10
Go Down
Author
Topic: Downloads Module: Download Gallery v1.0 Final released (Read 64191 times)
doc
Guest
Download Gallery v1.83 released
«
Reply #200 on:
April 14, 2008, 06:38:49 PM »
Hello,
the forum member thorn has added some fixes and removed a possible security vulnerability from the Download Gallery module. If you are using the module, please upgrade to the latest version available from the addons repository.
Regards Christian
Logged
bupaje
Offline
Posts: 519
Re: Downloads Module Problems
«
Reply #201 on:
May 27, 2008, 06:30:34 AM »
Hi. I have the latest version of the download gallery installed and am having some problems. If you go to this page and try the download link
http://stormvisions.com/pages/freebies/photoshop.php
It goes to
http://stormvisions.com/modules/download_gallery/dlc.php?file=7
then
http://stormvisions.commediadownload_gallerysv_wood_damage_1.zip/
the url slashes are all screwed up. Any help appreciated.
Logged
My Blog, My Site
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7660
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #202 on:
May 27, 2008, 08:04:21 AM »
Hello,
what server did you use? The problem seems that the "/" for the path /media/downloadgallery/ are removed.
Matthias
Logged
bupaje
Offline
Posts: 519
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #203 on:
May 27, 2008, 08:23:34 AM »
It is Yahoo webhosting (now bought by AT&T)I don't know much about it but looking at some stuff here I see it uses FreeBSD -is that what you need? I would settle for being able to manually add the url instead of using the drop down box if there was an easy hack to do that and it would solve the problem.
Logged
My Blog, My Site
bupaje
Offline
Posts: 519
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #204 on:
May 27, 2008, 08:30:16 AM »
Ahh! Not sure why but if I upload the file using Browse it works. It is if I use the Media Directory File picker that I have problems. I will upload from my desktop for now but if anyone else has a similar problem it might be worth noting. Thanks for answering.
Logged
My Blog, My Site
Shooye
Offline
Posts: 14
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #205 on:
June 09, 2008, 12:56:15 PM »
Hello all.
I'd like to use this module but i need to have subgroups such as :
> Theme 1
>> Entreprise 1
>> Entreprise 2
> Theme 2
>>Entreprise 1
>> Entreprise 2
Maybe, Anyone have done such a thing ?
Maybe there is another module who can let me do that ?
Or do you think it is simply possible to modify the files ?
Logged
bupaje
Offline
Posts: 519
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #206 on:
June 09, 2008, 03:15:23 PM »
One way to do that might be to create your page
MyThemesPages
and add a Sitemap module with "Display: Children of Current Page" or a code module with show_menu2 code to it
Code:
echo'<h3>Categories</h3>';
echo'<div style="border-width:0px;">';
show_menu2(0, SM2_CURR+1, SM2_ALL, SM2_ALL|SM2_CURRTREE);
echo'</div>';
and then add your sub categories as pages
MyThemesPages
-MySubCategoryPage
-MySubCategoryPage
-MySubCategoryPage
-MySubCategoryPage
and then each of these sub category pages gets its own Download Gallery module.
That's what I do on my page here (Check wallpaper link)
http://www.stormvisions.com/pages/freebies.php
Logged
My Blog, My Site
marathoner
Offline
Posts: 495
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #207 on:
June 09, 2008, 10:26:45 PM »
I'd like to be able to assign multiple groups to a download file or maybe use 'tags' instead of groups (same concept). I'd like to use this to allow runners the opportunity to download files for a particular race. Some file (let's say a file with a course description) are specific to a given event (I can use a different group for each race) but other files (such as rules and regulations) apply to many different races.
I know I could modify the view.php to query a 'catch-all group' and the group defined in the settings but it would be better to have multiple groups per item.
Any ideas?
Logged
Lotus
Offline
Posts: 184
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #208 on:
June 11, 2008, 01:47:29 PM »
i want to translate download gallery into swedish but as there are english words written in "settings" and none of theese are in the languagefile (downloaded, type, size) is it possible to do this?
Also if i want to change the standard code in settings so it will apply to every new implementatin of download gallery on the site, where can i find this code? (i dont want to go into settings and change them every time).
Logged
doc
Guest
Security Vulnerability Download Gallery below v1.90
«
Reply #209 on:
June 19, 2008, 11:05:45 AM »
Hello,
we have fixed a security vulnerability in the download gallery module. All versions
below 1.90 are affected
. The vulnerability
requires magic_quotes_gpc turned off
in the PHP settings, which should not be the case on most webservers.
Simply install the
version 1.90
from the addons repository over your existing version to solve the issue. Remember to backup changes in the module settings if you have applied any changes there. Those would get overwritten during the upgrade.
Regards Christian
«
Last Edit: June 19, 2008, 11:10:08 AM by doc
»
Logged
mwildam
Offline
Posts: 1
Re: Security Vulnerability Download Gallery below v1.90
«
Reply #210 on:
July 07, 2008, 09:26:00 AM »
Quote from: doc on June 19, 2008, 11:05:45 AM
we have fixed a security vulnerability in the download gallery module. All versions
below 1.90 are affected
. The vulnerability
requires magic_quotes_gpc turned off
in the PHP settings, which should not be the case on most webservers.
We have been affected by this vulnerability (at least it looks like) although magic_quotes_gpc was/is turned on. Or can there be another different vulnerability?
Logged
doc
Guest
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #211 on:
July 07, 2008, 11:17:35 AM »
@mwildam
Without any additional information it is hardly possible to provide any statements. What WB version are you using, what modules are installed what was "affected" ...
Christian
Logged
Argos
Moderator
Offline
Posts: 2084
Re: Downloads Module: Download Gallery v1.0 Final released - Feature request!
«
Reply #212 on:
July 29, 2008, 02:35:06 AM »
Quote from: melissa on August 24, 2007, 10:28:54 AM
1. A setting to preset which folder in Media to browse - I have heaps of files in Media, and it is really tedious to scroll through the whole structure to find a particular file
Open "modify_file.php" and find the part that starts with
Code:
<?php
if(
$fetch_content
[
'filename'
]==
""
){
?>
(around line 111). In that part you find 3 references to the Media folder. Just change these into references to the Downloads sub folder.
Old:
Code:
WB_PATH.MEDIA_DIRECTORY
New:
Code:
WB_PATH.MEDIA_DIRECTORY.'/download_gallery/'
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!
cnwb
Offline
Posts: 234
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #213 on:
August 23, 2008, 04:37:14 AM »
I would like to be able to predefine fields in the modify/delete file when adding a new file to download
The only thing you can do at this time is
add
Title:
Local File:
(you can delete once created) why not add the feature to upload with override)
like delete is with a check box.
Group:
Active:
Description:
in code box would like to have WYSIWYG
I would like to have the ability to add more fields like
Author
Platform
Version
License
And So on...
«
Last Edit: August 23, 2008, 04:54:47 AM by johnp
»
Logged
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #214 on:
August 23, 2008, 05:05:44 AM »
Also Another good thing would be to add the ability to use
Captcha and Advanced-Spam-Protection (ASP) Control with downloading
and or have them enter an email address which would then email the link to their email address
And have the files ported(saved) in it's own separate file directory out side of media file
and use something to mask the download location which could be predefined in a setup file.
Example:
http://www.nashruddin.com
http://www.zubrag.com/scripts/download.php
And another thought! Why not some how add the ability to have a shopping cart feature to add selling your downloads
«
Last Edit: August 23, 2008, 02:29:03 PM by johnp
»
Logged
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #215 on:
August 23, 2008, 07:23:33 PM »
A work in progress.. This is a partial working modification
Need some help finishing it..
I have got the database files setup through the install.php file and working.
When I add a file and enter information to the modify_file.php and save it it saves the information to the database.(See workingdemosnap.png Below)
But when I go back to view/edit the same file
Things are missing (See view_edit.png Below)
I also provided a screen shoot of whats missing.
Ok been working on this for must of the day now.(See missing.png Below)
I need help in making this work correctly and to post information in the front end (not working yet)
I'm not sure I did it correctly as I have only used this module for about 1 hour.
I modified the following files
languages/EN.php
Code:
[b]added after line 59 [/b]
$DGTEXT['AU'] = 'Author';
$DGTEXT['PL'] = 'Platform';
$DGTEXT['VE'] = 'Version';
$DGTEXT['LI'] = 'License';
$DGTEXT['SI'] = 'Size';
$DGTEXT['FI'] = 'File';
install.php
Code:
[b]added after line 41 [/b]
. '`author` VARCHAR(255) NOT NULL DEFAULT \'\' , '
. '`platform` VARCHAR(255) NOT NULL DEFAULT \'\' , '
. '`version` VARCHAR(255) NOT NULL DEFAULT \'\' , '
. '`license` VARCHAR(255) NOT NULL DEFAULT \'\' , '
[b]added after line 108 [/b]
// added by Johnp modification
$field_info['author'] = 'author';
$field_info['platform'] = 'platform';
$field_info['version'] = 'version';
$field_info['license'] = 'license';
// end by Johnp modification
[b]added after line 124 [/b]
, [TP]pages.author
, [TP]pages.platform
, [TP]pages.version
, [TP]pages.license
[b]added after line 139 [/b]
[TP]pages.page_id = [TP]mod_download_gallery_files.page_id AND [TP]mod_download_gallery_files.author [O] \'[W][STRING][W]\' AND [TP]pages.searching = \'1\' OR
[TP]pages.page_id = [TP]mod_download_gallery_files.page_id AND [TP]mod_download_gallery_files.platform [O] \'[W][STRING][W]\' AND [TP]pages.searching = \'1\' OR
[TP]pages.page_id = [TP]mod_download_gallery_files.page_id AND [TP]mod_download_gallery_files.version [O] \'[W][STRING][W]\' AND [TP]pages.searching = \'1\' OR
[TP]pages.page_id = [TP]mod_download_gallery_files.page_id AND [TP]mod_download_gallery_files.license [O] \'[W][STRING][W]\' AND [TP]pages.searching = \'1\' OR
modify_file.php
Code:
[b]added after line 171 [/b]
<tr>
<td valign="top" width="25%">
<?php
echo
$DGTEXT
[
'AU'
];
?>
:</td>
<td valign="top">
<input type="text" name="author" value="
<?php
echo
stripslashes
(
$fetch_content
[
'author'
]);
?>
" style="width: 98%;" maxlength="255" />
</td>
<tr>
</tr><tr>
<td valign="top" width="25%">
<?php
echo
$DGTEXT
[
'PL'
];
?>
:</td>
<td valign="top">
<input type="text" name="platform" value="
<?php
echo
stripslashes
(
$fetch_content
[
'platform'
]);
?>
" style="width: 98%;" maxlength="255" />
</td>
</tr>
<tr>
<td valign="top" width="25%">
<?php
echo
$DGTEXT
[
'VE'
];
?>
:</td>
<td valign="top">
<input type="text" name="version" value="
<?php
echo
stripslashes
(
$fetch_content
[
'version'
]);
?>
" style="width: 98%;" maxlength="255" />
</td>
</tr>
<tr>
<td valign="top" width="25%">
<?php
echo
$DGTEXT
[
'LI'
];
?>
:</td>
<td valign="top">
<input type="text" name="license" value="
<?php
echo
stripslashes
(
$fetch_content
[
'license'
]);
?>
" style="width: 98%;" maxlength="255" />
</td>
</tr>
save_file.php
Code:
[b]added after line 50[/b]
// added by Johnp modification
$author = $admin->add_slashes(htmlspecialchars($admin->get_post('author')));
$platform = $admin->add_slashes(htmlspecialchars($admin->get_post('platform')));
$version = $admin->add_slashes(htmlspecialchars($admin->get_post('version')));
$license = $admin->add_slashes(htmlspecialchars($admin->get_post('license')));
// added by Johnp modification
[b]added after line 129[/b]
// Update row
$database->query("UPDATE ".TABLE_PREFIX."mod_download_gallery_files SET title = '$title', author = '$author', platform = '$platform', version = '$version', license = '$license', link = '$file_link', group_id = '$group', `description` = '$description', active = '$active', modified_when = '".mktime()."', modified_by = '".$admin->get_user_id()."' WHERE file_id = '$file_id'");
view.php
Code:
[b]added after line 280[/b]
// Replace vars with values
$vars = array('[TITLE]', '[DESCRIPTION]', '[LINK]', '[EXT]', '[SIZE]', '[FTIMAGE]', '[DATE]', '[TIME]', '[USER_ID]', '[USERNAME]', '[DISPLAY_NAME]', '[EMAIL]', '[AU]', '[PL]', '[VE]', '[LI]','[DL]');
$dldescription=$file['description'];
$wb->preprocess($dldescription);
if(isset($users[$uid]['username']) AND $users[$uid]['username'] != '') {
$values = array($file['title'],$dldescription , $file_link, $ext, $size, $ft_image, $file_date, $file_time, $uid, $author, $platform, $version, $license, $users[$uid]['AU'], $users[$uid]['PL'], $users[$uid]['VE'], $users[$uid]['LI'], $users[$uid]['DL'], $users[$uid]['username'], $users[$uid]['display_name'], $users[$uid]['email'],$file['dlcount']);
} else {
$values = array($file['title'], $dldescription, $file_link, $ext, $size, $ft_image, $file_date, $author, $platform, $version, $license, $file_time, '', '', '', '',$file['dlcount']);
}
«
Last Edit: August 23, 2008, 07:28:24 PM by johnp
»
Logged
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #216 on:
August 23, 2008, 07:24:58 PM »
Here is the file that goes with the post just above..
Name of file:
DEMO_NOT_FOR_PRODUC
TION_SITEdownload_g
allery.zip file
New file posted Below
download_gallery_te
st.zip
«
Last Edit: August 24, 2008, 02:30:50 AM by johnp
»
Logged
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #217 on:
August 24, 2008, 02:10:26 AM »
This is still a work in progress but I am getting there.
got the data to pull for back end when adding or editing file
Still working on front end and WYSIWYG..
Removed newer version availably below
http://www.websitebaker2.org/forum/index.php/topic,1849.msg64327.html#msg64327
«
Last Edit: August 24, 2008, 05:43:41 PM by johnp
»
Logged
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #218 on:
August 24, 2008, 05:42:47 PM »
OK, With the help and guidance from
aldus
.
I have moved to the next step of my modification to this module
You now can Modify/Delete the following
Author
Platform
Version
License
to view them in front end goto setting tab of the download_gallery page look for file loop
Author=[AUTHOR]
Platform=[PLATFORM]
Version=[VERSION]
License=[liCENSE]
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
My next faze is to have the ability to insert a image for the download file from admin area
Have Fun!!
File reomved! New file posted
http://www.websitebaker2.org/forum/index.php/topic,1849.msg64403.html#msg64403
«
Last Edit: August 25, 2008, 03:06:49 PM by johnp
»
Logged
http://www.jcwebden.com
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4753
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #219 on:
August 24, 2008, 08:49:49 PM »
Really Cool.
I allways missed the WYSIWG part on this module.
It's also a good Idea to have the possibility to add a file for download one allready has in the media-folder, so you don't need to upload twice.
Thank you for working on this one!
Best Regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
cnwb
Offline
Posts: 234
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #220 on:
August 25, 2008, 02:55:38 PM »
Download gallery Now Has the Ability to use a default WYSIWYG Editor.
In this example I am using TinyMCE.
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
My next faze is to have the ability to insert a image for the download file from admin area
Removed! New File available here
http://www.websitebaker2.org/forum/index.php/topic,1849.msg64445.html#msg64445
«
Last Edit: August 26, 2008, 04:54:26 AM by johnp
»
Logged
http://www.jcwebden.com
Argos
Moderator
Offline
Posts: 2084
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #221 on:
August 25, 2008, 03:42:08 PM »
Great stuff, thanks for your swift progress. Looking forward to the release version!
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!
doc
Guest
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #222 on:
August 25, 2008, 03:53:35 PM »
@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
Logged
cnwb
Offline
Posts: 234
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #223 on:
August 25, 2008, 04:32:01 PM »
would be great just pm me or send to my email
Logged
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: Downloads Module: Download Gallery v1.0 Final released
«
Reply #224 on:
August 26, 2008, 12:54:38 AM »
Would like to know if someone in the WebsiteBaker Community would like to help on this one
I am running out of time for the week and need some help getting Download_gallery to have the ability
to also upload an image to the download file being created.
upload an image save it to mysql with the file being created.
need thumbnail view on admin side when editing the page created.
And also view the saved image with the download page that was created using set size per modify_settings.php page.
Logged
http://www.jcwebden.com
Pages:
1
...
7
8
[
9
]
10
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...