Jump to content

Moving posts ranks under profile picture


Rashed Ahmed

Recommended Posts

Hi,

I can pay someone via PayPal if he can help me with this: I added post count banners like the "void" when u reach 600 posts and so on, but the problem is that it is above the profile picture. I want it to be down with the other banners and when you hover it should show what that rank is instead of having text above it "title".

6a7e84329b.jpg 

 

Thanks,

Link to comment

You can do that by modifying the template "postContainer"

Find this code:

			{{if $comment->author()->member_title && $comment->author()->member_id}}
				<li class='ipsResponsive_hidePhone ipsType_break'>{$comment->author()->member_title}</li>
			{{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
				<li class='ipsResponsive_hidePhone ipsType_break'>{$comment->author()->rank['title']}</li>
			{{endif}}
			{{if $comment->author()->rank['image'] && $comment->author()->member_id}}
				<li class='ipsResponsive_hidePhone'>{$comment->author()->rank['image']|raw}</li>
			{{endif}}

And move it down between the other <li>'s after the userPhoto where you want it.  To do the hover, use the if/elseif/endif code (dropping the li portions) to add a title attribute to the image li (last one above).

Of course you have to be willing to maintain the template bit through upgrades.

If you are not comfortable with template mods, then you'll have to wait and see if someone wants to provide more help.

Link to comment

Archived

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

  • Recently Browsing   0 members

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