[imp] New messages in bold in message summary

Darryl Ross dross@syc.asn.au
Sun, 18 Feb 2001 08:48:06 +1000 (CST)


Quoting hhoffman@r-u-i.com:

> Darryl,
>      Thanks, I'm making the changes now. It seems that the bold only
> comes thru 
> when I refresh the mailbox. I can see the new message when logging in
> but it 
> only becomes bold after a refresh of the INBOX. Any ideas??
> Thanks again,
> Harry

Yeah, I just noticed that as well. I'm thinking that it is something to do with
the flag I am using to see if the message is a new message. I'm using the 'U'
flag, which I presumed stands for unread. Should I be using something different?

Actually, just thinking. I only added:

<?php if ($h->Unseen  == 'U') { echo "<b>"; } ?>
<?php if ($h->Unseen  == 'U') { echo "</b>"; } ?>

To the table cells. That should be 

<?php if ($h->Unseen  == 'U' || $h->Recent == 'N') { echo "<b>"; } ?>
<?php if ($h->Unseen  == 'U' || $h->Recent == 'N') { echo "<b>"; } ?>

??

Which matches if the message has been seen in the inbox but not read (ie, U) or
if the message is a new message in the inbox (ie, N) ???

** Sends self a quick test email **

Yep, that would seem to do it. Ok, I've updated the file at the URL I gave
before: http://darryl.ross.wattle.id.au/message_summaries.inc.txt. If it doesn't
refresh properly, try http://darryl.ross.wattle.id.au/message_summaries.inc.txt?
(with the ? on the end).

Darryl

-- 

Darryl Ross
Network and Systems Administrator
Service to Youth Council, Inc
http://www.syc.asn.au/


>From ljz@asfast.com Date: 17 Feb 2001 17:36:10 -0500
Return-Path: <ljz@asfast.com>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 39739 invoked from network); 17 Feb 2001 22:36:17 -0000
Received: from home.ljz.net (postfix@216.27.138.217)
  by horde.org with SMTP; 17 Feb 2001 22:36:17 -0000
Received: by home.ljz.net (Postfix, from userid 510)
	id 0F33119E96; Sat, 17 Feb 2001 17:36:11 -0500 (EST)
To: imp@lists.horde.org
Cc: imp@lists.horde.org
References: <982428023.3a8ea9778481d@marina.your.mom>
	<ltn1bl12lg.fsf@asfast.com> <20010217153754.A25172@csh.rit.edu>
From: Lloyd Zusman <ljz@asfast.com>
X-Face: "!ga1s|?LNLE3MeeeEYs(%LIl9q[xV9!<nimJxd1qyQRquvu5XTnZ:_5VE-G&4*EAuW"7oJLIXj'DWrJ0z@,FlwvD2PA@qhQ2R#zgsc14Klk;OSE'*;+l8p?0^nK7*X#0zg5wd^!M^2pg,M4Qd^{1viG;fa{}b.s[?g(x$45c]]=@'ZQ&]sPXl!u:hxBAv>j4#xf4!**BFW_ihlOb;:Slb>)vy>CJM<qjGM,/6C6\|{))YWm6}Q#?3om%n8
Organization: FreeBSD/Linux Hippopotamus Preserve
Date: 17 Feb 2001 17:36:10 -0500
In-Reply-To: <20010217153754.A25172@csh.rit.edu>
Message-ID: <ltitm90wf9.fsf@asfast.com>
Lines: 25
User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.2 (Thalia)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Lloyd Zusman <ljz@asfast.com>
Subject: Re: [imp] Some questions about the 2.3.x CVS version.

Jon Parise <jon@csh.rit.edu> writes:

> [ ... ]
>
> I wrote the SQL stuff to be fairly generic, and I know it works on
> both MySQL and PosygreSQL in its current form.  You shouldn't have to
> worry about database-specific issues at all.
>
> [ ... ]
> 
> From the header comment of horde/lib/Prefs/SQL.php (admitted not the
> best place to look for setup documentation):
> 
> [ ... ]

Well, this indeed did the trick.  Thanks!

I'm sure that the documentation will continue to grow more extensive
and complete.

Thanks to all.  IMP 2.3.7 is now up and running on my system.

-- 
 Lloyd Zusman
 ljz@asfast.com