-
Bug
-
Resolution: Fixed
-
None
-
3.0.x
-
None
-
PHP Environment:
Database:
Make sure you have atleast one post. Go to the UCP main page, Under the section "your activity" choose "search users posts", instead of getting a list of users posts you infact get the ordinary search form.
Cause:
The URL used in the UCPs search is:
http://phpbb.test/search.php?search_author=andy&show_results=posts
|
Judging by how the link on members list works I think this should be:
http://phpbb.test/search.php?author=andy&sr=posts
|
In file:./includes/ucp/ucp_main.php line 172:
Contains:
'U_SEARCH_USER' => ($auth->acl_get('u_search')) ? "{$phpbb_root_path}search.$phpEx$SID&search_author=" . urlencode($user->data['username']) . "&show_results=posts" : '',
|
Should be:
'U_SEARCH_USER' => ($auth->acl_get('u_search')) ? "{$phpbb_root_path}search.$phpEx$SID&author=" . urlencode($user->data['username']) . "&sr=posts" : '',
|
I have tested this change and it seems to work ok.

