View Full Version : Major Additions - DownloadsII
Pages :
1
2
[
3]
4
5
6
7
8
9
10
shyguy82
03-13-2010, 02:01 AM
Installed on my test site, it works pretty good....Had to uninstall it because it doesn't have ability to add custom fields.
e36freak
03-13-2010, 08:08 AM
First of all, great AddOn!!!
But I have found one issue: If I edit an download entry and want to save it appears an SQL Error:
Invalid SQL:
UPDATE vb4_dl2_files SET
`title` = 'Gutachten Schrick Ansaugbr?cke',
`description` = 'Gutachen f?r die Schrick Ansaugbr?cke - E36',
`author` = 'xxxxxx',
`_author` = '<a href=\"member.php?u=1\">xxxxx</a>',
`url` = 'http://',
`extension` = '',
`category` = 2,
`size` = 0,
`pin` = 0,
`modqueue` = 0,
`link` = Array,
`lastedit` = 1268474809,
`lasteditor` = 'xxxxx',
`lasteditorid` = 1
WHERE id = 8;
MySQL-Fehler : Unknown column 'Array' in 'field list'
Fehler-Nr. : 1054
Fehler-Zeit : Saturday, 13.03.2010 @ 11:06:49
Datum : Saturday, 13.03.2010 @ 11:06:49
Skript : http://www.xxxxxx.de/downloads.php?do=edit&id=8
Referrer : http://www.xxxxx.de/downloads.php?do=edit&id=8
IP-Adresse : 84.145.134.178
Benutzername : xxxxx
Klassenname : vB_Database
MySQL-Version : 5.0.32-Debian_7etch11-log
Is it an general error of this addon, is it already known?
StarShaper
03-13-2010, 05:47 PM
I'm getting
[client xxx] malformed header from script. Bad header=application/zip;
if I try to specify the Mime Type & Headers on a zip file extension with
application/zip
Whats the correct "Mime Type & Headers" for a Zip file in Downloads II? :confused:
x YNWA x
03-13-2010, 06:00 PM
Hi
I get this error when trying to add a file, I cannot find out what the error means, does anyone know?
Error! The upload failed (error type 1).
THe file is abot 5mb but my settings allow up to 25mb per file
Blain
03-13-2010, 10:20 PM
I don't see a single place in the ACP where we can set the Usergroups for the Downloads section. Any help?
Thanks!
Baf_Jams
03-13-2010, 10:22 PM
I don't see a single place in the ACP where we can set the Usergroups for the Downloads section. Any help?
Thanks!
1.uploaded the files via FTP ?
2. imported the XML file ?
theque
03-13-2010, 11:00 PM
How can i change tab name?
Where the tab name is Downloads i would like to change to MP3 Downloads
then where it says add file i would like to change to add music.
oh yes the other thing i would like to change is this line= Use these files at your own risk!
I couldn't use vb without this mod so thank you so much.
Blain
03-13-2010, 11:03 PM
1.uploaded the files via FTP ?
2. imported the XML file ?
Reply With Quote
Yes, they have all been uploaded and set with correct settings. I do not see anywhere how to modify the usergroups though and my admin account is currently getting false permissions error. I have tried editing it in the usergroups manager>usergroup>downloadsII options, but despite that I still get a permissions error and cannot access the downloads section at all.
Thanks for any help,
insidedesign
03-14-2010, 05:59 PM
How can i change tab name?
Where the tab name is Downloads i would like to change to MP3 Downloads
then where it says add file i would like to change to add music.
oh yes the other thing i would like to change is this line= Use these files at your own risk!
I couldn't use vb without this mod so thank you so much.
In the Admin CP, go to Phrase Manager. In the phrase type drop down menu, choose 'Downloads II'.
You will find all the phrases you can change there.
Welshy2008
03-14-2010, 06:31 PM
In the Admin CP, go to Phrase Manager. In the phrase type drop down menu, choose 'Downloads II'.
You will find all the phrases you can change there.
Thank You.
AdminCP -> Languages & Phrases -> Search in Phrases -> "Search for text" enter 'Downloads" -> Click on 'Find' -> Srcoll down to "GLOBAL Phrases Containing 'downloads'" -> click 'edit' next to "Downloads2".
HTH.
insidedesign
03-14-2010, 07:08 PM
In the category template, you reference a phrase that does not exist: dl2_file
I was able to add the phrase manually to re-title it. :)
Also, it would be nice if the category description were added to the META description of the category page.
insidedesign
03-15-2010, 04:29 AM
Pin/Pinned means the same as Stick/Sticked (Sticky) at the forums. It means that a file will be at the top of all listed files in a category.
How do we limit the 'pin' capability based on usergroup permissions? I don't see this, or am I blind? :confused:
theque
03-15-2010, 09:14 AM
Thank You.
AdminCP -> Languages & Phrases -> Search in Phrases -> "Search for text" enter 'Downloads" -> Click on 'Find' -> Srcoll down to "GLOBAL Phrases Containing 'downloads'" -> click 'edit' next to "Downloads2".
HTH.
Thanks ill look again i did try this first before posting it just come up with so many phrases i wasn't sure what to change.
sailfindragon
03-15-2010, 01:57 PM
Is it possible to change the date of submitted downloads. I am changing over from another system and would like to keep the date downloads were submitted.
Great work btw.
e36freak
03-15-2010, 08:15 PM
First of all, great AddOn!!!
But I have found one issue: If I edit an download entry and want to save it appears an SQL Error:
Invalid SQL:
UPDATE vb4_dl2_files SET
`title` = 'Gutachten Schrick Ansaugbr?cke',
`description` = 'Gutachen f?r die Schrick Ansaugbr?cke - E36',
`author` = 'xxxxxx',
`_author` = '<a href=\"member.php?u=1\">xxxxx</a>',
`url` = 'http://',
`extension` = '',
`category` = 2,
`size` = 0,
`pin` = 0,
`modqueue` = 0,
`link` = Array,
`lastedit` = 1268474809,
`lasteditor` = 'xxxxx',
`lasteditorid` = 1
WHERE id = 8;
MySQL-Fehler : Unknown column 'Array' in 'field list'
Fehler-Nr. : 1054
Fehler-Zeit : Saturday, 13.03.2010 @ 11:06:49
Datum : Saturday, 13.03.2010 @ 11:06:49
Skript : http://www.xxxxxx.de/downloads.php?do=edit&id=8
Referrer : http://www.xxxxx.de/downloads.php?do=edit&id=8
IP-Adresse : 84.145.134.178
Benutzername : xxxxx
Klassenname : vB_Database
MySQL-Version : 5.0.32-Debian_7etch11-log
Is it an general error of this addon, is it already known?
Does anybode have the same issue as me?
Hello, I have every thing setup ,But I cant find where to . Change the permissions?
where do you do this? I don't know where the downloads directory (inside your forums directory) is, can you help. do i use FTP to do this or in AdminCP?
when I find it do I change it to this ... writable (chmod 777).
Thanks,
kmey
TimberFloorAu
03-16-2010, 12:05 AM
in FTP mate read second post, installing for first time :)
RS_Jelle Please help. with step #3
3. Change the permissions of the downloads directory (inside your forums directory) to make
it writable (chmod 777).
I am new to VB, I have done step 1 & 2 But i don't know where to change permissions. do i go to the downloads directory that i uploaded to the forums directory? I look at the code in the downloads but there is more then one place that has permissions
Can you give me the path? or a Copy & Past of the code where i do this.
Is this what I edit? // ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
if (!$vbulletin->options['dl2active'])
{
if (($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canviewdisabled']))
{
Thanks
kmey
Forum Lover
03-16-2010, 02:37 PM
Is it only me? Or anyone got this issue?
http://img.cx/6JG5.png
How can I fix it Jelle? :( I am using vb4.02
Anyone got any solution for this please?
theque
03-16-2010, 10:23 PM
any updates on [DownloadsII Create Thread Mod] or timeline? sorry 4 the random question just waiting 4 it thanx.
Any news on this i keep checking back i have to manually add the threads omg
Midas3
03-18-2010, 09:24 AM
This works great.
Does anybody know how to make it so it doesn't force you to enter a catagory?
I only have one format of downloads and would like it so instantly defaults to that view when they click on catagory from the main nav bar.
insidedesign
03-18-2010, 01:16 PM
Feature Request: Category Permissions based on Usergroup.
insidedesign
03-18-2010, 01:17 PM
Anyone got any solution for this please?
Try cleaning out your Additiona.CSS template and see if it goes back to normal. If it does, you can try removing various css styles to see which one is causing the problem.
insidedesign
03-19-2010, 10:31 PM
Feature Request: Add css div containers around different parts of the front-end pages so we can style them easier. :)
msnhockey
03-21-2010, 03:24 AM
we get this error whenever someone tries to upload something to the site to make it available for download
Error! The upload failed (error type 1).
anyone have any ideas????
also only get for files that are larger than 1MB... anything smaller works fine. I have the max file size upload that the script would allow for different extensions that i specified.
insidedesign
03-21-2010, 03:53 AM
we get this error whenever someone tries to upload something to the site to make it available for download
Error! The upload failed (error type 1).
anyone have any ideas????
also only get for files that are larger than 1MB... anything smaller works fine. I have the max file size upload that the script would allow for different extensions that i specified.
See the notes in the plug-in description under the heading "Help!!! I can't upload large files??". This is your problem. :)
msnhockey
03-21-2010, 06:13 AM
thanks... i must of have missed that...
RS_Jelle
03-21-2010, 07:24 AM
RS_Jelle Please help. with step #3
3. Change the permissions of the downloads directory (inside your forums directory) to make
it writable (chmod 777).
I am new to VB, I have done step 1 & 2 But i don't know where to change permissions. do i go to the downloads directory that i uploaded to the forums directory? I look at the code in the downloads but there is more then one place that has permissions
Can you give me the path? or a Copy & Past of the code where i do this.
Is this what I edit? // ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
if (!$vbulletin->options['dl2active'])
{
if (($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canviewdisabled']))
{
Thanks
kmey
You don't need to edit downloads.php :p
You need to change the permissions of the /downloads/ folder on your FTP (= chmod), using an FTP program. Search Google for "chmod *the name of your ftp program*" if you don't know how to do that.
deetwelve
03-21-2010, 08:25 AM
Hello Kad,
Please see the attachment for a screenshot.
You need the "Manage Files".
HTH,
Welshy2008.
Yeah, I don't have that there anymore. I did before the update.
RS_Jelle
03-21-2010, 08:53 AM
Yeah, I don't have that there anymore. I did before the update.
It should show in the navbar when you have "Can Edit All Files" or "Can Manage Moderation Queue" usergroup permissions.
Or maybe you changed some templates? Be sure you reverted all custom changes.
grahamsmythe
03-21-2010, 10:05 AM
Thanks for this Mod RS_Jelle.
It's just what I've been looking for.
It installed and works a treat.
Thanks for your hard work.
karkey
03-21-2010, 05:36 PM
Hello
Looked through quite a few post here has the SEO Custom Rewrite Rules been answered
thankyou :)
Midas3
03-21-2010, 05:59 PM
Love this mod thanks.
The only negative I have is that the URL's are so SEO unfriendly.
It would be vastly better if a download was something like:
http://www.yourdomain.com/forum/ downloads.php?do=file&id= YOUR-CHOSEN-TITLEHERE
instead of
http://www.yourdom ain.com/forum/downlo ads.php?do=file&id=24[/url]
Also allow a meta description etc.
Also a SEO based title, meta description deal for the default URL of the mod would be great.
All it would take is a title and meta description field to be added to the admin area, for catagory, and primary mod root URL
Each upload could have the same fields.
Also if you could somehow make the individual download URL's into RSS format, that would be fantastic.
Oh and finally , not forcing a catagory for the downloads would be handy.
We use the same content and don't need catagories, it's just one more thing people have to click thr to get to their download.
steven s
03-21-2010, 07:40 PM
I have files uploaded as .htm files.
When someone downloads the file they must open it from their browser.
Is there a way force a browser window to open when downloading a file?
Thanks RS_Jelle,
It was easy once I new what to do.
Thanks
kmey
kapii
03-22-2010, 07:25 AM
Hello Jelle,
Got a good strange one for ya... I have continuously loaded a file, with all setting correct I might add, lol, and no matter what I do, when I try to download it, I get errors 500 and 400...
It's the only file I'm having that problem with so far, but I can't figure out why I'm getting errors on it, and it's is the v603 on vb402...
Got any ideas my friend? I know the file is good because it does just fine on the other sites I work with...
golfing123
03-22-2010, 07:43 PM
Hey everyone
Everytime i am done trying to upload something on this downloader hack
this error message comes up
The file(s) uploaded were too large to process.
so how can i fix it then
Welshy2008
03-22-2010, 08:10 PM
Hey everyone
Everytime i am done trying to upload something on this downloader hack
this error message comes up
The file(s) uploaded were too large to process.
so how can i fix it then
https://vborg.vbsupport.ru/showpost.php?p=1411831&postcount=2136
stationar
03-23-2010, 01:32 AM
I just noticed that the new version doesn't have stats (downloads.php?do=stats). Is it available?
******Added later************
Never mind. Found it in Admin CP. Silly me. :)
Hello RS_Jelle,
Is there any way to have an A to Z Menu for files? So you could have all your files in order from A to Z like the Members list
Member List
Filter Results
#
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Webbstre
03-24-2010, 12:06 AM
Out of curiosity, is there a way that widgets and other displays can be filtered by category? I want to use this for multiple games, so I want to make pages with separate displays, like "Latest (Game1) Mods" and "Latest (Game2) Mods," etc.
Karm4
03-24-2010, 09:34 AM
Installed Thanks works great!
aaronrand
03-24-2010, 03:27 PM
Hi, where can I get the version for 4.0.1?
I see the newest version wont work for it?
Mr.Vinh
03-25-2010, 01:38 AM
Why can not I download files with IDM :(
jesse
03-25-2010, 04:42 AM
Why can not I download files with IDM :(
Make sure you add the extension.. my 2 cents
jesse
03-25-2010, 04:45 AM
Heres my issue added .avi to download but return this error
RIFFp?+AVI LIST~"hdrlavih8???€LIST”strlstrh8vidsxvid}? ?_?'€strf((€ XVID?JUNK?VI?VI?
renamed and reup but all avi files read error codes in a ie 8 browser. chrome, and fox work fine
any suggestions?:eek:
modyyy55
03-26-2010, 01:42 AM
Thank's, really GREAT mod :)
I have Downloads II version 5.1.1 on vB 3.8.4
how could I upgrade to vB 4 without losing the uploaded file ?
maidos
03-26-2010, 02:20 PM
a suggestion, when uploading a file and doesnt select category. it will still upload.. Can you make sure the filecheck is on the first priority instead of just waiting till the upload has finish and suddenly tells that you havet selected a category
vexxy
03-28-2010, 08:39 AM
first of all, love the mod..but I have some annoying issues, maybe i'm missing something
first of all..the css is rather messed up, but I'll edit that manually. I can't seem the enable the sidebar (blocks) for the Download section. I have everything enabled (Show Right Column etc), but still no sidebar... weird. And the last problem, the screenshots align themselves vertically, not horizontally
edit: how do I change the position of the Downloads menu on the navbar...it's always default after Home ...and I can't find it in the navbar template
tnx in advance
RS_Jelle
03-28-2010, 09:47 AM
Hi, where can I get the version for 4.0.1?
I see the newest version wont work for it?
Upgrade to vB 4.0.2. It fixes some big 4.0.1 issues (broken custom profile tabs and AJAX suggestion).
Thank's, really GREAT mod :)
I have Downloads II version 5.1.1 on vB 3.8.4
how could I upgrade to vB 4 without losing the uploaded file ?
https://vborg.vbsupport.ru/showpost.php?p=1940263&postcount=3
"Upgrade from DownloadsII 5"
first of all, love the mod..but I have some annoying issues, maybe i'm missing something
first of all..the css is rather messed up, but I'll edit that manually. I can't seem the enable the sidebar (blocks) for the Download section. I have everything enabled (Show Right Column etc), but still no sidebar... weird. And the last problem, the screenshots align themselves vertically, not horizontally
edit: how do I change the position of the Downloads menu on the navbar...it's always default after Home ...and I can't find it in the navbar template
tnx in advance
http://www.bytesin.com/clientscript/vbulletin_css/style00010l/downloads2-rollup.css
There's no CSS. Rebuild your style.
vexxy
03-28-2010, 10:42 AM
ya, I had the options to store the CSS as files, didn't figured out it was that problem. Disabled the store css as files option, all is good now..tnx alot. About the navbar menu link, any tip how can I move it? Like I said, didn't found the actual link, only the download2_navbar_link template and I don't know where it's called within the navbar...
RS_Jelle
03-28-2010, 11:06 AM
ya, I had the options to store the CSS as files, didn't figured out it was that problem. Disabled the store css as files option, all is good now..tnx alot. About the navbar menu link, any tip how can I move it? Like I said, didn't found the actual link, only the download2_navbar_link template and I don't know where it's called within the navbar...
You don't need to disable it as it's speeding up your forum :)
It should work fine with DownloadsII, but you need to rebuild your style. Re-enabling the option probably fixes it.
The template is called by the "DownloadsII: Add a Downloads tab" plugin. Set the execution order to 7 to place it after the blog tab.
Additionally, you can change navtab_middle in the plugin PHP code to navtab_start or navtab_end.
vexxy
03-28-2010, 12:16 PM
an update recommendation..the possibility to add more fields to tan name and author (OS, type: freeware,demo etc) and the possibility to sort for those field types :)
The template is called by the "DownloadsII: Add a Downloads tab" plugin. Set the execution order to 7 to place it after the blog tab.
Additionally, you can change navtab_middle in the plugin PHP code to navtab_start or navtab_end.
I didn't got this..is there a mod on vb.org named DownloadsII: Add a Downloads tab? Is there any way I can move the navbar link manually without installing extra plugins?
TeknoSounds
03-29-2010, 08:24 AM
Heyas Jelle, been workin' on this awhile, and hopefully you respond before I figure it out myself.
I'm trying to add the Author column to before the Filename column in the Files section. Mind helping out? I'm not too familiar with the new variable system yet.
TeknoSounds
03-29-2010, 09:33 AM
Okay never mind on the above, got it figured out :)
But trying to get the title 'Author' to be a link that sorts the category by author. Like how clicking File n such will sort the category. When I put {vb:raw sorturl.author} I just get the forum url.
dtommy79
03-29-2010, 06:01 PM
Feature suggestion: it would be great if uploaded images opened in a lightbox just like attachements in the forum.
TeknoSounds
03-30-2010, 08:35 AM
Suggestion: Would be awesome if we could use tags with the files :)
Also SEO Friendly URLs like the forum has.
Such a fantastic mod :D Thanks so much for your work RS_Jelle!
Kolbi
03-30-2010, 09:34 AM
Suggestion: Would be awesome if we could use tags with the files :)
Also SEO Friendly URLs like the forum has.
Such a fantastic mod :D Thanks so much for your work RS_Jelle!
Tags would be very nice :)
Also a vBSEO integration would be good :)
sailfindragon
03-30-2010, 10:06 AM
Suggestion - Custom Fields would be really good.
Greeksgal
03-30-2010, 03:36 PM
Is there anyway to MOVE an upload once it's been posted, from one catagory to another?
RS_Jelle
03-30-2010, 04:57 PM
Also a vBSEO integration would be good :)
I don't have a vBSEO license, so I can't. I know there was an add-on posted in the vBSEO forums for the vB 3.8 version, but I don't know about the vB 4 version.
Is there anyway to MOVE an upload once it's been posted, from one catagory to another?
Just edit the file and change the category? :)
Kolbi
03-30-2010, 05:08 PM
I don't have a vBSEO license, so I can't. I know there was an add-on posted in the vBSEO forums for the vB 3.8 version, but I don't know about the vB 4 version.
Why don?t use vBSEO? :D
I guess that vBSEO will release a short addon for SEO integration after releasing the vBSEO 3.50 gold.
Greeksgal
03-30-2010, 09:06 PM
Thank you, didn't notice that option, will save me alot of time!
TimberFloorAu
03-30-2010, 10:05 PM
Just downloaded , our layout is totally screwed, any suggestions ?
The search javascript is appearing before downloads title and screwing up the templates
Have edited: downloads2_main and commented out search to fix.
Any proper fix for this please
TimberFloorAu
03-30-2010, 10:41 PM
2. Also note when editing a upload. We get a database error
RS_Jelle
03-31-2010, 07:30 PM
Just downloaded , our layout is totally screwed, any suggestions ?
The search javascript is appearing before downloads title and screwing up the templates
Have edited: downloads2_main and commented out search to fix.
Any proper fix for this please
Rebuild your style, your downloads CSS sheet is probably missing. Disabling/re-enabling the "store CSS as files" vB setting should fix it.
2. Also note when editing a upload. We get a database error
What database error exactly?
Webbstre
04-01-2010, 08:37 AM
One suggestion/question: Is there a way to set "Assign new uploader" to be permission specific? If not, could it be included in a later release? Thanks for the great mod!
skylab
04-01-2010, 07:19 PM
its showing up in Italian?
chrisholland
04-01-2010, 07:48 PM
Testing message quoting.
RS_Jelle Please help. with step #3
3. Change the permissions of the downloads directory (inside your forums directory) to make
it writable (chmod 777).
I am new to VB, I have done step 1 & 2 But i don't know where to change permissions. do i go to the downloads directory that i uploaded to the forums directory? I look at the code in the downloads but there is more then one place that has permissions
Can you give me the path? or a Copy & Past of the code where i do this.
Is this what I edit? // ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
if (!$vbulletin->options['dl2active'])
{
if (($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canviewdisabled']))
{
Thanks
kmey
chrisholland
04-01-2010, 08:09 PM
Testing message quoting.
RS_Jelle Please help. with step #3
3. Change the permissions of the downloads directory (inside your forums directory) to make
it writable (chmod 777).
I am new to VB, I have done step 1 & 2 But i don't know where to change permissions. do i go to the downloads directory that i uploaded to the forums directory? I look at the code in the downloads but there is more then one place that has permissions
Can you give me the path? or a Copy & Past of the code where i do this.
Is this what I edit? // ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
if (!$vbulletin->options['dl2active'])
{
if (($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canviewdisabled']))
{
Thanks
kmey
RS_Jelle
04-02-2010, 12:07 PM
its showing up in Italian?
There's nothing Italian in DownloadsII itself. You probably installed this unofficial add-on (https://vborg.vbsupport.ru/showthread.php?t=233021) which contains Italian.
dtommy79
04-02-2010, 02:00 PM
Hungarian translation attached
stationar
04-02-2010, 09:32 PM
Suggestion - Custom Fields would be really good.I agree. This would be a BIG help.
chrisholland
04-02-2010, 10:48 PM
i am testing the preview. please forgive the mess.
RS_Jelle Please help. with step #3
3. Change the permissions of the downloads directory (inside your forums directory) to make
it writable (chmod 777).
I am new to VB, I have done step 1 & 2 But i don't know where to change permissions. do i go to the downloads directory that i uploaded to the forums directory? I look at the code in the downloads but there is more then one place that has permissions
Can you give me the path? or a Copy & Past of the code where i do this.
Is this what I edit? // ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
if (!$vbulletin->options['dl2active'])
{
if (($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canviewdisabled']))
{
Thanks
kmey
tazattitude
04-03-2010, 10:39 AM
I see someone else had the same error (https://vborg.vbsupport.ru/showpost.php?p=2004291&postcount=515) as I am coming up with. Did this get resolved?
Anytime I try to edit a file and change it to a different category and try to save it, I end up with this error.
Database error in vBulletin 4.0.2:
Invalid SQL:
UPDATE vbulldl2_files SET
`title` = 'Harley-Davidson bar and shield logo',
`description` = 'HARLEY-DAVIDSON bar and shield logo .eps file',
`author` = '',
`_author` = '',
`url` = '88951-Harley-Davidson.eps',
`extension` = 'eps',
`category` = 6,
`size` = 30514,
`pin` = 1,
`modqueue` = 0,
`link` = 0,
`lastedit` = 1270294016,
`lasteditor` = 'TAZ',
`lasteditorid` = 1, `uploader` = '<', `uploaderid` = <
WHERE id = 1;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<
WHERE id = 1' at line 15
Error Number : 1064
Request Date : Saturday, April 3rd 2010 @ 07:26:56 AM
Error Date : Saturday, April 3rd 2010 @ 07:26:57 AM
Script : http://www.customxxxxxx.com/forum/downloads.php?do=edit&id=1
Referrer : http://www.customxxxxxx.com/forum/downloads.php?do=edit&id=1
IP Address : 24.160.69.201
Username : TAZ
Classname : vB_Database
MySQL Version : 5.0.89-log
Thanks in advance
vexxy
04-03-2010, 10:50 AM
is there any chance you will add custom fields to this addon? (ex. Operating System, freeware/trial/etc)..it will be great..or maybe you can guide us on doing so..i don't know :)
or maybe you can create a commercial version, with more features and stuff...just a thought
RS_Jelle
04-03-2010, 05:20 PM
I see someone else had the same error (https://vborg.vbsupport.ru/showpost.php?p=2004291&postcount=515) as I am coming up with. Did this get resolved?
Anytime I try to edit a file and change it to a different category and try to save it, I end up with this error.
...
Thanks in advance
That's a different error, but I can't think of anything causing such an uploaderid value. Editing a file and changing the category works fine for me.
Can you give me some more information? Do you have this every time you edit the category value of a file?
is there any chance you will add custom fields to this addon? (ex. Operating System, freeware/trial/etc)..it will be great..or maybe you can guide us on doing so..i don't know :)
or maybe you can create a commercial version, with more features and stuff...just a thought
It's on my long term todo list. The first thing I want to add in the future is an RSS feed (vB 4.0.3 should have some better options for integrating that).
tazattitude
04-03-2010, 06:15 PM
Thanks for the reply Jelle.
I did a little more testing and it seems no matter what I do as soon as I click on the "Edit File" button after making any changes (or even without any changes), I get the error.
I have the current version (6.0.3) of DownloadsII
Any ideas?
Thank you
RS_Jelle
04-03-2010, 06:30 PM
Thanks for the reply Jelle.
I did a little more testing and it seems no matter what I do as soon as I click on the "Edit File" button after making any changes (or even without any changes), I get the error.
I have the current version (6.0.3) of DownloadsII
Any ideas?
Thank you
Not really :)
I guess I need site access for that (vB/FTP). It could be a server configuration problem.
maidos
04-03-2010, 09:25 PM
my user has added dl link instead of upoading directly throug the script, but because that site changing its domain it means all the links my user has put up will be invalid becausethe link will be from link1 to link2.
i know i can edit it on dl table search and replace all links through there but im wondering will that be enough
TalkVirginia
04-04-2010, 01:38 PM
Thank you
Installed - Voted Excellent and nominated MOTM
One question however... :) Is there any way to restrict the download button in the navbar to certain usergroups?
EDIT: I figured it out... in the plugin code that adds the Downloads navbar button, I wrapped the code in an if statement using the is_member_of function:
if (is_member_of($vbulletin->userinfo, 6, 7, 5))
{
// originial plugin contents goes here
}
In addition to this it would be nice to have the ability to set permissions to categories for each usergroup similar to how the forum permissions are done.
triff
04-04-2010, 04:35 PM
Great mod! Any chance of a simpler file management in later editions? Editing file by file takes time. Also, adding tags and a tagcloud would be great. Thanks a lot for this invaluable mod! :)
SGL.
chrisholland
04-05-2010, 02:51 PM
testing. testing. one-two.
RS_Jelle Please help. with step #3
3. Change the permissions of the downloads directory (inside your forums directory) to make
it writable (chmod 777).
I am new to VB, I have done step 1 & 2 But i don't know where to change permissions. do i go to the downloads directory that i uploaded to the forums directory? I look at the code in the downloads but there is more then one place that has permissions
Can you give me the path? or a Copy & Past of the code where i do this.
Is this what I edit? // ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
if (!$vbulletin->options['dl2active'])
{
if (($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canviewdisabled']))
{
Thanks
kmey
chrisholland
04-05-2010, 03:08 PM
testing. testing. one-.two. chmod one two
chrisholland
04-05-2010, 03:10 PM
one-two. one-two one-two. argh.
RS_Jelle Please help. with step #3
3. Change the permissions of the downloads directory (inside your forums directory) to make
it writable (chmod 777).
I am new to VB, I have done step 1 & 2 But i don't know where to change permissions. do i go to the downloads directory that i uploaded to the forums directory? I look at the code in the downloads but there is more then one place that has permissions
Can you give me the path? or a Copy & Past of the code where i do this.
Is this what I edit? // ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
if (!$vbulletin->options['dl2active'])
{
if (($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canviewdisabled']))
{
Thanks
kmey
GafferSports
04-05-2010, 04:49 PM
DownloadsII is a free mod. I'm making it in my spare time. If you paid for it, I would understand your opinion.
That query issue is on my list. I'm keeping a list of all reported bugs and feature requests. So I'm not ignoring these.
Btw, I tried to fix it for this release, but I needed to put an extra option (selecting what image is used as the category thumb) in it then for making a good join query possible. More query work is on the high priority todo list, like getting the category tree in 1 query (and caching it in the datastore).
This release is already faster than v5, mostly because it's using less includes.
And yes, I'm making a big release together with each big vBulletin release. Is that a crime? It seems logical to me.
Next to that, I didn't just "add some features" and released it. Version 6 is a full recode: all code was rewritten. There's a totally new AdminCP, advanced search, ...
It's attached now. I was still creating all post content etc.
Don't listen to him mate, some people just expect the world for free.
Maybe you should consider creating a paid version, possibly compatible with Torrents etc?
insidedesign
04-05-2010, 05:50 PM
Don't listen to him mate, some people just expect the world for free.
Maybe you should consider creating a paid version, possibly compatible with Torrents etc?
I would pay if we get more advanced functionality. Flash Uploader, A3 support, tagging, etc. :)
triff
04-05-2010, 05:58 PM
I'd pay too! :)
TalkVirginia
04-05-2010, 06:26 PM
Don't listen to him mate, some people just expect the world for free.
Maybe you should consider creating a paid version, possibly compatible with Torrents etc?
i don't think it's a responsibility of the downloader software really.. I think you should be good to go if you create an acceptable file type and just include the content type as being torrent. That should work. Once you click on the link it should kick off whatever torrent client you are using.
Spiritvn
04-06-2010, 03:04 AM
Hi,
I wanna use if this_script with the downloads template so how it could be ?
<vb:if condition="THIS_SCRIPT == 'What should be placed here?'>
</vb:if>
freexav
04-06-2010, 06:06 AM
hi there,
very nice work mate!
would-there be a chance that social groups could have their own Download area? private groups could hence share some "pseudo-confidential" files ?
this would be awesome!!!! and i would pay for this development to have it quick, if ever you could do it ! ;)
RS_Jelle
04-06-2010, 06:19 AM
Hi,
I wanna use if this_script with the downloads template so how it could be ?
downloads2
You can find this at the start of the downloads.php code (and all other vB root files):
define('THIS_SCRIPT', 'downloads2');
maidos
04-06-2010, 08:46 AM
my user has added dl link instead of upoading directly throug the script, but because that site changing its domain it means all the links my user has put up will be invalid becausethe link will be from link1 to link2.
i know i can edit it on dl table search and replace all links through there but im wondering will that be enough
any reply about this, i know which table to replace the links but i need to know if im done after that? just replacing all http links my users added on that table
Spiritvn
04-06-2010, 09:23 AM
downloads2
You can find this at the start of the downloads.php code (and all other vB root files):
define('THIS_SCRIPT', 'downloads2');
Yah i try it b4 but dont know why it doesn't work :D maybe i have typed incorrectly. Now it works fine, thanks.
RS_Jelle
04-06-2010, 11:10 AM
any reply about this, i know which table to replace the links but i need to know if im done after that? just replacing all http links my users added on that table
That should be enough :)
balkanboy
04-07-2010, 01:19 AM
i wonder if you guys plan to add a progress bar of some sort while its uploading specially if the file is large at times you just want to know how much longer it will take to upload
something like this but without multiple uploads of course.
stationar
04-07-2010, 05:52 PM
RS_Jelle, when you are planning to release the next update? I already reported that everybody could see (not download) unapproved files. Is this on your radar?
RS_Jelle
04-07-2010, 06:52 PM
RS_Jelle, when you are planning to release the next update? I already reported that everybody could see (not download) unapproved files. Is this on your radar?
I will release 6.0.4 somewhere after the vB 4.0.3 release. That issue will be fixed in it for sure.
It's already on the todo list: https://vborg.vbsupport.ru/showpost.php?p=1940255&postcount=2
moelski
04-09-2010, 05:51 AM
Hello !
First of all .. Thx for this great plugin. :)
I have a question about adding additional information to the downloads.
Is there a chance to get a custom text under "Download" -> see attachment at the red arrow?
We need to place some general download information and a link for a donation.
Is there a way to do this ?
smstoolbox
04-09-2010, 08:11 AM
Now that 4.0.3 has been released, how anyone tested to see if this is working 100% with it?
RS_Jelle
04-09-2010, 09:46 AM
Hello !
First of all .. Thx for this great plugin. :)
I have a question about adding additional information to the downloads.
Is there a chance to get a custom text under "Download" -> see attachment at the red arrow?
We need to place some general download information and a link for a donation.
Is there a way to do this ?
Edit the downloads2_wrapper_side template and place your code below the #pagetitle div.
Now that 4.0.3 has been released, how anyone tested to see if this is working 100% with it?
It works fine :)
RS_Jelle
04-09-2010, 02:39 PM
DownloadsII 6.0.4 is mainly a bugfix release. It fixes unapproved files being visible for users without permissions when they know the url. Also some unphrased search text is phrased now. Finally there's now a permission check for the navbar tab, profile tab/stats and postbit stats.
Next to that fresh installs became a bit easier with default permissions.
DownloadsII 6.0.4 Changelog
Jelle
Fixed missing permission check for viewing unapproved files
Phrased some unphrased text at the search page
Added some default permissions when doing a fresh install
Added permission check for navbar tab, profile tab/stats and postbit stats
Kolbi
04-09-2010, 02:44 PM
Is this update working with vB 4.0.2 ?
Or only with 4.0.3?
RS_Jelle
04-09-2010, 02:48 PM
Is this update working with vB 4.0.2 ?
Or only with 4.0.3?
vB 4.0.2 remains the minimum requirement. So it should work fine with both versions :)
Kolbi
04-09-2010, 03:32 PM
Thanks!
Gargi
04-09-2010, 04:26 PM
Update worked on my 4.0.2 without any problems. Thanks again for your good work!
cu
Gargi
stationar
04-10-2010, 03:25 AM
Thanks a lot for permissions for unapproved files! That's a life saver for my modeators.
sadiq6210
04-10-2010, 11:56 AM
Thanks to keep it updated =)
I could suggest to keep this mod built-in with vb4 script, i.e they buy it from you or you be one of the VB programers
Then, we will have CMS - Forums - Blog - Downloads like IPS
skylab
04-10-2010, 05:09 PM
Any news on this i keep checking back i have to manually add the threads omg
Dying for the Create Thread addon. Anything yet?
Thanks!
maidos
04-10-2010, 10:35 PM
thanks rsjelle works :)
but i really hope you can help me with the search features ?
i mean the artist is john doe and i have files of doe john and i search for the keyword john doe it will only diaply in john doe result and not doe john
can you make it so search can display both ways?
it will really ease up alot of users you know because members who upload their files are using their filename in reversed so it will really be hard for users to search the files
steven s
04-11-2010, 12:21 AM
DownloadsII 6.0.4 is mainly a bugfix release. It fixes unapproved files being visible for users without permissions when they know the url. Also some unphrased search text is phrased now. Finally there's now a permission check for the navbar tab, profile tab/stats and postbit stats.From 6.0.3 to 6.0.4, do I just write over the files in upload and install product-downloads2.xml?
RS_Jelle
04-11-2010, 11:54 AM
thanks rsjelle works :)
but i really hope you can help me with the search features ?
i mean the artist is john doe and i have files of doe john and i search for the keyword john doe it will only diaply in john doe result and not doe john
can you make it so search can display both ways?
it will really ease up alot of users you know because members who upload their files are using their filename in reversed so it will really be hard for users to search the files
Improving the search is on my list :)
From 6.0.3 to 6.0.4, do I just write over the files in upload and install product-downloads2.xml?
That's all :)
willy888
04-11-2010, 01:23 PM
Dying for the Create Thread addon. Anything yet?
Thanks!
Yes when it will be autocreate a thread when making a new download file as we did with old download mod ?
webli
04-11-2010, 03:42 PM
I've installed the downloads ii in my test-forum.
And want to install it in my live-forum.
But when I upload Images, I don't get any thumbnails.
I have "show download thumbnails" on yes. I use ImageMagick, vb4.02 and downloadsii 6.0.4. What I've done wrong?
Would be great if you can help.
Thanks a lot
webli
Edit: Think I've found it. The thumbnail must be added manualy. Is this right? Or is there a way that the thumbnails will be added automaticaly?
Hi,
i Update from DLII 5 to the DLII6 Version.
Run the Updgradefile an delete the old files where is in the Readme.
Uplaod the New one and Install the Produkt.
But now i become an Database Error if a Cron are running.
The error is
Invalid SQL:
SELECT id, name FROM dl_cats ORDER BY `id`;
MySQL-Fehler : Table 'v3.dl_cats' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Monday, 12.04.2010 @ 02:01:11
Datum : Monday, 12.04.2010 @ 02:02:19
Skript : http://domain/cron.php?rand=1271030470
webli
04-13-2010, 12:16 PM
hi there,
very nice work mate!
would-there be a chance that social groups could have their own Download area? private groups could hence share some "pseudo-confidential" files ?
this would be awesome!!!! and i would pay for this development to have it quick, if ever you could do it ! ;)
I'm also interested in a feature which allows social groups their own download area. And I will also pay for the development. Is this possible/planned?
webli
Hitek Solutions
04-13-2010, 08:22 PM
I am an admin on my website and I can't access the downloads section. I can't find a place to adjust permissions, or how to make it open in the same window.
Once I get all items fixed I will mark as installed.
Hitek Solutions
04-14-2010, 04:49 AM
I am an admin on my website and I can't access the downloads section. I can't find a place to adjust permissions, or how to make it open in the same window.
Once I get all items fixed I will mark as installed.
Issue fixed.....marked INSTALLED...great job! Need to work on permission changes....
Bram H
04-14-2010, 07:17 AM
Suggestion:
-If an uploader adds an updated file to an excisting download it gets on top of the list
-Mandatory release version: in addition to above for updated files would be super handy
-Option to have a mandatory form filled in before able to upload (name, version, screenshot, proper description
- Progress bar: many uploaders think that the process has stalled, maybe add a progress bar in percentage
Still ace work Jelle, thanks
RS_Jelle
04-14-2010, 07:37 AM
I've installed the downloads ii in my test-forum.
And want to install it in my live-forum.
But when I upload Images, I don't get any thumbnails.
I have "show download thumbnails" on yes. I use ImageMagick, vb4.02 and downloadsii 6.0.4. What I've done wrong?
Would be great if you can help.
Thanks a lot
webli
Edit: Think I've found it. The thumbnail must be added manualy. Is this right? Or is there a way that the thumbnails will be added automaticaly?
It's using GD functions for the thumbnails. ImageMagick isn't supported at the moment.
Hi,
i Update from DLII 5 to the DLII6 Version.
Run the Updgradefile an delete the old files where is in the Readme.
Uplaod the New one and Install the Produkt.
But now i become an Database Error if a Cron are running.
The error is
Hmm, there shouldn't be a cron item with such code. Do you have any add-ons installed for the old v5 version? Or custom code?
It's v5 query code (dl_cats became dl2_cats in v6).
Issue fixed.....marked INSTALLED...great job! Need to work on permission changes....
Was it a fresh install of 6.0.4? Or did you upgrade from a previous version?
As I added default permissions to 6.0.4 for fresh installs, which should give the admin usergroup full permissions when installing.
Suggestion:
-If an uploader adds an updated file to an excisting download it gets on top of the list
-Mandatory release version: in addition to above for updated files would be super handy
-Option to have a mandatory form filled in before able to upload (name, version, screenshot, proper description
- Progress bar: many uploaders think that the process has stalled, maybe add a progress bar in percentage
Still ace work Jelle, thanks
A progress bar is on my list, but it's a bit difficult as not all servers support it.
Hi,
Hmm, there shouldn't be a cron item with such code. Do you have any add-ons installed for the old v5 version? Or custom code?
It's v5 query code (dl_cats became dl2_cats in v6).
i found it.
it is the Module from the VBSEO Sitemapgenarator.
Robbed
04-14-2010, 09:32 PM
RS_Jelle, do you think you can add the create a thread as a new feature?
gruftiradio
04-16-2010, 02:00 PM
Is it possible, to invisible the Link in the Navbar, for a special group (unregistered)?
I can take away the access for them, that works great. But they even see the Link.
RS_Jelle
04-16-2010, 05:11 PM
Is it possible, to invisible the Link in the Navbar, for a special group (unregistered)?
I can take away the access for them, that works great. But they even see the Link.
This is fixed in 6.0.4. It should be hidden when the "Can Access The Downloads Section" permission is set to No.
gruftiradio
04-16-2010, 05:47 PM
This is fixed in 6.0.4. It should be hidden when the "Can Access The Downloads Section" permission is set to No.
No, it's not. The Usergroup sees the Link, but gets the "no access" message, when clicking on it...
Jacob_ITAPros
04-16-2010, 05:58 PM
I'm very....VERY new to vBulletin, as in not even a full week. This is the first mod I installed, and it went flawless. I can't believe this is even free - I'm impressed. I'll be donating to this person as this was something necessary for the site I'm building. Dude, you should do this full time.
Marked as installed
Voted for MOTM.
entertain
04-16-2010, 06:03 PM
DownloadsII allows to search entries by entering one or two letters? This must be prevented, because this might kill some servers. ;)
ZloiZmei
04-18-2010, 11:09 AM
Thank you for the mod.
But I have some questions & proposals:
1. How I can add left column on pages of DownloadsII and put CMS widgets on it?
2. Meta keywords and descriptions on all pages of DownloadsII are the same as on homepage of forum. I think, keywords and descriptions must depend on the title of the file or category? And SEO urls may be good idea...
crazyace
04-19-2010, 03:49 PM
I keep getting this error.
Warning: move_uploaded_file(/downloads/95343-testfile.zip) [function.move-uploaded-file]: failed to open stream: Permission denied in [path]./downloads.php on line 1482
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpR7xLRd' to './downloads/95343-testfile.zip' in [path]/downloads.php on line 1482
crazyace
04-19-2010, 04:16 PM
Fixed. I added a tmp folder to my forums directory
gabestah
04-19-2010, 10:09 PM
Very cool mod but I'm having some severe issues with Header/MIME types for various multimedia downloads.
I have a number of .mp4, .wmv, and .divx video files for download, and have added the appropriate extensions for each in the DownloadsII Settings. They all have the same basic settings:
Lowercase extension
No maximum filesize/width/height
Appropriate MIME type (video/mp4, video/divx, video/wmv)
Usage: File Extension
Open in new browser/Open File directly both set to "no"
Enabled set to "yes"
In spite of this, as best I can tell, it seems that no matter what I do or don't enter in the MIME/Header box for the .mp4/.wmv files, no actual change is illustrated when downloading the files. In both cases, the browser does not prompt for a file save, and instead plays the files in-browser in both cases, in both Chrome and Firefox. The .divx files, on the otherhand, properly prompt a save-as dialog in both browsers.
I've tried all manner of entries in the MIME/Headers, including:
video/mp4
application/mp4
Content-type: video/mp4
Content-type: application/mp4
Content-disposition: attachment; filename=test.mp4
Content-type: video/mp4
And of course leaving the MIME/Header boxes empty as well, but to no avail. Other than a brief mention in this thread of issue with .zip files which was resolved with application/zip, I really haven't found that others are having this issue, so any advice would be much appreciated.
The only question I would raise/wonder about is whether DownloadsII is sending the MIME/Headers for files that are not directly uploaded using DownloadsII, but instead are pre-existing files where the "Link to the File" is manually added during the creation process? I suspect not though, as the d2 database entries seem to grab the proper file extension from the provided link, so they are properly listed as .mp4/.wmv/etc in the database.
It may also be worth noting that regardless of the settings in the extensions, when downloading either an .mp4 or .wmv filetype, the file is opened directly in the browser in a new window, even though as mentioned, both "open in new window" and "open file directly" are marked as no. Changing these settings seem to have no affect.
Any assistance or guidance would be much-appreciated on this topic! Many thanks.
TeknoSounds
04-20-2010, 05:40 AM
Some more requests :) Sorry Jelle heh...
1) Moderation notification for mods (via PM or some other noticeable feature) to inform them when file(s) are waiting for approval.
2) Moderation notification for users. Something to inform users their file is in the moderation queue waiting for approval, and notification upon when its approved.
Hitek Solutions
04-20-2010, 03:23 PM
I am making a VIP section of my site and I want it to have a VIP downloads section......
I either:
Need 2 download sections
or
Need to find permissions for a specific category
Help please
TeknoSounds
04-20-2010, 05:39 PM
Major Issue!!!!
I just started using this for being able to download MP3 DJ mixes. Many of these files are around 90MB, however most files are only downloading like 10MB and stopping.
How can I fix this?!?
http://teknosounds.com/messageboard/downloads.php
Apparently after several tries the download will finally come through fully.
SoltanWorld
04-21-2010, 04:07 AM
is there a way to put like mirror download link input box in downloads?
theduyet
04-21-2010, 02:24 PM
Hi RS_Jelle :)
Can you add the tag function ?I think that it is the useful way to arrange the documents...
smstoolbox
04-22-2010, 09:35 AM
Is there a way to adjust the time allowed between each download? At the moment, it says "you have to wait 30 secs", can this be adjusted anywhere?
RS_Jelle
04-22-2010, 11:06 AM
No, it's not. The Usergroup sees the Link, but gets the "no access" message, when clicking on it...
Well, I just tested it again on a clean install and it really works fine for me with 6.0.4. Maybe you have some custom template edits?
Is there a way to adjust the time allowed between each download? At the moment, it says "you have to wait 30 secs", can this be adjusted anywhere?
Usergroup permissions -> "DownloadsII Extra Permissions"
guvner
04-22-2010, 08:33 PM
Love this mod and have been using it since it first came out - thank you! :up:
I upgraded VB and the mod about 4 weeks ago and all seemed OK, but recently I've received several reports about permission errors that I've never had before.
I can't be specific because some users can download all files, whilst others can see the files but get a permision error when trying to download. Other users can download some files but not others. :confused:
So I ran a poll to identify each member who had a problem. They're all in the same usergroup with varying post counts and none of them are in a secondary group.
I even have one guy who can't download the file he uploaded.
I've attached a screenie of my permissions settings for the UG in question, but they haven't changed since the beginning.
I just upgraded to 6.04 hoping that might fix it and I'm waiting on reports coming in.
Could I be missing something?
Mike :)
gruftiradio
04-22-2010, 08:34 PM
Well, I just tested it again on a clean install and it really works fine for me with 6.0.4. Maybe you have some custom template edits?
Hm, not in the navbar... perhaps you want an admin account via pm and the forumsadress? But it's in german...
guvner
04-23-2010, 10:38 AM
I can't be specific
I can now - it seems that at least one of the files was in need of moderation - once I "approved" it everybody could download it.
Now this is strange because I've never required approval for uploads by Members.
So I guess that leaves me with 2 questions.
1. What would cause a file to need moderating and how do I manage that?
2. Can I be notified if/when a file needs approval (assuming I can't figure out why) because otherwise it'll mean having to spend time every day checking the new uploads which I really don't want to do.
Any help much appreciated.
Mike :)
irantk
04-23-2010, 11:56 AM
can i convert all vbulletin attachment to this system?
TableSpoon
04-23-2010, 03:31 PM
The delete function checks no session or anything, so via CSRF, anyone can delete any file...
More details here (http://de.crypt.in/threads/62-vBulletin-Downloads-II-Addon-CSRF-Vulnerability).
RS_Jelle
04-25-2010, 11:55 AM
DownloadsII 6.0.5 is an immediate security release fixing a severe CSRF security issue. Abusing this issue can lead to the unwanted removal of files, images and comments. So I recommend to update your site as soon as possible.
DownloadsII 6.0.5 Changelog
Jelle
Fixed CSRF security issue (added security token to several GET actions)
Added permission check for Update Counters
mp4sverige
04-25-2010, 12:12 PM
Installed but have problem with file size limit.
The file(s) uploaded were too large to process.
I have changed the limit in php.ini to
upload_max_filesize = 30M
post_max_size = 30M
also added to .htaccess
php_value upload_max_filesize 30M
php_value post_max_size 30M
My AdminCP home still displays:
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 2.00 MB
Do i need to do anything else?
RS_Jelle
04-25-2010, 12:32 PM
Hm, not in the navbar... perhaps you want an admin account via pm and the forumsadress? But it's in german...
I can passively understand German, so no problem :)
So I guess that leaves me with 2 questions.
1. What would cause a file to need moderating and how do I manage that?
2. Can I be notified if/when a file needs approval (assuming I can't figure out why) because otherwise it'll mean having to spend time every day checking the new uploads which I really don't want to do.
1. There's a "Can avoid moderation queue" usergroup permission. A file needs approval (by a user having the "Can manage moderation queue" permission) when it's set to No.
2. There was a pm notification mod for the vB 3 version, but it isn't ported yet to vB 4.
can i convert all vbulletin attachment to this system?
No, currently there's no integration with vB's attachment system/asset manager.
The delete function checks no session or anything, so via CSRF, anyone can delete any file...
More details here (http://de.crypt.in/threads/62-vBulletin-Downloads-II-Addon-CSRF-Vulnerability).
Thanks a lot for reporting. I just released a new version.
You were probably inspired by the "Mark Forums Read" CSRF fix in vB 4.0.3? :)
http://www.vbulletin.com/forum/project.php?issueid=32785
My AdminCP home still displays:
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 2.00 MB
Do i need to do anything else?
Are you on a shared server? Your hosting company could block this because of the server load.
Otherwise there's something wrong with it: you need to restart Apache after editing your php.ini, the .htaccess could be placed in a wrong folder (or it could have a wrong name, some people save it as .htaccess.txt for example), ...
So the best thing to do if it won't work, is contacting the support of your hosting company.
SeToY
04-25-2010, 12:40 PM
What's meant with "Added permission check for Update Counters"?
RS_Jelle
04-25-2010, 12:45 PM
What's meant with "Added permission check for Update Counters"?
The update counters code was placed before the manage files permission check instead of after it. So everybody could run it if they knew the url. It could do no harm, but now it's fixed :)
Doctor Death
04-25-2010, 12:52 PM
I get this message:
The file(s) uploaded were too large to process.
I have that particular file type with a very large max size.... How can I make this work?
Thanks!
RS_Jelle
04-25-2010, 12:57 PM
I get this message:
I have that particular file type with a very large max size.... How can I make this work?
Thanks!
Read the first post (the "Help!!! I can't upload large files??" part) ;)
mp4sverige
04-25-2010, 01:13 PM
Yes im on shared host, and it looks like im not allowed to use these settings in .htaccess
# File modified on Sun Apr 25 07:42:20 2010 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value upload_max_filesize 30M
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value post_max_size 30M
how to restart a server after editing php.ini on a shared host?
Btw im on Hostmonster, and i have edited php.ini before to inscreese upload limit before for Drupal and that worked fine.
Thanks for great support and mod.
SeToY
04-25-2010, 01:31 PM
The update counters code was placed before the manage files permission check instead of after it. So everybody could run it if they knew the url. It could do no harm, but now it's fixed :)
Ah okay, so when somebody tried to download a file but had no permission, the Counter was set +1, but the user got the "No Permission"-Message?
RS_Jelle
04-25-2010, 01:31 PM
Yes im on shared host, and it looks like im not allowed to use these settings in .htaccess
# File modified on Sun Apr 25 07:42:20 2010 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value upload_max_filesize 30M
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value post_max_size 30M
how to restart a server after editing php.ini on a shared host?
Btw im on Hostmonster, and i have edited php.ini before to inscreese upload limit before for Drupal and that worked fine.
Thanks for great support and mod.
It's possible that it works without restarting as they probably use a virtual php.ini on a shared hosting environment. You only need to remove the # in front of the lines (otherwise they are commented out) and remove their php_value prefix (which is only needed in a .htaccess).
Ah okay, so when somebody tried to download a file but had no permission, the Counter was set +1, but the user got the "No Permission"-Message?
No, they could run the Update Counters functionality to recount all stats. That's all.
mp4sverige
04-25-2010, 01:35 PM
The values where commented out automatuclly by server after adding the vaules:
php_value upload_max_filesize 30M
php_value post_max_size 30M
New problem, when uploading an gif image to i get following error:
The following errors occurred when this file was submitted:
You may only upload or link to the following extensions:
I have added gif and rar under Extensions in option.
Uploading rar file works fine.
PS. have you received my PM?
entertain
04-25-2010, 02:18 PM
@Jelle:
(1) Did you see that you can search files by entering 1 letter? This is the death for some servers.
(2) Users who upload a files (that have to be approved) are redirected to the unapproved file and get "no permissions" message.
Quick fix might be:
downloads.php (around line 400)
else if ($file['modqueue'] == 1 AND !($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canmanagemodqueue']))
change into
else if ($file['modqueue'] == 1 AND ($file['uploaderid'] !== $vbulletin->userinfo['userid']) AND !($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canmanagemodqueue']))
(3) What happened to the "My Files" Page? Why was it removed?
Thanks for your answer! :)
RS_Jelle
04-25-2010, 03:13 PM
New problem, when uploading an gif image to i get following error:
I have added gif and rar under Extensions in option.
Uploading rar file works fine.
PS. have you received my PM?
1) You need to correctly set the "Extension Usage" option of the extension. There's a difference between file (= allowed extension when adding files), image (= allowed image extension for adding images to a file afterwards) and both.
2) I have replied to it. No need to build a mod for that.
@Jelle:
(1) Did you see that you can search files by entering 1 letter? This is the death for some servers.
(2) Users who upload a files (that have to be approved) are redirected to the unapproved file and get "no permissions" message.
Quick fix might be:
downloads.php (around line 400)
else if ($file['modqueue'] == 1 AND !($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canmanagemodqueue']))
change into
else if ($file['modqueue'] == 1 AND ($file['uploaderid'] !== $vbulletin->userinfo['userid']) AND !($permissions['downloads2permissions'] & $vbulletin->bf_ugp['downloads2permissions']['canmanagemodqueue']))
(3) What happened to the "My Files" Page? Why was it removed?
Thanks for your answer! :)
1) + 2) I've added both things to the todo list. Should be fixed in the next release. Thanks for reporting :)
3) It's now integrated in the more advanced search (you can search for uploader etc.).
mp4sverige
04-25-2010, 04:03 PM
I copied values from the extensions settings on attachemnt extensions settings.
Should they be set differently for image files?
https://vborg.vbsupport.ru/external/2010/04/13.jpg
I get and empty error when adding an image file?
https://vborg.vbsupport.ru/external/2010/04/14.jpg
Update, i found the problem. I didnt set the corrent value for Usage of this extension
It works fine now.
Thanks again.
lyricidal
04-25-2010, 10:29 PM
is it at all possible to remove/or even add a setting for the &actionhash=** even if just for the &act=down, as we post our links with the "&act=down" for quicker access to downloading the files but now that show's a security error
"Your submission could not be processed because a security token was invalid.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."
I also tried to remove it in the style, but that caused it not to work at all
any possibilities for this?
excellent add-on btw, as you already know :)
Nadeemjp
04-26-2010, 02:41 AM
i have an error by upgrading:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: downloads_navbar_button in [path]/includes/functions.php on line 3957
smstoolbox
04-26-2010, 07:50 AM
When setting usergroup permissions to view certain categories, how do you know what number each category is??
TableSpoon
04-26-2010, 01:21 PM
Thanks a lot for reporting. I just released a new version.
You were probably inspired by the "Mark Forums Read" CSRF fix in vB 4.0.3? :)
http://www.vbulletin.com/forum/project.php?issueid=32785
Nah, I'm just generally interested in this stuff.
Also, I am using a modded version of your mod (lol), so I will have to integrate changes manually.
Might I suggest implementing what I did as an option? Basically, users can see and go to every category but the permission restriction prevents them from actually downloading anything. This gives them a nice preview of what's available to them if they register or advance in usergroups etc.
What say? All you have to do is conditionalize the cat_exclude (if I remember correctly) and I will no longer have to mod things eveytime you make a new version. :P
Salar
04-26-2010, 05:05 PM
I get error on top and at the bottom.
"color="ffffff" style="border-width:0px; border-color:000000; border-style:solid;" cellspacing="0" cellpadding="0">"
I have adv banners. How can i remove ads from downloads.php?do=add?
logofreax
04-26-2010, 08:06 PM
How can I change sort order from Date Added" "Descending" to "File Name" "Ascending" with a few clicks?
We have 677 Categories and I dont want to change it for everyone by hand :(
Is there any way to do it as a batch?
lovevn
04-29-2010, 02:35 AM
is it at all possible to remove/or even add a setting for the &actionhash=** even if just for the &act=down, as we post our links with the "&act=down" for quicker access to downloading the files but now that show's a security error
"Your submission could not be processed because a security token was invalid.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."
I also tried to remove it in the style, but that caused it not to work at all
any possibilities for this?
excellent add-on btw, as you already know :)
I fixed this by re installing the product and allow overite.
TeknoSounds
04-29-2010, 03:33 AM
How can I change sort order from Date Added" "Descending" to "File Name" "Ascending" with a few clicks?
We have 677 Categories and I dont want to change it for everyone by hand :(
Is there any way to do it as a batch?
do it in the database...?
TeknoSounds
04-30-2010, 02:39 AM
Major Issue!!!!
I just started using this for being able to download MP3 DJ mixes. Many of these files are around 90MB, however most files are only downloading like 10MB and stopping.
How can I fix this?!?
http://teknosounds.com/messageboard/downloads.php
Apparently after several tries the download will finally come through fully.
RS_Jelle, any thoughts on how to fix this?
Preech
04-30-2010, 05:39 AM
Is it possible to work with a store feature. I need members to view download links after paying.
TeknoSounds
04-30-2010, 05:54 AM
Is it possible to work with a store feature. I need members to view download links after paying.
That could be accomplished with usergroups I imagine.
Like when they pay, move them to a 'Paid' usergroup which has permissions to see particular categories or not. This can be done in the DownloadsII Extra Permissions section of the Usergroup.
logofreax
04-30-2010, 06:17 AM
Major Issue!!!!
I just started using this for being able to download MP3 DJ mixes. Many of these files are around 90MB, however most files are only downloading like 10MB and stopping.
How can I fix this?!?
http://teknosounds.com/messageboard/downloads.php
Apparently after several tries the download will finally come through fully.
I have same Problem.
cu
logofreax
insidedesign
04-30-2010, 06:44 PM
It would be nice if there were more CSS implemented into the template structure of this plugin. For example, if the file size in each file listing were wrapped in a div with a class assigned to it - I could easily set its display to none...
Are you planning on adding more CSS into the plugin?
Xeon3D
05-01-2010, 12:16 AM
Is there anyway of importing a file from the FS?
Instead of me downloading a huge file and having to upload it thru DownloadsII form, i'd just scp it on the server and then add the path to it?
Thanks.
anandbagmane
05-01-2010, 02:33 AM
do you plan to add support for sub category?
TeknoSounds
05-01-2010, 04:13 AM
Is there anyway of importing a file from the FS?
Instead of me downloading a huge file and having to upload it thru DownloadsII form, i'd just scp it on the server and then add the path to it?
Thanks.
There is functionality for this, check the AdminCP, hit Import, it allows you to do exactly as you describe.
do you plan to add support for sub category?
There are sub categories.
see here:
http://teknosounds.com/messageboard/download.php
not the prettiest right now, things are still in the works.
RS_Jelle
05-02-2010, 10:20 AM
When setting usergroup permissions to view certain categories, how do you know what number each category is??
Just look at the url when visiting categories (id). Also when editing a category in the AdminCP, the id is shown in the dialogue header.
Major Issue!!!!
I just started using this for being able to download MP3 DJ mixes. Many of these files are around 90MB, however most files are only downloading like 10MB and stopping.
How can I fix this?!?
http://teknosounds.com/messageboard/downloads.php
Apparently after several tries the download will finally come through fully.
Try upping your PHP memory limit. You can view it at your AdminCP home.
RS_Jelle
05-02-2010, 10:20 AM
@All: please vote for DownloadsII in the Mod of the Month competition: https://vborg.vbsupport.ru/showthread.php?t=241620
Thanks a lot! :)
nikosb
05-02-2010, 02:45 PM
how to align icon with name categories
https://vborg.vbsupport.ru/external/2010/08/7.jpg
voted for the mod month :D
Sorry for my english
TeknoSounds
05-03-2010, 04:25 AM
Try upping your PHP memory limit. You can view it at your AdminCP home.
Memory limit was set at 150MB, just upped it to 200MB... should be enough yeah?
@All: please vote for DownloadsII in the Mod of the Month competition: https://vborg.vbsupport.ru/showthread.php?t=241620
Thanks a lot! :)
Voted :D
RS_Jelle
05-03-2010, 06:08 AM
how to align icon with name categories
https://vborg.vbsupport.ru/external/2010/08/7.jpg
voted for the mod month :D
Sorry for my english
Edit the downloads2_main / downloads2_cat and downloads2_main_catbit / downloads2_cat_subbit templates and put the icon in a new column (th / td tag).
I recognize those icons :)
Memory limit was set at 150MB, just upped it to 200MB... should be enough yeah?
Indeed. And you still have the problem?
Do you have any problems with uploading those large files? Or do you use the import feature for them?
The PHP timeout is already set to 0 by the downloads.php script, so that's ok too.
elmstr
05-03-2010, 02:17 PM
Rebuild your style, your downloads CSS sheet is probably missing. Disabling/re-enabling the "store CSS as files" vB setting should fix it.
I also have the problem with the search-dropdown screwing up the layout.
Disabling/re-enabling the "store CSS as files" did NOT help.
This seems to be an IE specific issue, as the line shows up correct in Firefox.
Any help with this is most appreciated.:D
TeknoSounds
05-03-2010, 04:42 PM
Indeed. And you still have the problem?
Do you have any problems with uploading those large files? Or do you use the import feature for them?
The PHP timeout is already set to 0 by the downloads.php script, so that's ok too.
no no, its not UPloading thats having the issue, its the DOWNloading portion. Like when a user goes to download a file using the button link, it will only download a portion of the file. It ranges but usually around 10MB, then the user will have to click the link again and usually it works to download the file the second time around.
My stats log will show like 2-3 downloads of the same file per IP address almost every time.
I used to have a previous php download manager (Olate Download) that has been working for years without any issues like this, so I don't think its anything with my php settings...
Edit: oops I didn't read close enough. I thought you had confused the Up with Down.
I've had users upload with no problems, although I did have one user report a timeout. I've had 3 or 4 other users upload several other files without reporting anthing to me though. I'll ask for some further information. Myself I used the Import feature for most of my files, then I uploaded one from my system directly to test out the uploading feature.
Preech
05-03-2010, 11:43 PM
That could be accomplished with usergroups I imagine.
Like when they pay, move them to a 'Paid' usergroup which has permissions to see particular categories or not. This can be done in the DownloadsII Extra Permissions section of the Usergroup.
Thank you for answering. My next question, would you suggest this one over the Links and Download manager.
TeknoSounds
05-04-2010, 01:51 AM
I can't honestly say as I haven't used L&DM, however if I remember correctly when I was looking at which one to pick, that one didn't seem to serve my needs quite right. I'll have to take another look at it again to be more certain.
Jelle, I edited my previous post in case you read that already :)
shane greer
05-04-2010, 09:40 AM
How do you uninstall the old version without getting a database error?
Preech
05-04-2010, 09:43 AM
I don't plan to host any files on my server that user's can download. I want to be able to link to them. The store future I plan on using will be used for downloads. I just want to use one of the two download managers for free shared content.
TeknoSounds
05-05-2010, 04:52 AM
Heyas Jelle, sorry to do this to yas :-/ But I have another request.
Need something for managing comments. I've been getting a lot of spam comments and theres no management/moderation page to see what they all are.
I don't plan to host any files on my server that user's can download. I want to be able to link to them. The store future I plan on using will be used for downloads. I just want to use one of the two download managers for free shared content.
Honestly, prolly either would work well. Just pick one you like better. Compare admin options, the look/layout, etc.
I'm pretty happy with this mod though. I'd been waiting on the upgrade to v6 for about a year or so.
unicorn2433
05-05-2010, 09:25 PM
how do i fix this "Error! The upload failed (error type 1)."
when doing the .htaccess what kind of file is this a text doc or a folder?
okay i di the fix above and added the htaccess file
I used
php_value upload_max_filesize 30M
php_value post_max_size 30M
But I am still getting the same error
TeknoSounds
05-06-2010, 12:20 AM
Do the values you placed in the htaccess file show up in vbulletin? (shows the server and php stats when you first go into your AdminCP)
Secondly I don't think theres a way to upload a folder as that folder contains multiple files. You'd have to upload a zip/rar/7z or use some other compressed file.
As for the text document, did you add .txt to allowable extensions?
(Sorry Jelle if you want me to stop with support stuff, just trying to help out where I can when I can :) am in the IT business myself, its kinda second nature)
chuckhodson
05-06-2010, 03:40 AM
Just awesome really love how this works thanks...
maidos
05-07-2010, 02:22 PM
is it possible that you can include a feature to allow admisn to set a different upload path?
since us who runs the downloads script with dedicated servers normally runs in multiple hdd with several hdd mounted on the sevrer, and if one hdd space runs out then we cant use the download script to upload anymore
so if possibble allow us to set the upload path and let the user upload go directly to the specirfied path and dowload from that path aswell?
dankreiner
05-08-2010, 03:04 PM
guys please help i have one terabyte of data and can't get rid of the pesky "the file(s) uploaded were to large" error. i have changed added at the end of my .htaccess file:
php_value upload_max_filesize 99999M
php_value post_max_size 99999M
i also tried the 2nd method... no luck.
http://www.phantank.com/downloads.php
TeknoSounds
05-08-2010, 09:36 PM
Do the values you set in your htaccess file show up in your AdminCP? It should list it there on the index page of your control panel in the quick stats section.
Personally i was never able to get the htaccess way to work, I had to edit my php.ini.
insidedesign
05-08-2010, 11:17 PM
When you delete a category, it clears the 'Latest Files', 'Most Popular Files', and 'Top Contributors' boxes. Is there a way to re-populate this information?
I see that the information is not lost in the postbit, so obviously it was not wiped from the database... ?
dankreiner
05-09-2010, 01:14 AM
Do the values you set in your htaccess file show up in your AdminCP? It should list it there on the index page of your control panel in the quick stats section.
Personally i was never able to get the htaccess way to work, I had to edit my php.ini.
I know i tried that...i guess i'll give it another shot. anyone able to confirm this is good on 4.0.3?
chipc0i
05-09-2010, 08:24 AM
Great mod, installed and nominated. Thanks
maidos
05-09-2010, 02:32 PM
postbit causing conflict
http://i41.tinypic.com/2vb1res.png
using vb default skin
RS_Jelle
05-09-2010, 03:54 PM
I also have the problem with the search-dropdown screwing up the layout.
Disabling/re-enabling the "store CSS as files" did NOT help.
This seems to be an IE specific issue, as the line shows up correct in Firefox.
Any help with this is most appreciated.:D
There's indeed an IE problem with the search dropdown. I'm planning some redesign in a future version.
no no, its not UPloading thats having the issue, its the DOWNloading portion. Like when a user goes to download a file using the button link, it will only download a portion of the file. It ranges but usually around 10MB, then the user will have to click the link again and usually it works to download the file the second time around.
My stats log will show like 2-3 downloads of the same file per IP address almost every time.
I used to have a previous php download manager (Olate Download) that has been working for years without any issues like this, so I don't think its anything with my php settings...
Edit: oops I didn't read close enough. I thought you had confused the Up with Down.
I've had users upload with no problems, although I did have one user report a timeout. I've had 3 or 4 other users upload several other files without reporting anthing to me though. I'll ask for some further information. Myself I used the Import feature for most of my files, then I uploaded one from my system directly to test out the uploading feature.
Do you have the same download issue when you upload such a big file as a vB attachment/asset?
How do you uninstall the old version without getting a database error?
You mean v5 for vB 3? There's a conversion script included with v6.
(Sorry Jelle if you want me to stop with support stuff, just trying to help out where I can when I can :) am in the IT business myself, its kinda second nature)
Don't stop with it :p
I can use all help I can get :)
When you delete a category, it clears the 'Latest Files', 'Most Popular Files', and 'Top Contributors' boxes. Is there a way to re-populate this information?
I see that the information is not lost in the postbit, so obviously it was not wiped from the database... ?
Downloads -> Manage Files -> Update Counters
I know i tried that...i guess i'll give it another shot. anyone able to confirm this is good on 4.0.3?
So, did the updated values show up at your AdminCP home?
postbit causing conflict
http://i41.tinypic.com/2vb1res.png
using vb default skin
That's not a DownloadsII issue, but a Post Thank You Hack issue. The thank stats are right before the download stats and they start it because of some invalid HTML.
A workaround placing the download stats before the thank you ones:
AdminCP -> Plugins & Products -> Plugin Manager -> "DownloadsII: Set Postbit Template Hook" -> Execution Order -> 4 -> Save
maidos
05-09-2010, 04:05 PM
that works :) doesnt really matter which is in order
thanks
TeknoSounds
05-09-2010, 09:23 PM
Do you have the same download issue when you upload such a big file as a vB attachment/asset?
Actually I've never had the attachment system turned on. I used to use Olate Download as my download manager, never used it for uploading, but it never had a problem with downloading files.
I'm going to suspend current troubleshooting on this as I'm about to switch from a shared hosting service to my own dedicated server. Perhaps the issue might clear up on its own :)
Don't stop with it :p
I can use all help I can get :)
Sweet, I'll do what I can :) been screwin around with vB for 5 years or so but haven't really gotten too much into the guts. Might be a good time to heh.
insidedesign
05-09-2010, 10:59 PM
When you delete a category, it clears the 'Latest Files', 'Most Popular Files', and 'Top Contributors' boxes. Is there a way to re-populate this information?
I see that the information is not lost in the postbit, so obviously it was not wiped from the database... ?
Downloads -> Manage Files -> Update Counters
I'm sorry, but I don't see a 'Manage Files' menu option...
TeknoSounds
05-10-2010, 02:36 AM
Go to your downloads page in the forum (not in the AdminCP), in the Sub-Navbar menu it says Main | Search | Add | Manage
stunod
05-10-2010, 05:09 AM
How can I make the images for the thumbnail previews bigger? When ever I change the 100 in the $width it just changes the height not the width.
if (empty($errors))
{
$forceredirect = true;
$newfilename = $name . '_' . $random . '.' . $ext;
move_uploaded_file($vbulletin->GPC['image']['tmp_name'], $dl->url.$newfilename);
chmod($dl->url.$newfilename, 0666);
$thumb = $name.'_'.$random.'_thumb.'.$ext;
if (($ext == 'jpg') OR ($ext == 'jpeg'))
{
$orig_image = imagecreatefromjpeg($dl->url.$newfilename);
}
else if ($ext == 'png')
{
$orig_image = imagecreatefrompng($dl->url.$newfilename);
}
else if ($ext == 'gif')
{
$orig_image = imagecreatefromgif($dl->url.$newfilename);
}
list($width, $height, $type, $attr) = @getimagesize($dl->url.$newfilename);
if ($width > 100)
{
$ratio = 100 / $width;
$newheight = $ratio * $height;
}
else
{
$newheight = $height;
}
$destimg = @imagecreatetruecolor(100, $newheight);
imagecopyresampled($destimg, $orig_image, 0, 0, 0, 0, 100, $newheight, imagesx($orig_image), imagesy($orig_image));
if (($ext == 'jpg') OR ($ext == 'jpeg'))
{
@imagejpeg($destimg, $dl->url.$thumb);
}
else if ($ext == 'png')
{
@imagepng($destimg, $dl->url.$thumb);
}
else if ($ext == 'gif')
{
@imagegif($destimg, $dl->url.$thumb);
}
@imagedestroy($destimg);
insidedesign
05-10-2010, 03:55 PM
Go to your downloads page in the forum (not in the AdminCP), in the Sub-Navbar menu it says Main | Search | Add | Manage
Oh, ok. Crap, since I am using a tab modification I do not see these options. Would you mind passing me the url instead?
RS_Jelle
05-10-2010, 05:27 PM
How can I make the images for the thumbnail previews bigger? When ever I change the 100 in the $width it just changes the height not the width.
Changing the 100 everywhere (4 occurances!) should do the trick. The height is calculated automatically (ratio).
Oh, ok. Crap, since I am using a tab modification I do not see these options. Would you mind passing me the url instead?
downloads.php?do=manfiles
TeknoSounds
05-10-2010, 11:32 PM
Oh, ok. Crap, since I am using a tab modification I do not see these options. Would you mind passing me the url instead?
Downloads has its own tab option setup, you don't need to use a tab modification for it. This way it'll have the script auto-selected and it'll show the sub-navbar. Unless you have an absolute need to run it through that tab system..?
stunod
05-11-2010, 04:47 AM
Changing the 100 everywhere (4 occurances!) should do the trick. The height is calculated automatically (ratio). downloads.php?do=manfiles
What am I doing wrong! I have changed all 4 occurances of 100 and it did change in size. I tried messing with different numbers and it just would never stay partitioned.
Any ideas?
Thanks, Adam
janaf
05-11-2010, 09:41 AM
Hi, Just installed DownloadsII
Some comments:
"Turn OFF the downloads section for maintenance." YES / NO
Was confused, as YES actually turns DownloadsII ON
Import Files:
Directory
Absolute path to the download directory.
The absolute path to this script is X
Include a trailing slash.
Hmmm, I want to bulk import a few hundred files into DownloadsII. Does this do it?
Absolute path to the download directory. Is that the path to the directory I want to import?
The absolute path to this script is X OK, this looks like the root absolute path on my win server. So?
Any feedback appreciated.
PS Would love if the DownloadsII could somehow integrate with CMS Categories. I am using catetories to collect different types of documentation articles like manuals, tips, user instructions for products I sell. Some are CMS pages, some are pdf files, and images.
So making a list with both download files and CMS pages / categories would be great.
Any tips or ideas out there?
Welshy2008
05-11-2010, 11:32 AM
RS_Jelle,
I have been using this mod on 3.8 for a while and think it is great - I have also upgraded to this one on my 4.0 board.
I have mentioned this before, but believe it may have been lost in amongst all the posts.
What I would love to see (as would my members) is the ability to add more than one file in the same place.
For example - I would like to add a PDF of Questions - and then underneath it, have a PDF with the Answers, rather than the members go hunting in seperates places - which could be lost by new files being uploded?
Is this possible, Please?
Many Thanks,
Welshy2008.
Krahl
05-11-2010, 12:46 PM
I'm on a shared server and having issues with the size of files being uploaded. I realize by reading through the thread that my php.ini needs to be edited to allow larger uploads. However, there is no php.ini in my directory structure. Where would I create this to have it function properly?
Thanks for any input. :)
TeknoSounds
05-12-2010, 12:36 AM
I'm on a shared server and having issues with the size of files being uploaded. I realize by reading through the thread that my php.ini needs to be edited to allow larger uploads. However, there is no php.ini in my directory structure. Where would I create this to have it function properly?
Thanks for any input. :)
Check with your host if you can edit or change these settings. My old shared host allowed us to create a cgi wrapper that initialized our own php.ini (well for use of php5, but allowed changing of the max upload and such too)
TeknoSounds
05-12-2010, 12:37 AM
RS_Jelle,
I have been using this mod on 3.8 for a while and think it is great - I have also upgraded to this one on my 4.0 board.
I have mentioned this before, but believe it may have been lost in amongst all the posts.
What I would love to see (as would my members) is the ability to add more than one file in the same place.
For example - I would like to add a PDF of Questions - and then underneath it, have a PDF with the Answers, rather than the members go hunting in seperates places - which could be lost by new files being uploded?
Is this possible, Please?
Many Thanks,
Welshy2008.
May not be exactly what you're looking for, but you could stick the two files in the same category and pin them so they stay at the top?
mp4sverige
05-12-2010, 10:05 AM
Would it be possible to have blocks with latest files to show up on a vBaCMS page?
TeknoSounds
05-12-2010, 10:33 AM
I put in a request for that over at vBA too, sadly no response yet :(
mp4sverige
05-12-2010, 11:55 AM
I put in a request for that over at vBA too, sadly no response yet :(
Maybe the developer of this mod could help out. I willing to chip in with dollars to get DownloadsII to work with vBa.
Jncocontrol
05-12-2010, 08:21 PM
Will there be sub-categories in future updates?
TeknoSounds
05-12-2010, 10:29 PM
Sub-categories already exist :)
lyricidal
05-13-2010, 01:55 AM
is it at all possible to remove/or even add a setting for the &actionhash=** even if just for the &act=down, as we post our links with the "&act=down" for quicker access to downloading the files but now that show's a security token invalid error
any possibilities for this?
excellent add-on btw, as you already know :)
I fixed this by re installing the product and allow overite.
tried that - still no luck
I'm trying to add the download links to an app I'm making, but can't do that as it is now (it worked previously without the &actionhash so I'm wondering if there's any workaround)
any ideas?
thanks in advance
vbbforfree
05-13-2010, 06:02 AM
My error
https://vborg.vbsupport.ru/
janaf
05-13-2010, 06:20 AM
Would it be possible to have blocks with latest files to show up on a vBaCMS page?
Like the "Latest postings" etc? Those are Widgets, so my guess is that anyone with the right coding knowledge should be able to develop one separately.
I put in a request for that over at vBA too, sadly no response yet :( It's not their product?
janaf
05-13-2010, 07:21 AM
This may help other new DownloadsII users to the Import tool:
In ACP => DownloadsII => Import
Absolute path to the download directory." The path on the web server to the directory with the files you want to import.
So type in your directory path, In my case the web server local Win-IIS drive X:\websites\mysite\uploads\
Hit the import button.
If the script finds the directry and files you will next see a list of all files in the directory. If the path is invalid, there is no error message, you just get an emty list.
Add file name (title) author info etc, select which category to import to and fill in the check box for the files you want to import
Hit the Imports button
After a while, you will then see a list "The following files were successfully imported:...."
Directory
Absolute path to the download directory.
The absolute path to this script is X
Include a trailing slash.
Om my first attemt, I stopped there, as it is always a bit scary to hit a button (Import) without knowing what happnes next.
But past that stage, the Import function is a plain, simple to use, straight forward tool. Much appreciated. Made my day :)
I would suggest these changes / additions to the first Import page page:
"Absolute path to the download directory." Change this to "Absolute path on the web server to the directoy you want to import."
And add further down on the first page: "In the next step you will be presented a list of available files and you will have the possibility to select and confirm which files to import."
TeknoSounds
05-13-2010, 08:07 AM
Like the "Latest postings" etc? Those are Widgets, so my guess is that anyone with the right coding knowledge should be able to develop one separately.
It's not their product?
mp4sverige mentions vBa CMS, as in vbadvanced CMS. He's referring to the modules (similar to the vB CMS widgets, but not at all the same). Unless he accidentally tacked on a 'a' on the end of vB.
There's a module request forum over at vBA, so that would be one proper place to send the request.
I do like that Import phrasing change suggestion. Seconded.
janaf
05-13-2010, 12:09 PM
This widget code could be a usable starting point to make the latest updates show up on the CMS. The widget lists the latest active forum thread on the CMS pages.
https://vborg.vbsupport.ru/showthread.php?t=236404
janaf
05-13-2010, 12:16 PM
[Solved] How do I delete an uploaded file? Can't find it, must be there somewhere?
HELP
janaf
05-13-2010, 06:02 PM
How do I delete an uploaded file? Can't find it, must be there somewhere?
HELP
Of course this was a permissions issue.:o
Assigned delete permission to admin and the deletbutton apears.
Solved.
TeknoSounds
05-14-2010, 03:22 AM
This widget code could be a usable starting point to make the latest updates show up on the CMS. The widget lists the latest active forum thread on the CMS pages.
https://vborg.vbsupport.ru/showthread.php?t=236404
unfortunately they don't code the same way :( vBA uses templates for its modules. Tho I think that is a template itself so might be able to pull it that way.
Hey Jelle, I'm trying to edit a few things to get things to show up the way I want, but running into a few troubles. First, on the memberinfo tab for Downloads, I'm trying to add the category to the info displayed, but cat.name doesn't show anything. Is there anything I need to do to pull this variable?
Second, on the Latest Files and Top Files, I'm trying to add "by file.author" in a smaller line underneath the title of the download, but I can't begin to see where the stats info is pulled/compiled from/at so that I could add this.
Your server is running safe mode. You MUST manually create a folder named dl_tmp under your downloads folder. Be sure to change the permissions to 777. :down:
redfox2010
05-14-2010, 06:05 AM
look the alignment of thanks... Why i have this error?
can I edit manually?
https://vborg.vbsupport.ru/attachment.php?attachmentid=116963&d=1273569378
TeknoSounds
05-14-2010, 06:27 AM
Second time I've seen that...was on the last page too. Looks like a template conflict with the Thanks mod and this one where they're being placed.
redfox2010
05-14-2010, 08:36 AM
Second time I've seen that...was on the last page too. Looks like a template conflict with the Thanks mod and this one where they're being placed.
do i have to change postbit? or what?
i can do manually ;)
tnx
TeknoSounds
05-15-2010, 01:39 AM
well I know downloadsII has its own template for the member postbit info, can check in there to see if there seems to be a bit of code thats off, I would assume there would be such for the Thanks mod too. Unfortunately I'm not knowledgeable enough to know which one is doing it tho.
mattpist
05-16-2010, 02:34 AM
is it possible to add an "add new file" button to the main page instead of just the category pages? thanks!
RS_Jelle
05-16-2010, 09:51 AM
Hey Jelle, I'm trying to edit a few things to get things to show up the way I want, but running into a few troubles. First, on the memberinfo tab for Downloads, I'm trying to add the category to the info displayed, but cat.name doesn't show anything. Is there anything I need to do to pull this variable?
Second, on the Latest Files and Top Files, I'm trying to add "by file.author" in a smaller line underneath the title of the download, but I can't begin to see where the stats info is pulled/compiled from/at so that I could add this.
It's not that easy as that information isn't available. The database query isn't loading that.
For the first one, you need to edit the profile tab plugin and add a JOIN statement to the query to get the category table in. For the second one, you need to edit the queries in class_downloads2.php (update_latest_files() and update_popular_files() functions).
Your server is running safe mode. You MUST manually create a folder named dl_tmp under your downloads folder. Be sure to change the permissions to 777. :down:
The notification sounds clear to me? It's there to help you and it goes away when you fixed it :)
My error
http://easycaptures.com/fs/uploaded/333/8578520608.png
do i have to change postbit? or what?
i can do manually ;)
tnx
That's not a DownloadsII issue, but a Post Thank You Hack issue. The thank stats are right before the download stats and they start it because of some invalid HTML.
A workaround placing the download stats before the thank you ones:
AdminCP -> Plugins & Products -> Plugin Manager -> "DownloadsII: Set Postbit Template Hook" -> Execution Order -> 4 -> Save
is it possible to add an "add new file" button to the main page instead of just the category pages? thanks!
Edit the downloads2_main template and add it where you want:
<vb:if condition="$show['addnewfile']">
<a class="newcontent_textcontrol" href="downloads.php?{vb:raw session.sessionurl}do=add&cat={vb:raw cat.id}" rel="nofollow"><span>+</span> {vb:rawphrase dl2_add_new_file}</a>
</vb:if>
CloudWolf
05-17-2010, 05:16 AM
Anyone experiencing a problem where a user uploads a file, then gets taken to "You do not have permission to view this page" because it needs moderation?
Is there a way to let standard useres view a file thats not been moderated, but not actually have moderator powers? :P
(awesome mod by the way!)
TeknoSounds
05-17-2010, 09:10 AM
Pretty excited about this, tho didn't take much work at all to do.
Embedded the Concepta MP3 player with DownloadsII so that it pulls the correct url for each file and passes it to the player on the page.
See attachment :)
Sadikb
05-18-2010, 11:10 AM
Anyone experiencing a problem where a user uploads a file, then gets taken to "You do not have permission to view this page" because it needs moderation?
Is there a way to let standard useres view a file thats not been moderated, but not actually have moderator powers? :P
(awesome mod by the way!)
Yep... I am.
I just installed it for the first time and was testing it when noticed this. After upload, instead of redirecting users to the file page which he will obviously not be able to see because of the moderation, it should show him a message saying that his file is in moderation.
This is an unbelievable Mod by the way. I can't imagine someone distributing it for free... Hats off to you man... Really appreciate it. You deserve me buying you at least coffee (I am a teetotaler, so no beer! :) ) once I have this working on my live site.
RS_Jelle
05-18-2010, 04:17 PM
Anyone experiencing a problem where a user uploads a file, then gets taken to "You do not have permission to view this page" because it needs moderation?
Is there a way to let standard useres view a file thats not been moderated, but not actually have moderator powers? :P
(awesome mod by the way!)
It's on the todo list (https://vborg.vbsupport.ru/showpost.php?p=1940255&postcount=2) already. Should be fixed in the next release :)
That won't be possible I guess as that's not the exspected behaviour for most users (that would be against the moderation queue principle). But you can of course turn moderation off at the usergroup permissions, so every file is automatically accepted.
Pretty excited about this, tho didn't take much work at all to do.
Embedded the Concepta MP3 player with DownloadsII so that it pulls the correct url for each file and passes it to the player on the page.
See attachment :)
Nice, but I'm not planning to add an audio or video player to the package. I guess a media library is something different than a downloads section. And there are many players, so it would be difficult to make a choice.
This is an unbelievable Mod by the way. I can't imagine someone distributing it for free... Hats off to you man... Really appreciate it. You deserve me buying you at least coffee (I am a teetotaler, so no beer! :) ) once I have this working on my live site.
Thanks :)
Coffee or tea is fine, I don't like beer :p
TeknoSounds
05-19-2010, 01:25 AM
Nice, but I'm not planning to add an audio or video player to the package. I guess a media library is something different than a downloads section. And there are many players, so it would be difficult to make a choice.
Agreed and no worries. I'm using Downloads for a specialized way :) Actually at the time there weren't any media libraries for vB4, and the ones that have come out are more for video that music.
Just wanted to share tho heh :D
Sadikb
05-19-2010, 06:58 AM
Thanks :)
Coffee or tea is fine, I don't like beer :p
We have similar tastes then! :) Where's your support developer link man?
And any idea how to prevent user from getting the You do not have permission error after he uploads? Thanks again.
Charis
05-19-2010, 05:15 PM
It would be great to have two columns (downloads/uploads) in memberlist and even more if they were sortable.
I guess we should have something like this:
<th class="blocksubhead">Downloads</th>
<th class="blocksubhead">Uploads</th>
in template memberlist and something like this:
<vb:if condition="exec_switch_bg()"><td class="{vb:raw bgclass} postcount">{vb:raw userinfo.dl2_downloads}</td></vb:if>
<vb:if condition="exec_switch_bg()"><td class="{vb:raw bgclass} postcount">{vb:raw userinfo.dl2_uploads}</td></vb:if>
in template memberlist_resultsbit
How could we make these columns sortable?:confused:
Ophelia
05-21-2010, 02:01 AM
Since AndrewD passed away (which really hit me hard), and the future of the Links & Download manager is at question, and because our site relies heavily on this modules, we need to look for an alternative.
Does this module do the following?
Can we schedule downloads so that they will show up on a certain date?
Can we restrict downloads by usergroup?
Can we have hidden areas for just team members?
Can we hide something that has been uploaded?
Thank you.
TeknoSounds
05-21-2010, 04:01 AM
Since AndrewD passed away (which really hit me hard), and the future of the Links & Download manager is at question, and because our site relies heavily on this modules, we need to look for an alternative.
Does this module do the following?
Can we schedule downloads so that they will show up on a certain date?
Can we restrict downloads by usergroup?
Can we have hidden areas for just team members?
Can we hide something that has been uploaded?
Thank you.
Oh wow, thats very sad to hear :-/ Best regards to his family.
For your questions:
1) No :(
2) Yes, amounts of downloads, file size upload, file size download, category restrictions
3) Yes, categories can be restricted.
4) See 3, but there is not a by "per file" basis.
anddymax
05-21-2010, 06:06 PM
Can you please help me add icon insert images, thank you very much ?
SeToY
05-21-2010, 07:30 PM
When trying to add a .png Screenshot, i'm getting:
The following errors occurred when this file was submitted:
You may only upload or link to the following extensions:
What to do against that? :o
TeknoSounds
05-22-2010, 01:32 AM
When trying to add a .png Screenshot, i'm getting:
The following errors occurred when this file was submitted:
You may only upload or link to the following extensions:
What to do against that? :o
In your AdminCP, open up the DownloadsII dropdown.
Select Extensions.
Click Add New Extension.
Set parameters and save.
This should fix it :)
SeToY
05-22-2010, 08:10 AM
Oh god, how dumb... sorry :D and thanks :)
stevejobs
05-22-2010, 10:01 AM
Hello, how to upgrade from 6.0.4?
TeknoSounds
05-22-2010, 01:23 PM
Oh god, how dumb... sorry :D and thanks :)
No worries, glad it worked out :)
Hello, how to upgrade from 6.0.4?
Just follow the normal installation instructions included in the zip file. Basically you just reinstall it. You only have to do something special if you're upgrading from v5.
SeToY
05-22-2010, 04:35 PM
What about allowing BBCode / HTML in the Categories Descriptions?
Would be helpful.
Varsh
05-23-2010, 11:13 AM
Everything seems to be running fine for me except for one thing - uploading files! The "downloads" directory's set to 777, extensions added in the ACP/DII section, mime-types set correctly, but I get this:
Error! The upload failed (error type move).
Any ideas? I'm having to resort to uploading the files manually which I don't want to do.
Edit: nevermind I figured it out.
Xexiu
05-23-2010, 01:12 PM
I'm getting this problem when trying to update counters. Just switched from 3.8.5 to vb 4.0.3 PL1.
Here is the problem:
link to update counter: "siteurl/downloads.php?do=manfiles&act=updatecounters"
Your submission could not be processed because a security token was invalid.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
How can I fix this? Thank you.
RS_Jelle
05-23-2010, 01:27 PM
I'm getting this problem when trying to update counters. Just switched from 3.8.5 to vb 4.0.3 PL1.
Here is the problem:
link to update counter: "siteurl/downloads.php?do=manfiles&act=updatecounters"
Your submission could not be processed because a security token was invalid.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
How can I fix this? Thank you.
There was a Security token added to the link, so you can't go to it directly any more.
You need to go to the downloads, click Manage Files and then click the Update Counters button.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.