1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Find all posts and threads directly entering in the profil

Discussion in 'Template Modifications [Archive]' started by Allan, Nov 2, 2010.

  1. Allan

    Allan Well-Known Member

    Find all posts and threads directly entering in the profil
    _______________________________
    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>
    

    avant.gif after.gif
     
    Gultog, ArucarD and arabic like this.
  2. AndreaMarucci

    AndreaMarucci Well-Known Member

    Installed!
     
  3. ArucarD

    ArucarD Member

    Does exactly what I need it to. Very simple to add. Ty :D [btw in the first post, under Add below, you have "Find alla started threads" Take the a off the end of alla and perfection. :) ]
     

Share This Page