Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12701

Add events to user_add function

    XMLWordPrintable

Details

    Description

      Add two new events to user_add function in ./includes/functions_user.php.

      core.user_add_before - allow modification of submitted to function data.
      Returns:
      @var array $user_row - user_row array - User array
      @var array $cp_data - cp_data array - CPF array

      core.user_add_after - return user_id, user_row and cp_data after user registration
      Returns:
      @var int $user_id - user_id of the new user
      @var array $user_row - user_row array - User array
      @var array $cp_data - cp_data array - CPF array

      Justification:
      Allow extensions to parse data before and after creation of the user.

      Attachments

        Activity

          People

            nickvergessen Joas Schilling
            Lucifer4o Lucifer4o [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: