🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #231725

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

#231725
From: Eggs Zachtly
Date: Mon, 23 Mar 2009 23:02
73 lines
4314 bytes
VanguardLH said:

> 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.

Please re-read my entire post. Not just the script.

> 
> 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?

That's the OP's problem.

> 
> 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.

Was I not clear about that fact, in the first sentence of my reply?

-- 

Eggs

-My idea of housework is to sweep the room with a glance.
Technical Details
Message-ID: <5ezp7e3k0w6g.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!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
References: <1f0gtl0raj8fr.1o9e3scn0fr6j.dlg@40tude.net> <13ougs0zfj44b$.dlg@sneupie.eingang.org> <gq935h$m6d$1@news.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <5ezp7e3k0w6g.dlg@sneupie.eingang.org>
Subject: Re: [Dialog] Remove "Outbox", "Sent" etc from list
Date: Mon, 23 Mar 2009 18:02:33 -0500
From: Eggs Zachtly <re@d.thereplyto.header>
References: <1f0gtl0raj8fr.1o9e3scn0fr6j.dlg@40tude.net> <13ougs0zfj44b$.dlg@sneupie.eingang.org> <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!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 73
Reply-To: eggsUNDERSCOREHEREzachtly@hotmail.com
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX1/JNlgxl0OV/CHb2jyadyQR9FHXl0Imv3sAiQnUq67AXNh7ekWG03QDedI8r7car2uKqrrzh5PNOJ2t/QZlidEmJEnYZTa3I/Gkwl59ewoGTKAUkarElFddwCSbT2XcHBaGIecYFAi93Q==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 23 Mar 2009 23:02:38 +0000 (UTC)
X-NoArchive: YES
X-Auth-Sender: U2FsdGVkX1/w3jS40Uow6eHGq8NpdtwXqpZrQe3/HUOP0CHfuyHveIdhh75lXBKP
X-Face: $%$UgNA%E<42Qf_>-!&R#Q<QR12)vk\a&R@)IOC9ectCM]ZPDvUN{?r)7mR%i\JMa(:T`GI
 G?jav5U?a/TTrjty7B;
 7%#,R~]b|+EX`yOT^bM)G!fk.?kYkFiP=svrkY^{$m+m$~oXc,9M$6>McRk #5Ld9c9lq1b
Cancel-Lock: sha1:SE5d3R5KPMSA6vTPvWFzg2Aab4U=
User-Agent: 40tude_Dialog/2.0.15.1
X-WebTV-Stationary: Standard; BGColor=yellow; TextColor=yellow