r4 - 20 Sep 2006 - 19:08:20 - PeterThoenyYou are here: TWiki >  Plugins Web > AbusePlugin
Tags:
, create new tag

Abuse Plugin

This plugin obscures the abuse words written in the Edit window of TWiki. The abuse words are maintained in master.txt file. All occurances of these words are replaced by the asterix(*) from second character on word till it's entire length.

Syntax Rules

  • All the Abuse words in the edit window will be obscured.
  • Click Preview, you should see the obscured words on the page.

Examples

  • Refer to Demo URL for getting feel of the Plugin.

AbusePlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = This will enable the filter mechanism for the edit window of the TWiki.

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip AbusePlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/AbusePlugin.txt Plugin topic
    data/TWiki/AbusePlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/AbusePlugin.pm Plugin Perl module
  • Test if the installation was successful:
    • Put in some abuse words in the master.txt file and check these words in the edit window.

Plugin Info

Plugin Author: TWiki:Main/RahulMundke
Plugin Version: 20 Nov 2003 (V1.000)
Change History:  
20 Nov 2003: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/AbusePlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/AbusePluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- RahulMundke - 20 Nov 2003

Topic attachments
I Attachment Action Size Date Who Comment
zipzip AbusePlugin.zip manage 3.3 K 20 Nov 2003 - 21:47 RahulMundke AbusePlugin Package
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo