Jump to content

Link Content Count To Content


AmericanRev2
 Share

Recommended Posts

This is based in the default theme. Open the forums -> front -> topics -> postContainter template.

Find:

			{{if $comment->author()->member_id}}
				<li>{template="reputationBadge" group="global" app="core" params="$comment->author()"}</li>
				<li class='ipsType_light'>{lang="member_post_count" pluralize="$comment->author()->member_posts"}</li>
				{{if $comment->author()->reputationImage()}}
					<li class='ipsPad_half'>
						<img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''>
					</li>
				{{endif}}
				{template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
			{{endif}}

Change to:

			{{if $comment->author()->member_id}}
				<ul class='ipsList_inline ipsClearfix'>
					<li>{template="reputationBadge" group="global" app="core" params="$comment->author()"}</li>
					<li class='ipsType_light'><a href="{url="app=core&module=members&controller=profile&do=content&id={$comment->author()->member_id}" base="front" seoTemplate="profile_content" seoTitle="$comment->author()->members_seo_name"}">{lang="member_post_count" pluralize="$comment->author()->member_posts"}</a></li>
					{{if $comment->author()->reputationImage()}}
						<li class='ipsPad_half'>
							<img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''>
						</li>
					{{endif}}
				</ul>
				{template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
			{{endif}}

DkGjLJm.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...