-
Improvement
-
Resolution: Fixed
-
Trivial
-
3.1.0-b1
-
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)));