Specific Wrote: Yeah I already have that added, unless there's a setting after adding the plugin. Ok the problem Im having now is that it shows the wrong status..
It's showing 6 months while my account is registered for over 2 years, so it should show the 2 years one instead.
Code:
<if $post['regdate']+(60*60*24*182) <= TIME_NOW then><div class="time.6.months" style="margin-top: 1px;color: gold;">6 Months of Service</div> <elseif $post['regdate']+(60*60*24*365) <= TIME_NOW then><div class="time.12.months" style="margin-top: 1px;color: purple;">One Year of Service</div> <elseif $post['regdate']+(60*60*24*730) <= TIME_NOW then><div class="time.24.months" style="margin-top: 1px;color: red;">Two Years of Service</div></if>
Anyone know what Im doing wrong here?
Aren't you missing divs?
RE: Need help customising Years of Service.
OP
19-11-2016, 05:33 PM
This post was last modified: 20-11-2016, 01:28 PM by Specific