vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Download Log (for Attachments) by BOP5 (VB 4.x) (https://vborg.vbsupport.ru/showthread.php?t=292626)

BirdOPrey5 12-03-2012 11:00 PM

Download Log (for Attachments) by BOP5 (VB 4.x)
 
1 Attachment(s)
Brought To You By BirdOPrey5 / Qapla.com


This is the FREE version of my Download Log mod. Check out the GOLD VERSION for more features.

This mod is compatible with VB 3.8.x and VB 4.x.x.

Current Version 1.1.3
1.0 - Initial Release
1.1.1 - Fixed bug
1.1.3 - Critical Bug Fix

Live Demo: Attachment Download Log - JUOT - Joe's Ultimate Off Topic
Notes: Demo is on VB 3.8 forum. For demo I have enabled guest viewing of the logs, this is an option that can be turned off.

The purpose of this mod is to allow you to track what attachments get downloaded- All attachment downloads can be logged although by default the mod is configured not to track image attachments. Thumbnails are always ignored.

On each attachment download the following are logged:
  • Username of Downloader
  • IP Address of Downloader
  • Filename of Attachment
  • File size of Attachment
  • Post # Attachment resides in
  • Uploader of Attachment
  • Date/Time of Download

Note- Attachments made outside of posts are still logged but post # is displayed as "N/A."

The FREE Version has the following features:
  • Complete Attachment Download Log
  • Sort Log by Username of Downloader, Username of Uploader, and Date/Time downloaded
  • Automatically add link to Download Log to "Quick Links" only for users with permission to view the log
  • Give permission to view the log based on Usergroups (primary or secondary)
  • Optional scheduled task to delete old entries from the log
  • Fully phrased for easy translation
  • Prevent logging of duplicate downloads

The GOLD Version has the following additional features:
  • Sort Log by Filename, File Size, Post #
  • Clicking on attachment "Views" in a post will link user to the Log to see complete list of who downloaded that file
  • Specify custom date and time formatting
  • Give permission to view Download Log to specific users(by user id)

Settings Screenshot:
http://www.qapla.com/mods/ss/dlog_settings_gold.jpg

------------------------------------------------------

Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5 12-04-2012 08:45 PM

Reserved.

mitch84 12-05-2012 05:36 PM

Hi, I installed it but where appears the link to reach the log file? thx

BirdOPrey5 12-05-2012 06:13 PM

It should be under Quick Links -> Attachment Download Log.

I will upload a screenshot to the first post.

mitch84 12-05-2012 06:41 PM

1 Attachment(s)
I see nothing, something is wrong in my settings?

BirdOPrey5 12-05-2012 06:48 PM

What VB version are you running? If 4.2.0 do you see it listed in Navigation Manager?

BirdOPrey5 12-05-2012 07:08 PM

My bad- I uploaded version 1a, will fix the problem. :o

mitch84 12-05-2012 07:29 PM

hehehe, now it's ok, work fine! thx

mitch84 12-06-2012 03:04 PM

for the same downloaded file, the member name appears 16 times! is this normal?

BirdOPrey5 12-06-2012 07:07 PM

At the same time? I occasionally see the same name appear twice, back to back- it is when a user gets impatient and clicks on the file multiple times before the download starts, but 16 is kind of extreme.

Dealing with duplicate clicks is something I was going to deal with in the next version.

mitch84 12-06-2012 09:52 PM

1 Attachment(s)
2 download & three pages:D

BirdOPrey5 12-07-2012 02:10 AM

I'm more concerned why the date is showing up as the PHP code instead of the actual date- did you do any editing to the file?

mitch84 12-07-2012 09:35 PM

uninstalled, je reviendrais quand cela marchera correctement

BirdOPrey5 12-10-2012 02:36 PM

Updated to version 1.1.0 - Added a new option in settings to check for and disable logging of duplicate entries. A duplicate is when the same user tries to download the same file within 1 minute.

This new option is enabled by default.

To upgrade from 1.0 - Simply import the new product XML file, allow overwrite set to yes. Uploading the file is not necessary for this upgrade.

BirdOPrey5 02-09-2013 09:42 PM

Updated to version 1.1.1. Fixes bug that allowed guests to view the download log even if you didn't give them permission.

dizzynation 02-09-2013 10:45 PM

Great Mod. My "QuickLinks" becomes unclickable though.

Maybe ill just keep the link private, because it works when type in the source

Is it possible to show the past downloads before adding this product, say like a week ago?

BirdOPrey5 02-09-2013 11:09 PM

No not possible because they aren't being recorded before the mod is installed.

What version of VB are you running that Quick Links becomes unclickable?

dizzynation 02-10-2013 12:23 AM

I am running 4.2 PL3

I have private forums for PRO members, can this record those logs as well?

BirdOPrey5 02-12-2013 01:21 PM

This will record all attachment downloads regardless of forum permissions.

BirdOPrey5 04-29-2013 12:04 PM

Critical Bug Fix released- everyone should upgrade to version 1.1.3 ASAP.

dizzynation 11-12-2013 03:53 AM

Getting a "Dont have permission Error" with Admin Account.

BirdOPrey5 11-12-2013 10:05 AM

Are you sure you have permission for Admins to use it?

In the Download Log settings make sure "Administrators" is checked on "Usergroups That Can View Download Log" setting. This needs to be checked, Admins don't have permission without the check mark.

Do non-admins have permissions to view the log? Have you tried?

dizzynation 11-13-2013 12:10 AM

Ok so this is weird, so I tick the box "Administrators" and click Save. Then once the page refreshes the admin box is unticked.

BirdOPrey5 11-13-2013 12:36 PM

Hmmm, If you go to Admin CP -> Plugins & Products -> Plugin Manager, scroll down to the plugins for Download Log.

Make sure you have a plugin called "Usergroups Setup" and that is is enabled.

Matush 02-17-2014 12:57 AM

Is there a chance to integrate this modification along with Ultimate Media Gallery?

BirdOPrey5 02-18-2014 09:26 AM

Not likely- I can't even find such a mod for VB4 here on vbulletin.org- I see a version for VB 3.8.

Matush 02-23-2014 01:13 AM

Too bad, it seems to me that the principle of the UMG for VB3.8 is the same as the version of VB4. But I'm not a coder and do not know.
Thank you for your response


All times are GMT. The time now is 04:54 PM.

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.01274 seconds
  • Memory Usage 1,764KB
  • 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
  • (27)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