Here's a patch to that adds a permission for who can view the download and played stats in hook_link().
| Comment | File | Size | Author |
|---|---|---|---|
| audio-stats-perm.patch | 1.18 KB | jjeff |
Here's a patch to that adds a permission for who can view the download and played stats in hook_link().
| Comment | File | Size | Author |
|---|---|---|---|
| audio-stats-perm.patch | 1.18 KB | jjeff |
Comments
Comment #1
Colin Brumelle commentedComment #2
Colin Brumelle commentedThis worked great for me. I just committed this...
Comment #3
drewish commentedif you don't mind, i'd like to leave this out of head for now. people that don't want it can remove it by using the links_alter hook.
Comment #4
Colin Brumelle commentedThat's cool...
Comment #5
jdblank commentedhow do you install this patch?
Comment #6
drewish commentedit's already installed. i'm going to make a small change to make showing the stats the default permission.
Comment #7
(not verified) commented