$currentdate = date("U"); $registered = $userinfo["joindate"]; $year_epoch = 31622400; if (($currentdate - $registered) > $year_epoch) { if($userinfo["title"]=="Member"){ // dont overwrite any custom titles // change title somehow } }
Show Your Support