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)

schnucki 09-05-2010 06:59 AM

Hi all
I have 3.8.5 on my board and everything is installed correctly.
When I click on downloads in the navbar to the above message appears on the homepage

Deprecated: Assigning the return value of new by reference is deprecated in / webspace/11/XXXXX/XXXXXX/downloads.php on line 144
line 144 $parser = & new vB_BbCodeParser($vbulletin, fetch_tag_list());


Does anyone have an idea for it?

trotskid 09-08-2010 05:00 AM

Quote:

Originally Posted by SSG.D (Post 2038593)
For some reason when I want to add a image to the upload it becomes stretched : The image I add is originally 50x50 . But after upload the image gets re-sized some how to 50x100

Any Idea's ? If I missed a post about this I'm sorry

Same issue. Is there a fix for this?

mp3u 09-11-2010 02:37 PM

I'm a bit clueless about all of this so please bear with me. i followed the install instructions but now I'm stuck... I created a new forum for downloads which will mostly be download links to various other sites. I tweaked the permission to allow Administrators to upload and create new downloads etc but there is nothing anywhere I can see that allows this. I tried changing the address to the download forum to forum.mysite.com/downloads but that just leads you to a blank page.

Can anyone explain as if they were dealing with a 2 year old, exactly how to get this mod working. I just want a new forum on my site that will be used as a download area, I won't be uploading anything to my servers - the downloads will be streaming for other sites.

Any help would be greatly appreciated!

cowcowcow 09-16-2010 01:59 AM

Sorry im confused, abit of a noob question because i see some of this Mods addons in the 3.6 fourm, and the add-ons require this main product installed.

Its stated this mod works with any version of vBulletin 3.7.x and 3.8.x,

But will it work with older verions like 3.6.x?

Thank you!

RS_Jelle 09-16-2010 05:39 PM

Quote:

Originally Posted by cowcowcow (Post 2098892)
Sorry im confused, abit of a noob question because i see some of this Mods addons in the 3.6 fourm, and the add-ons require this main product installed.

Its stated this mod works with any version of vBulletin 3.7.x and 3.8.x,

But will it work with older verions like 3.6.x?

Thank you!

Maybe it does, but it's not supported. There's integration with the vB 3.7+ new profile layout with tabs etc. I don't know how that vB 3.7+ code will behave on a 3.6 installation, but I would suggest you to upgrade your site to vB 3.8.
vBulletin 3.6 and 3.7 are end of life and don't receive any more security updates.

Sadikb 09-17-2010 02:21 PM

Hi Folks and RS_Jelle

This is indeed one of the best MODS for VB. I just needed to put a small check, that is users should have uploaded at least one file before they can download. So I wrote a small (two liner) plugin, here's how to do it.
  1. Go to Plugins & Products->Add New Plugin
  2. Choose Products DownloadsII
  3. Hook Location dl2_pre_download(DownloadsII)
  4. Title DownloadsII: Upload before download
  5. Code:
    PHP Code:

    if ($vbulletin->userinfo['dl2_uploads'] < 1)
    print_no_permission(); 

  6. Plugin is Active Yes
  7. Save

And make sure you put up a notice or something for users to know that they can't download before uploading! :)

I could have put this up as a MOD but this was so damn simple that just putting it here. :)

Thanks again RS_JELLE

P.S you could do the same for posts instead of uploads by using this code instead

PHP Code:

if ($vbulletin->userinfo['posts'] < 1)
print_no_permission(); 


Xexiu 09-20-2010 09:11 PM

Hello RS_Jelle,

I have been using your mod for some time and works perfectly.
I have one question, cause I can't figure it out myself.

When someone reaches the downloads limit, a message appears saying:

"You had reached your daily downloads limit...etc."

And then he/she gets redirected to the file that he was downloading. I wonder if I can somehow modify the redirect thing, so members can be redirected to a specified forum or a specified link, and how to do it, cause I really don't know where to look for?

I tried to change some things in the downloads.php and failed. If you can tell me what to do to redirect users on other link, I would be much appreciated!

Thank you.

Sergiu

diendo 09-24-2010 02:22 AM

HI! Look at this picture
http://img37.imageshack.us/img37/2849/downq.jpg
When press Alt + click on download button IDM will down file so i want to block it...
Can U help me to block Internet download manager form download?
Another problem is Downloads + 1 (count number of download increase 1) althought people press cancel... Can U fix it?
sorry my poor english!

dexodisc 09-29-2010 03:01 AM

Is there something like this for vBulletin 4?

Welshy2008 09-29-2010 10:58 AM

Quote:

Originally Posted by dexodisc (Post 2104479)
Is there something like this for vBulletin 4?


Yes, Here.

Goomzee 09-30-2010 05:07 AM

how do i add Human verification before downloads any stuff

diendo 09-30-2010 07:57 AM

nobody help me :(

Goomzee 10-01-2010 05:32 AM

where is the people

SyRiAn BoY 10-04-2010 10:57 PM

Thanks, How i can set the path under puplic_html not under vb

I mean downloads.php file , i want to use it under my web site direct xxx.com/downloads.php

not under xxx.com/forum/downloads.php

its possible ?

Vinyljunky 10-07-2010 12:34 PM

I currently use LDM, is there any way DownkloadsII could import the files?

Thanks

VJ

SyRiAn BoY 10-08-2010 04:11 AM

Hello,

Kindly i need help,

I have issue that when i click on download of file

For example:
http://xxx.com/vb/downloads.php?do=f...889b7fd8a69434

I check the permissions all is well.

some time i get this error:

Code:

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.

Am use DownloadsII v1.5.1 for VB 3.8.6 patch level 1


could you please help?

cowcowcow 10-15-2010 02:57 AM

Please help, all of a sudden my downloads start opening in a new window, instead of being saved as a file. And they come out like this "s2ma��SGm????VV6o}......"

I have not put any extensions under the settings to "open in window". I have also uploaded tons of files of the same format with no problem, until today, which is so strange cause I have not changed any settings! It still downloads fine with IE, but im getting this problem with firefox, and another fren with firefox has this problem too.


Please help!

Thanks :)

cowcowcow 10-16-2010 11:45 AM

please please help. im still having this problem and i dunno whats wrong. it was totally fine a few days ago. im using vb 3.8

the downloads work fine in IE but not firefox

Simon Lloyd 10-17-2010 12:38 PM

Quote:

Originally Posted by cowcowcow (Post 2110693)
please please help. im still having this problem and i dunno whats wrong. it was totally fine a few days ago. im using vb 3.8

the downloads work fine in IE but not firefox

Reset firefox and add ons, the file name you are getting is a temporary filename as it attempts to open it live, the reset of the browser settings back to default should work fine :)

cowcowcow 10-17-2010 06:31 PM

hey simon! thanks for the reply but its not just me, other people with firefox are getting the error

XLD_Bull 11-01-2010 07:52 AM

Hi all,

I have an issue during the installation.
When I upload the "product-downloads.xml" file in product manager the installation never ended.
I just find the menu "DownloadsII Options" in Vbulletin settings but I do not have new "Downloads" menu in my admincp.

My admincp is renamed for security reasons, could it be the reason of this installation issue?

Thanks in advance for your help.

David

XLD_Bull 11-01-2010 10:15 AM

Hi X-or,

Yes I have renamed the admincp before to upload the folder.

I just uninstall and I received following errors during uninstall process:
Invalid SQL:
ALTER TABLE `vb_user` DROP `uploads`;

Invalid SQL:
ALTER TABLE `vb_user` DROP `comments`;

It seems these fields have not been created during installation process...

Does this creation can be very long depending of the number of members?

David

RS_Jelle 11-01-2010 07:07 PM

Quote:

Originally Posted by XLD_Bull (Post 2116684)
Does this creation can be very long depending of the number of members?

Not really cause it's just creating a new, empty column. Only things like adding indexes to big tables can be slow (and DownloadsII isn't doing that).

XLD_Bull 11-01-2010 07:47 PM

Hi,

I have migrated my forum to VB4.0.8 version and I am trying to install DownloadsII 6.0.6.
I have exactly the same issue.

Product installation does not end and no "Downloads" menu appears in ACP...
I am disappointed... :-(

I would like to transfer all Joomla remository downloads to this Vbulletin add on which seems excellent...

Please help...

David

SeanMT 11-05-2010 10:25 PM

1 Attachment(s)
I love this mod, it's absolutely crucial to my forums success. But I'm having some problems with incredibly high server load.

It is release day today for Football Manager 2011 so my site has had about 2000+ people online constantly.

With the Downloads II mod disabled the server load was about 19.5. After enabling it again the server load rocketed up to around 125-150 in under a minute!

Are there any quick tips to help me optimize the downloads script as I can't have it killing my server.

Currently running DownloadsII 5.1.0 on vBulletin 3.8.4

SeanMT 11-07-2010 08:17 PM

Sorry to post again but this is important. I understand you are busy (and probably concentrating on the v4 mod) but it is absolutely killing my server.

There are around 15,000 files downloaded a day. I have pruned the dl_downloads table as it had over 4.5 million rows so I assume this was taking a while to check for a users last download time.

Any other optimisation tips would be fantastic, thanks.

Vinyljunky 11-09-2010 09:45 AM

Quote:

Originally Posted by Vinyljunky (Post 2107663)
I currently use LDM, is there any way DownkloadsII could import the files?

Thanks

VJ

Is there a migrate script out there from LDM to DownloadsII ? :o

moon_spell 11-12-2010 12:08 PM

Nice hack , i would like to translate it to my language how to please ?

best regards

diendo 11-16-2010 05:51 AM

How can i change the folder to upload file?

islaremota 11-16-2010 01:58 PM

thanks friend, update perfect, thanks :up:

Black Tiger 11-21-2010 03:28 PM

Quote:

I just noticed that when a file is overwritten
You can't notice that, because files do not get overwritten.:)

Indeed you have to remove the old files manually or if there would be a maintenance script I would be interested too.

michael24179 11-21-2010 05:49 PM

i have this problem. i moved my server and i switched from apache to lighttpd. i transfered all the files to downloadsII incl the upload files. now i got a message when i want to download a file.......file cannot be found. for testing i upped a new file without any problems, but it is impossible to download the new files. can someone please tell me, what adjustments i have to do??

Black Tiger 11-21-2010 07:12 PM

@X-or: You can remove them from within downloads II, you can see by the filedate which are the old files. However, if you got that much files it's a problem indeed. I can't help you any further. That's the limitation of Downloads II.

@Michael24179: Alle files by Downloads II are called something like 23421-filename.zip and then next one is called 23422-filename.zip so every filename has a number in front of it. That's the way to prevent unwanted file overwriting when users uploads files.
That's also X-or's problem, because the choice must be made to either allow overwriting by uploading users or preventing that so admin can sort it out himself.

So when you upload files, you need to put them in the same download directory again and with the same filename, for example 23422-filename.zip in order to have them found again after a server move.
If you don't know the filename anymore, when the error "file xxx can not be found" the xxx will give you the correct number. Put that in front of the file again and it will be found.
Yep I know, lot of work. But if you don't want that you have to backup the files in their original uploaded form so with the numbers in front of it in the filename.

I can help you both only so far, I'm no coder. This is the way it is, if you need other solutions you need to wait until RS Jelle has time to answer you, maybe he has some idea's.

michael24179 11-21-2010 09:27 PM

The server move was 1 to 1 The lists are the same. Only Lighttpd is now used. Previously, we had Apache.

Missing, there are perhaps rewrite

Black Tiger 11-21-2010 09:57 PM

That could be, in that case you could check your rewrite.
Also check if the download directory is chmod 777.
Check also your ec_tmp directory within your downloads directory that it's chmod 777.

If you can upload a file, but can't download it, you have a rights problem. I'm not familiar with Lighttpd, but it could also be the owner of the files/directory's is different.
Problems should be over though if directory's are put to 777.
The only exception to that is if you host is using SuPHP with Fastcgi, then they should both be 755.

Black Tiger 11-22-2010 02:49 PM

Quote:

How so?
I'm sorry, but with this question I'm starting to doubt if you even use Downloads II as administrator or are in any way familiar with it. How about choosing the file from your online download section and then on top choose for "delete"?

Quote:

I can only compare the filedates of duplicate files in the ftp.
Like I said, I doubt you are using Downloads II like an administrator should. Login to your forums, go to your download section, choose a categorie, you can see all filedates there. Sorry but you should try some things before asking. This is too easy.
Same goes for sorting.... click on the name in the categorie you want things sorted by and you will see them sorted. Filename, date, whatever is displayed there. Then you can make a screenshot or write some things downl

The only serious thing I see here is that your download section is 7 GB and that sorting it out will be a lot of work.
However, every download section needs maintenance, if you only start now to have a look to sort it, you are way too late with it. So in fact this is not a support problem but purely a lack of maintenance problem.:)

But I hope with you that Jell can think of a way to fix this. It would be nice to have a search and sort thing under "manage files" in the download section. I second that.

Black Tiger 11-22-2010 08:44 PM

You go wrong at step 3.
The file won't be replaced that way, only the title will be replaced!!. You should not edit and change. You should just upload the new file, then choose the old file and delete it.

Quote:

In the download pages you don't see "junk v1.0" anymore, nor can you download it.
Well... you could download it if you knew the correct filename, like 11145-junk.zip because the way you use it, only description gets overwritten and new file will be uploaded, but old file won't be deleted.
An edit function is to edit things, not to replace files.:) I even wonder if you get a new filedate then on your new file.

So now I understand better what kind of problem that you have, and you caused it yourself by doing step 3 and 4 instread of just upload the new file.

With this explanation now I understand why you can't delete the files that way. Now I hope Jelle can fix you with a solution.
Otherwise maybe you can use the find function but for that you need SSH access on the server.

diendo 11-23-2010 12:57 AM

hey Black Tiger can You help me to change the folder upload file? thank a lot!

Black Tiger 11-23-2010 11:53 AM

No sorry I can't, I'm no coder. The upload directory is the same as the download directory, I can't change that for you.
Or do you mean something else?

Black Tiger 11-27-2010 04:19 PM

Quote:

You got me worried for a moment, I checked again and yes the file is replaced.
I think you mix up some things or don't understand the difference between editting, adding and replacing.;)

The old file is not replaced. The old file is still present in the system. The only thing that gets replaced is the title, because that's really a replacement.
The new file will be added too, and since the title is replaced, it will be shown in Downloads II at the place of the old file.
But the old file wil NOT get deleted so will still be in your downloads directory. That's the reason why you have your problem.

Replacing would mean that the file and describtion would be replaced completely (fysically and virtually, so on harddisk and in Downloads II). But that is not the case.


All times are GMT. The time now is 11:40 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.06457 seconds
  • Memory Usage 1,849KB
  • 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
  • (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
  • (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