🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Norwood Mon, 23 Mar 2009 20:23
[Dialog] Remove "Outbox", "Sent" etc from list
#231721
Author: Norwood
Date: Mon, 23 Mar 2009 20:23
9 lines
1318 bytes
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?
-- 
"It's amazing that brain can generate enough power to keep those legs
moving."
---Luthor
Re: [Dialog] Remove "Outbox", "Sent" etc from list
#231723
Author: Eggs Zachtly
Date: Mon, 23 Mar 2009 21:01
40 lines
2690 bytes
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
-- 

Eggs

Chopped cabbage - not just a good idea... it's THE SLAW.
Re: [Dialog] Remove "Outbox", "Sent" etc from list
#231724
Author: 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.
Re: [Dialog] Remove "Outbox", "Sent" etc from list
#231725
Author: 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.
Re: [Dialog] Remove "Outbox", "Sent" etc from list
#231726
Author: Rom
Date: Tue, 24 Mar 2009 00:18
23 lines
1888 bytes
On Mon, 23 Mar 2009 20:23:26 GMT, Norwood wrote:

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

Default folders can't be removed (deleted), and you don't have to use
the default "Subscribed" tab. Instead, create new category tab(s) in
Group > Categories > Manage categories..., assign the groups you want
in the category tab by selecting them all in the newsgroup pane then
select the 'name' you gave the category in Group > Categories > ... 

With the setting below checked, Dialog starts up with the same message
selected in the same group and the same category tab as when closed:
Settings > General Settings > Navigation
[x]Return to last active article upon startup

Alternatively, a script can be used to specify the tab.

-- 
Rom
Re: [Dialog] Remove "Outbox", "Sent" etc from list
#231835
Author: Mike Dee
Date: Thu, 26 Mar 2009 13:21
19 lines
2200 bytes
On Mon, 23 Mar 2009 20:23:26 GMT, Norwood wrote:

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

Ron's suggestion is likely the more effective option. Myself (a Dialog
n00b), I right clicked into the subscribed groups list, chose "Rearrange",
"Sort groups alphabetically". Then chose "Rearrange", "Add spacer". Next
moved the "Drafts, Inbox, etc" down below the spacer, and any subbed group
above the spacer. It doesn't remove those items but they do go to the
bottom of the list and are clearly delimited by the spacer.

Works for me ;-)

-- 
dee
Re: [Dialog] Remove "Outbox", "Sent" etc from list
#231840
Author: Beauregard T. Shagnasty
Date: Thu, 26 Mar 2009 14:30
32 lines
2869 bytes
Mike Dee wrote:

> Norwood wrote:
>> 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?
> 
> Ron's suggestion is likely the more effective option. Myself (a
> Dialog n00b), I right clicked into the subscribed groups list, chose
> "Rearrange", "Sort groups alphabetically". Then chose "Rearrange",
> "Add spacer". Next moved the "Drafts, Inbox, etc" down below the
> spacer, and any subbed group above the spacer. It doesn't remove
> those items but they do go to the bottom of the list and are clearly
> delimited by the spacer. 

I leave the Outbox and Sent at the top (separated by a spacer) so I can
readily see if a post wasn't transmitted for some reason. Once in a
while the server is busy; the connection times out and the post stays in
Outbox. It's handy to have that up top so you recognize the problem.

I also group subscribed groups by subject matter, rather than completely
alphabetically. Easy to do with Alt-UpArrow, Alt-DownArrow.

> Works for me ;-)

<old saying>"Whatever floats yer boat!"</old saying>

-- 
   -bts
   -Friends don't let friends drive Windows
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads