Question
- How can I get notification when user attach a file to a topic?
- How can I know attachment file download counting or downloader record?
Environment
--
MagicYang - 13 Dec 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
- There is no special notification if someone attaches a file to a topic. However, the normal notification for topic changes (as managed by every web's WebNotify topic) also sends out messages when an attachment is added, or changed.
- There are usually two paths to an attachment: Via the
pub url, which is directly served by the web server without TWiki code, or via the viewfile script through TWiki. Neither one adds to TWiki's log files, so you need to consult the web server's log file for statistics.
--
HaraldJoerg - 13 Dec 2007
For the second task, there is
AccessStatsPlugin.
--
MartinKaufmann - 13 Dec 2007
But:
- If user decide to not showing attachment in standard topic attachment table, or any other reason that doesn't cause Topic version change, admin (subscriber) will not be notified.....=(
- It seems that AccessStatsPlugin is what I want. I will try it out!
--
MagicYang - 16 Dec 2007
On you point 1, TWiki version controls the attachment meta data even if you hide the attachment from the attachment table, e.g. you will get notified.
--
PeterThoeny - 16 Dec 2007