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

Expand core.memberlist_view_profile event to include Zebra state

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b1
    • Fix Version/s: 3.1.0-b2
    • Component/s: Events
    • Labels:
      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)));

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development