vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

RS_Jelle 05-12-2008 01:51 PM

Quote:

Originally Posted by Arjan (Post 1517218)
Since I have upgraded to version 5.0.8 from a version a few versions back, the upload function is broken.

I do fill Filename, Description, Category and then browse to the file on my harddisk.
But after upload it returns that the fields marked in red should be filled.
But not one field is marked.

You can find the solution in the first post :)

Quote:

Originally Posted by RS_Jelle
If you also use the latest version of GARS, you will get the "Fields marked in RED must be filled in!" error when uploading a file. I provided a fix here on the GARS forums.


entertain 05-12-2008 02:04 PM

Hi RS_Jelle,

at first: very nice mod! I do like it very very very much.

Are you already working on an other version, with new functions? :)


cu
entertain

Arjan 05-12-2008 05:37 PM

Quote:

Originally Posted by RS_Jelle (Post 1517225)
You can find the solution in the first post :)

Sorry was reading with my eyes closed. ;)

maidos 05-12-2008 06:21 PM

i would still very much like to know how the import files destination change from /forum/downloads/ to differnet directory. the thing is i have a second hard disk on the same server but unfortunately its on a different directory :(

Black Tiger 05-12-2008 07:33 PM

Maidos, can't you read or don't you believe what I tell you? It is NOT yet supported in this version, you can only store files in directory's of your documentroot.
Asking the same question over and over again, does not change the way things work.
So either symlink from your document root to that directory on the 2nd hd which I already offered you as possible solution, or wait until the new version is out.;)

darkblade25 05-13-2008 12:36 PM

Hi, I am going to host large file and allow users to download them. Does this mod allow me to limit a user 1 download at a time? Or is there a way to do that?

entertain 05-13-2008 03:36 PM

I'd like to show the images, that were uploaded in files, in the vB3.7 lighbox style.

Is there a method to do this?

cu
entertain

maidos 05-13-2008 07:42 PM

Quote:

Originally Posted by Black Tiger (Post 1517571)
Maidos, can't you read or don't you believe what I tell you? It is NOT yet supported in this version, you can only store files in directory's of your documentroot.
Asking the same question over and over again, does not change the way things work.
So either symlink from your document root to that directory on the 2nd hd which I already offered you as possible solution, or wait until the new version is out.;)

Sorry, but you are not the coder of this mods so i cant really expect an answer from you :/ i do appreciate your help. But i want to find out if theres possible solution beside urs from the coders end. Since your solution is not the best because adding the files manually on download front page will enable a potentional hotlink. So your solution is out of question. Yes im aware that theres no feature like that :( which is why im asking how this can be done if the coder could help me :(

eido 05-14-2008 04:32 AM

hi, there seems to be an error with my downloadsII
when i try to import and specify the folder that contains that files that i wana import, nothing shows. maybe some permissions problem, plz help.

maidos 05-14-2008 04:23 PM

eido, make sure u include / beginning and the end
example /home/admin/domain/yourdomain.com/public_html/your_uploaded_folder/

Black Tiger 05-14-2008 04:45 PM

Quote:

Originally Posted by Meidos
Yes im aware that theres no feature like that which is why im asking how this can be done if the coder could help me

I'm sorry Meidos, it that case it was an interpretation error on my behalve. I thought you were still asking how to do it with this mod while it's not possible. So I'm sorry for my comment that way.
In fact you are asking the coder (or somebody else) if he could supply a piece of code for you, so you can implement it yourself until the next release is out, correct?

Quote:

Originally Posted by Meidos
Since your solution is not the best because adding the files manually on download front page will enable a potentional hotlink. So your solution is out of question.

That's correct, but if you symlink to the dir on the other hd you can protect that with chmod rights. However there's another solution if you have root on the system.
You could create another user and point the homedirectory of that user to a directory on the 2nd HD. Then you could symlink to that homedirectory without security risks because that users is chrooted too then, only thing left is to take care that your user also has upload rights on that users homedir.

But I agree with you that a php solution would be nicer. I hope Jelle can help you out with that.

@Darkblade: With this mod you can define how many mb or files a user is allowed to download. So I think the answer to your question is "yes".

eido 05-14-2008 06:35 PM

Quote:

Originally Posted by maidos (Post 1519510)
eido, make sure u include / beginning and the end
example /home/admin/domain/yourdomain.com/public_html/your_uploaded_folder/

still, didnt work
what permissions shud i put and for which files or folders?

maidos 05-14-2008 08:45 PM

when you visit admincp and click the import it will show you the server path. Make sure youcopy the entire text and include with the folder name with it

maidos 05-15-2008 09:46 AM

thanks tiger, but symlink. got any instructions how that can be done?

also when downloading i noticed that on 5.0.8 it gives me and everyone unknown filesize.but when i download without the download script it gives me the filesize and eta? can anyone fix this

Skyrider 05-15-2008 10:18 AM

This is very awesome! but is there a way you can remove the names on the images? And the rates changed from A / F to 1 to 10? And if possible add a "mirror function" for multiple links? That would be awesome, thanks! :D

EDIT:
I also see on:
http://www.minatica.be/downloads.php

First the image, then the cat name, and than the description + downloads. Possible we can have the same? It looks much better in my opinion.

EDIT2:
I also noticed that on the file page, for example "Most Popular Files". The file name: "Imkongkong's Zsword Map" takes up 2 spaces.. Is it possible we can have the other to increase/decrease the size of the whole box (left box).

Black Tiger 05-15-2008 12:08 PM

Quote:

Originally Posted by Maidos
thanks tiger, but symlink. got any instructions how that can be done?

You have to SSH to your box and use the symlink command.
Suppose you download directory is now /home/maidos/www/downloads and the directory on the 2nd harddisk is like this: /hdd2/downloads.
I just give the example /hdd2 here normally you don't even see if a directory is on another hd in linux because it mounts as a directory. But oke in this example the command would be (the /hdd2/downloads directory must already exist):
Code:

ln -s /home/maidos/www/downloads /hdd2/downloads
However you might need to have to correct owner rights on the /hdd2/downloads directory and for your own virtual dir in apache the directive for allowing symlinks must be on.
I found a nice piece of documentation on how to do it for ftp, there are also tips for mounting it instead of symlinking.
http://www.castaglia.org/proftpd/doc...TO-Chroot.html
I hope this helps you further.
If you're not sure, just test with some directory's you made first.
To unlink: unlink symbolic_link
Where symbolic_link is the symbolic link name in this example /hdd2/downloads

maidos 05-15-2008 01:52 PM

tiger, thanks alot for your help :) will try it out. But is this safe procedure like no files get corrupted.

also is it just me or do me and my 20 users always keep getting timeout when downloading from this mods. I gave them a direct link without using the downloadsII downloading same file and no timeout issue. But when using this script they and myself get the timeout issue. Can anoyone confirm this issue please
and about the unknonw filesize please anyone fix this?

Black Tiger 05-15-2008 02:07 PM

Sorry I don't have a time-out issue so I can't help you with that. Maybe the php settings of the server have something to do with that.

As of the symlinking, it can't corrupt your files because symlinking can be more or less compared with creating a shortcut in windows. Only you make a shortcut to another directory.
But I just think of something, it could be advisable to move all files to the new directory first because all downloads will get in that new directory.

Files can not be corrupted, but it is advisable to make some test directory's and test with it first, so you can see for yourselve how it works and what it does, so you get more comfident about what you are doing.

maidos 05-15-2008 02:08 PM

black tiger, can u make sure u download large file like 200 mb?


and thanks for ur advice about the symlink ;)

GlitterKill 05-15-2008 07:37 PM

1 Attachment(s)
After installing this hack (GTSmiliebox - Move Smilies Below Editor) I am now running into a strange issue with the Downloads II add on. The editor for the comments shows the smilies as a horizontal line but it is NEXT to the message box instead of under it. :) You can see the problem here (as well as the attachment): http://www.forumapex.com/downloads.php?do=file&id=14

Any idea where to fix this? I have looked through all of the Downloads templates to no avail.

Pirat3 05-15-2008 08:53 PM

Ever since I moved servers I always get a error:
ERROR FILE NOT FOUND when trying to download ANY of my files, when I check FTP all the files there are present, but when I try to download it gives me file not found error...

I am on latest version please help.

rsuplido 05-16-2008 11:11 AM

First of all, great add-on!

Here's a suggestion. I wish there was a separate 'version' field. Filename then should also be always shown as: filename field + ' ' + version field. Comments can then be tagged internally with the version number so it can be filtered accordingly -- a drop-down to show all comments or show only comments for a particular version.

Also, the Create New Thread Add-on will work better since it will only create a reply on the original thread when the version number is changed.

Other extra fields I would like to see:
1. License - Commercial, Shareware, Freeware, Open Source, etc.
2. Homepage - to add a link to the homepage of the software
2. What has changed since the last version - easy way to report what has changed without showing the full description

Black Tiger 05-16-2008 11:37 AM

@Maidos: Sorry I don't have files that big.

Pirat3 05-16-2008 05:35 PM

Quote:

Originally Posted by Pirat3 (Post 1521034)
Ever since I moved servers I always get a error:
ERROR FILE NOT FOUND when trying to download ANY of my files, when I check FTP all the files there are present, but when I try to download it gives me file not found error...

I am on latest version please help.

Anyone?

Black Tiger 05-16-2008 09:27 PM

File not found? That can only happen if the database tag is gone, the files are not in their original locations or something of the setup of downloads II is not yet correct or files are not world readable.
You could check those. Maybe overlooked something, like filerights?

cedar 05-17-2008 10:48 AM

Wait for the following version support 3.7 :(

Btw, I read some pages but dont see how to add a link to downloads.php in navbar!Someone pls helps me...I need to remove the FAQ shortcut link and add a shortcut to downloads.php into this position!Of course I'm using 3.7 :D

maidos 05-17-2008 11:11 AM

actually i do get error file not found sometimes, after some more download retry it works downloading again, checked the server load and it was under 0.5

RS_Jelle 05-17-2008 11:41 AM

Quote:

Originally Posted by cedar (Post 1522469)
Wait for the following version support 3.7 :(

Btw, I read some pages but dont see how to add a link to downloads.php in navbar!Someone pls helps me...I need to remove the FAQ shortcut link and add a shortcut to downloads.php into this position!Of course I'm using 3.7 :D

The currect version works fine with vB 3.7 (except for the optional profile template edits) ;)

Adding a link in the navbar template is documented in the Readme-Install.txt:
Quote:

Perform the following OPTIONAL template edit (only required if you want a 'Downloads' link in your navigation bar)

Find in navbar:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

If you are running vBulletin 3.6.7 (or higher), you need to search for the following as it changed slightly:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

Add below:

<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
This will add the link after the Calendar link. For replacing the FAQ link with it, just find

HTML Code:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
and replace it with

HTML Code:

<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>

maidos 05-17-2008 12:11 PM

on search drop down menu how to add downloads search feature

<form action="./downloads.php?do=search" method="post">
<br />{$vbphrase['ecdownloads_search_instructions']}
<br /><input type="text" name="query" maxlength="75" size="50" />&nbsp;<input type="submit" name="submit" value="{$vbphrase['ecdownloads_search']}" />
</form>

cedar 05-17-2008 02:09 PM

Quote:

Originally Posted by RS_Jelle (Post 1522502)
The currect version works fine with vB 3.7 (except for the optional profile template edits) ;)

Adding a link in the navbar template is documented in the Readme-Install.txt:


This will add the link after the Calendar link. For replacing the FAQ link with it, just find

HTML Code:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
and replace it with

HTML Code:

<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>

Oops, I also read the readme, but it is for vBB version 3.6.x!I tried but couldnt find the right code to replace...I also read many times the whole navbar code but cant identify the necessary code to replace :(

Anyway, thanks :D

Pirat3 05-17-2008 05:59 PM

well directory for downloads is chmodd 777 anything else I have to do to fix file not found error?

db info seems intact...

maidos 05-17-2008 06:22 PM

pirat3, im not a coder but i would like to give u a help if i could check ur site, i moved the server aswell from sempron to harpertown, got the error file not found before but got it fixed

KSM899 05-17-2008 08:55 PM

Hello!

Thanks for the mod .. but how can I upload images??

katie hunter 05-18-2008 01:29 AM

Hi, nice modification =] but i have this template question ?

If i don't like Download2 to take after my gradient_thead color template which is orange
but i want it to take after gradient_tcat color which is black for my default skin

how can i do that ?

Cause it seem Download2 take after gradient_thead colors of any skin

bpat1434 05-18-2008 02:40 AM

Okay, so I have a semi-request for the next release. Would it be possible (if not already) that when a file is "moderated" that the moderation staff and admins be sent notification of it? Many times on the site people have uploaded a file to update it, and someone else has tried to download it and it gives them an error. If I were emailed about a file change/upload, I could almost immediately take care of it.

If anyone wants to help me implement this, I'd be grateful.

xoutlawz00x 05-19-2008 03:45 AM

is there a most popluar mod for this taht will allow users to see what files are hot within the past 30 days

RS_Jelle 05-19-2008 08:13 AM

Quote:

Originally Posted by KSM899 (Post 1522898)
Hello!

Thanks for the mod .. but how can I upload images??

You can add them to a file AFTER you submitted a file:
https://vborg.vbsupport.ru/attachmen...0&d=1154030030

If you don't see the image form like on the screenshot, check your DownloadsII settings and your usergroup permissions. They both have an option for controlling the images.

Quote:

Originally Posted by katie hunter (Post 1523033)
Hi, nice modification =] but i have this template question ?

If i don't like Download2 to take after my gradient_thead color template which is orange
but i want it to take after gradient_tcat color which is black for my default skin

how can i do that ?

Cause it seem Download2 take after gradient_thead colors of any skin

Just edit the downloads_xxx templates and change class="thead" everywhere to class="tcat" ;)

AdminCP -> Styles & Templates -> Style Manager -> Edit Templates -> Downloads (double click the template group to open it) -> downloads_xxx (double click a template to open it)

cedar 05-19-2008 11:46 AM

Still looking forward to new version :( The download mod is a necessary function which I must have!And the problem is that I dont want to roll back to vBB 3.6.10 :D

bpat1434 05-19-2008 02:37 PM

Works fine in 3.7, just without the profile stuff....

katie hunter 05-19-2008 05:30 PM

Quote:

Originally Posted by RS_Jelle (Post 1524494)
You can add them to a file AFTER you submitted a file:
https://vborg.vbsupport.ru/attachmen...0&d=1154030030

If you don't see the image form like on the screenshot, check your DownloadsII settings and your usergroup permissions. They both have an option for controlling the images.



Just edit the downloads_xxx templates and change class="thead" everywhere to class="tcat" ;)

AdminCP -> Styles & Templates -> Style Manager -> Edit Templates -> Downloads (double click the template group to open it) -> downloads_xxx (double click a template to open it)

Thanks Jelle <3


All times are GMT. The time now is 05:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05096 seconds
  • Memory Usage 1,859KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_html_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete