Jump to content

Recommended Posts

Posted

 Hello,

I've made badges for the Reputation / Post Rank system. 
But the Reputation level shows the title when hovered, the Post Rank doesnt?
How can i make the Post Rank show the Title aswell?

image.png.fb6c0a7132ff19cc41beb6f3963c38eb.png

The postContainer template:

		<ul class='cAuthorPane_info ipsList_reset'>
			<li class='cAuthorPane_photo'>
				{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
			</li>
			<li>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}</li>
			{{if \IPS\Member\Group::load( $comment->author()->member_group_id )->g_icon }}
				<li><img src='{file="$comment->author()->group['g_icon']" extension="core_Theme"}' alt='' class='cAuthorGroupIcon'></li>
			{{endif}}
			{{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()}}
          <br>
                    <li class='ipsType_light'>Reputation Level</li>       
					<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}}
                    <br>
                    <li class='ipsType_light'>Post Rank</li>    
          {{if $comment->author()->rank['image'] && $comment->author()->member_id}}
				<li>{$comment->author()->rank['image']|raw}</li>
			{{endif}}
				{template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
			{{endif}}
		</ul>

 

  • Recently Browsing   0 members

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