Advanced Subject Options

From PluginWiki

Jump to: navigation, search

You get to this configuration from the More Subject Options button on the Features tab:

Image:MoreSubj.jpg

This brings up this dialog:

Image:AdvSubj.jpg

There are three things you can do here:

Changing the Keywords

Some groups use different keywords for OFFER, WANTED, TAKEN and RECEIVED - for example, if your group isn't an English-language group. You can configure the plugin to recognise different keywords here. This will be used both for colour-coding subjects, and for the member's message summary.

You can specify alternatives by putting | in between them. This is a vertical bar, not any other kind of slash. If you configure anything in these boxes, it will replace the default values, so remember to put those in too, if you still want them. The defaults are OFFER, WANTED, TAKEN, and RECEIVED|RECIEVED (because lots of people get that one wrong).

If you configure OFFERED, put it first, otherwise it won't work properly. So use OFFERED|OFFER, not OFFER|OFFERED. The same is true for anything which is the same as another word with some extra on the end.

For each keyword, you can also configure whether the plugin requires punctuation (assuming you have Require punctuation in the subject line selected on the main Features tab). For example, people often omit the location in TAKEN or RECEIVED messages, so you might want to allow that so that they get colour-coded green.

You can also specify other valid keywords, so that they get colour-coded green too. You might use this for ADMIN messages.

Configure Punctuation

There are lots of different punctuation options, because different groups have different standards. Select the ones you want to allow here, which controls Colour-coding subjects.

Changing Subject Auto-correction

There are various things you can do here.

  1. You can disable auto-correction entirely, if you don't like it.
  2. By default, auto-correction will show Suggested whenever it thinks the subject can be improved, even if what it currently has shows up green. You can make auto-correction show Edit instead for green subjects by ticking Only show for red subjects.
  3. You can strip out the location in the group name.  For example, on the EdinburghFreegle group there is no point having Edinburgh in a location, because it's obvious, so you might want to strip that out.
  4. You can strip out some words.  For example, you might want to remove PPU (Pending Pick-Up) or Urgent.
  5. By putting entries in the Preferred box, you can control what the plugin suggests for an improved subject in Subject Auto-correction. For example, you might have WANTED|NEEDED|SEEKING in the WANTED box, as subjects you want to colour-code green - but if you put WANTED in the Preferred box then it will know that it should always suggest that one. That means you can easily change a subject with NEEDED in it to one with WANTED.
  6. You can control the format of the subject line which it suggests.
    1. By default, this is of the form OFFER: Item (Location).
    2. But you can put something else in. You do this by entering a string with $keyword, $item and $location where you want the plugin to put those.
    3. For example, you could enter $keyword - $item - $location.
    4. You can also control what it puts in if it can't find a location. This defaults to ?
    5. For Freegle groups, you can intelligently truncate the subject line to fit within Yahoo's 63 character limit.
Personal tools