🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #231724

Re: [Dialog] Remove "Outbox", "Sent" etc from list

#231724
From: VanguardLH
Date: Mon, 23 Mar 2009 22:41
57 lines
3786 bytes
Eggs Zachtly wrote:

> Norwood said:
> 
>> In my list of subscribed newsgroups I would like to remove all the folders
>> and things that aren't actual newsgroups such as the Inboxes, Sent and
>> Drafts folders.
>> 
>> Is this possible?
> 
> You can hide them from view, but you can't delete them. 
> 
> If this will suffice, then you need to add the following script. Move the
> Inboxes, etc to the bottom of the Newsgroup pane and then copy what is
> *between* the asterisks below, and add it to the OnNewsgroupListPaint Event
> Script:
> 
> ******************
> 
> function
> OnNewsgroupListPaint(PaintString:widestring;ColumnIndex:integer):widestring;
> begin
>     paintstring := StringReplace(paintstring,'Inbox','',[rfReplaceAll])
>     paintstring := StringReplace(paintstring,'Sent','',[rfReplaceAll])
>     paintstring := StringReplace(paintstring,'Drafts','',[rfReplaceAll])
>     // add as many lines of this kind as needed
> 
> result:=paintstring;
> end;
> 
> begin
> end.
> 
> ******************
> 
> HTH

What is the definition of [rfReplaceAll]?  It seems to only result in
replacing the object's title string with blank characters.  I did the
above (only on the Inbox) with the result that there was still a row for
where the Inbox folder would have been displayed.  Also, if you click on
that blank line, you still end up going into the Inbox.  So it's still
there despite putting on blinders and you don't recover the line where
the folder gets displayed.

Also, I'm not sure why the OP wants to hide Drafts, Outbox, or Sent
Items.  Drafts is where you post gets saved if you need to interrupt
your composition and finish it later - and that includes your newsgroup
posts.  Outbox is where the post will reside until actually accepted by
your NNTP server.  Where are you going to get a copy of your post to
resend it if submission fails?  You never review what posts you have
submitted before by looking or searching through the Sent Items folder?

Well, maybe this gives the OP what they want.  The folders aren't really
deleted.  Even the lines they occupy in the folders list are not
removed.  This just replaces the characters in the folder titles with
blanks.
Technical Details
Message-ID: <gq935h$m6d$1@news.motzarella.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
References: <1f0gtl0raj8fr.1o9e3scn0fr6j.dlg@40tude.net> <13ougs0zfj44b$.dlg@sneupie.eingang.org>

Show Full Headers
Complete Article Headers
Message-ID: <gq935h$m6d$1@news.motzarella.org>
Subject: Re: [Dialog] Remove "Outbox", "Sent" etc from list
Date: Mon, 23 Mar 2009 17:41:25 -0500
From: VanguardLH <V@nguard.LH>
References: <1f0gtl0raj8fr.1o9e3scn0fr6j.dlg@40tude.net> <13ougs0zfj44b$.dlg@sneupie.eingang.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: 0.35MOA sniper at loose in Usenet
Lines: 57
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX19PZlUk1SJgkPslFx59ljFjCoe38/Fr2CGr8PwCdtKIbVZ6orR5yrTyFyLi2pS+RLrcHxHePqxRjnyjPGVWHeSiLMaXwVMmnmnrh66grvQ5TiyUi6ocbrhLia65oqOmGhiIXUX+k2Ih+Q==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 23 Mar 2009 22:40:49 +0000 (UTC)
Keywords: VanguardLH VLH811
X-Auth-Sender: U2FsdGVkX18xlo/cLh8+ZWeEcdPYyC55PDuuPHEL/5jjCPasryJDmA==
Cancel-Lock: sha1:p1zrl1+EAa7fkwoqgLsTO0u9WyU=
User-Agent: 40tude_Dialog/2.0.15.41
X-MOTD: It is wiser to remain silent and let others ponder your ignorance than
 to speak and remove all doubt