Currently the users post count will display with no link being presented to view that users posts (eg, see pic).
So let's make it a link
OPEN
includes/mcp/mcp_notes.php
Find This may be a partial find and not the whole line
Code: Select all
'POSTS' => ($userrow['user_posts']) ? $userrow['user_posts'] : 0,
Add before Add these lines on a new blank line before the preceding line(s) to find
Code: Select all
'U_SEARCH_POSTS' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$user_id&sr=posts") : '',
OPEN
styles/xxx/template/mcp_notes_user.html
Find This may be a partial find and not the whole line
Code: Select all
{POSTS}
Replace with Replace the preceding lines with the following
Code: Select all
<!-- IF U_SEARCH_POSTS --><a href="{U_SEARCH_POSTS}">{POSTS}</a><!-- ELSE -->{POSTS}<!-- ENDIF -->
and that's it. The post count will now be a link to the users posts displayed via search.