1. 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

Discussion in 'XenForo Questions and Support' started by sbj, Feb 12, 2015.

  1. sbj

    sbj Well-Known Member

    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
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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>
     
    sbj likes this.
  3. sbj

    sbj Well-Known Member

    Hmmm...
    My try was sightly not correct :D.

    Thank you Brogan. As always.
     

Share This Page