It doesn't fully work on vB 4.2.1.
The infraction tab on the user profile doen't display neither the original infractor nor the overriden. It seems that $override_userid and $override_usename are not populated when the infraction_start hook is called.
Perhaps the initialization of $override_userid and $override_usename should be moved to another location and be set as global. I might give it a chance, but for now I just edited the plugin at member_infractionbit and "hardcoded" the values for $override_userid & $override_username.
Moreover, there should be a "$pmdm->set_info('savecopy', false);" in the plugin on private_insertpm_process so that the mailbox of the infractor does not store the sent private messages. Perhaps this should also be an option in the ACP.
|