In the join.php there is the process function that control the join process:
function process() {
if( !$this -> oPF -> aArea )
return 'Profile Fields cache not loaded. Cannot continue.';
$this -> aPages = array_keys( $this -> oPF -> aArea );
$this -> iPage = ( isset( $_POST['join_page'] ) ) ? $_POST['join_page'] : 0; // get current working page from POST
if( $this -> iPage !== 'done' )
$this -> iPage = (int)$this -> iPage;
$this -> getCoupleOptions();
$this -> processPostValues();
if( $this -> bAjaxMode ) {
$this -> showErrorsJson();
exit;
} else {
ob_start();
if( $this -> iPage === 'done' ) { //if all pages are finished and no errors found
list( $iMemID, $sStatus ) = $this -> registerMember();
if( !$iMemID )
$this -> showFailPage();
else
$this -> showFinishPage( $iMemID, $sStatus );
} else
$this -> showJoinForm();
return ob_get_clean();
}
}
When looking on showFinishPage:
function showFinishPage( $iMemID, $sStatus ) {
switch( $sStatus ) {
case 'Active': $sStatusText = ('_USER_ACTIVATION_SUCCEEDED'); break; //activated automatically
case 'Approval': $sStatusText = ('_USER_CONF_SUCCEEDED'); break; //automatically confirmed
case 'Unconfirmed': $sStatusText = ('_EMAIL_CONF_SENT'); break; //conf mail succesfully sent
case 'NotSent': $sStatusText = ('_EMAIL_CONF_NOT_SENT'); break; //failed to send conf mail
}
if ('EXIT' == BxDolService::call('avatar', 'join', array ($iMemID, $sStatusText))) {
exit;
}
echo '<div class="dbContentHtml">';
echo _t( '_Join complete' );
echo '<br />';
echo _t( $sStatusText );
echo '</div>';
}
My question:
1. Where I can locate the bxDolService:call class
2. How I just change the BxDolService call to PEDIT.php?id={$iMemID}
After quick change from avatar to member causing an error.