07-16-2018
Quote:
OK Don,
I have got the PM part basically done, where instead of a blinking avatar, there is a blinking red badge with the number of PMs unread in the center.
LOL
What should we do about unread confidential posts? Add another badge? Alternate them? Or just add another badge in another corner? Use one badge and just change colors? Or just change the blinking rate when there are unread confidential posts? Not sure how to proceed with badge notifications for CPs (confidential posts).
What do you think?
I'm happy with the numbers in various colored circles around the avatar.
I'm still concerned about manually clearing confidential post counts by hitting the "Mark Forums Read" button. Hitting that button builds in a race condition that can clear notification of unread confidential posts before I receive notice that new confidential messages have been posted.
5 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Just wondering why the board is configured not to show any avatars in the post displays? I haven't seen anyone else asking this question and there is no mention of it by the admins anywhere (correct me if I am wrong).... A little bit of playfulness would do unix.com good :) (2 Replies)
Discussion started by: patvdv
2 Replies
2. Post Here to Contact Site Administrators and Moderators
how do i get those avatars on the bottom of my user name? (2 Replies)
Discussion started by: grizzly1
2 Replies
3. Forum Support Area for Unregistered Users & Account Problems
I hadn't logged on here in several months. I want to update my info, such as the email address that I can be contacted at, but I don't see any links to do that. (1 Reply)
Discussion started by: cleopard
1 Replies
4. What is on Your Mind?
Hey,
Upgrade (step 1) the posts, by putting a "user info" icon in the top right and making it so it toggles the user info.
The user info icon has a badge which shows the number of posts. I will have to dig around in the code more to get the total posts thanks and other badges working; but... (22 Replies)
Discussion started by: Neo
22 Replies
5. Web Development
FYI,
Have updated our memberlist :
https://www.unix.com/members/list/?order=DESC&sort=lastvisit&pp=30
$cat memberlist.php
...
375 // added next line by neo 15 Nov 2018
376 $condition .= ' AND credits > 0';
...
The reason for this change is insure the... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT DEBIAN
nncheck
NNCHECK(1) General Commands Manual NNCHECK(1)
NAME
nncheck - check for unread articles
SYNOPSIS
nncheck [ -Q -r -t ] [ -f format ]
DESCRIPTION
nncheck will report if there are some articles on the system which you have not read.
Without options, nncheck will simply print a message reporting the number of unread articles with the following format:
There are 327 unread articles in 25 groups
and when there are no unread articles, the following message will be printed:
No News (is good news)
nncheck will exit with a value of 0 if there are unread articles, and 99 if there is no news (see the exception for the -r option.)
It is important to notice that even though unread articles have been reported by nncheck, the actual number of unread articles may be much
lower (or even zero) when nn is invoked to read the articles. This is because the calculation of the number of unread articles is only
based on recorded article number intervals. Invoking nn to read the articles may reveal that the articles have previously been read in
another news group, have been expired, or are killed using the auto-kill facility.
The following options are used to modify the amount and format of the output from nncheck:
-Q Quiet operation. No output is produced, only the exit status indicate whether there is unread news.
-t Print the name of each group with unread articles, and how many unread articles there are (not counting split digests!).
-r Output a single integer value specifying the number of unread articles, and exit with a 0 status (somebody told me this would be
useful).
-f format
Output the number of unread articles using the specified format. The format is a text that may contain the following %-escapes:
%-code resulting output
%u "uuu unread articles"
%g "ggg groups"
%i "is" if 1 unread article, else "are"
%U "uuu"
%G "ggg"
where uuu is the number of unread articles, and ggg is the number of groups with unread articles.
For example, the default output format is
"There %i %u in %g"
which I prefer to the following less perfect format:
"There are %U unread article(s) in %G group(s)"
FILES
~/.newsrc The record of read articles
$db/MASTER The database master index
SEE ALSO
nn(1), nngoback(1), nngrab(1), nngrep(1), nnpost(1), nntidy(1)
nnadmin(1M), nnusage(1M), nnmaster(1M)
AUTHOR
Kim F. Storm, Texas Instruments A/S, Denmark
E-mail: storm@texas.dk
4th Berkeley Distribution Release 6.6 NNCHECK(1)