Add new field to generic event called register_url and hide Add calendar and Register buttons for past events
mentioned in commit 51fa5218