This hack does not take into account the new Cut-Off Time element that you implemented in v2.2.2... i.e. - using the link from the JEvents calendar will bypass the check and allow the user to register for the event.
Could you please post an updated events.html.php file?
You have the hacks that are needed. This is a hack for JEvents, not a hack for DT Register. Hacks are available for JEvents 1.4.2, 1.4.3 and 1.5. Those version numbers do not reflect the Joomla version. Thanks.