Welcome to Admin Junkies, Guest — join our community!

Register or log in to explore all our content and services for free on Admin Junkies.

Years of service in member profile

mastersly

Addicted member
Joined
Apr 29, 2020
Messages
988
Credits
0
Preview
Q1iAWCI.png

Required
Template Conditionals [Download
Code:
<if $memprofile['regdate']+(60*60*24*1095) <= TIME_NOW then><span style="color: #FF0040;">4 Years of Service</span>
<elseif $memprofile['regdate']+(60*60*24*1095) <= TIME_NOW then><span style="color: #FF0080;">3 Years</span>
<elseif $memprofile['regdate']+(60*60*24*730) <= TIME_NOW then><span? style="color: #FF00BF;">2 Years</span>
<elseif $memprofile['regdate']+(60*60*24*365) <= TIME_NOW then><span? style="color: #FF00FF;">1 Year</span>
<elseif $memprofile['regdate']+(60*60*24*330) <= TIME_NOW then><span? style="color: #0080FF;">11 Months</span>
<elseif $memprofile['regdate']+(60*60*24*300) <= TIME_NOW then><span? style="color: #00FFFF;">10 Months</span>
<elseif $memprofile['regdate']+(60*60*24*270) <= TIME_NOW then><span? style="color: #00FF80;">9 Months</span>
<elseif $memprofile['regdate']+(60*60*24*240) <= TIME_NOW then><span? style="color: #00FF00;">8 Months</span>
<elseif $memprofile['regdate']+(60*60*24*210) <= TIME_NOW then><span? style="color: #FF4000;">7 Months</span>
<elseif $memprofile['regdate']+(60*60*24*180) <= TIME_NOW then><span? style="color: #FF8000;">6 Months</span>
<elseif $memprofile['regdate']+(60*60*24*150) <= TIME_NOW then><span? style="color: #FFBF00;">5 Months</span>
<elseif $memprofile['regdate']+(60*60*24*120) <= TIME_NOW then><span? style="color: #FFFF00;">4 Months</span>
<elseif $memprofile['regdate']+(60*60*24*90) <= TIME_NOW then><span style="color: #F4FA58;">3 Months</span>
<elseif $memprofile['regdate']+(60*60*24*60) <= TIME_NOW then><span? style="color: #D8D8D8;">2 Months</span>
<elseif $memprofile['regdate']+(60*60*24*30) <= TIME_NOW then><span? style="color: #62ad79;">1 Month</span>
<elseif $memprofile['regdate']+(60*60*24*21) <= TIME_NOW then><span? style="color: #62ad79;">3 Weeks</span>
<elseif $memprofile['regdate']+(60*60*24*14) <= TIME_NOW then><span? style="color: #62ad79;">2 Weeks</span>
<elseif $memprofile['regdate']+(60*60*24*7) <= TIME_NOW then><span? style="color: #62ad79;">1 Week</span>
<elseif $memprofile['regdate']+(60*60*24*6) <= TIME_NOW then><span? style="color: #62ad79;">6 days</span>
<elseif $memprofile['regdate']+(60*60*24*5) <= TIME_NOW then><span? style="color: #62ad79;">5 days</span>
<elseif $memprofile['regdate']+(60*60*24*4) <= TIME_NOW then><span? style="color: #62ad79;">4 days</span>
<elseif $memprofile['regdate']+(60*60*24*3) <= TIME_NOW then><span? style="color: #62ad79;">3 days</span>
<elseif $memprofile['regdate']+(60*60*24*2) <= TIME_NOW then><span? style="color: #62ad79;">2 days</span>
<elseif $memprofile['regdate']+(60*60*24*1) <= TIME_NOW then><span? style="color: #62ad79;">1 day</span></if>
[size=large]
[/hide]
 
Advertisement Placeholder
This is a good feature to have because in that way you can see how long a member has been on the forum and this can show people if they can be trusted as well.
 

Log in or register to unlock full forum benefits!

Log in or register to unlock full forum benefits!

Register

Register on Admin Junkies completely free.

Register now
Log in

If you have an account, please log in

Log in
Who read this thread (Total readers: 0)
No registered users viewing this thread.

Would You Rather #9

  • Start a forum in a popular but highly competitive niche

    Votes: 9 27.3%
  • Initiate a forum within a limited-known niche with zero competition

    Votes: 24 72.7%
Win this space by entering the Website of The Month Contest

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds