Update to Posts - Member Info Icon and Badge


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Update to Posts - Member Info Icon and Badge
Prev   Next
# 1  
Old 07-22-2018
Wrench Update to Posts - Member Info Icon and Badge

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 this is the general idea:

Image

There is too much padding or margin (empty) between the top of the post and the user avatar and icon area; but since I am planning to redo all this code, table-to-divs, I will fix this when I do the rewrite.
This User Gave Thanks to Neo For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Web Development

Color a Badge Based on the Weeks the Member is Active in the Latest Sequence

Hi Ravinder, Could you (and anyone else who wants to help out) check this PHP code and confirm it does what I expect it to do, which is to color a badge based on the weeks a member is active in the latest sequence? I did a cut-paste-change from my "days in sequence" PHP prototype script and it... (6 Replies)
Discussion started by: Neo
6 Replies

2. Web Development

Update to Member List - New Click Options

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

3. What is on Your Mind?

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... (53 Replies)
Discussion started by: Neo
53 Replies

4. Red Hat

Gpk-update-icon consume more CPU

Dear all, I have installed OEL Oracle Linux 6.4 on my server , when I type " Top " command to see the CPU utilization , the output shows a root user executed "gpk-update-icon" which consume upto 98% , So needs your feedback with solution. If I kill this process it will effect ?? ... (1 Reply)
Discussion started by: mody82
1 Replies

5. Forum Support Area for Unregistered Users & Account Problems

Update my info

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
Login or Register to Ask a Question
Icon::FamFamFam::Silk(3pm)				User Contributed Perl Documentation				Icon::FamFamFam::Silk(3pm)

NAME
Icon::FamFamFam::Silk - embed these famous icons in your code VERSION
0.002001003 (Version 0.002 of this module and version 1.3 of the icons.) SYNOPSIS
use Icon::FamFamFam::Silk; my $wrench = Icon::FamFamFam::Silk->new('wrench_orange'); print $wrench->base64; or use Icon::FamFamFam::Silk; print Icon::FamFamFam::Silk::base64('wrench_orange'); DESCRIPTION
These methods can be called as functions taking the name of the icon (a string) as their argument, or can be called as object methods on an instantiated icon object. (See "SYNOPSIS".) "Icon::FamFamFam::Silk->new($name)" Returns a blessed icon object. "Icon::FamFamFam::Silk->list" Returns a list of all the icons. "$icon->name" Returns the name of the icon. "$icon->base64" Returns base64-encoded PNG data. "$icon->raw" Returns raw PNG data. "$icon->uri" Returns a "data:" URI for the icon. "$icon->attribution_data" =item "Icon::FamFamFam::Silk->attribution_data" Returns a hash of data useful for giving credit to Mark James. This is in a format suitable for passing to HTML::HTML5::Builder's "CREATIVE_COMMONS" function, should you want to do something like that. BUGS
Please report any bugs to <http://rt.cpan.org/>. SEE ALSO
<http://famfamfam.com/lab/icons/silk/>. AUTHOR
Icons by Mark James of <http://famfamfam.com/>. Module by Toby Inkster <tobyink@cpan.org>. COPYRIGHT AND LICENCE
Mark James distributes the icons themselves under the CC-BY 3.0 licence <http://creativecommons.org/licenses/by/3.0/>. Applications using Icon::FamFamFam::Silk (even indirectly via another module) must provide credit. Including a link to <http://famfamfam.com/lab/icons/silk/> in the documentation of the application is probably sufficient. Toby Inkster releases the additional Perl coding into the Public Domain. DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2011-10-11 Icon::FamFamFam::Silk(3pm)