Tags:
create new tag
view all tags

RandomReplacePluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on RandomReplacePlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback for RandomReplacePlugin

This plugin was created for my personal use in an RPG wiki I use to keep track of information on my campaign. It is useful to me as I have lists of NPC names, features, traits and quirks that I can quickly add using the plugin. I'm not sure how much use it would be in other twikis.

-- ScottParrish - 27 Oct 2005

Hi Scott. Could you descibe in the first paragraph of RandomReplacePlugin what the plugin does and when it can be useful? For instance, what is a RPG TWiki?

-- ArthurClemens - 27 Oct 2005

I re-wrote the intro and I hope its more clear now.

-- ScottParrish - 27 Oct 2005

I think the killer-app for this for twiki in the workplace is: the Coffee Manager !

(i.e.: fill in the names of the people you share a room with. when the page is refreshed, one is randomly selected. That's the one to get the next round of coffee.)

-- JosMaccabiani - 27 Oct 2005

Coffee manager would be very doable. It would require a small amount of re-factoring and a new tag style. Since it would be reading/parsing the data/file or topic much more often, caching that in a more permanant matter would be desirable.

In the easy manner, it would simply replace the tag with the random selection after every view, so you and your cube-mates would probably not see the same result.

But you might be able to save the result used, give it a timer in the rule definition, and so it would offer the same result to everyone until the timer is up.

If this would be truly useful I don't mind writing it.

-- ScottParrish - 27 Oct 2005

Thanks Scott for sharing this Plugin with the TWikiCommunity smile

I made some changes to the Plugin topic, feel free to take it into the next release:

  • Escaped link to itself
  • Shorter SHORTDESCRIPTION
  • Escaped ##Tags## with #<nop>#Tags## to prevent firing off on Plugin topic save
  • Use %TWIKIWEB%.SomeThing instead of TWiki.SomeThing
  • Added signature

See diff (raw diff)

How about measuring and documenting the PluginBenchmarks?

-- PeterThoeny - 01 Nov 2005

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2005-11-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.