SBSTech did the Avatar Hack for me awhile ago, rewriting it for im! It works fabulous!
No files to download, just code
//-- [ SQL ]------------------------------------------
//--
ALTER TABLE phpbb_users ADD `user_allowAVgallery` tinyint(1) NOT NULL default '0';
ALTER TABLE phpbb_users ADD `user_allowAVremote` tinyint(1) NOT NULL default '0';
ALTER TABLE phpbb_users ADD `user_allowAVupload` tinyint(1) NOT NULL default '0';
//-- [ OPEN ]------------------------------------------
//--
/admin/admin_users.php
//--
//-- [ FIND ]------------------------------------------
//--
$user_allowavatar = ( !empty($HTTP_POST_VARS['user_allowavatar']) ) ? intval( $HTTP_POST_VARS['user_allowavatar'] ) : 0;
//-- [ AFTER, ADD ]------------------------------------------
//--
$user_allowAVgallery = ( !empty($HTTP_POST_VARS['user_allowAVgallery']) ) ? intval( $HTTP_POST_VARS['user_allowAVgallery'] ) : 0;
$user_allowAVremote = ( !empty($HTTP_POST_VARS['user_allowAVremote']) ) ? intval( $HTTP_POST_VARS['user_allowAVremote'] ) : 0;
$user_allowAVupload = ( !empty($HTTP_POST_VARS['user_allowAVupload']) ) ? intval( $HTTP_POST_VARS['user_allowAVupload'] ) : 0;
//-- [ FIND ]------------------------------------------
//--
, user_allowavatar = $user_allowavatar
//-- [ INLINE AFTER, ADD ]------------------------------------------
//--
, user_allowAVgallery = $user_allowAVgallery, user_allowAVremote = $user_allowAVremote, user_allowAVupload = $user_allowAVupload
//-- [ FIND ]------------------------------------------
//--
$user_allowpm = $this_userdata['user_allow_pm'];
//-- [ AFTER, ADD ]------------------------------------------
//--
$user_allowAVgallery = $this_userdata['user_allowAVgallery'];
$user_allowAVremote = $this_userdata['user_allowAVremote'];
$user_allowAVupload = $this_userdata['user_allowAVupload'];
//-- [ FIND ]------------------------------------------
//--
$s_hidden_fields .= '<input>';
//-- [ AFTER, ADD ]------------------------------------------
//--
$s_hidden_fields .= '<input>';
$s_hidden_fields .= '<input>';
$s_hidden_fields .= '<input>';
//-- [ FIND ]------------------------------------------
//--
'ALLOW_AVATAR_YES' => ($user_allowavatar) ? 'checked="checked"' : '',
'ALLOW_AVATAR_NO' => (!$user_allowavatar) ? 'checked="checked"' : '',
//-- [ AFTER, ADD ]------------------------------------------
//--
'ALLOW_AVGALLERY_YES' => ($user_allowAVgallery) ? 'checked="checked"' : '',
'ALLOW_AVGALLERY_NO' => (!$user_allowAVgallery) ? 'checked="checked"' : '',
'ALLOW_AVREMOTE_YES' => ($user_allowAVremote) ? 'checked="checked"' : '',
'ALLOW_AVREMOTE_NO' => (!$user_allowAVremote) ? 'checked="checked"' : '',
'ALLOW_AVUPLOAD_YES' => ($user_allowAVupload) ? 'checked="checked"' : '',
'ALLOW_AVUPLOAD_NO' => (!$user_allowAVupload) ? 'checked="checked"' : '',
//-- [ FIND ]------------------------------------------
//-- //--
'L_ALLOW_AVATAR' => $lang['User_allowavatar'],
//-- [ AFTER, ADD ]------------------------------------------
//--
'L_ALLOW_AVGALLERY' => $lang['User_allowAVgallery'],
'L_ALLOW_AVREMOTE' => $lang['User_allowAVremote'],
'L_ALLOW_AVUPLOAD' => $lang['User_allowAVupload'],
//-- [ OPEN ]------------------------------------------
//--
/profilcp/profilcp_profil_avatar.php
//-- [ FIND ]------------------------------------------
//--
if ( $mode != 'register' )
{
if ( $userdata['user_allowavatar'] && ( $board_config['allow_avatar_upload'] || $board_config['allow_avatar_local'] || $board_config['allow_avatar_remote'] ) )
{
$template->assign_block_vars('switch_avatar_block', array() );
//-- [ FIND NEXT ]------------------------------------------
//--
if ( $board_config['allow_avatar_upload'] && file_exists(@phpbb_realpath('./' . $board_config['avatar_path'])) )
//-- [ INLINE FIND ]------------------------------------------
//--
$board_config['allow_avatar_upload']
//-- [ INLINE AFTER ADD ]------------------------------------------
//--
&& $userdata['user_allowAVupload']
//-- [ FIND ]------------------------------------------
//--
if ( $board_config['allow_avatar_remote'] )
//-- [ INLINE FIND ]------------------------------------------
//--
)
//-- [ INLINE BEFORE ADD ]------------------------------------------
//--
&& $userdata['user_allowAVremote']
//-- [ FIND ]------------------------------------------
//--
if ( $board_config['allow_avatar_local'] && file_exists(@phpbb_realpath('./' . $board_config['avatar_gallery_path'])) )
//-- [ INLINE FIND ]------------------------------------------
//--
$board_config['allow_avatar_local']
//-- [ INLINE AFTER ADD ]------------------------------------------
//--
&& $userdata['user_allowAVgallery']
//-- [ OPEN ]------------------------------------------
//--
/language/lang_english/lang_admin.php
//-- [ FIND ]------------------------------------------
//--
$lang['User_allowavatar'] = 'Can display avatar';
//-- [ AFTER, ADD ]------------------------------------------
//--
$lang['User_allowAVgallery'] = 'Can select gallery avatar';
$lang['User_allowAVremote'] = 'Can remote link an avatar';
$lang['User_allowAVupload'] = 'Can upload an avatar';
//-- [ OPEN ]------------------------------------------
//--
/templates/XXXXXX/admin/user_edit_body.tpl
//-- [ FIND ]------------------------------------------
//--
<tr>
<td><span>{L_ALLOW_AVATAR}</span></td>
<td>
<input>
<span>{L_YES}</span>
<input>
<span>{L_NO}</span></td>
</tr>
//-- [ AFTER, ADD ]------------------------------------------
//--
<tr>
<td><span>{L_ALLOW_AVGALLERY}</span></td>
<td>
<input>
<span>{L_YES}</span>
<input>
<span>{L_NO}</span></td>
</tr>
<tr>
<td><span>{L_ALLOW_AVREMOTE}</span></td>
<td>
<input>
<span>{L_YES}</span>
<input>
<span>{L_NO}</span></td>
</tr>
<tr>
<td><span>{L_ALLOW_AVUPLOAD}</span></td>
<td>
<input>
<span>{L_YES}</span>
<input>
<span>{L_NO}</span></td>
</tr>
//--
//-- [ SAVE & CLOSE ALL FILES ]------------------------------------------
//-- End