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)

MotMann 05-23-2007 10:32 AM

1 Attachment(s)
@ RS_Jelle
ok.. the style is ok.. but not the screens in the row. There are more than 5 :D

I send you the dl.php. Maybe it's better, you correct it in the file. Maybe, there comes bugs from the changes...

Thanks :)

esck 05-23-2007 03:41 PM

1 Attachment(s)
Quote:

Originally Posted by RS_Jelle (Post 1246250)
No, that's not normal :p

Is each duplicated file listened separately in the "The following files were successfully imported" list after the import?

Sorry for the late late late reply.

No they are not, but If I try to upload a new file, they do show on the import, even the recently uploaded files shows their clone

CyberRanger 05-23-2007 05:01 PM

Quote:

Originally Posted by esck (Post 1253289)
Sorry for the late late late reply.

No they are not, but If I try to upload a new file, they do show on the import, even the recently uploaded files shows their clone

It looks to me like you are using your normal downloads folder as your mass import folder too. It needs to be a different folder.

esck 05-23-2007 05:05 PM

oh, didn't know that, I'll change it then

edit:

wait a minute, that will duplicate files also 'cause I'll have the import folder video, and the downloads folder video :S isn't?

or DownloadsII will move the file?

CyberRanger 05-23-2007 05:08 PM

Quote:

Originally Posted by esck (Post 1253331)
oh, didn't know that, I'll change it then

Note too that once you import the files, you should then delete the files in the import folder (using the program of your choice) so you don't accidentally mass import them again. The import program does not automatically delete them from the import folder.

v12kid 05-24-2007 12:35 AM

I am getting the error:

Quote:

You may only upload or link to the following extensions: zip rar tar gz
I have this set as allowed in the config: zip rar tar gz

what am I doing wrong?

CyberRanger 05-24-2007 10:27 AM

Quote:

Originally Posted by v12kid (Post 1253574)
I am getting the error:



I have this set as allowed in the config: zip rar tar gz

what am I doing wrong?

When you get the error message, what type of file are you trying to add? You need to make sure the extension of that file is in the list of allowed files.

esck 05-24-2007 02:41 PM

Quote:

Originally Posted by CyberRanger (Post 1253332)
Note too that once you import the files, you should then delete the files in the import folder (using the program of your choice) so you don't accidentally mass import them again. The import program does not automatically delete them from the import folder.

oh ok, it's just I thought the import and download folder could be the same, so I don't have to go through that extra step.

thanks for your help and product, what I like the most about it, is that is really user friendly :)

keep the good work

jiffy 05-24-2007 05:38 PM

I searched but didn't find an answer so sorry if this was already covered. I need to be able to download large pdf files (100MB-200MB). When I try it downloads for a small period of time and then says it's finished but it's not the whole file. Is this an issue of needing to edit the php.ini file and if so can you ell me what to edit? I'm on a Windows server running cgi if that makes a difference.

RedGTiVR6 05-24-2007 06:02 PM

I'd check your php.ini file to see what the size limit is set to there.

jiffy 05-24-2007 06:55 PM

I don't think it's a size limit since it will say it's finished at various file sizes. I have my max execution time and max input time set pretty high so I'm not sure what else to change.

Nephalim 05-24-2007 07:53 PM

Hmm. i installed but i dont even SEE the downloads section

Stifmeister2 05-24-2007 07:56 PM

Quote:

Originally Posted by Nephalim (Post 1254022)
Hmm. i installed but i dont even SEE the downloads section

You have to put the link yourself...

CyberRanger 05-24-2007 07:58 PM

Quote:

Originally Posted by Nephalim (Post 1254022)
Hmm. i installed but i dont even SEE the downloads section

You won't see a link anywhere, although you should see the admincp options once you refresh the admincp.

Have you read the install directions: https://vborg.vbsupport.ru/showpost....22&postcount=2

Also, if you'd like to have it one the navbar see: https://vborg.vbsupport.ru/showpost....&postcount=299

Nephalim 05-24-2007 07:58 PM

Quote:

Originally Posted by Stifmeister2 (Post 1254025)
You have to put the link yourself...

D'OH!!!!!!! hehehe... Thanks, why didn't the author mention that? Hehehe

jiffy 05-24-2007 08:20 PM

Hey CyberRanger, is there any chance you could help me with my large file download issue? I've been doing a bunch of tests and it looks like it stops downloading after 7 minutes. My max execution and max input times are set greater than that but it still stops downloading after 7 minutes. It actually hangs for a bit before the 7 minute mark. So maybe around 5 minutes it kind of freezes.

cellow 05-24-2007 09:03 PM

Can anybody tell me the "condition" name if i want to <if> in "headerinclude" for individual meta tags for the different DownloadsII templates (DOWNLOAD / downloads_file / downloads_cat / etc.)

i mean something like this in "headerinclude" Template:

Code:

<if condition="$show['downloads_file']">
<meta name="keywords" content="individual keywords" />
<meta name="description" content="individual description" />
<else />

thx

luket79 05-25-2007 01:47 AM

Hello, I am trying to locate the 'navabar' template edit to add the download link to my main menu on my forum. I have searced navbar and cannot find where to put the code to add the download link. (dncforums.com) Any ideas?

Fish UK 05-25-2007 10:08 AM

Firstly, thank you for a great mod, just what I was looking for.

However I have a little problem I was hoping someone could assist with.
When an image is uploaded for a download it uploads with the permissions 600 which means it cannot be viewed.
The main download file uploads fine (666) and so does the thumbnail created (666).
The folder permissions are 777 and the ownership correct.

I am running the latest version of this mod and of VB. Any help would be much appreciated.

TIA

CyberRanger 05-25-2007 11:04 AM

Quote:

Originally Posted by luket79 (Post 1254196)
Hello, I am trying to locate the 'navabar' template edit to add the download link to my main menu on my forum. I have searced navbar and cannot find where to put the code to add the download link. (dncforums.com) Any ideas?

4 posts before this one :-)

Quote:

Originally Posted by CyberRanger (Post 1254028)
Also, if you'd like to have it on the navbar see: https://vborg.vbsupport.ru/showpost....&postcount=299


CyberRanger 05-25-2007 11:50 AM

Quote:

Originally Posted by Fish UK (Post 1254376)
Firstly, thank you for a great mod, just what I was looking for.

However I have a little problem I was hoping someone could assist with.
When an image is uploaded for a download it uploads with the permissions 600 which means it cannot be viewed.
The main download file uploads fine (666) and so does the thumbnail created (666).
The folder permissions are 777 and the ownership correct.

I am running the latest version of this mod and of VB. Any help would be much appreciated.

TIA

I think this will fix your problem. In downloads.php, around line 818 find:
PHP Code:

move_uploaded_file($_FILES['image']['tmp_name'], $dl->url.$newfilename); 

BELOW that ADD
PHP Code:

chmod($dl->url.$newfilename0666); 

Let me know how it works.

CyberRanger 05-25-2007 11:52 AM

Quote:

Originally Posted by jiffy (Post 1254038)
Hey CyberRanger, is there any chance you could help me with my large file download issue?

I've been researching it but I haven't come up with anything yet. I'll let you know if I do.

Fish UK 05-25-2007 12:32 PM

Quote:

Originally Posted by CyberRanger (Post 1254421)
I think this will fix your problem. In downloads.php, around line 818 find:
PHP Code:

move_uploaded_file($_FILES['image']['tmp_name'], $dl->url.$newfilename); 

BELOW that ADD
PHP Code:

chmod($dl->url.$newfilename0666); 

Let me know how it works.

Works like a dream. Thank you for your support and very quick response.

maxicep 05-25-2007 01:41 PM

can i shown my uploaded attachment before installed Downloads II ?

HappyPike 05-25-2007 09:36 PM

Hi CyberRanger,

Thanks for all the time you spent developing and supporting this addon. It's greatly appreciated. The addon has been extremely useful.

Do you have any idea when the next version would come out? I hope in the new version you could change it so each user's files are placed inside his own directory (based on User ID). This way the files are spread out. Currently my downloads folder contains some 14,000 files (images included). I afraid having too many files in a single directory may affect server performance.

luket79 05-26-2007 01:13 AM

Thanks for the response. I am really sorry about that! I looked through the first 10 pages of replies and did some searches and I didn't see anything....guess next time I'll look a little harder and try not to waste anyone's time! Great MOD and Thanks!

Hornstar 05-26-2007 05:40 AM

Hey hows the progress coming along for version 6?

not sure if this is too late to request, or even possible for you to make it a default, or if you would have to support 2 separate codes.

but there are heaps of people who are using vbseo who would love to see a few implementations into downloads II so vbseo can make it more seo friendly.

here is a thread at vbseo showing peoples interest http://www.vbseo.com/f23/downloads-i...ules-7539-new/

and here is the thread explaining how to do the changes for more vbseo compatibility http://www.vbseo.com/f2/vbseo-functi...sibility-1662/

hope its not too late to be included. Thanks.

Millenium IT 05-26-2007 08:43 AM

Am i the only one getting Sql database errors when importing the file?

Code:

                                REPLACE INTO phrase
                                        (languageid, fieldname, varname, text, product, username, dateline, version)
                                VALUES
                                       
                                        (-1,
                                        'cppermission',
                                        'ecdownloads_can_avoid_purgatory',
                                        'Can Avoid Moderation Queue',
                                        'ecdownloads',
                                        '',
                                        0,
                                        '')
                                ,
                                        (-1,
                                        'cppermission',
                                        'ecdownloads_can_comment',
                                        'Can Comment on Files',
                                        'ecdownloads',
                                        '',
                                        0,
                                        '')


CyberRanger 05-26-2007 10:12 AM

Quote:

Originally Posted by Millenium IT (Post 1254882)
Am i the only one getting Sql database errors when importing the file?

Code:

                                REPLACE INTO phrase
                                        (languageid, fieldname, varname, text, product, username, dateline, version)
                                VALUES
                                       
                                        (-1,
                                        'cppermission',
                                        'ecdownloads_can_avoid_purgatory',
                                        'Can Avoid Moderation Queue',
                                        'ecdownloads',
                                        '',
                                        0,
                                        '')
                                ,
                                        (-1,
                                        'cppermission',
                                        'ecdownloads_can_comment',
                                        'Can Comment on Files',
                                        'ecdownloads',
                                        '',
                                        0,
                                        '')


What is the error message?

CyberRanger 05-26-2007 10:19 AM

Quote:

Originally Posted by HappyPike (Post 1254704)
Do you have any idea when the next version would come out?

sorry, no eta

Quote:

Originally Posted by HappyPike (Post 1254704)
I hope in the new version you could change it so each user's files are placed inside his own directory (based on User ID). This way the files are spread out. Currently my downloads folder contains some 14,000 files (images included). I afraid having too many files in a single directory may affect server performance.

I agree this needs to be reworked. But I don't think user id is the way to go. Unlike normal vb attachments which tend to be spread among a lot of different users, the downloads files are often uploaded by a small number (or just one) admin.

Instead, I'll probably change it to either a random folder selection (say 1-9 with subfolders of 1-9 below each of those) or category id.

luket79 05-26-2007 04:56 PM

Is there any way to allow certain user groups persmissions to certain downloads? I want to be able to enable downloads to users with xx posts...any ideas?

RS_Jelle 05-26-2007 05:49 PM

Quote:

Originally Posted by luket79 (Post 1255054)
Is there any way to allow certain user groups persmissions to certain downloads? I want to be able to enable downloads to users with xx posts...any ideas?

This is possible when you use the vBulletin usergroup permissions and the promotion system. Set up a new usergroup, a copy of the normal registered users group. Create a promotion to it when they reach x amount of posts and give that group permission to access the downloads using the DownloadsII usergroup permissions.

There is also a usergroup field to list category numbers for limited category access.

Dave Hybrid 05-26-2007 06:05 PM

Great MOD.

Two things tho'.

I cannot find anywhere to setup catagorys.

Any change of a copyright free version, can pay.

Thanks

Dave.

RedGTiVR6 05-26-2007 06:16 PM

It's not in the vBulletin options like most other plug-ins. Look at the list on the left hand side from within your AdminCP.

You will see a "Downloads" drop down list there. It will be at the very top of the list.

Dave Hybrid 05-26-2007 06:19 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1255102)
It's not in the vBulletin options like most other plug-ins. Look at the list on the left hand side from within your AdminCP.

You will see a "Downloads" drop down list there. It will be at the very top of the list.

Nope, nothing.

RS_Jelle 05-27-2007 06:36 AM

Quote:

Originally Posted by Dave Hybrid (Post 1255104)
Nope, nothing.

Try reuploading all the files from the upload folder. You missed /includes/xml/cpnav_ecdownloads.xml then (and maybe other files too).

MotMann 05-27-2007 07:09 AM

@ RS
My litle problem exist. Look here ;

Dave Hybrid 05-27-2007 07:25 AM

I have fixed it now, thanks guys!

Just need to re-import the product for some reason.

NOTE FOR CODER**

Any chance of a copyright free version?

basketmen 05-27-2007 09:02 AM

Question

I want to change Bytes to KB in the right side File name

where file or phrase i need to edit ?

thanks guys

luket79 05-27-2007 02:47 PM

Quote:

Originally Posted by RS_Jelle (Post 1255078)
This is possible when you use the vBulletin usergroup permissions and the promotion system. Set up a new usergroup, a copy of the normal registered users group. Create a promotion to it when they reach x amount of posts and give that group permission to access the downloads using the DownloadsII usergroup permissions.

There is also a usergroup field to list category numbers for limited category access.

I was able to setup the usergroups and promotions and it made perfect sense. I then assigned downloads permissions to the groups. I have 3 download categories I am using and you can access the first group with 10 posts, the second with 25, and third with 50. I then created a dummy user and assigned it 11 posts and it worked. I then bumped him to 26 and the dummy user was unable to see the second group of downloads. I checked the permissions and I have a "1,2" for the ability to see category selection. I hope what I said makes sense. It just seems like the permissions dont update. I even ran maint. utilities to update user titles, etc. Any ideas?


All times are GMT. The time now is 02:43 AM.

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.03377 seconds
  • Memory Usage 1,863KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (21)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