🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #73167

Re: Gravity question

#73167
From: Paul Neubauer
Date: Wed, 07 Mar 2001 15:57
81 lines
3306 bytes
In news.software.readers, dragec@eurosport.com wrote...
>Is it possible to mark my messages with different color?

Yes and no. Gravity marks whole threads with a color so what will be 
marked is the thread in which you have posted. OTOH, it is rarely 
important to have your own messages stand out, since you have 
presumably already read them (as you were writing them, we hope). So 
in general, it is not bad to have the thread with your article in it 
marked with the distinctive color.

The idea is to give your own messages a score that is *much* higher 
than any other scoring rules.  Here are the rules that I use for this:

rule = From me
  enabled = Yes
  expirationDays 7
  expirationType 0
  expirationAction 0
  allgroups = Yes
begin groups
end groups
begin condition
  From contains "prn@bsu.edu"
end condition
begin actions
  markAsProtected
  tag
  fetchBody
  watchThread
  addToScore 700
end actions
end rule

rule = Reply to me
  enabled = Yes
  expirationDays 7
  expirationType 0
  expirationAction 0
  allgroups = Yes
begin groups
end groups
begin condition
  In reply to my message
  And
  From does not contain "prn@bsu.edu"
end condition
begin actions
  showAlert Reply found
  markAsProtected
  tag
  fetchBody
  addToScore 500
end actions
end rule

You can see that the "From me" rule adds 700 (a very high score for 
any of my rules) to the score and adds various icons to the article 
display.  The "Reply to me" rule adds "only" 500 (which will still 
qualify for distinctive coloring that differs from any thread that 
does not contain a post either by or in reply to me). Any thread that 
does not contain a post with a score of at least 500 will not get that 
color. Note that the "Reply to me" rule contains a condition that 
'From does not contain "prn@bsu.edu"' so that it will not bother to 
notify me with an alert-box when I post a second article in the same 
thread. (I already know that. :-) )

If you really do want only your own articles to get that distinctive 
color, I'm afraid you're out of luck, but if you think about it a bit, 
I think you'll probably decide that the thread is probably worth 
coloring more than just your own individual article. (At least I hope 
so.)

>Thanks.

You're welcome.
	Paul
-- 
Paul Neubauer            prn@bsu.edu
http://home.bsu.edu/prn/
PGP Public Key at http://home.bsu.edu/prn/key.html
Technical Details
Message-ID: <MPG.15102461952df7f99896c7@news.bsu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.indiana.edu!news.ind.net!portal.bsu.edu!not-for-mail
References: <MPG.150f79ae8e4ad8c998971c@news.tel.hr>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.15102461952df7f99896c7@news.bsu.edu>
Subject: Re: Gravity question
Date: Wed, 7 Mar 2001 10:57:10 -0500
From: Paul Neubauer <prn@bsu.edu>
References: <MPG.150f79ae8e4ad8c998971c@news.tel.hr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.indiana.edu!news.ind.net!portal.bsu.edu!not-for-mail
Newsgroups: news.software.readers
Organization: Ball State University
X-Newsreader: MicroPlanet Gravity v2.30
Lines: 80
NNTP-Posting-Host: 147.226.83.105
X-Trace: portal.bsu.edu 983980630 147.226.83.105 (Wed, 07 Mar 2001 10:57:10 EST)
NNTP-Posting-Date: Wed, 07 Mar 2001 10:57:10 EST