Difference: CommentPlugin (2 vs. 3)

Revision 32005-03-27 - TWikiContributor

Line: 1 to 1
 

Comment Plugin

Changed:
<
<
This plugin allows users to quickly post comments to a page without an edit/preview/save cycle.
>
>
This plugin allows users to quickly post comments to a page without an edit/preview/save cycle.
 
Changed:
<
<
Note: this version of the CommentPlugin will not work with TWiki versions released prior to June 2005
>
>
WARNING: TWiki-4 only. If you want to use this plugin with an earlier version of TWiki, please see here
 

Features

Line: 84 to 91
  To define a comment type, you have to provide two simple template definitions in the template file; one for the prompt box, and one for the generated output. If we have a template type "mytype", these are named PROMPT:mytype and OUTPUT:mytype respectively. See comments.tmpl in the templates directory for examples.
Changed:
<
<
The plugin picks up these template definitions from a standard TWiki template file, templates/comments.tmpl. This allows different templates to be defined for different TWiki skins. By default, this template includes the topic CommentsTemplate, which contains all the shipped standard templates and in turn includes TWiki.UserCommentsTemplate. This allows for several levels of customisation:
>
>
The plugin picks up these template definitions from a standard TWiki template file, templates/comments.tmpl. This allows different templates to be defined for different TWiki skins. By default, this template includes the topic CommentPluginTemplate, which contains all the shipped standard templates and in turn includes TWiki.UserCommentsTemplate. This allows for several levels of customisation:
 
  1. To override all default templates, everywhere, change comments.tmpl to include a different topic (this customisation will be lost next time you upgrade, though).
  2. To add site-wide local template customisations, add them to TWiki.UserCommentsTemplate. You can redefine the standard templates here if you want, and your definitions will override the standard definitions.
  3. To override templates on a web-by-web basis, add a topic UserCommentsTemplate to the web (this will replace TWiki.UserCommentsTemplate)
Line: 147 to 154
 
    • Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.

Plugin Info

Plugin Author: TWiki:Main.DavidWeller, TWiki:Main.PeterMasiar, TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk
Changed:
<
<
Change History: Please refer to the TWiki Subversion repository for a complete change history of this plugin.
Dependencies: None
>
>
Change History:  
8788 Item1465 Item1577: reverted 8433 to fix inclusion of correct user templates
8787 Item1573 renamed standard templates topic to avoid naming clash on Windows, where filenames are case-insensitive
8433 Item1465 Fix 'TWiki.' to '%TWIKIEB%.'; also fixed include 'UserComments' to 'UserCommentsTemplate' (at least that is what the doc suggests)
7427 Item845 removed duplicate date in default comments; stick with server time
7251 Item810 fix for user template inclusion; reorganised templates to make customisation easier
5906 Item143 apache warning from comment plugin when CommentsTmpl.txt not foudn
5519 CommentPluginOnAnchorsBroken: incorporated JacobEisinger's fix
5518 CommentPluginOnAnchorsBroken: incorporated OlivierBerger's fix
5455 On Niels Kodslo's prompting, removed the global recursion prevention that I believe is no longer needed.
5280 Removed templates, and some minor fixes
5250 Removed newlines from prompt box
4902 Changed to use viewauth. Moved templates into user topics.
4901 Added templates in user webs support
4897 Fixes for disabling during preview; re-enabled old legacy parameters
4889 Chopped down from PeterMasiar version, removing several parameters, savecomment script, changing way templates are done. Major rewrite, atcherly.
4882 Update from PeterMasiar's 2.0 version, plus documentation and small code improvements.
4745 06Mar 2002 initial commit
 
Perl Version: >= 5.6.1
Plugin Home: TWiki:Plugins/CommentPlugin
Feedback: TWiki:Plugins/CommentPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

Changed:
<
<
-- TWiki:Main/CrawfordCurrie - 23:00:07 01 February 2006
>
>
-- TWiki:Main/CrawfordCurrie - 21:44:41 31 March 2006
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.CommentPlugin.