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)

Panzer Max 03-21-2009 03:44 PM

Go to the vb Admin CP> Downloads>Setting> Show Navbar Button

iForce 03-21-2009 04:30 PM

Thanks Panzer Max.

RedHacker 03-21-2009 06:31 PM

Quote:

Originally Posted by Panzer Max (Post 1773159)
Hacker, Here's how I did it

You never answered when I asked if you have access to SSH in. Do you? If you do not, you will need to talk with your server admin.

I dont know....

Panzer Max 03-21-2009 07:54 PM

Well, there's no way for anyone else to find out if you can log into your server but you, mate. If you do not know, it means someone else manages the server for you. You will need to ask him.

paul41598 03-24-2009 12:38 PM

Does anyone know if this mod will show extension icons. Like if I upload a pdf, how can I show a pdf icon near the file or something? Also, can you show the file name extension somewhere?

realdx 03-24-2009 02:30 PM

This is really an AWESOME mod, it reminds me of the good old time BBSing with ami-express..
Ofocurse I downloaded it and thanking you for this work.
But, one question comes to mind, is it possible to have the download dir hosted on a different server? So that I can set it up by giving ftp username and pw and have the files located somewhere else? This because I have my board running on a decent hosting provider, but speed always has a price, and in my case is space.
So it would be great keeping the board on a fast server, with fast SQL queries and so on, while leaving the mere job of uploading/downloading files to a cheaper provider that gives you plenty space and bandwidth without any other special requirements.
Thanks again for your time!

realdx 03-24-2009 08:46 PM

Also another thing comes to mind, implement an upload/download ratio, like old bbs systems.
Depending on the user group, the admin can set different ratios.. so user has to upload 100kb to download 300 for example..

Kolbi 03-27-2009 11:40 AM

How can i reset the Downloads: 4294967295 Numbers?

Because "Downloads: 4294967295" must be wrong :)

Stifmeister2 03-27-2009 11:52 AM

Quote:

Originally Posted by Kolbi (Post 1778162)
How can i reset the Downloads: 4294967295 Numbers?

Because "Downloads: 4294967295" must be wrong :)

Click "Update Counters". ;) It's in the navigation bar in downloads.php page (with Main | Category Tree | Stats | Search | Add etc...)

Kolbi 03-27-2009 12:02 PM

It doesn´t work?
Still: Downloads: 4294967295

Panzer Max 03-27-2009 06:10 PM

Quote:

Originally Posted by RS_Jelle (Post 1301008)
Have a look at this post and try that version of downloads.php.
I created it for someone who wanted more images per row. There's a $countnumber variable in it to control the amount.
Here you can find a screenshot of how the modified version looks like (without the numbers in front of the image, that was a debugging thing).



That's currently hardcoded in downloads.php. Open it and have a search for $dlinks. It's pretty easy to edit yourself (even without knowing PHP).

Search was my friend! Thanks for that tip.

RS_Jelle 03-27-2009 07:05 PM

Quote:

Originally Posted by Kolbi (Post 1778177)
It doesn?t work?
Still: Downloads: 4294967295

Run this query using phpMyAdmin or so:
[sql]UPDATE dl_main SET `downloads` = 0[/sql]
(You need to add a table prefix if necessary.)

Quote:

Originally Posted by Stifmeister2 (Post 1778171)
Click "Update Counters". ;) It's in the navigation bar in downloads.php page (with Main | Category Tree | Stats | Search | Add etc...)

Update Counters isn't resetting the downloads count.

Kolbi 03-27-2009 07:39 PM

That was what i was searching for. Thank you!

EeeZee 03-28-2009 11:37 PM

I need some advice. First, DownloadsII is an excellent mod. No doubt about it. Been using it for perhaps a year without incident, problem, or frustration.

Backgound: Just updated to vB 3.8.1 PL1, and DownloadsII 5.1.0.

Situation: The vB board is a subscription service and "unregistered subscribers" are allowed but their access is quite limited. There are a number of downloads accessible to paid subscribers and they getting them without any problem. There is one forum that offers "free downloads" to "registered guests" (meaning unpaid) and that is all they are supposed have access to.

I belive that before the upgrades/updates everying was working OK in terms of the paid people were permitted to download everything -- while the unpaid ones (registered guests) had access to only two files in a separate forum. But, and importantly, I have responsibility for keeping the vB running with others have access with administrator privileges (not a good thing but an unfortunate fact of life).

Right now, I can not limit the "registered guests" to downloading just those two files set aside in a separate forum. Access to only those files is what they should have -- no downloads in other forums and no attachment downloads. I have tried all combinations of rights for downloading attachments and/or persmissions to downloading files (in the DownloadsII section of the user group permissions) but can not get it set as needed.

I also humbly admit that I am at the point of not being able to see for forest for the trees.

If you are willing to help lead this poor soul out of the gloom of darkness I would be glad to (privately) provide you your own administrator UN and PW. My bet is I am doing something really stoooopid!

Thanks for your understanding and assistance.

I need help!

Randy

To possibly clarify my earlier question posted three days ago and thus far unanswered: As far as I can see, the "allow downloads" permission is defaulted to ALL forums. Is there a way to override the default group download permissions to allow a certain user group download privileges in one or more particular forum?

ChicagoCoin 03-29-2009 06:52 PM

I think I discovered a bug with the renaming of certain files, I have the Rename Files option turned off and searched this thread, found this (#3410):
Quote:

2.) I had an issue today that I cannot seem to find an explanation for. I do allow files for our members with the extension of .exe If the file name is CoDWaW-1.2-1.3-PatchSetup it does not show the file to be downloaded with the correct name. If I rename it to say c153.exe it works fine. Is this caused by the length of the file name?
Quote:

2.) For your 2nd question I'm not sure. Is the name CoDWaW-1.2.-1.3-PatchSetup or CoDWaW-1.2.-1.3-PatchSetup.exe? In the first case the extension is too long I guess.
It is possible to use longer filenames, but I think there will be a limit to the length.
I imported a bunch of files that begin with "16-9" and when they are downloaded the files are renamed without the "16-", ie: a file in the downloads folder was imported properly as 82502-16-9 Black Knight.zip (real file name is 16-9 Black Knight.zip) and gets downloaded as 9 Black Knight.zip.
Sample

I think the referenced post above is due to having a "-" in the file name and not related to the length of the file name, all of the other downloads imported without a "-" work fine. I was wondering if this could be a server setting and if it can be fixed?

Thanks in advance.

cash7c3 03-30-2009 05:00 AM

Quote:

Originally Posted by Lyte (Post 1769989)
Hey RS Jelle,

Any thoughts on BullDog148th, Redzzand, popowich and my posts? We're all having problems loading files over 10MB.

I hope you'll help us too. This seems like a great hack that I'd like to get it working on PC101. :cool:

Thanks!

Lyte

UPDATE: Okay, I just noticed your update to the Download Details...

"Help!!! I can't upload large files?? This is probably the second most asked question. Have a look at this post for the solution."

I will give that a shot. Thanks!

I'm having the same issue and that post linked is not the solution :(

WhatChaMissin 03-30-2009 11:44 AM

after updating from 3.7 to 3.8 I can no longer upload any file of any size...

Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

jGas 03-30-2009 04:42 PM

Quote:

Originally Posted by HappyPike (Post 1040856)
I managed to show forum style rating stars on the category file listing page using template conditions. If anyone is interested, here is the code to use:

Code:

<!-- Star Rating -->
<if condition="$file['rating'] >= 9.5">
    <span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" border="0" alt="Rating" /></span>
<else />
    <if condition="$file['rating'] >= 8.5">
        <span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" border="0" alt="Rating" /></span>
    <else />
                <if condition="$file['rating'] >= 7.5">
                        <span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" border="0" alt="Rating" /></span>
                <else />
                            <if condition="$file['rating'] >= 6.5">
                                        <span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" border="0" alt="Rating" /></span>
                                <else />
                                        <if condition="($file['rating'] >= 5) AND ($file['rating'] < 6.5)">
                                                <span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" border="0" alt="Rating" /></span>
                                        </if>
                                </if>
                </if>
    </if>
</if>
<!-- Star Rating End -->

Just edit the downloads_cat_filebit template and put the above code right before the file name link
<a href="downloads.php?do=file&amp;id={$file['id']}">{$file['name']}</a>.

You can also use the above code to put the rating stars in the file details page, replacing the A+ to F grades. The template to edit for this is downloads_file .

You can tweak the numbers in the codes to anything you want. Just remember the rating is between 5 and 10, and unrated files have 0 as default value.

thanks really useful ;)

jGas 03-31-2009 10:21 AM

hi... i'd like to ask if there is a way to add custom fields

tkans in advance

wmlvb 03-31-2009 01:17 PM

does this hack allow you to view pdf files in forum post? If not, do you know if a hack that does this?

deadlySniper 04-02-2009 06:45 PM

I am not able to import files with the import option in the downloads menu in the ACP. When I would specify the direct file path, I would do import and I would not get any files to upload at all. What am I doing wrong?

Bram H 04-03-2009 03:30 PM

I have searched in many posts but can't find if the question is asked already. So here it is:

Numerous members report to us daily that the system triggers them for exceeding download limits (normal members we have assigned 150MB per day, 200MB upload, number of files -1, stictly download limits enabled).
After testing it myself with a normal member account i draw the same conclusion. After downloading a file of 36MB it wont let me download anything anymore, while i should have 114MB left for that day.

I am very very grateful if anobody can offer a solution for this problem, cause it's driving me nuts at the moment :)

Edit: running version 5.1.0 on a vB3.8.0 install!

Stefanus 04-03-2009 08:29 PM

Download problem after upgrade from vB3.8.1 to 3.8.2:

Warning: copy(./downloads//ec_tmp/filename.pdf) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 705
ERROR: File not found.

The relative path to your download folder: ./downloads/

Any help on this?
Thanks,
Stefanus

Charles_1 04-04-2009 04:14 PM

Quote:

Originally Posted by Stefanus (Post 1783289)
Download problem after upgrade from vB3.8.1 to 3.8.2:

Warning: copy(./downloads//ec_tmp/filename.pdf) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 705
ERROR: File not found.

The relative path to your download folder: ./downloads/

Any help on this?
Thanks,
Stefanus

I have the same problem after upgrade vB 3.8.1 to vB 3.8.2 :-(

rudedog1968 04-04-2009 04:25 PM

check your permissions and also check to see if you overwrote any downloadsII files when you did the upgrade.

skylab 04-04-2009 05:49 PM

On certain files I get a database error. Doesn't happen all the time.

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:
INSERT INTO dl_files (`name`, `description`, `author`, `_author`, `uploader`, `uploaderid`, `url`, `date`, `category`, `size`, `pin`, `purgatory`, `link`)
                                                                                      VALUES('WMC 09 Miami Get Physical Party @ Studio K (6 hour set) 3-28-2009 Part1', 'M.A.N.D.Y. vs. Booka Shade\nMatthew Dear\nAudiofly\nItaloboys\nBronnt Industries Kapital', 'Get Physical Party', 'Get Physical Party', 'Skylab', '1', '66957-20090328-GetPhys1-nightlifevibe.com.mp3', 1238866957, '7', 246150417, '0', '0', 0);

MySQL Error  : MySQL server has gone away
Error Number  : 2006
Request Date  : Saturday, April 4th 2009 @ 11:42:37 AM
Error Date    : Saturday, April 4th 2009 @ 11:45:06 AM
Script        : http://www.nightlifevibe.com/forums/downloads.php?do=add&id=
Referrer      : http://www.nightlifevibe.com/forums/downloads.php?do=add&cat=
IP Address    : **.***.**.***
Username      : Skylab
Classname    : vB_Database
MySQL Version :

Any ideas? Thanks for the help!

alfaowner 04-04-2009 06:04 PM

I am getting an error:

Warning: copy(./downloads//ec_tmp/Tony BCard.jpg) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 704
ERROR: File not found.

jaryx 04-05-2009 10:39 AM

Any solution for mirrors/parts ?

skylab 04-05-2009 07:43 PM

Seems like my error has something to do with my php settings? can anyone confirm what I need to do?

akee 04-06-2009 10:28 AM

can you added some option to the moderator control panel? e.g.: add new category?

thanks

anestetic 04-06-2009 11:38 AM

I don't change phrase?

Vinyljunky 04-06-2009 02:15 PM

Hello,

Im currently using the "Links and Downloads Manager" mod. Does DownloadII have any easy import feature that I could use to migrate over?

Thanks

VJ

skylab 04-08-2009 11:48 AM

Feature Request: Require a min amount of posts for a user before he/she is allowed to download any files.

I'm getting a lot of new registered members simply registering and going straight for the downloads section, I want to require them to post at least once before they go on their downloading spree.

DobieGillis? 04-08-2009 04:25 PM

getting this error, maximum upload limit reached. I've only uploaded one file. and the maximum upload is set to -1, thus, no limit.

Xphusion 04-08-2009 04:28 PM

anyone know which template needs to be edit so i can add a scrolling marquee under the navigation (in the red box see below) need to know which template need to be edited

http://img213.imageshack.us/img213/6261/navq.png

Xphusion 04-08-2009 04:51 PM

Quote:

Originally Posted by skylab (Post 1786497)
Feature Request: Require a min amount of posts for a user before he/she is allowed to download any files.

I'm getting a lot of new registered members simply registering and going straight for the downloads section, I want to require them to post at least once before they go on their downloading spree.


all u have to do it set it up so

1. NO one can access the downloads area cept admins
2. set up a special user group (with access to the downloads)
3 (Registered Members group) set it so after a Minimum amount of posts in the forums the user get promoted to (the user group you just made)

simpler terms
User signs up (registered Member) --->... makes 5 post in the forums.....1 minute later the the user is now in a (special group) and he/she can access the downloads

skylab 04-08-2009 06:39 PM

Quote:

Originally Posted by Xphusion (Post 1786729)
all u have to do it set it up so

1. NO one can access the downloads area cept admins
2. set up a special user group (with access to the downloads)
3 (Registered Members group) set it so after a Minimum amount of posts in the forums the user get promoted to (the user group you just made)

simpler terms
User signs up (registered Member) --->... makes 5 post in the forums.....1 minute later the the user is now in a (special group) and he/she can access the downloads

Ah I like that. Good thinking. I should have thought of that. I might have to change the phrase of the denied message to make them aware to post the min before downloading. Thanks!

DobieGillis? 04-08-2009 06:53 PM

update on my issue... everyone can upload and download including the other Admins, except for me, lol!

skylab 04-08-2009 06:59 PM

Quote:

Originally Posted by Xphusion (Post 1786729)
all u have to do it set it up so

1. NO one can access the downloads area cept admins
2. set up a special user group (with access to the downloads)
3 (Registered Members group) set it so after a Minimum amount of posts in the forums the user get promoted to (the user group you just made)

simpler terms
User signs up (registered Member) --->... makes 5 post in the forums.....1 minute later the the user is now in a (special group) and he/she can access the downloads

Just found this would require the User Promotions in Scheduled Task Manager to be one minute then. Is this a problem? Is there anyway to just have it instantly update?

Bram H 04-08-2009 07:22 PM

Am i the only one that runs into this problem?

100MB is not 100MB with this mod.. at least not on ours


All times are GMT. The time now is 12:55 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.06447 seconds
  • Memory Usage 1,854KB
  • 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
  • (14)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