Working in CB 1.2.1 (know, it's old, but updating is pospond utill major bugs in other components are fixed).
I found that this piece of code is not executed in comprofiler.php when Parainvite user plugin is enabled:
Code:
$_PLUGINS->trigger( 'onAfterUserRegistrationMailsSent', array( &$userComplete, &$userComplete, &$messagesToUser, $ueConfig['reg_confirmation'], $ueConfig['reg_admin_approval'], true));
As a result during registration
activation email is not sent. Parainvite user plugin is using
onAfterStoreUser event to redirect (via $mainframe->redirect) to its own page when registration is completed.
My question is:
- trigging onAfterUserRegistrationMailsSent calls onAfterStoreUser event before itself?
- is their any solution to avoid such a conflict?