Jump to content

Link Content Count To Content

Featured Replies

Posted

How can i link the users content count on posts to their content 

2043663873_ScreenShot2019-12-30at1_06_20AM.png.a8df1685a4236e8fcaedd7fc22b21e68.png

and how to put reputation and posts on the same line instead for stacked?

  • Author

any1?

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

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.