07-15-2018
Update to Navbar - Member Info and Avatars
Hey,
I moved the user information in the top right on the navbar to side panel and replace it with a clickable avatar image. If you have an avatar, you will see your avatar and if you don't you will see some default one (will change it to something better later).
If you have any notification (like a private message) your avatar will blink slowly to let you know. If you do not have any notifications, it will not blink.
I'm still testing it; so please let me know your thoughts.
If the blinking avatar is annoying (when you have messages unread in your inbox), please suggest something less annoying; maybe adding a color border to the image? or changing the image opacity? or maybe changing the avatar to something else like a notification looking avatar? or put some little badge overlay on the avatar image?
It's all up in the air for discussion and design changes.
Thanks.
These 2 Users Gave Thanks to Neo For This Post:
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
pnmcrop(1) General Commands Manual pnmcrop(1)
NAME
pnmcrop - crop a portable anymap
SYNOPSIS
pnmcrop [-white|-black|-sides] [-left] [-right] [-top] [-bottom] [pnmfile]
All options may be abbreviated to their shortest unique prefix or specified with double hyphens.
DESCRIPTION
Reads a PBM, PGM, or PPM image as input. Removes borders that are the background color, and produces the same type of image as output.
If you don't specify otherwise, pnmcrop assumes the background color is whatever color the top left and right corners of the image are and
if they are different colors, something midway between them. You can specify that the background is white or black with the -white and
-black options or make pnmcrop base its guess on all four corners instead of just two with -sides.
By default, pnmcrop chops off any stripe of background color it finds, on all four sides. You can tell pnmcrop to remove only specific
borders with the -left, -right, -top, and -bottom options.
If you want to chop a specific amount off the side of an image, use pnmcut.
If you want to add different borders after removing the existing ones, use pnmcat or pnmcomp.
OPTIONS
-white Take white to be the background color. pnmcrop removes borders which are white.
-black Take black to be the background color. pnmcrop removes borders which are black.
-sides Determine the background color from the colors of the four corners of the input image. pnmcrop removes borders which are of the
background color.
If at least three of the four corners are the same color, pnmcrop takes that as the background color. If not, pnmcrop looks for two
corners of the same color in the following order, taking the first found as the background color: top, left, right, bottom. If all
four corners are different colors, pnmcrop assumes an average of the four colors as the background color.
The -sides option slows pnmcrop down, as it reads the entire image to determine the background color in addition to the up to three
times that it would read it without -sides.
-left Remove any left border.
-right Remove any right border.
-top Remove any top border.
-bottom
Remove any bottom border.
-verbose
Print on Standard Error information about the processing, including exactly how much is being cropped off of which sides.
SEE ALSO
pnmcut(1), pnmfile(1), pnm(5)
AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
18 March 2001 pnmcrop(1)