Sponsored Content
Top Forums Web Development Color a Badge Based on the Weeks the Member is Active in the Latest Sequence Post 303028475 by Neo on Wednesday 9th of January 2019 04:56:27 AM
Old 01-09-2019
PS:

I forgot to mention that I set all forum members to 8 weeks active in a row (black). This means that that single badge will reset to light gray when a user is not active for a week; but anyone who remains active on a weekly basis, that badge (the Weeks Active in a Row Badge) will remain black.

This helps me test as well, since most members "weeks active in a row badge" will change from black to gray a week from now, if my code logic is working as I think it should.
 

5 More Discussions You Might Find Interesting

1. Solaris

Link based Active Active IPMP

Hi, I need to configure 4 ip address (same subnet and mask) in one ipmp group (two interfaces) in an active active formation (link based). Can some one provide the steps or a tutorial link. Thanks (2 Replies)
Discussion started by: Mack1982
2 Replies

2. Shell Programming and Scripting

Color line based on first field

Hello, I have a bash script that outputs the following text to a file and then prints that file to the screen: |64 |30 |0 |8 |23:59:14 |38 |57 |2 |14 |00:09:05 |29 |50 |4 |20 |23:58:04 |20 |48 |7 |23 |00:05:44 |18 ... (2 Replies)
Discussion started by: fnj00
2 Replies

3. Shell Programming and Scripting

Help with awk color codes based on condition

HI i have two files say test and test1 Test.txt Code: Lun01 2TB 1.99TB 99.6% Lun02 2TB 1.99TB 99.5% Lun03 2TB 1.99TB 99.5% Lun04 2TB 1.55TB 89.6% Code: Test1.txt Lun01 2TB 1.99TB 89.5% Lun02 2TB 1.99TB 99.5% Lun03 2TB 1.99TB 99.5% Requirement is to compare... (6 Replies)
Discussion started by: venkitesh
6 Replies

4. UNIX for Beginners Questions & Answers

Best way to increment weeks based on fiscal start year

Hi Folks - I'm looking for the best way to to increment fiscal weeks - allow me to explain. At my one client, 10/01/17 was the beginning if year fiscal year 2018. Each week, I need to manage a unique set of variable that are updated in my application - they are called substitution variables.... (31 Replies)
Discussion started by: SIMMS7400
31 Replies

5. What is on Your Mind?

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... (22 Replies)
Discussion started by: Neo
22 Replies
Color::Library::Dictionary::NBS_ISCC::SC(3pm)		User Contributed Perl Documentation	     Color::Library::Dictionary::NBS_ISCC::SC(3pm)

NAME
Color::Library::Dictionary::NBS_ISCC::SC - (NBS/ISCC SC) Soil Color Charts DESCRIPTION
Kenneth L. Kelly and Deanne B. Judd. "Color: Universal Language and Dictionary of Names", National Bureau of Standards, Spec. Publ. 440, Dec. 1976, 189 pages. Color Name Dictionary: (SC) Soil Color Charts U.S. Department of Agriculture Soil Color Charts This combinatorial field-work dictionary's 50 names mape to 176 colors, using 76 of 267 centroids. Again, its focus on soil colors limits its general usefulness. <http://swissnet.ai.mit.edu/~jaffer/Color/Dictionaries#SC> COLORS
black black #3e322c black black #28201c black black #3b3121 black black #363527 black black #25241d black black #222222 brown brown #a67b5b brown brown #6f4e37 brown brown #958070 brown brown #635147 brown brown #826644 brown brown #7e6d5a brownish yellow brownishyellow #be8a3d brownish yellow brownishyellow #c19a6b dark brown darkbrown #6f4e37 dark brown darkbrown #635147 dark brown darkbrown #826644 dark brown darkbrown #4b3621 dark brown darkbrown #7e6d5a dark gray darkgray #5b504f dark gray darkgray #57554c dark gray darkgray #555555 dark grayish brown darkgrayishbrown #7e6d5a dark grayish brown darkgrayishbrown #6c541e dark olive darkolive #665d1e dark olive darkolive #403d21 dark olive darkolive #363527 dark olive-gray darkolivegray #5b5842 dark red darkred #722f37 dark red darkred #882d17 dark red darkred #56070c dark red darkred #79443b dark red darkred #80461b dark reddish brown darkreddishbrown #79443b dark reddish brown darkreddishbrown #3e1d1e dark reddish brown darkreddishbrown #674c47 dark reddish brown darkreddishbrown #43302e dark reddish brown darkreddishbrown #6f4e37 dark reddish brown darkreddishbrown #422518 dark reddish brown darkreddishbrown #635147 dark reddish brown darkreddishbrown #3e322c dark reddish gray darkreddishgray #5c504f dark reddish gray darkreddishgray #635147 dark reddish gray darkreddishgray #5b504f dark yellowish brown darkyellowishbrown #996515 dark yellowish brown darkyellowishbrown #826644 dark yellowish brown darkyellowishbrown #4b3621 dusky red duskyred #79443b dusky red duskyred #674c47 gray gray #8e8279 gray gray #8a8776 gray gray #848482 grayish brown grayishbrown #7e6d5a grayish brown grayishbrown #967117 light brown lightbrown #a67b5b light brownish gray lightbrownishgray #ae9b82 light brownish gray lightbrownishgray #967117 light gray lightgray #c1b6b3 light gray lightgray #8e8279 light gray lightgray #ae9b82 light gray lightgray #c2b280 light gray lightgray #bfb8a5 light gray lightgray #8a8776 light gray lightgray #b9b8b5 light gray lightgray #848482 light olive brown lightolivebrown #967117 light olive-gray lightolivegray #8c8767 light olive-gray lightolivegray #8a8776 light red lightred #e66761 light red lightred #c48379 light red lightred #cb6d51 light red lightred #b4745e light red lightred #d99058 light reddish brown lightreddishbrown #a87c6d light reddish brown lightreddishbrown #977f73 light reddish brown lightreddishbrown #a67b5b light yellowish brown lightyellowishbrown #c19a6b light yellowish brown lightyellowishbrown #a18f60 olive olive #867e36 olive olive #665d1e olive olive #8c8767 olive olive #5b5842 olive brown olivebrown #6c541e olive brown olivebrown #3b3121 olive gray olivegray #8c8767 olive gray olivegray #5b5842 olive gray olivegray #8a8776 olive yellow oliveyellow #ab9144 pale brown palebrown #c19a6b pale brown palebrown #ae9b82 pale olive paleolive #a18f60 pale olive paleolive #8c8767 pale red palered #ad8884 pale red palered #a87c6d pale red palered #977f73 pale yellow paleyellow #f3e5ab pale yellow paleyellow #c2b280 pink pink #f4c2c2 pink pink #d9a6a9 pink pink #ecd5c5 pink pink #c7ada3 pink pink #c2ac99 pink pink #fad6a5 pink pink #c19a6b pinkish gray pinkishgray #c7ada3 pinkish gray pinkishgray #c2ac99 pinkish gray pinkishgray #977f73 pinkish gray pinkishgray #958070 pinkish white pinkishwhite #ecd5c5 pinkish white pinkishwhite #c7ada3 pinkish white pinkishwhite #c2ac99 red red #ab4e52 red red #905d5d red red #cb6d51 red red #9e4732 red red #b4745e red red #79443b red red #ae6938 red red #80461b reddish black reddishblack #282022 reddish black reddishblack #3e1d1e reddish black reddishblack #43302e reddish black reddishblack #3e322c reddish black reddishblack #28201c reddish brown reddishbrown #a87c6d reddish brown reddishbrown #79443b reddish brown reddishbrown #977f73 reddish brown reddishbrown #674c47 reddish brown reddishbrown #a67b5b reddish brown reddishbrown #6f4e37 reddish gray reddishgray #8f817f reddish gray reddishgray #977f73 reddish gray reddishgray #958070 reddish gray reddishgray #8e8279 reddish yellow reddishyellow #fab57f reddish yellow reddishyellow #d99058 reddish yellow reddishyellow #fbc97f reddish yellow reddishyellow #e3a857 reddish yellow reddishyellow #be8a3d strong brown strongbrown #80461b strong brown strongbrown #996515 very dark brown verydarkbrown #422518 very dark brown verydarkbrown #3e322c very dark brown verydarkbrown #4b3621 very dark brown verydarkbrown #483c32 very dark gray verydarkgray #5b504f very dark gray verydarkgray #57554c very dark gray verydarkgray #555555 very dark grayish brown verydarkgrayishbrown #483c32 very dark grayish brown verydarkgrayishbrown #6c541e very dusky red veryduskyred #3e1d1e very dusky red veryduskyred #43302e very pale brown verypalebrown #c2ac99 very pale brown verypalebrown #fad6a5 very pale brown verypalebrown #c19a6b very pale brown verypalebrown #ae9b82 weak red weakred #905d5d weak red weakred #a87c6d weak red weakred #79443b weak red weakred #977f73 weak red weakred #674c47 white white #eae3e1 white white #c1b6b3 white white #fad6a5 white white #f0ead6 white white #bfb8a5 white white #f2f3f4 white white #b9b8b5 yellow yellow #fbc97f yellow yellow #e3a857 yellow yellow #f8de7e yellow yellow #c9ae5d yellowish brown yellowishbrown #996515 yellowish brown yellowishbrown #826644 yellow red yellowred #ae6938 yellow red yellowred #80461b perl v5.14.2 2011-12-07 Color::Library::Dictionary::NBS_ISCC::SC(3pm)
All times are GMT -4. The time now is 01:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy