PDA

View Full Version : Statistics Modifications - Who Downloaded This Attachment


akanevsky
03-03-2010, 10:00 PM
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*===================================*\
|| Who Downloaded This Attachment
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 4.x
|| Released : Apr 16, 2010
||
|| Time required to install: ~30 seconds
|| Difficulty: easy
\*===================================*/

DESCRIPTION

Allows users to see detailed information about who has downloaded attachments.

STATISTICS

File Uploads: 1
Products to Install: 1


FEATURES

General:
Displays a list of users with information about the number of downloads and last downloaded time.
Allows to specify which usergroups can use the feature.

VERSION HISTORY

2.0.1
Hack now works correctly on vBulletin 4.0.x.

2.0.0
Hack ported to vBulletin 4.0.x.

1.1.0
[F] Fixed a bug in the product xml file.

1.1.0
[+] Officially compatible with 3.5.x - 3.8.x.
[+] Removed all file and template edits.
[+] Added usergroup permission to specify which usergroups can use the feature.
[+] The last downloaded time for each user is now displayed.

1.0.2
[F] Compatibility with 3.5.2's modified attachments.php.

1.0.1
[+] Each user now has a number of downloads displayed next to him/her.

1.0.0
First Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=237489)

Hornstar
03-04-2010, 07:24 PM
Thanks for this one Anton. tagged for when I upgrade. Big thanks for porting your hacks to VB4, there are so many that are really useful.

Da-Vinci
03-04-2010, 08:35 PM
This isn't working for me.

I've uploaded the includes folder and imported the .xml file.

I couldn't see anything for it in Settings, so I looked at the Usergroup permissions, on Attachment Permissions Can View Who Downloaded is set to Yes.

Is there anything else I need to do, as theirs no option for me to view who has downloaded as shown in the screenshots.

DaninMS
03-04-2010, 09:10 PM
This isn't working for me.

I've uploaded the includes folder and imported the .xml file.

I couldn't see anything for it in Settings, so I looked at the Usergroup permissions, on Attachment Permissions Can View Who Downloaded is set to Yes.

Is there anything else I need to do, as theirs no option for me to view who has downloaded as shown in the screenshots.

Same here.

archet1337
03-04-2010, 09:19 PM
Great mod, 5 stars + Installed :)

Da-Vinci
03-04-2010, 09:27 PM
i had same problem

try to upload the XML file agen and give permissions to admin to no save then give to yes agen save i think it well work fine

that what i ded

i hop it well help you:D

Funnily enough, I tried that and it kind of worked, thanks. https://vborg.vbsupport.ru/
I can now see the link but when I click it a window opens with the


Who Downloaded?

Close & Download


But no info on the downloaders.

This particular file has been downloaded 14 times.

DaninMS
03-04-2010, 09:35 PM
i had same problem

try to upload the XML file agen and give permissions to admin to no save then give to yes agen save i think it well work fine

that what i ded

i hop it well help you:D

Doesn't work for me. I must be doing something wrong. Are you doing this from the usergroup manager ?

Mohamed Ashraf
03-04-2010, 09:58 PM
not working

akanevsky
03-04-2010, 11:12 PM
i think this mod count just from moment when you install it not for older Downloads

This is true.

horussjr
03-05-2010, 05:14 PM
doesnt work for me. installed. reinstalled. reseted. nothing. i dont want to do. i really want this product and i really apreciate your work. im using 4.0.2 PL1. please help me. tanks you

Planet_Earth
03-05-2010, 05:34 PM
thank you for the Mod been looking for it will grab and give it a try, Thank You!

ndut
03-06-2010, 12:45 AM
thanks..

akanevsky
03-06-2010, 11:48 AM
doesnt work for me. installed. reinstalled. reseted. nothing. i dont want to do. i really want this product and i really apreciate your work. im using 4.0.2 PL1. please help me. tanks you

This mod counts only attachments downloaded after the mod is installed.

parks72
03-26-2010, 04:10 PM
i can't get it to work maybe later thanks...........

The-Undead
03-26-2010, 07:27 PM
Not working for me either

Greggg
04-03-2010, 07:42 PM
this does not work for me. :( :( :(

Welshy2008
04-03-2010, 11:42 PM
** Tagged **

Hateman
04-12-2010, 04:58 PM
It's don't work.

irantk
04-15-2010, 01:14 PM
don't work 4.0.3

akanevsky
04-16-2010, 07:40 PM
Hack fixed and it now works.

DESIM
06-03-2010, 06:42 PM
I have uploaded the appropriate files in the file system, imported plugin but doesn't work for me. The version is 4.0.3 PL1. I cannot see the button nor any settings inside the vBulletin options.

Any help please?

BTW, i have uploaded a new attachment and downloaded after the plugin installation, in order to check, and not any previous attachment.

InTeNsE-HuMoR
06-21-2010, 10:23 PM
Can this be made to work for photos that have been uploaded via the attachment manager and then displayed in posts as thumbnails?

Gero50
07-13-2010, 10:38 PM
Gave it a shot. It didn't have I was looking for. Still a good mod though.

KURTZ
07-26-2010, 11:09 AM
italian lang ;)

goran424
07-28-2010, 12:47 PM
I have uploaded the appropriate files in the file system, imported plugin but doesn't work for me. The version is 4.0.3 PL1. I cannot see the button nor any settings inside the vBulletin options.

Any help please?

BTW, i have uploaded a new attachment and downloaded after the plugin installation, in order to check, and not any previous attachment.

Try to download some attachment first. Them, refresh the page. This will show up:

iyama
08-26-2010, 08:02 AM
Please upgrade to new vb. after a new instal its not work any more.

Fraxter
08-26-2010, 04:32 PM
running on 4.0.5 here.

lemonadesoda
08-28-2010, 08:33 PM
Well, I installed this and it didnt work. Only through the comments of others, some saying it worked, others saying no, that I thought I would persevere.

I read carefully the install instructions: "Please upload the files from under the "upload" directory in the archive into your vBulletin installation directory."

Hmm. Not very helpful, because there is actually a lot more to do and to understand. With a bit of playing and fooling around in the admin control panel, I found a new option in "Usergroup Manager" / EDIT / Attachment Permissions. Here you can set which usergroups can see and use this plugin. Somewhere, don't remember where or how, there was also a bitfields update, and then it all worked! Bingo! Note that by default, it doesnt work and nobody and see/use the function. You need to enable it by usergroup first.

Also note that there is no WHO information for any files downloaded before the plugin was installed.

Psionic, this BRILLIANT plugin, but really, your install instructions need a major overhaul. :up: (Maybe your instructions in previous versions were better, but do remember that some people like myself are installing this plugin on 4.x for the first time!)

INSTALLED, RECOMMENDED, AND NOMINATED.

Request
I would like to have a WHEN, not just a WHO. This is critical for any formal system of record. When did the person do it? Please update! Much much appreciated WHEN (LOL) you do.

MonsterDK
09-21-2010, 08:54 PM
grrrrr, can't get this to work on 4.0.6 :(

Hippy
09-21-2010, 09:19 PM
grrrrr, can't get this to work on 4.0.6 :(

Just tested it on 4.0.6 and 4.0.7
and works perfect
I did notice when I Imported the Product (xml)
it was very fast so I did it again and all worked

MonsterDK
09-22-2010, 07:32 AM
Just tested it on 4.0.6 and 4.0.7
and works perfect
I did notice when I Imported the Product (xml)
it was very fast so I did it again and all worked

Hey :)

I only see the option in the usergroup permissions to allow per group.
Is there another area in the admin CP that I'm missing because I cannot see anything else.
I don't see the who downloaded text near the attachment either.
Strange one :(

persianpros
09-22-2010, 10:10 AM
dear Psionic Vision can you say something about problems ?

pwner318
09-22-2010, 04:02 PM
visionscripts is just awesome with there mods... :)

Hippy
09-22-2010, 07:49 PM
Hey :)

I only see the option in the usergroup permissions to allow per group.
Is there another area in the admin CP that I'm missing because I cannot see anything else.
I don't see the who downloaded text near the attachment either.
Strange one :(

not that I know of ..

did you try to re-import the xml file ?
and allow over write ?

DBStattoo
09-23-2010, 10:35 PM
Hi in french en fran?ais ;)

starman?
10-03-2010, 01:36 PM
Working on 4.07 with this proviso (as mentioned by Dr. OSama);

Install the product twice - allow overwrite the 2nd time.

Go to the Usergroup you want to allow permission to use this add-on and find the section called Attachment Permissions. In this section at the bottom you will see Can View Who Downloaded *IMPORTANT* If already set to Yes (by default groups 5, 6 & 7 are) then change it to No and then click UPDATE at the bottom of the page. When the list of groups then re-appears then select the same group again and then change it back to YES and update again.

Attach a file to a post and save and then refresh your browser (F5 or ALT F5). Download the attachment and then do another refresh and then you can see the magic.

It does work but is a pain in the ass to get working. Hope this helps.

lemonadesoda
10-10-2010, 08:06 PM
Thanks starman for clarifying the how-to-make-the-install-work. I had the same issue. Finally got it working after a similar experience.

This mod would score 100% if it also included WHEN not just WHO downloaded
Oh my goodness. I've been asking for the WHEN feature not just WHO, but it seems that it has been there all the time! How did I miss it? Turns out that the popupbox is too small in Chrome, and you need to maximise/scroll to the RHS to see the date-stamp. Perhaps this can be fixed in the future.

persianpros
10-27-2010, 06:59 AM
Persian Translation :cool:

By Persian Prince

Bob_R
11-22-2010, 12:39 PM
Archive corrupted cannot open.

Please fix.

Thanks.

Bob_R
11-24-2010, 05:43 PM
Uh Hello?

Please fix download!

Hippy
11-24-2010, 09:02 PM
Bob_R there is nothing wrong with the file..
I just checked it ..

Bob_R
11-25-2010, 02:32 PM
I have a MAC. What could be my dilemma?

Hippy
11-25-2010, 03:23 PM
you said it LOL
no. just joking..
I am not sure but I will be near a MAC later today and will test it for you

jluerken
12-02-2010, 03:34 PM
There is a small phrase issue.
The word "views" is not phrased and cannot be translated.
Please update if possible.

ferrari3005
02-22-2011, 09:46 AM
don't work 4.1.1??? :(

POL_ED
02-23-2011, 03:38 PM
There is a small phrase issue.
The word "views" is not phrased and cannot be translated.
Please update if possible.
GLOBAL Phrases Containing 'x_views'
{1} views

zushiba
02-24-2011, 02:28 PM
don't work 4.1.1??? :(


I don't believe so? I don't see any options to view attachments or permissions to set who can see what in the user permission profiles.

FCS-Webmaster
04-05-2011, 02:03 PM
Works on like a charm with 4.1.0.
Uploaded it twice, uploaded a file, downloded it, refreshed and all works proper.

I do have one little note: Is it possible to alter the behavior of the link in the Pop-Up?
When I controll who downloaded the attachement then want to close it there is no need to dl the attachement every time.

irantk
04-09-2011, 08:02 AM
for vbulletin 4.1.3 not work

elz3abi M.D
04-09-2011, 01:46 PM
working fine on 4.1.3

medclub.ae

SpeedyHire
04-13-2011, 09:07 AM
working fine on 4.1.2 patched.

thanks for the share.

ExcelFox
04-29-2011, 03:52 PM
Not working for 4.1.3

Neither do I see any option in the acp. Please help

ExcelFox
05-15-2011, 12:34 PM
Any news on this yet? I have installed this again, but still don't see anything happening even after I downloaded attachments after installing this.

irantk
06-03-2011, 11:00 AM
after install doesn't show any button near attachments in post. please help me (vb 4.1.3)
user group setting is true
please help

irantk
06-05-2011, 05:50 PM
after install doesn't show any button near attachments in post. please help me (vb 4.1.3)
user group setting is true
please help

any one can help me?

cosy
07-29-2011, 11:10 AM
plz note that this is not working if user have Enhanced Attachment Uploading on it need to be off

Teascu Dorin
09-07-2011, 12:14 AM
Working on 4.1.5 PL1 after a thread and forum rebuild but it shows only the downloads from that point forward. Any thoughts on how to make it "find" the old downloads?

oldlock
01-13-2012, 01:55 AM
Anyone know if this mod still works 4.1.9 ? I tried to use it but it does'nt seem to appear anywhere in the usergroup permissions ??

Hippy
01-13-2012, 02:53 AM
Anyone know if this mod still works 4.1.9 ? I tried to use it but it does'nt seem to appear anywhere in the usergroup permissions ??

working

Megaboost
01-18-2012, 12:47 AM
Anyone know if this mod still works 4.1.9 ? I tried to use it but it does'nt seem to appear anywhere in the usergroup permissions ??

Have you tried rebuilding Threads & Forums in Maintenance/General Update Tools

Mine wasn't showing at first but after doing the above it was showing in the permissions under 'Attachment Permissions' as shown below.

angeljs
10-02-2012, 08:47 AM
Any thoughts on how to make it "find" the old downloads?
I'd like this option too if possible :)

1F42
10-22-2012, 04:12 PM
I am trying to get this to work on 3.8.7 but when enabled you can not view any threads and get the following error;

Fatal error: Class 'vB_Template' not found in /var/www/vhosts/xxxx/xxx/forum/showthread.php(112) : eval()'d code on line 6

This mod did say it was compatible with 3.8.7 but isn't vb_template used only on v4?

Any ideas where I should look please?

Hippy
10-23-2012, 08:24 PM
I am trying to get this to work on 3.8.7 but when enabled you can not view any threads and get the following error;

Fatal error: Class 'vB_Template' not found in /var/www/vhosts/xxxx/xxx/forum/showthread.php(112) : eval()'d code on line 6

This mod did say it was compatible with 3.8.7 but isn't vb_template used only on v4?

Any ideas where I should look please?

https://vborg.vbsupport.ru/showthread.php?t=217271

1F42
10-23-2012, 09:27 PM
https://vborg.vbsupport.ru/showthread.php?t=217271

Thanks I figured it out now, the first post needs to be edited though in the version history as it is misleading!

It make it look like this version is backwards compatible which it is deff not!

edytwinky
07-09-2013, 02:06 PM
Anybody know if this works for 4.2?

roadguide
07-10-2013, 10:06 AM
Anybody know if this works for 4.2?

works fine on 4.2.1 :up:

bosanci28
10-11-2013, 04:42 AM
Have you tried rebuilding Threads & Forums in Maintenance/General Update Tools

Mine wasn't showing at first but after doing the above it was showing in the permissions under 'Attachment Permissions' as shown below.

for me was not working in 4.2.1 and i disable it and save and re-enable and now works.

haytham
10-21-2013, 04:40 PM
Installed like a charm.

dizzynation
10-24-2013, 04:57 PM
I am unable to unarchive this file, anyone else?

Matush
02-17-2014, 12:50 PM
Is there a chance to integrate this modification along with Ultimate Media Gallery?

ArcadeSyndicate
10-29-2015, 09:41 PM
still working fine in 4.2.3 :)

oldfan
04-09-2023, 10:19 PM
tried it on 4.2.6. php7.2, will report back