Hi Dark!
We need to stop giving credits to users without activity for the past two years. Where would we add some PHP code like this:
Code:
// 60 * 60 * 24 * 365 * 2 = 63072000
$twoyearsago = time() - 63072000;
if ($userinfo[lastactivity] < $twoyearsago )
{
exit;
}
Or the same code in the template somewhere?
Code:
<if condition="$userinfo[lastactivity] < (TIMENOW - 63072000)">
User has not logged in for 30 days exit or something
</if>
Where should we do it?
Thanks!!