[PHP] core.ucp_avatar

Request hook events and what data needs to be sent for the new hook system.
Post Reply
KillBill.
Registered User
Posts: 20
Joined: Wed Feb 11, 2015 6:07 am

[PHP] core.ucp_avatar

Post by KillBill. » Thu Feb 12, 2015 8:50 pm

  • Identifer: core.ucp_avatar - if change or delete avatar
    Location: includes/ucp/ucp_profile.php
    Parameters: not be
    Explanation: phpBB Arcade users data purge cache
Example:

Code: Select all

									$sql = 'UPDATE ' . USERS_TABLE . '
										SET ' . $db->sql_build_array('UPDATE', $result) . '
										WHERE user_id = ' . (int) $user->data['user_id'];

									$db->sql_query($sql);

									$phpbb_dispatcher->dispatch('core.ucp_avatar');
Ticket :: https://tracker.phpbb.com/browse/PHPBB3-13604

Post Reply