Jump to content

Where do Points Show Up?


Recommended Posts

2 minutes ago, Dexter_X said:

Nope, I think you'll need to modify the template to do so.

Yeah that was my next thought, do I have to modify a template. Or write a nightly dump of everyones points into a uneditable custom profile field.

Link to comment
Share on other sites

Use at your own risk

The following will place the member's achievement points total below their group title

Edit forums > front -> topics -> postContainer

After:

{{if $comment->author()->member_id}}
	<li data-role='stats' class='ipsMargin_top'>
		<ul class="ipsList_reset ipsType_light ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsGap_row:2 cAuthorPane_stats">

                   
Add:

{{if isset( $comment->author()->achievements_points )}}
	<li>
		<a href="{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}&do=badges" seoTemplate="profile_badges" seoTitle="$comment->author()->members_seo_name"}" title="{lang="achievements_awards_points" pluralize="$comment->author()->achievements_points"}" data-ipsTooltip class="ipsType_blendLinks">
			<i class="fa fa-bathtub"></i> {number="$comment->author()->achievements_points" format="short"}
		</a>
	</li>
{{endif}}

Result:

image.png.6b5f2edae4937ad8ba80d2b97766c320.png

Link to comment
Share on other sites

  • 3 months later...
  • Recently Browsing   0 members

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