Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Is there a way to put a bandwith limit on specific groups?  (Read 2571 times)

0 Members and 1 Guest are viewing this topic.

djsckizo

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
  • Potato.
Is there a way to put a bandwith limit on specific groups?
« on: January 03, 2005, 08:12:06 pm »

Basically, I'm wanting to make it so specific groups will be limited to a set bandwith per week or month or something.
Logged
Fake Super Hero

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Is there a way to put a bandwith limit on specific groups?
« Reply #1 on: January 03, 2005, 09:12:46 pm »

Nothing even remotely like that available out of the box.  You could add a field to the user table that would store the file size of each image that is clicked for a particular user, then add the code to add the filesize when each image is clicked, and add code to check to see how much is available before displaying the image to verify the user hasn't exceeded the limitation.  There would also have to be a field that stores a date of the first use of the bandwidth, and code would be needed to check the date against the current date and reset the bandwidth if the date is greater than a week.  You'd also have to add code that would allow you, as the admin, to set bandwidth limits either for a group or for each individual.

It's possible.  Perhaps you could post a request on the freelancers board requesting this.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.