templates file profile_view_body.tpl
find
<a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}
</a><br />
after add
<a href="{U_SEARCH_USER_4IMAGES}">
{L_SEARCH_USER_4IMAGES}</a><br />
includes/usercp_viewprofile.php
find
'L_SEARCH_USER_POSTS' => sprintf($lang['Search_user_posts'], $profiledata['username']),
after add
'L_SEARCH_USER_4IMAGES' => sprintf($lang['Search_user_4images'], $profiledata['username']),
find
'U_SEARCH_USER' => append_sid("search.$phpEx?search_author=" . urlencode($profiledata['username'])),
after add
'U_SEARCH_USER_4IMAGES' => append_sid("/4images/search.$phpEx?search_user=" . urlencode($profiledata['username'])),
lang_main.php
find
$lang['Search_user_posts'] = 'Find all posts by %s'; // Find all posts by username
after add
$lang['Search_user_4images'] = 'Find all images by %s';