• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Global urls for searching own content and thread

sbj

Well-known member
#1
Hey,

what are the global urls for searching the own content and threads?
So a link which works for every user.

I tried these ones but it doesn't work.

Code:
http://ABCDEF.com/search/member?user_id={$user.user_id}&user_content=thread
http://ABCDEF.com/search/member?user_id={$user.user_id}&user_content=post
 

Brogan

XenForo moderator
Staff member
#2
Code:
<a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" rel="nofollow">{xen:phrase find_all_content_by_x, 'name={$user.username}'}</a>
<a href="{xen:link search/member, '', 'user_id={$user.user_id}', 'content=thread'}" rel="nofollow">{xen:phrase find_all_threads_by_x, 'name={$user.username}'}</a>