vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Bandwidth Control (usergroup based) (https://vborg.vbsupport.ru/showthread.php?t=220162)

rin 08-04-2009 10:31 AM

Bandwidth Control (usergroup based)
 
Hello there,

I am in need of usergroup based bandwidth control for implementing a subscription scheme to my website.
I am currently using and want to use the vBulletin attachments.
However, I want to allow a certain usergroup to only download X MB per Y period.
Another usergroup, probably subscribers etc, would be allowed a different quota.
I have seen a few modifications here, however I would say they are quite bloated.
Anyway, I see that this kind of modification could be very useful to many people who are hosting large amounts of attachments on their forums.
If you are a programmer but not able to do this modification, may I please ask you what are the important steps here to create a modification like this?

Thanks and best regards,

rin 08-05-2009 12:27 PM

I have a feeling that this modification goes about 60% into the direction that I need.
If you take a look at it, it counts all downloaded attachments.
The thing that would need to be changed is to sum the attachments filesize. Is it possible to get information about the attached files filesize? Should be possible, right?

--------------- Added [DATE]1249514453[/DATE] at [TIME]1249514453[/TIME] ---------------

Forgot the link:
https://vborg.vbsupport.ru/showthread.php?t=152701

rin 08-09-2009 12:42 PM

Gotta bump this. =)

rin 08-12-2009 02:11 PM

Gotta bump this. =)

--------------- Added [DATE]1250159991[/DATE] at [TIME]1250159991[/TIME] ---------------

Gotta bump this. =)

--------------- Added [DATE]1250166530[/DATE] at [TIME]1250166530[/TIME] ---------------

Gotta bump this. =)

rin 08-15-2009 01:15 AM

Gotta bump this. =)


All times are GMT. The time now is 08:03 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.00985 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete