vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=166094)

AndrewD 10-29-2009 05:12 AM

Quote:

Originally Posted by chickendippers (Post 1907574)
This is a great addon, I love it and have been using it for ages. My site is getting popular and I'm getting a lot of bandwidth usage so I'm looking at the bandwidth limit features.

If I set a download allowance for the Unregistered user group, will that apply to ALL unregistered users. Or will each unregistered user get their own allowance?

For example, if I set a daily limit of 100Mb and one unregistered user downloads a 100Mb file, will the next unregistered user be able to download?

Thanks in advance!

If everything is working correctly (which I hope is true ;)), allowances for registered users apply to the username but allowances for unregistered users to the IP address. So, one unregistered user will not affect another unless they happen to be using the same computer/accidently share the same IP address.

A side effect is that unregistered users can get themselves a new allowance by going to a new computer, but we felt this was an acceptable compromise. (The other side effect, which is that registered users can get a new allowance by signing up for multiple accounts, can be partially prevented by selecting the 'Count all accesses from user's IP address against that user's allowances' box on the allowances admin page.)

chickendippers 10-29-2009 09:47 AM

That's great news. Thank you very much for the fast response.

I must say your documentation is incredibly detailed and has answered all my questions apart from this one.

Thanks again!

obmob 11-02-2009 02:24 PM

Those allowances apply 100mb per IP address, not just for one unregistered user.

exportforce 11-18-2009 06:55 AM

Hello,

will you update this mod to work with VB4 ? Please, tell me that you do... *hopes*

AndrewD 11-18-2009 08:02 AM

Quote:

Originally Posted by exportforce (Post 1916465)
Hello,

will you update this mod to work with VB4 ? Please, tell me that you do... *hopes*

I *hope* to do so :). I have bought licences for the new forum + CMs software and am currently trying to get me head around how things work. The upgrade will probably not be a very quick process, however - quite important bits of the infrastructure have changed.

itsblack 11-19-2009 06:39 PM

Quote:

Originally Posted by AndrewD (Post 1916481)
I *hope* to do so :). I have bought licences for the new forum + CMs software and am currently trying to get me head around how things work. The upgrade will probably not be a very quick process, however - quite important bits of the infrastructure have changed.

Good news! Thank you Andrew!

Leo Brazil 11-23-2009 06:10 PM

Good to hear about a 4.0 update too.

obmob 11-23-2009 10:59 PM

OMG! You are the man Andrew! :D
Well, I did download the new beta, this week i'll make first attemp to upgrade locally.

thanks

archaosus 11-27-2009 11:08 PM

Is it possible to add some sort of hard coded limitation on download speed to the downloads perhaps by using fread() - I dont mind modifying a couple of lines of code and slowing things down for all users if I have to however I host massive files and it would be an ideal situation to be able to slow everyone to 300kps tops during peak. I don't know much about coding sadly however my guess is that if the amount for speed is set as a variable X then fread's speed beinf that variable that was set means the speed can be changed on the fly by just either changing a config file or an entry in the relevant download file itself.

Anyway - my question really should be, how do I do this, where do I put it and thanks :)

Edit, bonus question - is there also way to display the last 50 people who downloaded and what it is that they downloaded - then I could have that on the front page of the download system.

AndrewD 11-30-2009 03:28 AM

Quote:

Originally Posted by archaosus (Post 1921824)
Is it possible to add some sort of hard coded limitation on download speed to the downloads perhaps by using fread() - I dont mind modifying a couple of lines of code and slowing things down for all users if I have to however I host massive files and it would be an ideal situation to be able to slow everyone to 300kps tops during peak. I don't know much about coding sadly however my guess is that if the amount for speed is set as a variable X then fread's speed beinf that variable that was set means the speed can be changed on the fly by just either changing a config file or an entry in the relevant download file itself.

Anyway - my question really should be, how do I do this, where do I put it and thanks :)

Edit, bonus question - is there also way to display the last 50 people who downloaded and what it is that they downloaded - then I could have that on the front page of the download system.

The first of these should be possible, but I will have to investigate. LDM uses two different ways of transferring downloads to the user - normally using the so-called cURL library, and alternatively using fread() calls. Although cURL itself will handle speed limits, this is not made available via the php interface, so it will be necessary to go the fread() approach.

The answer to the second question is again, 'yes'. This should be a fairly straightforward piece of coding. I will investigate.


All times are GMT. The time now is 09: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.03270 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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
  • (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