Judge tells Avenatti stay off TV