https://www.icyphoenix.com/viewtopic.php?f=26&t=1195&p=9177#p9177
-----------------------------------
Artie
Mon 26 Feb, 2007 22:45

Re: No "Set As Avatar" In Public Galleries
-----------------------------------
This may help you.

OPEN [b]album_modalbum_hierarchy_sql.php[/b]
FIND
[codeblock]'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="'. append_sid('album_avatar.' . $phpEx . '?pic_id=' . $picrow[$j]['pic_id']) . '">' . $lang['Avatar_Set'] . '</a>' : '',[/codeblock]
REPLACE WITH
[codeblock]'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) && ($picrow[$j]['cat_user_id'] != 0) ) ? '<br /><a href="'. append_sid('album_avatar.' . $phpEx . '?pic_id=' . $picrow[$j]['pic_id']) . '">' . $lang['Avatar_Set'] . '</a>' : '',[/codeblock]


