Installation

Follow these steps to install the Peer Plugin for TWiki:

  1. Do Peer Review My SQLSet Up
  2. Do Peer Review Dbi Dbd Set Up
  3. Unzip the PeerPlugin.zip file in your twiki installation directory
  4. Add Plugins.PeerPlugin to the ACTIVEPLUGINS variable of your TWiki Preferences or Web Preferences (not strictly necessary as the plugin should now be detected automatically)
  5. Edit the top of twiki/lib/TWiki/Plugins/PeerPlugin/Review.pm to reflect the database name and logon that you have chosen
    • my $dataBase = "dbi:mysql:Peer";
    • my $dbUsername = "myusername";
    • my $dbPassword = "mypassword";
  6. Edit the TWiki.TWikiPreferences, TWiki.WebPreferences and the Web Preferences topic in each web as shown below. (Or follow the instructions in Peer Review Examples to modify any skin).

Change...
      * Set WEBTOPICLIST = %WEB% . {
            <a href="WebHome">Home</a> 
          | <a href="WebChanges">Changes</a>
          | <a href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=topic&amp;regex=on&amp;search=.*">Index</A>
          | <a href="WebSearch">Search</a>
          | Go <input type="text" name="topic" size="16">
        }

To...
      * Set WEBTOPICLIST = %WEB% . {
            <a href="WebHome">Home</a> 
          | <a href="WebChanges">Changes</a>
          | <a href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=topic&amp;regex=on&amp;search=.*">Index</A>
          | <a href="WebSearch">Search</a>
          | Go <input type="text" name="topic" size="16">
          | <!--%PRLINK%--><!--%PRRATING%-->
        }

Check any topic in the test web and just click "Review" to see if the installation is successful.

Install Set

List of Items Contained within the Peer Review Plugin install set:

  1. twiki/lib/Plugins/PeerPlugin.pm
  2. twiki/lib/Plugins/PeerPlugin/Review.pm
  3. twiki/pub/Plugins/PeerPlugin/*.gif
  4. twiki/templates/peerview.tmpl
  5. twiki/tools/dbitest
  6. twiki/data/%WIKIWEB%.PeerPlugin
  7. twiki/data/%WIKIWEB%.PeerPluginView
  8. twiki/data/%WIKIWEB%.PeerPluginForm
  9. twiki/data/%WIKIWEB%.PeerPluginExtView
  10. twiki/data/%WIKIWEB%.PeerPluginExtForm
  11. twiki/data/%WIKIWEB%.PeerReviewStats
  12. twiki/data/%WIKIWEB%.PeerReviewExamples
  13. twiki/data/%WIKIWEB%.PeerReviewInstall
  14. twiki/data/%WIKIWEB%.PeerReviewMySQLSetUp
  15. twiki/data/%WIKIWEB%.PeerReviewDbiDbdSetUp

-- Stephen Roe? - 27 Jun 2001

Wiki Category?

Topic Classification:
Feature Under Construction?
Topic revision: r1 - 22 Aug 2001 - 15:18:50 - Roe S01?
 
Ad Sponsor
Back to Redbourn
Copyright © We make no guarantee of the correctness of the content of this site. All material on this collaboration platform is the property of Martin Cleaver and the contributing authors.