• 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

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
 
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. :) ]
 
Top Bottom