Register Members List Search Today's Posts Mark Forums Read

Mod Options
Attachment Views Flood Check Details »
Attachment Views Flood Check
Mod Version: 1.00, by AlexanderT (Member) AlexanderT is offline
Developer Last Online: Sep 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (0 vote - 0 average) Installs: 11
Released: 23 Sep 2007 Last Update: Never Downloads: 82
Not Supported DB Changes Uses Plugins Code Changes  

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Email Flood Check 1.0 GeorgeofCS vBulletin 2.x Full Releases 5 01 Sep 2003 09:38
Apply flood check to guests Paul vBulletin 2.x Full Releases 10 23 Dec 2002 11:21

Old 23 Sep 2007, 13:42
maxicep maxicep is offline
Join Date: Oct 2006
thanks reserved.
Reply With Quote
Old 23 Sep 2007, 14:11
muratksk muratksk is offline
Join Date: Sep 2007
İzmir Aleminin En Klas vbulletin Forumu
Reply With Quote
Old 23 Sep 2007, 23:32
Hornstar's Avatar
Hornstar Hornstar is offline
Join Date: Jun 2005
Real name: Matt
Thanks, I aways thought that maybe a member had a bot, that just kept downloading the attachment over and over to waste my bandwidth.
Reply With Quote
Old 24 Sep 2007, 07:02
AlexanderT's Avatar
AlexanderT AlexanderT is offline
Join Date: Mar 2003
Originally Posted by hornstar1337 View Post
Thanks, I aways thought that maybe a member had a bot, that just kept downloading the attachment over and over to waste my bandwidth.
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.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 15:44.

Layout Options | Width: Wide Color: