🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by Stanton Delettre Thu, 08 Jan 2004 02:50
(Dialog) Multiple scripts on same event?
#140796
Author: Stanton Delettre
Date: Thu, 08 Jan 2004 02:50
4 lines
1401 bytes
How can I have more than one script on a single event?
-- 
"It took me seventeen years to get three thousand hits in baseball. I did
it in one afternoon playing golf." - Henry Aaron.
Re: (Dialog) Multiple scripts on same event?
#140801
Author: Gember Breuk
Date: Thu, 08 Jan 2004 03:15
9 lines
1404 bytes
On Thu, 08 Jan 2004 02:50:10 GMT, Stanton Delettre wrote:

> How can I have more than one script on a single event?

Which scripts/event do you like? They can mostly be combined with some
care for more than one job.

-- 
Gem
Re: (Dialog) Multiple scripts on same event?
#140802
Author: Stanton Delettre
Date: Thu, 08 Jan 2004 03:20
19 lines
1980 bytes
On Wed, 7 Jan 2004 22:15:14 -0500, Gember Breuk wrote:

> On Thu, 08 Jan 2004 02:50:10 GMT, Stanton Delettre wrote:
> 
>> How can I have more than one script on a single event?
> 
> Which scripts/event do you like? They can mostly be combined with some
> care for more than one job.

Hide server name in groups list and shorten groups name in groups list.


http://40tude.com/dialog/wiki/index.php/ShortenGroupnames
http://40tude.com/dialog/wiki/index.php/ScriptHideNGName

Or is there a way to change the group's names manually?
-- 
"It took me seventeen years to get three thousand hits in baseball. I did
it in one afternoon playing golf." - Henry Aaron.
Re: (Dialog) Multiple scripts on same event?
#140803
Author: Gember Breuk
Date: Thu, 08 Jan 2004 03:42
68 lines
3090 bytes
On Thu, 08 Jan 2004 03:20:40 GMT, Stanton Delettre wrote:

> On Wed, 7 Jan 2004 22:15:14 -0500, Gember Breuk wrote:
> 
>> On Thu, 08 Jan 2004 02:50:10 GMT, Stanton Delettre wrote:
>> 
>>> How can I have more than one script on a single event?
>> 
>> Which scripts/event do you like? They can mostly be combined with some
>> care for more than one job.
> 
> Hide server name in groups list and shorten groups name in groups list.
> 
> http://40tude.com/dialog/wiki/index.php/ShortenGroupnames
> http://40tude.com/dialog/wiki/index.php/ScriptHideNGName


This script should do this both for you:

-------------------------------------------------------------------------
//Remove server names from group list
//(Optional) Shorten group names

program OnNewsgroupListPaint;

//"true" = short group names, "false" = long group names

const minimizegroupnames=true;

function
OnNewsgroupListPaint(PaintString:widestring;ColumnIndex:integer):widestring;
var i:integer;
    s:string;
begin
i:=pos(' (',paintstring);
if (i>0) and (copy(paintstring,1,6)<>'Inbox ') then
  begin
  s:=paintstring;
  delete(s,i,200);
  paintstring:=s;
  end;
if minimizegroupnames then
  begin
  i := pos('.', paintstring);
  s := '';
  while (i > 0) do
  begin
    s := s + copy(paintstring, 1, 1) + '.';
    paintstring := copy(paintstring, i+1, 1000);
    i := pos('.', paintstring);
  end;
  paintstring := s + paintstring;
  end;
result:=paintstring;
end;

begin
end.
-------------------------------------------------------------------------

> 
> Or is there a way to change the group's names manually?

I don't know a script made to do just that, so it seems that
"ShortenGroupnames" is a good start to make one I think.

-- 
Gem
Re: (Dialog) Multiple scripts on same event?
#140828
Author: Lars Biskupek
Date: Thu, 08 Jan 2004 18:02
23 lines
2277 bytes
*Stanton Delettre, 08.01.2004:*
> On Wed, 7 Jan 2004 22:15:14 -0500, Gember Breuk wrote:
>> On Thu, 08 Jan 2004 02:50:10 GMT, Stanton Delettre wrote:

>>> How can I have more than one script on a single event?
>>
>> Which scripts/event do you like? 
> 
> Hide server name in groups list and shorten groups name in groups list.
> http://40tude.com/dialog/wiki/index.php/ShortenGroupnames
> http://40tude.com/dialog/wiki/index.php/ScriptHideNGName

The is no need to install a script in order to hide the server's name.
You only need to the change your settings for the newsgroup-list.

1. Go to Settings -> Layout -> Edit newsgroup list columns,
2. select the entry "Newsgroup" and 
3. change the content from "%newsgroup% (%server%)" to "%newsgroup%".

-- 
HTH,

L a r s   B i s k u p e k
Re: (Dialog) Multiple scripts on same event?
#140831
Author: Gember Breuk
Date: Thu, 08 Jan 2004 18:21
26 lines
2168 bytes
On Thu, 8 Jan 2004 19:02:19 +0100, Lars Biskupek wrote:

> *Stanton Delettre, 08.01.2004:*
>> On Wed, 7 Jan 2004 22:15:14 -0500, Gember Breuk wrote:
>>> On Thu, 08 Jan 2004 02:50:10 GMT, Stanton Delettre wrote:
> 
>>>> How can I have more than one script on a single event?
>>>
>>> Which scripts/event do you like? 
>> 
>> Hide server name in groups list and shorten groups name in groups list.
>> http://40tude.com/dialog/wiki/index.php/ShortenGroupnames
>> http://40tude.com/dialog/wiki/index.php/ScriptHideNGName
> 
> The is no need to install a script in order to hide the server's name.
> You only need to the change your settings for the newsgroup-list.
> 
> 1. Go to Settings -> Layout -> Edit newsgroup list columns,
> 2. select the entry "Newsgroup" and 
> 3. change the content from "%newsgroup% (%server%)" to "%newsgroup%".

Heh! I can't say why I haven't seen that before! Thank you, Lars! :-)


-- 
Gem
Re: (Dialog) Multiple scripts on same event?
#140842
Author: Gember Breuk
Date: Thu, 08 Jan 2004 22:43
27 lines
2294 bytes
On Thu, 8 Jan 2004 19:02:19 +0100, Lars Biskupek wrote:

> *Stanton Delettre, 08.01.2004:*
>> On Wed, 7 Jan 2004 22:15:14 -0500, Gember Breuk wrote:
>>> On Thu, 08 Jan 2004 02:50:10 GMT, Stanton Delettre wrote:
> 
>>>> How can I have more than one script on a single event?
>>>
>>> Which scripts/event do you like? 
>> 
>> Hide server name in groups list and shorten groups name in groups list.
>> http://40tude.com/dialog/wiki/index.php/ShortenGroupnames
>> http://40tude.com/dialog/wiki/index.php/ScriptHideNGName
> 
> The is no need to install a script in order to hide the server's name.
> You only need to the change your settings for the newsgroup-list.
> 
> 1. Go to Settings -> Layout -> Edit newsgroup list columns,
> 2. select the entry "Newsgroup" and 
> 3. change the content from "%newsgroup% (%server%)" to "%newsgroup%".

Oh oh, I did find a problem with this way if you have multiple "In"
boxes. The identity names are also gone, so you can't say which is
which one. Not so good for me anyway.

-- 
Gem
Re: (Dialog) Multiple scripts on same event?
#140866
Author: matija
Date: Fri, 09 Jan 2004 11:50
15 lines
2158 bytes
Gember Breuk, completely geschtonkenflapped, wrote:
>> 3. change the content from "%newsgroup% (%server%)" to "%newsgroup%".
> 
> Oh oh, I did find a problem with this way if you have multiple "In"
> boxes. The identity names are also gone, so you can't say which is
> which one. Not so good for me anyway.

     there's nobody stopping you from creating another column
     that uses "%server%" alone :)


-- 
there is a cheer. the gnomes have learned a new way to say hooray.   [-shpongle]

address is scrambled - remove the superfluous "x" marks to reply
Re: (Dialog) Multiple scripts on same event?
#140869
Author: Gember Breuk
Date: Fri, 09 Jan 2004 12:59
17 lines
1942 bytes
On Fri, 9 Jan 2004 12:50:49 +0100, matija wrote:

> Gember Breuk, completely geschtonkenflapped, wrote:
>>> 3. change the content from "%newsgroup% (%server%)" to "%newsgroup%".
>> 
>> Oh oh, I did find a problem with this way if you have multiple "In"
>> boxes. The identity names are also gone, so you can't say which is
>> which one. Not so good for me anyway.
> 
>      there's nobody stopping you from creating another column
>      that uses "%server%" alone :)

Wouldn't also that give all other server names? Right back to start
then. The script does just what I want. :-)

-- 
Gem
Re: (Dialog) Multiple scripts on same event?
#140883
Author: matija
Date: Fri, 09 Jan 2004 21:49
15 lines
2202 bytes
Gember Breuk, completely geschtonkenflapped, wrote:
>>      there's nobody stopping you from creating another column
>>      that uses "%server%" alone :)
> 
> Wouldn't also that give all other server names? Right back to start
> then. The script does just what I want. :-)

     well, erm, yes, but at least it would look better and the
     newsgroup list would be "cleaner". just give it a try :)


-- 
there is a cheer. the gnomes have learned a new way to say hooray.   [-shpongle]

address is scrambled - remove the superfluous "x" marks to reply
Re: (Dialog) Multiple scripts on same event?
#140886
Author: Gember Breuk
Date: Fri, 09 Jan 2004 22:28
19 lines
2174 bytes
On Fri, 9 Jan 2004 22:49:47 +0100, matija wrote:

> Gember Breuk, completely geschtonkenflapped, wrote:
>>>      there's nobody stopping you from creating another column
>>>      that uses "%server%" alone :)
>> 
>> Wouldn't also that give all other server names? Right back to start
>> then. The script does just what I want. :-)
> 
>      well, erm, yes, but at least it would look better and the
>      newsgroup list would be "cleaner". just give it a try :)

I did try it, Matija, but the look with the script is even more clean
to me. The inboxes have the identity names just right, and the server
names for the groups are gone. That's perfect for me, but someone else
may wish different.

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