Sponsored Content
The Lounge What is on Your Mind? Update to Posts - Member Info Icon and Badge Post 303020521 by Neo on Sunday 22nd of July 2018 03:11:29 AM
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:
 

5 More Discussions You Might Find Interesting

1. 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

2. 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

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

5. 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
DtActionIcon(library call)												DtActionIcon(library call)

NAME
DtActionIcon -- get the icon information for an action SYNOPSIS
#include <Dt/Action.h> char *DtActionIcon( char *actionName); DESCRIPTION
The DtActionIcon function gets the icon information for an action. The actionName argument is the name of the action. DtActionIcon returns the name of the icon associated with an actionName action. If the action definition does not explicitly identify an icon name, this function returns the default action icon name, as described in dtactionfile(4) (``Action Selection''). The default action icon name can be customized using the actionIcon X resource. If there are multiple actionName actions, the string returned is the icon associated with the most general action. The most general action is the one with the lowest precedence, as described in dtactionfile(4) (``Action Selection''). RETURN VALUE
Upon successful completion, the DtActionIcon function returns a newly allocated copy of the icon name string ( ICON field) associated with the action; otherwise, it returns NULL. APPLICATION USAGE
The DtActionIcon function is useful for applications that provide a graphical interface to actions. The application should use XtFree(3) to free the icon name string returned by the DtActionIcon function. SEE ALSO
Dt/Action.h - DtAction(5), XtFree(3) dtactionfile(4), dtdtfile(4). DtActionIcon(library call)
All times are GMT -4. The time now is 11:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy