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

Expand core.memberlist_view_profile event to include Zebra state

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.1.0-b2
    • 3.1.0-b1
    • Events
    • None

      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)));

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

              Created:
              Updated:
              Resolved: