plugins/ProfileExtender/class.profileextender.plugin.php
public function EntryController_RegisterBeforePassword_Handler($Sender) {
      $ProfileFields = $this->GetProfileFields();
      $Sender->RegistrationFields = array();
      foreach ($ProfileFields as $Name => $Field) {
         if (GetValue('OnRegister', $Field))
            $Sender->RegistrationFields[$Name] = $Field;
      }
      include($this->GetView('registrationfields.php'));
   }
public function EntryController_RegisterBeforePassword_Handler($Sender) {
      $ProfileFields = $this->GetProfileFields();
      $Sender->RegistrationFields = array();
      foreach ($ProfileFields as $Name => $Field) {
         if (GetValue('OnRegister', $Field))
            $Sender->RegistrationFields[$Name] = $Field;
      }
      include($this->GetView('registrationfields.php'));
   }
public function EntryController_RegisterBeforePassword_Handler ( $ Sender ) { $ ProfileFields = $ this -> GetProfileFields ( ) ; $ Sender -> RegistrationFields = array ( ) ; foreach ( $ ProfileFields as $ Name => $ Field ) { if ( GetValue ( 'OnRegister' , $ Field ) ) $ Sender -> RegistrationFields [ $ Name ] = $ Field ; } include ( $ this -> GetView ( 'registrationfields.php' ) ) ; }
Add fields to registration forms.
Add fields to registration forms .