Tags:
create new tag
, view all tags

Question

  1. How can I get notification when user attach a file to a topic?
  2. How can I know attachment file download counting or downloader record?

Environment

TWiki version: unspecified
TWiki plugins: SpreadSheetPlugin,AccessStatsPlugin,ActionTrackerPlugin,CommentPlugin,EditTablePlugin,InterwikiPlugin,LdapNgPlugin,NewUserPlugin,PollPlugin,PreferencesPlugin,SlideShowPlugin,SmiliesPlugin,TablePlugin,ThreadedDiscussionPlugin,TwistyPlugin,VotePlugin,WysiwygPlugin
Server OS: Red Hat Enterprise Linux ES release 4
Web server: Apache
Perl version:  
Client OS:  
Web Browser:  
Categories: Platform

-- MagicYang - 13 Dec 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

  1. 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.
  2. 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:

  1. 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.....=(
  2. 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

 
Change status to:
Topic revision: r5 - 2007-12-16 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.