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

Expand core.memberlist_view_profile event to include Zebra state

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 3.1.0-b1
    • 3.1.0-b2
    • Events
    • None

    Description

      Expand 'core.memberlist_view_profile' event to include state of ZEBRA (friends - true/false and foes - true/false):

      • @var bool foes_enabled Is the ucp foes module
      • enabled?
      • @since 3.1-A1
        */
        $vars = array('member', 'user_notes_enabled', 'warn_user_enabled', 'zebra_enabled', 'friends_enabled', 'foes_enabled');
        extract($phpbb_dispatcher->trigger_event('core.memberlist_view_profile', compact($vars)));

      is changed to:

      • @var bool foes_enabled Is the ucp foes module
      • enabled?
      • @since 3.1-A1
        */
        $vars = array('member', 'user_notes_enabled', 'warn_user_enabled', 'zebra_enabled', 'friends_enabled', 'foes_enabled', 'friend', 'foe');
        extract($phpbb_dispatcher->trigger_event('core.memberlist_view_profile', compact($vars)));

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: