![]() |
|
Mod Options |
![]() |
|||||||||||
Attachment Views Flood Check
![]() Developer Last Online: Sep 2020 ![]() ![]() ![]() This modification is in the archives.
![]() Only 56 thread views, but 4163 attachment views: We all know how wrongly configured download clients and search bots gone berserk can inflate the view counts of attachments.
To solve the problem, I wrote this mini-mod that (temporarily) stores the information of the downloader - more specifically, it generates and stores a hash made out of his IP, his User ID (0 for guests), and the Attachment ID. This hash will "timeout" after x seconds (default: 60) and the timeout will be renewed whenever the person reinitiates the download within that time-frame. In other words, only when there's no download attempt within x seconds will a new download request by the same user of the same attachment be considered a new view count. This mod adds 1 to 2 highly optimized database queries whenever attachments are downloaded. Unless you run a high-traffic forum with lots and lots of attachment downloads, this should not cause any problems. This mod also requires a tiny filechange; you find the installation instruction in the attached readme.txt. Tips for improvements are always welcomed. Also feel free to build your own products based on this one (with attribution please). Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Email Flood Check 1.0 | GeorgeofCS | vBulletin 2.x Full Releases | 5 | 01 Sep 2003 10:38 |
Apply flood check to guests | Paul | vBulletin 2.x Full Releases | 10 | 23 Dec 2002 12:21 |
Comments |
#3
|
|||
|
|||
thanks
![]()
__________________
No members have liked this post.
|
#4
|
||||
|
||||
Thanks, I aways thought that maybe a member had a bot, that just kept downloading the attachment over and over to waste my bandwidth.
__________________
Gamerz Needs - For All Your Gaming Needs! No members have liked this post.
|
#5
|
||||
|
||||
Note that this mod does not prevent users from reinitiating a download (it would be trivial to implement though!). It only prevents them from artificially increasing the download views counter.
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 23:54.