1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Please donate today & help us with our growing server costs or buy premium for access to our premium products
    Dismiss Notice

Free Find all posts and threads directly entering in the profile

Discussion in 'Xenforo Template Mods & Extras' started by HAWK, Mar 23, 2016.

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    580
    Trophy Points:
    113
    Gender:
    Male
    That add 2 links for find all posts and all threads to user directly entering in the profil

    • In "member_view" template, find:
    Code:
    <div class="avatarScaler">
    <xen:if is="{$visitor.user_id} == {$user.user_id}">
    <a class="Av{$user.user_id}l OverlayTrigger" href="{xen:link account/avatar}">
    <img src="{xen:helper avatar, $user, l}" alt="{$user.username}" style="{xen:helper avatarCropCss, $user}" itemprop="photo" />
    </a>
    <xen:else />
    <span class="Av{$user.user_id}l">
    <img src="{xen:helper avatar, $user, l}" alt="{$user.username}" style="{xen:helper avatarCropCss, $user}" itemprop="photo" />
    </span>
    </xen:if>
    </div>
    • Add below:
    Code:
    <div class="section infoBlock">
    <dl class="secondaryContent pairs">
                                    <dt><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}">Find all posts</a></dt>
                                    <dt><a href="{xen:link search/member, '', 'user_id={$user.user_id}', 'content=thread'}">Find alla started threads</a></dt>
                            </dl>
    </div>
     

Share This Page