mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-19 01:38:54 +00:00
[feature/events] Adding ledge memberlist_viewprofile
Used by phpBB Gallery Note: this one is NOT obsoleted by the ledge in show_profile() PHPBB3-9550
This commit is contained in:
parent
34a8563942
commit
ca8de4129c
1 changed files with 5 additions and 0 deletions
|
@ -575,6 +575,11 @@ switch ($mode)
|
|||
unset($module);
|
||||
}
|
||||
|
||||
$vars = array('member', 'user_notes_enabled', 'warn_user_enabled');
|
||||
$event = new phpbb_event_data(compact($vars));
|
||||
$phpbb_dispatcher->dispatch('core.memberlist_viewprofile', $event);
|
||||
extract($event->get_data_filtered($vars));
|
||||
|
||||
$template->assign_vars(show_profile($member, $user_notes_enabled, $warn_user_enabled));
|
||||
|
||||
// Custom Profile Fields
|
||||
|
|
Loading…
Add table
Reference in a new issue