I added a "Your Posts" link to my navbar Quick Links some time ago, using
do=process&searchuser=$bbuserinfo[username]
as follows:
This works well for most users. But I have a few users with short usernames, and it's just been brought to my attention that if their username happens to be a substring of other longer usernames, they get results from those longer usernames as well.
I've tried changing this to use
do=finduser&u=$bbuserinfo[userid]:
This returns results for only the individual logged in user, but returns a list of individual posts, rather than a list of threads, which is preferred.
Is there any way this can be coded to only bring results for the particular person logged in at the time and still return a list of matching threads?
do=process&searchuser=$bbuserinfo[username]
as follows:
PHP Code:
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&searchuser=$bbuserinfo[username]">Your Posts</a></td></tr></if>
I've tried changing this to use
do=finduser&u=$bbuserinfo[userid]:
PHP Code:
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]">Your Posts</a></td></tr></if>
Is there any way this can be coded to only bring results for the particular person logged in at the time and still return a list of matching threads?
Comment