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)

mri_mohammad 11-26-2007 02:37 AM

hi all how i can do someting to registered user can download the file but they can't see downloads.php how i can do that?

loonytune15 11-26-2007 08:24 AM

I apologise if i missed this is the thread somewhere...

I have been zipping up some mp3's an uploading them. but when they are downloaded they keep coming up as invalid archive.

I checked the file in the directory and downloaded it bia smartftp and the file is ok. but for some reason its not working when i download it through the system.

any ideas?

HDT 11-26-2007 08:15 PM

All "Title/File Name" has truncated,how to set up more long "Title/File Name" to some number limitation.

RS_Jelle 11-27-2007 05:21 AM

Quote:

Originally Posted by butch3r (Post 1387423)
Here's my russian translated version of DownloadsII. I will appreciate any feedback on it;)

I think you forgot to add the attachment :p

Quote:

Originally Posted by maidos (Post 1387654)
well it turn out taht i had raid issues since i have 2 hdd in one partion...
anyway i got another request, i want to place ads on every download page except for donators and the staff ppl, i want like ads on top and bottom... how can it be done

Like I said, PHP coding mistakes don't create random errors :)
I've searched a lot, but I can't think at all such things also.

For usergroup determinated adds, just use this code in your DownloadsII (and any other vBulletin) templates:
HTML Code:

<if condition="!is_member_of($bbuseruserinfo, 5, 6)">
Add code
</if>

Just list the usergroup ids (in this case 5 (super mods) and 6 (admins)) to hide the adds for.

Quote:

Originally Posted by Lionel (Post 1388673)
Hi, can this be set as a download repository where each user can only see files set for his eyes only?

Using the usergroup permissions you can list the categories a user can see/download from and what other permissions you give OR the categories a user can't see/...
There are no advanced per category usergroup permissions yet.

Quote:

Originally Posted by BozzaJos (Post 1388702)
Hey guys,

A couple of weeks ago, I posted a reply with some features I requested for this hack. One of them was that I would like to see that the hack picks the Author's name to show the download on the profile instead of the Uploader's Name. Jelle responded that it wasn't a useful feature but I do have something else to add about my request.

I upload almost all the downloads myself. To make sure the downloads are shown on the correct profile, I do Assign Uploader and change it to the membername of who created the download. One problem: When doing that it gives that person the ability to delete the file. This is something I can't have so I had to change them all to something else. This means that the files won't be shown on the correct profile anymore. I still would like to request the option that you can make sure the download will appear on the profile of the Author instead of the Uploader.

Thanks again.

Best regards,

Bozza

This will be possible with v6, which is in progress (I'm cutting down the new features which take too much time to accomplish at the moment). There will be separate edit/delete usergroup permissions and they are also separated a second time by file owner (edit/delete own files) and all files (edit/delete all files).

Quote:

Originally Posted by mri_mohammad (Post 1389445)
hi all how i can do someting to registered user can download the file but they can't see downloads.php how i can do that?

So they won't see downloads.php?do=file&id=xxx&act=down as the source of the download?
It should show something as the source of the download, so we think this is pretty safe as you can control the downloads using the usergroup permissions. We aren't showing the location of the file in the downloads directory to avoid hotlinking.
If you are linking a file, the link is shown to the downloader as it isn't on your own server then normally.

Quote:

Originally Posted by loonytune15 (Post 1389529)
I apologise if i missed this is the thread somewhere...

I have been zipping up some mp3's an uploading them. but when they are downloaded they keep coming up as invalid archive.

I checked the file in the directory and downloaded it bia smartftp and the file is ok. but for some reason its not working when i download it through the system.

any ideas?

Hmm, someone else also had this problem with the previous release (5.0.5), but only in Internet Explorer. I changed the download headers to a method IE also likes and his problems are solved now. So be sure you have the newest DownloadsII files (downloads.php mostly in this case), version 5.0.6, on your FTP. Also give it a try in another browser (Firefox or something like that if you aren't using that browser already).

Then you can try to open downloads.php
Find
PHP Code:

header("Content-Type: $ctype; name=\"".basename($filename)."\";"); 

Replace with
PHP Code:

header("Content-Type: $ctype"); 

So you undo the 5.0.6 change to avoid IE corrupting zip files (on some servers in some rare cases, don't know why yet).

Then give it another try with the problem browser(s). Please give some feedback on what a different browser does and it the change helps to fix it for all browsers.

Quote:

Originally Posted by HDT (Post 1389866)
All "Title/File Name" has truncated,how to set up more long "Title/File Name" to some number limitation.

There's a database limitation in our database scheme. The name field has got a 50 (varchar) characters limitation at the moment, which should be enough for normal use -I think- (if it's too long, you probably go outside the layout boxes etc.).

If you can work with phpMyAdmin, you can open the dl_files table of your vBulletin database, find the name field and put a higher varchar value instead of the current maximum of 50 characters.

mri_mohammad 11-27-2007 11:59 AM

Quote:

Originally Posted by RS_Jelle (Post 1390100)
So they won't see downloads.php?do=file&id=xxx&act=down as the source of the download?
It should show something as the source of the download, so we think this is pretty safe as you can control the downloads using the usergroup permissions. We aren't showing the location of the file in the downloads directory to avoid hotlinking.
If you are linking a file, the link is shown to the downloader as it isn't on your own server then normally.

no you didn't get it some of website i see they have this download hack but they put the link of --> downloads.php?do=file&id=xxx&act=down in thread and after anyone want go to downloads.php the page is white and they can't see the page ok?

HDT 11-27-2007 12:30 PM

Quote:

Originally Posted by RS_Jelle (Post 1390100)
There's a database limitation in our database scheme. The name field has got a 50 (varchar) characters limitation at the moment, which should be enough for normal use -I think- (if it's too long, you probably go outside the layout boxes etc.).

If you can work with phpMyAdmin, you can open the dl_files table of your vBulletin database, find the name field and put a higher varchar value instead of the current maximum of 50 characters.

Thanks RS_Jelle. Working great.
Hope on next release can added this features,so we dont need to go to phpmyadmin to change it :D

nschindler 11-27-2007 02:52 PM

I'm looking for a download mod for our vBulletin installation, and this one's close, but it seems to be missing a couple of things we'd really like to have:

-Private downloads: Allow moderators to assign a single user to specific downloads and make them private to only that customer. This would be useful for license key downloads.

-Configurable license agreements: Ability to create and select from a list of license agreements. When an agreement is assigned to a download, it's presented to the user when a download of that item is attempted and the user must 'Accept' the agreement before the file is served.

As a previous Joomla user, I became spoiled by DocMan. Now that I'm using Drupal/vBulletin, I can't find a download module that does the same thing.
If DownloadsII is already capable of the features we're looking for, or if anybody has a suggestion for implementing it, please let me know.

Thanks,
Nate

Lionel 11-27-2007 03:37 PM

Quote:

Originally Posted by nschindler (Post 1390352)
I'm looking for a download mod for our vBulletin installation, and this one's close, but it seems to be missing a couple of things we'd really like to have:

-Private downloads: Allow moderators to assign a single user to specific downloads and make them private to only that customer. This would be useful for license key downloads.

-Configurable license agreements: Ability to create and select from a list of license agreements. When an agreement is assigned to a download, it's presented to the user when a download of that item is attempted and the user must 'Accept' the agreement before the file is served.

As a previous Joomla user, I became spoiled by DocMan. Now that I'm using Drupal/vBulletin, I can't find a download module that does the same thing.
If DownloadsII is already capable of the features we're looking for, or if anybody has a suggestion for implementing it, please let me know.

Thanks,
Nate

I am looking for those exact docman features and would definitely be interested into a pointer on how to implement them.

Scotty2k 11-28-2007 12:25 PM

Quote:

Originally Posted by kosen (Post 1158685)
At uploading a file from a category I receive such mistake:

Code:

Warning: copy(./downloads//http://) [function.copy]: failed to open stream: No such file or directory in /downloads.php on line 690
ERROR: File not found.


And if enter editing any file and to change, for example, the description after preservation I receive such lines of mistakes:

Code:

Warning: mysql_real_escape_string() expects parameter 1 to be string, resource given in /includes/class_core.php on line 657

Warning: rename(,) [function.rename]: No such file or directory in /downloads.php on line 1393


Same error after updating vbulletin and reinstalling downloadsII . Does someone have a hint how to fix it ?


But thus changes are kept...

How to correct this trouble?[/QUOTE]

Poeta 11-28-2007 11:15 PM

Hi all,

i've tried to look at the readme and checking various posts, but there is no instructions on how to put the download tab in the status bar on the forum (i mean next to usercp, member list ecc ecc).

Is it possible? Just to understand how to link the download.php to my users.
I'm trying at the same time to configure even on vbadvanced :p

Thanks,

Poeta


All times are GMT. The time now is 05:50 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.05248 seconds
  • Memory Usage 1,798KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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