Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12335

Add Events to phpbb\profilefields\manager (grab & show)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-b3
    • 3.1.0-b2
    • Events
    • None

      These events will allow us to use the raw profile fields data, and process it in other scripts.
      My example is this: a user fills in a gaming-character name in a special PF. When the data is retrieved from the database (grab), a script will check to see if the data is valid (custom validation), and retrieve the character information from a remote server and store it in a local database table. In addition, it will automatically be cached in the "$this->profile_cache" by phpBB.

      The second event allows us to modify the template output of the generated profile fields data..

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

              Created:
              Updated:
              Resolved: